syscall.sh / nios2 / fallocate

fallocate

manipulate file space

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

Registers

registervalue
r247, the syscall number
r4int fd
r5int mode
r6loff_t offset
r7loff_t len
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/nios2/fallocate