sendfile64 on tilepro
transfer data between file descriptors
sys_sendfile64(int out_fd, int in_fd, loff_t *offset, size_t count)
| number | 71 (0x47) |
|---|---|
| abi | common |
| entry point | sys_sendfile64 |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | sendfile64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 71, the syscall number |
r0 | int out_fd |
r1 | int in_fd |
r2 | loff_t *offset |
r3 | size_t count |
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
- x86 239
- arm 239
- ia32 239
- ppc 226
- mipsn32 6219
- mipso32 4237
- arc 71
- blackfin 239, removed in 4.17
- cris 239, removed in 4.17
- csky 71
- frv 239, removed in 4.17
- hexagon 71
- m32r 239, removed in 4.17
- m68k 236
- metag 71, removed in 4.17
- microblaze 239
- mn10300 239, removed in 4.17
- nds32 71, removed in 5.18
- nios2 71
- openrisc 71
- parisc 209
- score 71, removed in 4.17
- sh 239
- sparc 140
- sparc64 140
- xtensa 114
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/sendfile64?kernel=all