syscall.sh / x32 / ustat
ustat
get filesystem statistics
sys_ustat(unsigned dev, struct ustat *ubuf)
| number | 1073741960 (0x40000088) |
|---|---|
| abi | common |
| entry point | sys_ustat |
| since | Linux 3.4 |
| man page | ustat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073741960, the syscall number |
rdi | unsigned dev |
rsi | struct ustat *ubuf |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 136
- x86 62
- arm 62
- 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/x32/ustat