syscall.sh / ppc64 / 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)
number379 (0x17b)
abinospu
entry pointsys_copy_file_range
sinceLinux 5.0
man pagecopy_file_range(2)
sourceelixir.bootlin.com

Registers

registervalue
r0379, the syscall number
r3int fd_in
r4loff_t *off_in
r5int fd_out
r6loff_t *off_out
r7size_t len
r8unsigned int flags
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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