statfs64 on tilepro
get filesystem statistics
sys_statfs64(const char *path, size_t sz, struct statfs64 *buf)
| number | 43 (0x2b) |
|---|---|
| abi | common |
| entry point | sys_statfs64 |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | statfs64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 43, the syscall number |
r0 | const char *path |
r1 | size_t sz |
r2 | struct statfs64 *buf |
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 268
- arm 266
- ia32 268
- ppc64 252
- ppc 252
- s390x 265
- mipsn32 6217
- mipso32 4255
- alpha 528
- arc 43
- blackfin 269, removed in 4.17
- cris 268, removed in 4.17
- csky 43
- frv 268, removed in 4.17
- hexagon 43
- ia64 1258, removed in 6.7
- m32r 268, removed in 4.17
- m68k 263
- metag 43, removed in 4.17
- microblaze 268
- mn10300 268, removed in 4.17
- nds32 43, removed in 5.18
- nios2 43
- openrisc 43
- parisc 298
- score 43, removed in 4.17
- sh 268
- sparc 234
- sparc64 234
- xtensa 186
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/statfs64?kernel=all