syscall.sh / x64 / statfs

statfs

get filesystem statistics

sys_statfs(const char *path, struct statfs *buf)
number137 (0x89)
abicommon
entry pointsys_statfs
sinceLinux 3.3
man pagestatfs(2)
sourceelixir.bootlin.com

Registers

registervalue
rax137, the syscall number
rdiconst char *path
rsistruct statfs *buf
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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