syscall.sh / riscv64 / syncfs

syncfs

commit filesystem caches to disk

sys_syncfs(int fd)
number267 (0x10b)
abicommon
entry pointsys_syncfs
sinceLinux 4.15
man pagesyncfs(2)
sourceelixir.bootlin.com

Registers

registervalue
a7267, the syscall number
a0int fd
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/syncfs