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