syscall.sh / mips64 / fadvise64
fadvise64
predeclare an access pattern for file data
sys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice)
| number | 5215 (0x145f) |
|---|---|
| abi | n64 |
| entry point | sys_fadvise64_64 |
| since | Linux 5.0 |
| man page | fadvise64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 5215, the syscall number |
a0 | int fd |
a1 | loff_t offset |
a2 | loff_t len |
a3 | int advice |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 221
- x86 250
- arm64 223
- riscv64 223
- x32 1073742045
- loongarch64 223
- ppc64 233
- ppc 233
- s390x 253
- mipsn32 6216
- mipso32 4254
- alpha 413
- m68k 246
- microblaze 250
- sh 250
- sparc 209
- sparc64 209
Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/fadvise64