syscall.sh / arc / fadvise64_64

fadvise64_64

predeclare an access pattern for file data

sys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice)
number223 (0xdf)
abi32
entry pointsys_fadvise64_64
sinceLinux 3.9
man pagefadvise64_64(2)
sourceelixir.bootlin.com

Registers

registervalue
r8223, the syscall number
r0int fd
r1loff_t offset
r2loff_t len
r3int advice
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/fadvise64_64