syscall.sh / openrisc / 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.7
man pagefallocate(2)
sourceelixir.bootlin.com

Registers

registervalue
r1147, the syscall number
r3int fd
r4int mode
r5loff_t offset
r6loff_t len
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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