syscall.sh / xtensa / ustat
ustat
get filesystem statistics
sys_ustat(unsigned dev, struct ustat *ubuf)
| number | 183 (0xb7) |
|---|---|
| abi | common |
| entry point | sys_ustat |
| since | Linux 5.0 |
| man page | ustat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 183, the syscall number |
a6 | unsigned dev |
a3 | struct ustat *ubuf |
a2 | the return value |
Then run syscall to enter the kernel.
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
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/ustat