syscall.sh / x32 / statfs

statfs

get filesystem statistics

sys_statfs(const char *path, struct statfs *buf)
number1073741961 (0x40000089)
abicommon
entry pointsys_statfs
sinceLinux 3.4
man pagestatfs(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741961, 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/x32/statfs