syscall.sh / arc / statfs64
statfs64
get filesystem statistics
sys_statfs64(const char *path, size_t sz, struct statfs64 *buf)
| number | 43 (0x2b) |
|---|---|
| abi | 32 |
| entry point | sys_statfs64 |
| since | Linux 3.9 |
| man page | statfs64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r8 | 43, the syscall number |
r0 | const char *path |
r1 | size_t sz |
r2 | struct statfs64 *buf |
r0 | the return value |
Then run trap0 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
- csky 43
- hexagon 43
- m68k 263
- microblaze 268
- nios2 43
- openrisc 43
- parisc 298
- sh 268
- sparc 234
- sparc64 234
- xtensa 186
Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/statfs64