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