syscall.sh / xtensa / statfs

statfs

get filesystem statistics

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

Registers

registervalue
a2184, the syscall number
a6const char *path
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/statfs