syscall.sh / sh / splice

splice

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)
number313 (0x139)
abicommon
entry pointsys_splice
sinceLinux 5.0
man pagesplice(2)
sourceelixir.bootlin.com

Registers

registervalue
r3313, the syscall number
r4int fd_in
r5loff_t *off_in
r6int fd_out
r7loff_t *off_out
r0size_t len
r1unsigned int flags
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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