syscall.sh / xtensa / fstatfs

fstatfs

get filesystem statistics

sys_fstatfs(unsigned int fd, struct statfs *buf)
number185 (0xb9)
abicommon
entry pointsys_fstatfs
sinceLinux 5.0
man pagefstatfs(2)
sourceelixir.bootlin.com

Registers

registervalue
a2185, the syscall number
a6unsigned int fd
a3struct statfs *buf
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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