syscall.sh / mipsn32 / fstatfs
fstatfs
get filesystem statistics
compat_sys_fstatfs(unsigned int fd, struct statfs *buf)
| number | 6135 (0x17f7) |
|---|---|
| abi | n32 |
| entry point | compat_sys_fstatfs |
| since | Linux 5.0 |
| man page | fstatfs(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 6135, the syscall number |
a0 | unsigned int fd |
a1 | struct statfs *buf |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 138
- x86 100
- arm64 44
- arm 100
- riscv64 44
- x32 1073741962
- loongarch64 44
- ppc64 100
- ppc 100
- s390x 100
- mips64 5135
- mipso32 4100
- alpha 329
- m68k 100
- microblaze 100
- parisc 100
- sh 100
- sparc 158
- sparc64 158
- xtensa 185
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/fstatfs