syscall.sh / loongarch64 / fadvise64

fadvise64

predeclare an access pattern for file data

sys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice)
number223 (0xdf)
abi64
entry pointsys_fadvise64_64
sinceLinux 5.19
man pagefadvise64(2)
sourceelixir.bootlin.com

Registers

registervalue
a7223, the syscall number
a0int fd
a1loff_t offset
a2loff_t len
a3int advice
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

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