syscall.sh / ppc64 / 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)
number308 (0x134)
abi64
entry pointsys_sync_file_range2
sinceLinux 5.0
man pagesync_file_range2(2)
sourceelixir.bootlin.com

Registers

registervalue
r0308, the syscall number
r3int fd
r4unsigned int flags
r5loff_t offset
r6loff_t nbytes
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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