syscall.sh / s390x / fallocate

fallocate

manipulate file space

sys_fallocate(int fd, int mode, loff_t offset, loff_t len)
number314 (0x13a)
abicommon
entry pointsys_fallocate
sinceLinux 4.16
man pagefallocate(2)
sourceelixir.bootlin.com

Registers

registervalue
r1314, the syscall number
r2int fd
r3int mode
r4loff_t offset
r5loff_t len
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/fallocate