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