syscall.sh / m68k / fadvise64

fadvise64

predeclare an access pattern for file data

sys_fadvise64(int fd, loff_t offset, size_t len, int advice)
number246 (0xf6)
abicommon
entry pointsys_fadvise64
sinceLinux 5.0
man pagefadvise64(2)
sourceelixir.bootlin.com

Registers

registervalue
d0246, the syscall number
d1int fd
d2loff_t offset
d3size_t len
d4int advice
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/fadvise64