syscall.sh / arc / 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 3.9
man pagereadahead(2)
sourceelixir.bootlin.com

Registers

registervalue
r8213, the syscall number
r0int fd
r1loff_t offset
r2size_t count
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

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