syscall.sh / sparc64 / fstatfs

fstatfs

get filesystem statistics

sys_fstatfs(unsigned int fd, struct statfs *buf)
number158 (0x9e)
abicommon
entry pointsys_fstatfs
sinceLinux 5.0
man pagefstatfs(2)
sourceelixir.bootlin.com

Registers

registervalue
g1158, the syscall number
o0unsigned int fd
o1struct statfs *buf
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

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