syscall.sh / ppc64 / fstatfs64
fstatfs64
get filesystem statistics
sys_fstatfs64(unsigned int fd, size_t sz, struct statfs64 *buf)
| number | 253 (0xfd) |
|---|---|
| abi | common |
| entry point | sys_fstatfs64 |
| since | Linux 5.0 |
| man page | fstatfs64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 253, the syscall number |
r3 | unsigned int fd |
r4 | size_t sz |
r5 | struct statfs64 *buf |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x86 269
- arm 267
- ppc 253
- s390x 266
- mipsn32 6218
- mipso32 4256
- alpha 529
- arc 44
- csky 44
- hexagon 44
- m68k 264
- microblaze 269
- nios2 44
- openrisc 44
- parisc 299
- sh 269
- sparc 235
- sparc64 235
- xtensa 187
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/fstatfs64