fadvise64_64 on tilepro
predeclare an access pattern for file data
sys32_fadvise64_64(int fd, u32 offset_lo, u32 offset_hi, u32 len_lo, u32 len_hi, int advice)
| number | 223 (0xdf) |
|---|---|
| abi | common |
| entry point | sys32_fadvise64_64 |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | fadvise64_64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 223, the syscall number |
r0 | int fd |
r1 | u32 offset_lo |
r2 | u32 offset_hi |
r3 | u32 len_lo |
r4 | u32 len_hi |
r5 | int advice |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x86 272
- ia32 272
- ppc 254
- arc 223
- blackfin 273, removed in 4.17
- cris 272, removed in 4.17
- csky 223
- frv 272, removed in 4.17
- hexagon 223
- m32r 272, removed in 4.17
- m68k 267
- metag 223, removed in 4.17
- microblaze 272
- mn10300 272, removed in 4.17
- nds32 223, removed in 5.18
- nios2 223
- openrisc 223
- parisc 236
- score 223, removed in 4.17
- sh 272
- sparc 210
- sparc64 210
- xtensa 63
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/fadvise64_64?kernel=all