fadvise64_64 on metag
predeclare an access pattern for file data
sys_fadvise64_64_metag(int, unsigned long, unsigned long, unsigned long, unsigned long, int)
| number | 223 (0xdf) |
|---|---|
| abi | common |
| entry point | sys_fadvise64_64_metag |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | fadvise64_64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 223, the syscall number |
D1Ar1 | int |
D0Ar2 | unsigned long |
D1Ar3 | unsigned long |
D0Ar4 | unsigned long |
D1Ar5 | unsigned long |
D0Ar6 | int |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
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
- 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
- tilepro 223, removed in 4.17
- xtensa 63
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/fadvise64_64?kernel=all