syscall.sh / loongarch64 / fstatfs

fstatfs

get filesystem statistics

sys_fstatfs(unsigned int fd, struct statfs *buf)
number44 (0x2c)
abi64
entry pointsys_fstatfs
sinceLinux 5.19
man pagefstatfs(2)
sourceelixir.bootlin.com

Registers

registervalue
a744, the syscall number
a0unsigned int fd
a1struct statfs *buf
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/fstatfs