fstatat64 on tilepro
get file status
sys_fstatat64(int dfd, const char *filename, struct stat64 *statbuf, int flag)
| number | 79 (0x4f) |
|---|---|
| abi | common |
| entry point | sys_fstatat64 |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | fstatat64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 79, the syscall number |
r0 | int dfd |
r1 | const char *filename |
r2 | struct stat64 *statbuf |
r3 | int flag |
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 300
- arm 327
- ia32 300
- ppc 291
- mipso32 4293
- alpha 455
- arc 79
- blackfin 300, removed in 4.17
- cris 300, removed in 4.17
- csky 79
- frv 300, removed in 4.17
- hexagon 79
- m32r 300, removed in 4.17
- m68k 293
- metag 79, removed in 4.17
- microblaze 300
- mn10300 301, removed in 4.17
- nds32 79, removed in 5.18
- nios2 79
- openrisc 79
- parisc 280
- score 79, removed in 4.17
- sh 300
- sparc 289
- sparc64 289
- xtensa 299
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/fstatat64?kernel=all