syscall.sh / s390x / fadvise64

fadvise64

predeclare an access pattern for file data

sys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice)
number253 (0xfd)
abicommon
entry pointsys_fadvise64_64
sinceLinux 4.16
man pagefadvise64(2)
sourceelixir.bootlin.com

Registers

registervalue
r1253, the syscall number
r2int fd
r3loff_t offset
r4loff_t len
r5int advice
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/fadvise64