syscall.sh / x86 / sync_file_range

sync_file_range

sync a file segment with disk

sys_ia32_sync_file_range(int fd, loff_t offset, loff_t nbytes, unsigned int flags)
number314 (0x13a)
abii386
entry pointsys_ia32_sync_file_range
sinceLinux 3.3
man pagesync_file_range(2)
sourceelixir.bootlin.com

Registers

registervalue
eax314, the syscall number
ebxint fd
ecxloff_t offset
edxloff_t nbytes
esiunsigned int flags
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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