ustat on ia32
get filesystem statistics
compat_sys_ustat(unsigned dev, struct ustat *ubuf)
| number | 62 (0x3e) |
|---|---|
| abi | i386 |
| entry point | compat_sys_ustat |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for ia32) |
| man page | ustat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 62, the syscall number |
ebx | unsigned dev |
ecx | struct ustat *ubuf |
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 136
- x86 62
- arm 62
- x32 1073741960
- ppc64 62
- ppc 62
- s390x 62
- mips64 5133
- mipsn32 6133
- mipso32 4062
- alpha 327
- m68k 62
- microblaze 62
- parisc 62
- sh 62
- sparc 168
- sparc64 168
- xtensa 183
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/ustat