syscall.sh / s390x / sync_file_range

sync_file_range

sync a file segment with disk

sys_sync_file_range(int fd, loff_t offset, loff_t nbytes, unsigned int flags)
number307 (0x133)
abicommon
entry pointsys_sync_file_range
sinceLinux 4.16
man pagesync_file_range(2)
sourceelixir.bootlin.com

Registers

registervalue
r1307, the syscall number
r2int fd
r3loff_t offset
r4loff_t nbytes
r5unsigned int flags
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/sync_file_range