syscall.sh / parisc / copy_file_range

copy_file_range

Copy a range of data from one file to another

sys_copy_file_range(int fd_in, loff_t *off_in, int fd_out, loff_t *off_out, size_t len, unsigned int flags)
number346 (0x15a)
abicommon
entry pointsys_copy_file_range
sinceLinux 5.0
man pagecopy_file_range(2)
sourceelixir.bootlin.com

Registers

registervalue
r20346, the syscall number
r26int fd_in
r25loff_t *off_in
r24int fd_out
r23loff_t *off_out
r22size_t len
r21unsigned int flags
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

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