syscall.sh / arc / fstatfs64

fstatfs64

get filesystem statistics

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

Registers

registervalue
r844, the syscall number
r0unsigned int fd
r1size_t sz
r2struct statfs64 *buf
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

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