syscall.sh / s390x / statfs

statfs

get filesystem statistics

sys_statfs(const char *path, struct statfs *buf)
number99 (0x63)
abicommon
entry pointsys_statfs
sinceLinux 4.16
man pagestatfs(2)
sourceelixir.bootlin.com

Registers

registervalue
r199, the syscall number
r2const char *path
r3struct statfs *buf
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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