syscall.sh / arm64 / statfs

statfs

get filesystem statistics

sys_statfs(const char *path, struct statfs *buf)
number43 (0x2b)
abi64
entry pointsys_statfs
sinceLinux 3.7
man pagestatfs(2)
sourceelixir.bootlin.com

Registers

registervalue
x843, the syscall number
x0const char *path
x1struct statfs *buf
x0the 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/arm64/statfs