syscall.sh / riscv64 / readahead

readahead

initiate file readahead into page cache

sys_readahead(int fd, loff_t offset, size_t count)
number213 (0xd5)
abicommon
entry pointsys_readahead
sinceLinux 4.15
man pagereadahead(2)
sourceelixir.bootlin.com

Registers

registervalue
a7213, the syscall number
a0int fd
a1loff_t offset
a2size_t count
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/readahead