syscall.sh / ppc / fadvise64_64
fadvise64_64
predeclare an access pattern for file data
sys_ppc_fadvise64_64(int fd, int advice, u32 offset_high, u32 offset_low, u32 len_high, u32 len_low)
| number | 254 (0xfe) |
|---|---|
| abi | 32 |
| entry point | sys_ppc_fadvise64_64 |
| since | Linux 5.0 |
| man page | fadvise64_64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 254, the syscall number |
r3 | int fd |
r4 | int advice |
r5 | u32 offset_high |
r6 | u32 offset_low |
r7 | u32 len_high |
r8 | u32 len_low |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x86 272
- arc 223
- csky 223
- hexagon 223
- m68k 267
- microblaze 272
- nios2 223
- openrisc 223
- parisc 236
- sh 272
- sparc 210
- sparc64 210
- xtensa 63
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc/fadvise64_64