syscall.sh / sparc / fstatfs64
fstatfs64
get filesystem statistics
sys_fstatfs64(unsigned int fd, size_t sz, struct statfs64 *buf)
| number | 235 (0xeb) |
|---|---|
| abi | common |
| entry point | sys_fstatfs64 |
| since | Linux 5.0 |
| man page | fstatfs64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 235, the syscall number |
o0 | unsigned int fd |
o1 | size_t sz |
o2 | struct statfs64 *buf |
o0 | the return value |
Then run t 0x10 to enter the kernel.
Same syscall on other architectures
- x86 269
- arm 267
- ppc64 253
- 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
- sparc64 235
- xtensa 187
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/fstatfs64