syscall.sh / m68k / 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 5.0
man pagesync_file_range(2)
sourceelixir.bootlin.com

Registers

registervalue
d0307, the syscall number
d1int fd
d2loff_t offset
d3loff_t nbytes
d4unsigned int flags
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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