syscall.sh / csky / fstatfs64

fstatfs64

get filesystem statistics

sys_fstatfs64(unsigned int fd, size_t sz, struct statfs64 *buf)
number44 (0x2c)
abi32
entry pointsys_fstatfs64
sinceLinux 4.20
man pagefstatfs64(2)
sourceelixir.bootlin.com

Registers

registervalue
r744, the syscall number
a0unsigned int fd
a1size_t sz
a2struct statfs64 *buf
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/fstatfs64