fadvise64 on tilegx
predeclare an access pattern for file data
sys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice)
| number | 223 (0xdf) |
|---|---|
| abi | common |
| entry point | sys_fadvise64_64 |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilegx) |
| man page | fadvise64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 223, the syscall number |
r0 | int fd |
r1 | loff_t offset |
r2 | loff_t len |
r3 | int advice |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error.
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
- x64 221
- x86 250
- arm64 223
- riscv64 223
- ia32 250
- x32 1073742045
- loongarch64 223
- ppc64 233
- ppc 233
- s390x 253
- mips64 5215
- mipsn32 6216
- mipso32 4254
- alpha 413
- blackfin 353, removed in 4.17
- cris 250, removed in 4.17
- frv 250, removed in 4.17
- ia64 1234, removed in 6.7
- m32r 250, removed in 4.17
- m68k 246
- microblaze 250
- mn10300 250, removed in 4.17
- score 1053, removed in 4.17
- sh 250
- sparc 209
- sparc64 209
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilegx/fadvise64?kernel=all