syscall.sh / sparc / statfs

statfs

get filesystem statistics

sys_statfs(const char *path, struct statfs *buf)
number157 (0x9d)
abicommon
entry pointsys_statfs
sinceLinux 5.0
man pagestatfs(2)
sourceelixir.bootlin.com

Registers

registervalue
g1157, the syscall number
o0const char *path
o1struct statfs *buf
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/statfs