syscall.sh / sparc64 / fadvise64_64
fadvise64_64
predeclare an access pattern for file data
sys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice)
| number | 210 (0xd2) |
|---|---|
| abi | common |
| entry point | sys_fadvise64_64 |
| since | Linux 5.0 |
| man page | fadvise64_64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 210, the syscall number |
o0 | int fd |
o1 | loff_t offset |
o2 | loff_t len |
o3 | int advice |
o0 | the return value |
Then run t 0x6d to enter the kernel.
Same syscall on other architectures
- x86 272
- ppc 254
- arc 223
- csky 223
- hexagon 223
- m68k 267
- microblaze 272
- nios2 223
- openrisc 223
- parisc 236
- sh 272
- sparc 210
- xtensa 63
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/fadvise64_64