syscall.sh / sh / statfs

statfs

get filesystem statistics

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

Registers

registervalue
r399, the syscall number
r4const char *path
r5struct statfs *buf
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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