syscall.sh / m68k / fstatfs64
fstatfs64
get filesystem statistics
sys_fstatfs64(unsigned int fd, size_t sz, struct statfs64 *buf)
| number | 264 (0x108) |
|---|---|
| abi | common |
| entry point | sys_fstatfs64 |
| since | Linux 5.0 |
| man page | fstatfs64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 264, the syscall number |
d1 | unsigned int fd |
d2 | size_t sz |
d3 | struct statfs64 *buf |
d0 | the return value |
Then run trap #0 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
- 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/m68k/fstatfs64