syscall.sh / s390x / fstatfs64

fstatfs64

get filesystem statistics

sys_fstatfs64(unsigned int fd, size_t sz, struct statfs64 *buf)
number266 (0x10a)
abicommon
entry pointsys_fstatfs64
sinceLinux 4.16
man pagefstatfs64(2)
sourceelixir.bootlin.com

Registers

registervalue
r1266, the syscall number
r2unsigned int fd
r3size_t sz
r4struct statfs64 *buf
r2the 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/s390x/fstatfs64