syscall.sh / sh / fadvise64

fadvise64

predeclare an access pattern for file data

sys_fadvise64(int fd, loff_t offset, size_t len, int advice)
number250 (0xfa)
abicommon
entry pointsys_fadvise64
sinceLinux 5.0
man pagefadvise64(2)
sourceelixir.bootlin.com

Registers

registervalue
r3250, the syscall number
r4int fd
r5loff_t offset
r6size_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