syscall.sh / xtensa / 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)
number326 (0x146)
abicommon
entry pointsys_sync_file_range2
sinceLinux 5.0
man pagesync_file_range2(2)
sourceelixir.bootlin.com

Registers

registervalue
a2326, the syscall number
a6int fd
a3unsigned int flags
a4loff_t offset
a5loff_t nbytes
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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