syscall.sh / x32 / fstatfs

fstatfs

get filesystem statistics

sys_fstatfs(unsigned int fd, struct statfs *buf)
number1073741962 (0x4000008a)
abicommon
entry pointsys_fstatfs
sinceLinux 3.4
man pagefstatfs(2)
sourceelixir.bootlin.com

Registers

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