syscall.sh / arm64 / 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
x847, the syscall number
x0int fd
x1int mode
x2loff_t offset
x3loff_t len
x0the 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/arm64/fallocate