statfs on tilegx
get filesystem statistics
sys_statfs(const char *path, struct statfs *buf)
| number | 43 (0x2b) |
|---|---|
| abi | common |
| entry point | sys_statfs |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilegx) |
| man page | statfs(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 43, the syscall number |
r0 | const char *path |
r1 | struct statfs *buf |
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 137
- x86 99
- arm64 43
- arm 99
- riscv64 43
- ia32 99
- x32 1073741961
- loongarch64 43
- ppc64 99
- ppc 99
- s390x 99
- mips64 5134
- mipsn32 6134
- mipso32 4099
- alpha 328
- blackfin 99, removed in 4.17
- cris 99, removed in 4.17
- frv 99, removed in 4.17
- ia64 1103, removed in 6.7
- m32r 99, removed in 4.17
- m68k 99
- microblaze 99
- mn10300 99, removed in 4.17
- parisc 99
- score 1056, removed in 4.17
- sh 99
- sparc 157
- sparc64 157
- xtensa 184
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilegx/statfs?kernel=all