syscall.sh / csky / fallocate

fallocate

manipulate file space

sys_fallocate(int fd, int mode, loff_t offset, loff_t len)
number47 (0x2f)
abicommon
entry pointsys_fallocate
sinceLinux 4.20
man pagefallocate(2)
sourceelixir.bootlin.com

Registers

registervalue
r747, the syscall number
a0int fd
a1int mode
a2loff_t offset
a3loff_t len
a0the 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/csky/fallocate