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)
| number | 233 (0xe9) |
|---|---|
| abi | 32 |
| entry point | sys_ppc32_fadvise64 |
| since | Linux 5.0 |
| man page | fadvise64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 233, the syscall number |
r3 | int fd |
r4 | u32 unused |
r5 | u32 offset1 |
r6 | u32 offset2 |
r7 | size_t len |
r8 | int advice |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x64 221
- x86 250
- arm64 223
- riscv64 223
- x32 1073742045
- loongarch64 223
- ppc64 233
- s390x 253
- mips64 5215
- mipsn32 6216
- mipso32 4254
- alpha 413
- m68k 246
- microblaze 250
- sh 250
- sparc 209
- sparc64 209
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc/fadvise64