syscall.sh / ppc / readahead
readahead
initiate file readahead into page cache
sys_ppc_readahead(int fd, u32 r4, u32 offset1, u32 offset2, u32 count)
| number | 191 (0xbf) |
|---|---|
| abi | 32 |
| entry point | sys_ppc_readahead |
| since | Linux 5.0 |
| man page | readahead(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 191, the syscall number |
r3 | int fd |
r4 | u32 r4 |
r5 | u32 offset1 |
r6 | u32 offset2 |
r7 | u32 count |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x64 187
- x86 225
- arm64 213
- arm 225
- riscv64 213
- x32 1073742011
- loongarch64 213
- ppc64 191
- s390x 222
- mips64 5179
- mipsn32 6179
- mipso32 4223
- alpha 379
- arc 213
- csky 213
- hexagon 213
- m68k 240
- microblaze 225
- nios2 213
- openrisc 213
- parisc 207
- sh 225
- sparc 205
- sparc64 205
- xtensa 260
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc/readahead