syscall.sh / sh / fadvise64_64

fadvise64_64

predeclare an access pattern for file data

sys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice)
number272 (0x110)
abicommon
entry pointsys_fadvise64_64
sinceLinux 5.0
man pagefadvise64_64(2)
sourceelixir.bootlin.com

Registers

registervalue
r3272, the syscall number
r4int fd
r5loff_t offset
r6loff_t len
r7int advice
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/fadvise64_64