syscall.sh / xtensa / statfs64
statfs64
get filesystem statistics
sys_statfs64(const char *path, size_t sz, struct statfs64 *buf)
| number | 186 (0xba) |
|---|---|
| abi | common |
| entry point | sys_statfs64 |
| since | Linux 5.0 |
| man page | statfs64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 186, the syscall number |
a6 | const char *path |
a3 | size_t sz |
a4 | struct statfs64 *buf |
a2 | the return value |
Then run syscall 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
- sh 268
- sparc 234
- sparc64 234
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/statfs64