syscall.sh / ppc / fadvise64

fadvise64

predeclare an access pattern for file data

sys_ppc32_fadvise64(int fd, u32 unused, u32 offset1, u32 offset2, size_t len, int advice)
number233 (0xe9)
abi32
entry pointsys_ppc32_fadvise64
sinceLinux 5.0
man pagefadvise64(2)
sourceelixir.bootlin.com

Registers

registervalue
r0233, the syscall number
r3int fd
r4u32 unused
r5u32 offset1
r6u32 offset2
r7size_t len
r8int advice
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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