syscall.sh / m68k / fstatfs

fstatfs

get filesystem statistics

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

Registers

registervalue
d0100, the syscall number
d1unsigned int fd
d2struct statfs *buf
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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