syscall.sh / hexagon / 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 | 223 (0xdf) |
|---|---|
| abi | 32 |
| entry point | sys_fadvise64_64 |
| since | Linux 3.7 |
| man page | fadvise64_64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r6 | 223, the syscall number |
r0 | int fd |
r1 | loff_t offset |
r2 | loff_t len |
r3 | int advice |
r0 | the return value |
Then run trap0(#1) to enter the kernel.
Same syscall on other architectures
- x86 272
- ppc 254
- arc 223
- csky 223
- m68k 267
- microblaze 272
- nios2 223
- openrisc 223
- parisc 236
- sh 272
- sparc 210
- sparc64 210
- xtensa 63
Get this as JSON: https://api.syscall.sh/v2/syscalls/hexagon/fadvise64_64