syscall.sh / sh / sync_file_range2

sync_file_range2

sync a file segment with disk

sys_sync_file_range2(int fd, unsigned int flags, loff_t offset, loff_t nbytes)
number388 (0x184)
abicommon
entry pointsys_sync_file_range2
sinceLinux 6.10
man pagesync_file_range2(2)
sourceelixir.bootlin.com

Registers

registervalue
r3388, the syscall number
r4int fd
r5unsigned int flags
r6loff_t offset
r7loff_t nbytes
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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