syncfs on riscv64
commit filesystem caches to disk
sys_syncfs(int fd)
| number | 267 (0x10b) |
|---|---|
| abi | common |
| entry point | sys_syncfs |
| since | Linux 4.15 or earlier (4.15 is the first release scanned for riscv64) |
| man page | syncfs(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 267, the syscall number |
a0 | int fd |
a0 | the return value |
Then run ecall to enter the kernel.
Same syscall on other architectures
- x64 306
- x86 344
- arm64 267
- arm 373
- ia32 344
- x32 1073742130
- loongarch64 267
- ppc64 348
- ppc 348
- s390x 338
- mips64 5301
- mipsn32 6306
- mipso32 4342
- alpha 500
- arc 267
- blackfin 378, removed in 4.17
- cris 346, removed in 4.17
- csky 267
- hexagon 267
- ia64 1329, removed in 6.7
- m68k 343
- metag 267, removed in 4.17
- microblaze 374
- nds32 267, removed in 5.18
- nios2 267
- openrisc 267
- parisc 327
- score 267, removed in 4.17
- sh 362
- sparc 335
- sparc64 335
- tilegx 267, removed in 4.17
- tilepro 267, removed in 4.17
- xtensa 179
Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/syncfs