syscall.sh / sh / statfs64
statfs64
get filesystem statistics
sys_statfs64(const char *path, size_t sz, struct statfs64 *buf)
| number | 268 (0x10c) |
|---|---|
| abi | common |
| entry point | sys_statfs64 |
| since | Linux 5.0 |
| man page | statfs64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r3 | 268, the syscall number |
r4 | const char *path |
r5 | size_t sz |
r6 | struct statfs64 *buf |
r0 | the return value |
Then run trapa #31 to enter the kernel.
Same syscall on other architectures
- x86 268
- arm 266
- ppc64 252
- ppc 252
- s390x 265
- mipsn32 6217
- mipso32 4255
- alpha 528
- arc 43
- csky 43
- hexagon 43
- m68k 263
- microblaze 268
- nios2 43
- openrisc 43
- parisc 298
- sparc 234
- sparc64 234
- xtensa 186
Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/statfs64