syscall.sh / xtensa / fallocate

fallocate

manipulate file space

sys_fallocate(int fd, int mode, loff_t offset, loff_t len)
number62 (0x3e)
abicommon
entry pointsys_fallocate
sinceLinux 5.0
man pagefallocate(2)
sourceelixir.bootlin.com

Registers

registervalue
a262, the syscall number
a6int fd
a3int mode
a4loff_t offset
a5loff_t len
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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