syscall.sh / x64 / fallocate

fallocate

manipulate file space

sys_fallocate(int fd, int mode, loff_t offset, loff_t len)
number285 (0x11d)
abicommon
entry pointsys_fallocate
sinceLinux 3.3
man pagefallocate(2)
sourceelixir.bootlin.com

Registers

registervalue
rax285, the syscall number
rdiint fd
rsiint mode
rdxloff_t offset
r10loff_t len
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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