statfs on ia32
get filesystem statistics
compat_sys_statfs(const char *path, struct statfs *buf)
| number | 99 (0x63) |
|---|---|
| abi | i386 |
| entry point | compat_sys_statfs |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for ia32) |
| man page | statfs(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 99, the syscall number |
ebx | const char *path |
ecx | struct statfs *buf |
eax | the return value |
Then run int 0x80 to enter the kernel.
This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.
Same syscall on other architectures
- x64 137
- x86 99
- arm64 43
- arm 99
- riscv64 43
- x32 1073741961
- loongarch64 43
- ppc64 99
- ppc 99
- s390x 99
- mips64 5134
- mipsn32 6134
- mipso32 4099
- alpha 328
- m68k 99
- microblaze 99
- parisc 99
- sh 99
- sparc 157
- sparc64 157
- xtensa 184
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/statfs