syscall.sh / parisc / statfs
statfs
get filesystem statistics
sys_statfs(const char *path, struct statfs *buf)
| number | 99 (0x63) |
|---|---|
| abi | common |
| entry point | sys_statfs |
| since | Linux 5.0 |
| man page | statfs(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 99, the syscall number |
r26 | const char *path |
r25 | struct statfs *buf |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 137
- x86 99
- arm64 43
- arm 99
- riscv64 43
- x32 1073741961
- loongarch64 43
- ppc64 99
- ppc 99
- s390x 99
- mips64 5134
- mipsn32 6134
- mipso32 4099
- alpha 328
- m68k 99
- microblaze 99
- sh 99
- sparc 157
- sparc64 157
- xtensa 184
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/statfs