fstatfs on arm64

get filesystem statistics

sys_fstatfs(unsigned int fd, struct statfs *buf)
number44 (0x2c)
abi64
entry pointsys_fstatfs
sinceLinux 3.7 or earlier (3.7 is the first release scanned for arm64)
man pagefstatfs(2)
sourceelixir.bootlin.com

Registers

registervalue
x844, the syscall number
x0unsigned int fd
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/fstatfs