syscall.sh / x86 / readahead
readahead
initiate file readahead into page cache
sys_ia32_readahead(int fd, loff_t offset, size_t count)
| number | 225 (0xe1) |
|---|---|
| abi | i386 |
| entry point | sys_ia32_readahead |
| since | Linux 3.3 |
| man page | readahead(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 225, the syscall number |
ebx | int fd |
ecx | loff_t offset |
edx | size_t count |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 187
- arm64 213
- arm 225
- riscv64 213
- x32 1073742011
- loongarch64 213
- ppc64 191
- ppc 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/x86/readahead