splice on tilepro
splice data to/from a pipe
sys_splice(int fd_in, loff_t *off_in, int fd_out, loff_t *off_out, size_t len, unsigned int flags)
| number | 76 (0x4c) |
|---|---|
| abi | common |
| entry point | sys_splice |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | splice(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 76, the syscall number |
r0 | int fd_in |
r1 | loff_t *off_in |
r2 | int fd_out |
r3 | loff_t *off_out |
r4 | size_t len |
r5 | unsigned int flags |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 275
- x86 313
- arm64 76
- arm 340
- riscv64 76
- ia32 313
- x32 1073742099
- loongarch64 76
- ppc64 283
- ppc 283
- s390x 306
- mips64 5263
- mipsn32 6267
- mipso32 4304
- alpha 468
- arc 76
- blackfin 342, removed in 4.17
- cris 313, removed in 4.17
- csky 76
- frv 313, removed in 4.17
- hexagon 76
- ia64 1297, removed in 6.7
- m32r 313, removed in 4.17
- m68k 306
- metag 76, removed in 4.17
- microblaze 313
- mn10300 314, removed in 4.17
- nds32 76, removed in 5.18
- nios2 76
- openrisc 76
- parisc 291
- score 76, removed in 4.17
- sh 313
- sparc 232
- sparc64 232
- tilegx 76, removed in 4.17
- xtensa 268
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/splice?kernel=all