readahead on tilepro
initiate file readahead into page cache
sys32_readahead(int fd, u32 offset_lo, u32 offset_hi, u32 count)
| number | 213 (0xd5) |
|---|---|
| abi | common |
| entry point | sys32_readahead |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | readahead(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 213, the syscall number |
r0 | int fd |
r1 | u32 offset_lo |
r2 | u32 offset_hi |
r3 | u32 count |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 187
- x86 225
- arm64 213
- arm 225
- riscv64 213
- ia32 225
- x32 1073742011
- loongarch64 213
- ppc64 191
- ppc 191
- s390x 222
- mips64 5179
- mipsn32 6179
- mipso32 4223
- alpha 379
- arc 213
- blackfin 225, removed in 4.17
- cris 225, removed in 4.17
- csky 213
- frv 225, removed in 4.17
- hexagon 213
- ia64 1216, removed in 6.7
- m32r 225, removed in 4.17
- m68k 240
- metag 213, removed in 4.17
- microblaze 225
- mn10300 225, removed in 4.17
- nds32 213, removed in 5.18
- nios2 213
- openrisc 213
- parisc 207
- score 213, removed in 4.17
- sh 225
- sparc 205
- sparc64 205
- tilegx 213, removed in 4.17
- xtensa 260
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/readahead?kernel=all