syscall.sh / hexagon / 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)

This syscall was removed in Linux 6.11.

number84 (0x54)
abicommon
entry pointsys_sync_file_range2
sinceLinux 6.10
removed inLinux 6.11
man pagesync_file_range2(2)
sourceelixir.bootlin.com

Registers

registervalue
r684, the syscall number
r0int fd
r1unsigned int flags
r2loff_t offset
r3loff_t nbytes
r0the return value

Then run trap0(#1) to enter the kernel.

Same syscall on other architectures

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