syscall.sh / ppc64 / fallocate
fallocate
manipulate file space
sys_fallocate(int fd, int mode, loff_t offset, loff_t len)
| number | 309 (0x135) |
|---|---|
| abi | 64 |
| entry point | sys_fallocate |
| since | Linux 5.0 |
| man page | fallocate(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 309, the syscall number |
r3 | int fd |
r4 | int mode |
r5 | loff_t offset |
r6 | loff_t len |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x64 285
- x86 324
- arm64 47
- arm 352
- riscv64 47
- x32 1073742109
- loongarch64 47
- ppc 309
- s390x 314
- mips64 5279
- mipsn32 6283
- mipso32 4320
- alpha 480
- arc 47
- csky 47
- hexagon 47
- m68k 320
- microblaze 324
- nios2 47
- openrisc 47
- parisc 305
- sh 324
- sparc 314
- sparc64 314
- xtensa 62
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/fallocate