syscall.sh / csky / vmsplice
vmsplice
splice user pages to/from a pipe
sys_vmsplice(int fd, const struct iovec *iov, unsigned long nr_segs, unsigned int flags)
| number | 75 (0x4b) |
|---|---|
| abi | common |
| entry point | sys_vmsplice |
| since | Linux 4.20 |
| man page | vmsplice(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 75, the syscall number |
a0 | int fd |
a1 | const struct iovec *iov |
a2 | unsigned long nr_segs |
a3 | unsigned int flags |
a0 | the return value |
Then run trap 0 to enter the kernel.
Same syscall on other architectures
- x64 278
- x86 316
- arm64 75
- arm 343
- riscv64 75
- x32 1073742356
- loongarch64 75
- ppc64 285
- ppc 285
- s390x 309
- mips64 5266
- mipsn32 6270
- mipso32 4307
- alpha 471
- arc 75
- hexagon 75
- m68k 309
- microblaze 316
- nios2 75
- openrisc 75
- parisc 294
- sh 316
- sparc 25
- sparc64 25
- xtensa 270
Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/vmsplice