grep -rI 'copy_file_range' . ./build_dir/host/cpio-2.15/gnu/unistd.h:# undef copy_file_range ./build_dir/host/cpio-2.15/gnu/unistd.h:# define copy_file_range rpl_copy_file_range ./build_dir/host/cpio-2.15/gnu/unistd.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/cpio-2.15/gnu/unistd.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/cpio-2.15/gnu/unistd.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/cpio-2.15/gnu/unistd.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/cpio-2.15/gnu/unistd.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/cpio-2.15/gnu/unistd.h:# undef copy_file_range ./build_dir/host/cpio-2.15/gnu/unistd.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/cpio-2.15/gnu/unistd.h: "copy_file_range is unportable - " ./build_dir/host/cpio-2.15/gnu/unistd.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/cpio-2.15/gnu/unistd.in.h:# undef copy_file_range ./build_dir/host/cpio-2.15/gnu/unistd.in.h:# define copy_file_range rpl_copy_file_range ./build_dir/host/cpio-2.15/gnu/unistd.in.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/cpio-2.15/gnu/unistd.in.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/cpio-2.15/gnu/unistd.in.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/cpio-2.15/gnu/unistd.in.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/cpio-2.15/gnu/unistd.in.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/cpio-2.15/gnu/unistd.in.h:# undef copy_file_range ./build_dir/host/cpio-2.15/gnu/unistd.in.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/cpio-2.15/gnu/unistd.in.h: "copy_file_range is unportable - " ./build_dir/host/cpio-2.15/gnu/unistd.in.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/cpio-2.15/m4/unistd_h.m4: ]], [access chdir chown copy_file_range dup dup2 dup3 environ euidaccess ./build_dir/host/erofs-utils-1.8.10/configure.ac: copy_file_range ./build_dir/host/erofs-utils-1.8.10/config.h:/* Define to 1 if you have the 'copy_file_range' function. */ ./build_dir/host/erofs-utils-1.8.10/configure:ac_fn_c_check_func "$LINENO" "copy_file_range" "ac_cv_func_copy_file_range" ./build_dir/host/erofs-utils-1.8.10/configure:if test "x$ac_cv_func_copy_file_range" = xyes ./build_dir/host/erofs-utils-1.8.10/autom4te.cache/traces.1:m4trace:configure.ac:265: -1- AH_OUTPUT([HAVE_COPY_FILE_RANGE], [/* Define to 1 if you have the \'copy_file_range\' function. */ ./build_dir/host/erofs-utils-1.8.10/autom4te.cache/output.0:ac_fn_c_check_func "$LINENO" "copy_file_range" "ac_cv_func_copy_file_range" ./build_dir/host/erofs-utils-1.8.10/autom4te.cache/output.0:if test "x$ac_cv_func_copy_file_range" = xyes ./build_dir/host/erofs-utils-1.8.10/autom4te.cache/output.1:ac_fn_c_check_func "$LINENO" "copy_file_range" "ac_cv_func_copy_file_range" ./build_dir/host/erofs-utils-1.8.10/autom4te.cache/output.1:if test "x$ac_cv_func_copy_file_range" = xyes ./build_dir/host/erofs-utils-1.8.10/autom4te.cache/traces.3:m4trace:configure.ac:265: -1- AH_OUTPUT([HAVE_COPY_FILE_RANGE], [/* Define to 1 if you have the \'copy_file_range\' function. */ ./build_dir/host/erofs-utils-1.8.10/autom4te.cache/traces.2:m4trace:configure.ac:265: -1- AH_OUTPUT([HAVE_COPY_FILE_RANGE], [/* Define to 1 if you have the \'copy_file_range\' function. */ ./build_dir/host/erofs-utils-1.8.10/autom4te.cache/output.3:ac_fn_c_check_func "$LINENO" "copy_file_range" "ac_cv_func_copy_file_range" ./build_dir/host/erofs-utils-1.8.10/autom4te.cache/output.3:if test "x$ac_cv_func_copy_file_range" = xyes ./build_dir/host/erofs-utils-1.8.10/autom4te.cache/output.2:ac_fn_c_check_func "$LINENO" "copy_file_range" "ac_cv_func_copy_file_range" ./build_dir/host/erofs-utils-1.8.10/autom4te.cache/output.2:if test "x$ac_cv_func_copy_file_range" = xyes ./build_dir/host/erofs-utils-1.8.10/include/erofs/io.h:ssize_t erofs_copy_file_range(int fd_in, u64 *off_in, int fd_out, u64 *off_out, ./build_dir/host/erofs-utils-1.8.10/config.h.in:/* Define to 1 if you have the 'copy_file_range' function. */ ./build_dir/host/erofs-utils-1.8.10/lib/io.c:static ssize_t __erofs_copy_file_range(int fd_in, u64 *off_in, ./build_dir/host/erofs-utils-1.8.10/lib/io.c:ssize_t erofs_copy_file_range(int fd_in, u64 *off_in, int fd_out, u64 *off_out, ./build_dir/host/erofs-utils-1.8.10/lib/io.c: ret = copy_file_range(fd_in, &off64_in, fd_out, &off64_out, ./build_dir/host/erofs-utils-1.8.10/lib/io.c: return __erofs_copy_file_range(fd_in, off_in, fd_out, off_out, length); ./build_dir/host/erofs-utils-1.8.10/lib/io.c: ret = copy_file_range(vin->fd, NULL, vout->fd, &pos, len, 0); ./build_dir/host/erofs-utils-1.8.10/lib/blobchunk.c: ret = erofs_copy_file_range(blobfile, &pos_in, ./build_dir/host/erofs-utils-1.8.10/config.log:configure:15979: checking for copy_file_range ./build_dir/host/erofs-utils-1.8.10/config.log: "_copy_file_range", referenced from: ./build_dir/host/erofs-utils-1.8.10/config.log:| /* Define copy_file_range to an innocuous variant, in case declares copy_file_range. ./build_dir/host/erofs-utils-1.8.10/config.log:| #define copy_file_range innocuous_copy_file_range ./build_dir/host/erofs-utils-1.8.10/config.log:| which can conflict with char copy_file_range (void); below. */ ./build_dir/host/erofs-utils-1.8.10/config.log:| #undef copy_file_range ./build_dir/host/erofs-utils-1.8.10/config.log:| char copy_file_range (void); ./build_dir/host/erofs-utils-1.8.10/config.log:| #if defined __stub_copy_file_range || defined __stub___copy_file_range ./build_dir/host/erofs-utils-1.8.10/config.log:| return copy_file_range (); ./build_dir/host/erofs-utils-1.8.10/config.log:ac_cv_func_copy_file_range=no ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/internal.h:uv__fs_copy_file_range(int fd_in, ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/freebsd.c:uv__fs_copy_file_range(int fd_in, ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/freebsd.c: return copy_file_range(fd_in, off_in, fd_out, off_out, len, flags); ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/linux-syscalls.c:#ifndef __NR_copy_file_range ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/linux-syscalls.c:# define __NR_copy_file_range 326 ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/linux-syscalls.c:# define __NR_copy_file_range 377 ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/linux-syscalls.c:# define __NR_copy_file_range 375 ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/linux-syscalls.c:# define __NR_copy_file_range (UV_SYSCALL_BASE + 391) ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/linux-syscalls.c:# define __NR_copy_file_range 285 ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/linux-syscalls.c:# define __NR_copy_file_range 379 ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/linux-syscalls.c:# define __NR_copy_file_range 285 ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/linux-syscalls.c:#endif /* __NR_copy_file_range */ ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/linux-syscalls.c:uv__fs_copy_file_range(int fd_in, ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/linux-syscalls.c:#ifdef __NR_copy_file_range ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/linux-syscalls.c: return syscall(__NR_copy_file_range, ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/fs.c: * in copy_file_range() when it shouldn't. There is no workaround except to ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/fs.c:static ssize_t uv__fs_try_copy_file_range(int in_fd, off_t* off, ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/fs.c: static int no_copy_file_range_support; ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/fs.c: if (uv__load_relaxed(&no_copy_file_range_support)) { ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/fs.c: r = uv__fs_copy_file_range(in_fd, off, out_fd, NULL, len, 0); ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/fs.c: uv__store_relaxed(&no_copy_file_range_support, 1); ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/fs.c: r = uv__fs_try_copy_file_range(in_fd, &off, out_fd, len); ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/fs.c: r = uv__fs_copy_file_range(in_fd, &off, out_fd, NULL, req->bufsml[0].len, 0); ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/linux-syscalls.h:uv__fs_copy_file_range(int fd_in, ./build_dir/host/cmake-4.3.1/Utilities/cmlibuv/src/unix/cmake-bootstrap.c:ssize_t uv__fs_copy_file_range(int fd_in, off_t* off_in, ./build_dir/host/gnulib-2025.07.01~a3151d45/ChangeLog: * lib/unistd.in.h (copy_file_range): Likewise. ./build_dir/host/gnulib-2025.07.01~a3151d45/ChangeLog: glibc, test for copy_file_range using gl_CHECK_FUNCS_ANDROID instead of ./build_dir/host/gnulib-2025.07.01~a3151d45/ChangeLog: * doc/glibc-functions/copy_file_range.texi: Mention the Android API ./build_dir/host/gnulib-2025.07.01~a3151d45/ChangeLog: that copy_file_range is used. Problem reported for Gentoo by ./build_dir/host/gnulib-2025.07.01~a3151d45/ChangeLog: (copy_file_range): Use a stub to replace the copy_file_range of ./build_dir/host/gnulib-2025.07.01~a3151d45/ChangeLog: * lib/unistd.in.h (copy_file_range): ./build_dir/host/gnulib-2025.07.01~a3151d45/ChangeLog: Support replacement of copy_file_range. ./build_dir/host/gnulib-2025.07.01~a3151d45/ChangeLog: Define HAVE_COPY_FILE_RANGE if the system has copy_file_range, ./build_dir/host/gnulib-2025.07.01~a3151d45/ChangeLog: * lib/unistd.in.h (copy_file_range): Don't assume that copy_file_range ./build_dir/host/gnulib-2025.07.01~a3151d45/ChangeLog: * m4/unistd_h.m4 (gl_UNISTD_H): Test whether copy_file_range is ./build_dir/host/gnulib-2025.07.01~a3151d45/ChangeLog: doc: Mention copy_file_range. ./build_dir/host/gnulib-2025.07.01~a3151d45/ChangeLog: Just call it copy_file_range. ./build_dir/host/gnulib-2025.07.01~a3151d45/ChangeLog: copy-file: prefer copy_file_range ./build_dir/host/gnulib-2025.07.01~a3151d45/ChangeLog: copy_file_range does not suffice. If the allocation fails ./build_dir/host/gnulib-2025.07.01~a3151d45/ChangeLog: Prefer copy_file_range if it works. ./build_dir/host/gnulib-2025.07.01~a3151d45/ChangeLog: * lib/unistd.in.h (copy_file_range): Declare. ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/copy-file-range.c:/* Stub for copy_file_range ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/copy-file-range.c:copy_file_range (int infd, off_t *pinoff, ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/copy-file-range.c:#undef copy_file_range ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/copy-file-range.c: /* The implementation of copy_file_range (which first appeared in ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/copy-file-range.c: return copy_file_range (infd, pinoff, outfd, poutoff, length, flags); ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/copy-file-range.c: /* There is little need to emulate copy_file_range with read+write, ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/copy-file-range.c: since programs that use copy_file_range must fall back on ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/copy-file.c: ssize_t copied = copy_file_range (src_fd, NULL, dest_fd, NULL, len, 0); ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/unistd.in.h:# undef copy_file_range ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/unistd.in.h:# define copy_file_range rpl_copy_file_range ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/unistd.in.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/unistd.in.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/unistd.in.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/unistd.in.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/unistd.in.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/unistd.in.h:# undef copy_file_range ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/unistd.in.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/unistd.in.h: "copy_file_range is unportable - " ./build_dir/host/gnulib-2025.07.01~a3151d45/lib/unistd.in.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/gnulib-2025.07.01~a3151d45/m4/relocatable.m4: AC_CHECK_FUNCS([copy_file_range]) ./build_dir/host/gnulib-2025.07.01~a3151d45/m4/relocatable.m4: if test $ac_cv_func_copy_file_range = yes; then ./build_dir/host/gnulib-2025.07.01~a3151d45/m4/copy-file-range.m4: dnl Persuade glibc to declare copy_file_range. ./build_dir/host/gnulib-2025.07.01~a3151d45/m4/copy-file-range.m4: dnl Programs that use copy_file_range must fall back on read+write ./build_dir/host/gnulib-2025.07.01~a3151d45/m4/copy-file-range.m4: AC_CACHE_CHECK([for copy_file_range], [gl_cv_func_copy_file_range], ./build_dir/host/gnulib-2025.07.01~a3151d45/m4/copy-file-range.m4: = copy_file_range; ./build_dir/host/gnulib-2025.07.01~a3151d45/m4/copy-file-range.m4: [gl_cv_func_copy_file_range=yes], ./build_dir/host/gnulib-2025.07.01~a3151d45/m4/copy-file-range.m4: [gl_cv_func_copy_file_range=no]) ./build_dir/host/gnulib-2025.07.01~a3151d45/m4/copy-file-range.m4: gl_cv_onwards_func_copy_file_range="$gl_cv_func_copy_file_range" ./build_dir/host/gnulib-2025.07.01~a3151d45/m4/copy-file-range.m4: gl_CHECK_FUNCS_ANDROID([copy_file_range], [[#include ]]) ./build_dir/host/gnulib-2025.07.01~a3151d45/m4/copy-file-range.m4: gl_cv_func_copy_file_range="$ac_cv_func_copy_file_range" ./build_dir/host/gnulib-2025.07.01~a3151d45/m4/copy-file-range.m4: if test "$gl_cv_func_copy_file_range" != yes; then ./build_dir/host/gnulib-2025.07.01~a3151d45/m4/copy-file-range.m4: case "$gl_cv_onwards_func_copy_file_range" in ./build_dir/host/gnulib-2025.07.01~a3151d45/m4/copy-file-range.m4: [Define to 1 if the function copy_file_range exists.]) ./build_dir/host/gnulib-2025.07.01~a3151d45/m4/unistd_h.m4: ]], [access chdir chown copy_file_range dup dup2 dup3 environ euidaccess ./build_dir/host/gnulib-2025.07.01~a3151d45/doc/glibc-functions/copy_file_range.texi:@node copy_file_range ./build_dir/host/gnulib-2025.07.01~a3151d45/doc/glibc-functions/copy_file_range.texi:@subsection @code{copy_file_range} ./build_dir/host/gnulib-2025.07.01~a3151d45/doc/glibc-functions/copy_file_range.texi:@findex copy_file_range ./build_dir/host/gnulib-2025.07.01~a3151d45/doc/glibc-functions/copy_file_range.texi:@uref{https://www.kernel.org/doc/man-pages/online/pages/man2/copy_file_range.2.html,,man copy_file_range}. ./build_dir/host/gnulib-2025.07.01~a3151d45/doc/gnulib.texi:* copy_file_range:: ./build_dir/host/gnulib-2025.07.01~a3151d45/doc/gnulib.texi:@include glibc-functions/copy_file_range.texi ./build_dir/host/util-linux-2.42/configure.ac: copy_file_range \ ./build_dir/host/util-linux-2.42/configure.ac:UL_REQUIRES_SYSCALL_CHECK([copyfilerange], [UL_CHECK_SYSCALL([copy_file_range])], [copy_file_range]) ./build_dir/host/util-linux-2.42/configure:ac_fn_c_check_func "$LINENO" "copy_file_range" "ac_cv_func_copy_file_range" ./build_dir/host/util-linux-2.42/configure:if test "x$ac_cv_func_copy_file_range" = xyes ./build_dir/host/util-linux-2.42/configure: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for syscall copy_file_range" >&5 ./build_dir/host/util-linux-2.42/configure:printf %s "checking for syscall copy_file_range... " >&6; } ./build_dir/host/util-linux-2.42/configure:if test ${ul_cv_syscall_copy_file_range+y} ./build_dir/host/util-linux-2.42/configure:int test = SYS_copy_file_range; ./build_dir/host/util-linux-2.42/configure: syscall=SYS_copy_file_range ./build_dir/host/util-linux-2.42/configure:int test = __NR_copy_file_range; ./build_dir/host/util-linux-2.42/configure: syscall=__NR_copy_file_range ./build_dir/host/util-linux-2.42/configure: ul_cv_syscall_copy_file_range=$syscall ./build_dir/host/util-linux-2.42/configure:{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_copy_file_range" >&5 ./build_dir/host/util-linux-2.42/configure:printf "%s\n" "$ul_cv_syscall_copy_file_range" >&6; } ./build_dir/host/util-linux-2.42/configure: case $ul_cv_syscall_copy_file_range in #( ./build_dir/host/util-linux-2.42/configure: no) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall copy_file_range." >&5 ./build_dir/host/util-linux-2.42/configure:printf "%s\n" "$as_me: WARNING: Unable to detect syscall copy_file_range." >&2;} ;; ./build_dir/host/util-linux-2.42/configure:printf "%s\n" "#define SYS_copy_file_range $ul_cv_syscall_copy_file_range" >>confdefs.h ./build_dir/host/util-linux-2.42/configure: case $enable_copyfilerange:$ul_cv_syscall_copy_file_range in #( ./build_dir/host/util-linux-2.42/configure: as_fn_error $? "copyfilerange selected but copy_file_range syscall not found" "$LINENO" 5 ;; ./build_dir/host/util-linux-2.42/configure: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: copy_file_range syscall not found; not building copyfilerange" >&5 ./build_dir/host/util-linux-2.42/configure:printf "%s\n" "$as_me: WARNING: copy_file_range syscall not found; not building copyfilerange" >&2;} ./build_dir/host/util-linux-2.42/misc-utils/copyfilerange.c: * copyfilerange - utility to use the copy_file_range(2) system call ./build_dir/host/util-linux-2.42/misc-utils/copyfilerange.c: printf("copy_file_range %s to %s %"PRId64":%"PRId64":%zu\n", ./build_dir/host/util-linux-2.42/misc-utils/copyfilerange.c: const ssize_t copied = copy_file_range(range->in_fd, &range->in_offset, ./build_dir/host/util-linux-2.42/misc-utils/copyfilerange.1.adoc:It is a wrapper around the *copy_file_range*(2) system call. ./build_dir/host/util-linux-2.42/misc-utils/copyfilerange.1.adoc:The *copy_file_range*(2) system call has some serious caveats: the source and destination files must use the same filesystem type, and some virtual filesystems (like procfs) won't work. *copy_file_range*(2) will use reflinks when the filesystem supports this. To use reflinks, the file range most often needs to align with the filesystem block size on both the source and destination file. ./build_dir/host/util-linux-2.42/misc-utils/copyfilerange.1.adoc:*copy_file_range*(2) ./build_dir/host/util-linux-2.42/misc-utils/copyfilerange.1:It is a wrapper around the \fBcopy_file_range\fP(2) system call. ./build_dir/host/util-linux-2.42/misc-utils/copyfilerange.1:The \fBcopy_file_range\fP(2) system call has some serious caveats: the source and destination files must use the same filesystem type, and some virtual filesystems (like procfs) won\(cqt work. \fBcopy_file_range\fP(2) will use reflinks when the filesystem supports this. To use reflinks, the file range most often needs to align with the filesystem block size on both the source and destination file. ./build_dir/host/util-linux-2.42/misc-utils/copyfilerange.1:\fBcopy_file_range\fP(2) ./build_dir/host/util-linux-2.42/tests/expected/copyfilerange/copyfilerange-mix-arguments-and-options:copy_file_range a to g 0:0:6 ./build_dir/host/util-linux-2.42/tests/expected/copyfilerange/copyfilerange-verbose:copy_file_range a to e 3:0:1 ./build_dir/host/util-linux-2.42/tests/expected/copyfilerange/copyfilerange-verbose:copy_file_range a to e 1:1:2 ./build_dir/host/util-linux-2.42/tests/expected/copyfilerange/copyfilerange-verbose:copy_file_range a to e 2:3:1 ./build_dir/host/util-linux-2.42/tests/expected/copyfilerange/copyfilerange-verbose:copy_file_range a to e 0:4:1 ./build_dir/host/util-linux-2.42/tests/expected/copyfilerange/copyfilerange-verbose:copy_file_range a to e 5:5:1 ./build_dir/host/util-linux-2.42/config.h.in:/* Define to 1 if you have the 'copy_file_range' function. */ ./build_dir/host/util-linux-2.42/config.h.in:/* Fallback syscall number for copy_file_range */ ./build_dir/host/util-linux-2.42/config.h.in:#undef SYS_copy_file_range ./build_dir/host/util-linux-2.42/meson.build: copy_file_range ./build_dir/host/util-linux-2.42/openwrt-build/meson-logs/meson-log.txt: #define copy_file_range meson_disable_define_of_copy_file_range ./build_dir/host/util-linux-2.42/openwrt-build/meson-logs/meson-log.txt: #undef copy_file_range ./build_dir/host/util-linux-2.42/openwrt-build/meson-logs/meson-log.txt: char copy_file_range (void); ./build_dir/host/util-linux-2.42/openwrt-build/meson-logs/meson-log.txt: #if defined __stub_copy_file_range || defined __stub___copy_file_range ./build_dir/host/util-linux-2.42/openwrt-build/meson-logs/meson-log.txt: return copy_file_range (); ./build_dir/host/util-linux-2.42/openwrt-build/meson-logs/meson-log.txt: "_copy_file_range", referenced from: ./build_dir/host/util-linux-2.42/openwrt-build/meson-logs/meson-log.txt: #if !1 && !defined(copy_file_range) && !0 ./build_dir/host/util-linux-2.42/openwrt-build/meson-logs/meson-log.txt: #error "No definition for __builtin_copy_file_range found in the prefix" ./build_dir/host/util-linux-2.42/openwrt-build/meson-logs/meson-log.txt: #if !__has_builtin(__builtin_copy_file_range) ./build_dir/host/util-linux-2.42/openwrt-build/meson-logs/meson-log.txt: #error "__builtin_copy_file_range not found" ./build_dir/host/util-linux-2.42/openwrt-build/meson-logs/meson-log.txt: #elif ! defined(copy_file_range) ./build_dir/host/util-linux-2.42/openwrt-build/meson-logs/meson-log.txt: __builtin_copy_file_range; ./build_dir/host/util-linux-2.42/openwrt-build/meson-logs/meson-log.txt:/Volumes/x64-test/openwrt/build_dir/host/util-linux-2.42/openwrt-build/meson-private/tmp8xpvzad5/testfile.c:17:18: error: "__builtin_copy_file_range not found" ./build_dir/host/util-linux-2.42/openwrt-build/meson-logs/meson-log.txt: 17 | #error "__builtin_copy_file_range not found" ./build_dir/host/util-linux-2.42/openwrt-build/meson-logs/meson-log.txt:Checking for function "copy_file_range" : NO ./build_dir/host/util-linux-2.42/Documentation/releases/v2.42-ReleaseNotes:New command copyfilerange(1) to copy file ranges using the copy_file_range() ./build_dir/host/util-linux-2.42/po-man/util-linux-man.pot:"file. It is a wrapper around the *copy_file_range*(2) system call." ./build_dir/host/util-linux-2.42/po-man/util-linux-man.pot:"The *copy_file_range*(2) system call has some serious caveats: the source " ./build_dir/host/util-linux-2.42/po-man/util-linux-man.pot:"filesystems (like procfs) won't work. *copy_file_range*(2) will use reflinks " ./build_dir/host/util-linux-2.42/po-man/util-linux-man.pot:msgid "*copy_file_range*(2)" ./build_dir/host/util-linux-2.42/po-man/sr.po:"file. It is a wrapper around the *copy_file_range*(2) system call." ./build_dir/host/util-linux-2.42/po-man/sr.po:"The *copy_file_range*(2) system call has some serious caveats: the source " ./build_dir/host/util-linux-2.42/po-man/sr.po:"filesystems (like procfs) won't work. *copy_file_range*(2) will use reflinks " ./build_dir/host/util-linux-2.42/po-man/sr.po:msgid "*copy_file_range*(2)" ./build_dir/host/util-linux-2.42/po-man/uk.po:"file. It is a wrapper around the *copy_file_range*(2) system call." ./build_dir/host/util-linux-2.42/po-man/uk.po:"The *copy_file_range*(2) system call has some serious caveats: the source " ./build_dir/host/util-linux-2.42/po-man/uk.po:"filesystems (like procfs) won't work. *copy_file_range*(2) will use reflinks " ./build_dir/host/util-linux-2.42/po-man/uk.po:msgid "*copy_file_range*(2)" ./build_dir/host/util-linux-2.42/po-man/cs.po:"file. It is a wrapper around the *copy_file_range*(2) system call." ./build_dir/host/util-linux-2.42/po-man/cs.po:"The *copy_file_range*(2) system call has some serious caveats: the source " ./build_dir/host/util-linux-2.42/po-man/cs.po:"filesystems (like procfs) won't work. *copy_file_range*(2) will use reflinks " ./build_dir/host/util-linux-2.42/po-man/cs.po:msgid "*copy_file_range*(2)" ./build_dir/host/util-linux-2.42/po-man/fr.po:"file. It is a wrapper around the *copy_file_range*(2) system call." ./build_dir/host/util-linux-2.42/po-man/fr.po:"The *copy_file_range*(2) system call has some serious caveats: the source " ./build_dir/host/util-linux-2.42/po-man/fr.po:"filesystems (like procfs) won't work. *copy_file_range*(2) will use reflinks " ./build_dir/host/util-linux-2.42/po-man/fr.po:msgid "*copy_file_range*(2)" ./build_dir/host/util-linux-2.42/po-man/ro.po:"file. It is a wrapper around the *copy_file_range*(2) system call." ./build_dir/host/util-linux-2.42/po-man/ro.po:"The *copy_file_range*(2) system call has some serious caveats: the source " ./build_dir/host/util-linux-2.42/po-man/ro.po:"filesystems (like procfs) won't work. *copy_file_range*(2) will use reflinks " ./build_dir/host/util-linux-2.42/po-man/ro.po:msgid "*copy_file_range*(2)" ./build_dir/host/util-linux-2.42/po-man/es.po:"file. It is a wrapper around the *copy_file_range*(2) system call." ./build_dir/host/util-linux-2.42/po-man/es.po:"The *copy_file_range*(2) system call has some serious caveats: the source " ./build_dir/host/util-linux-2.42/po-man/es.po:"filesystems (like procfs) won't work. *copy_file_range*(2) will use reflinks " ./build_dir/host/util-linux-2.42/po-man/es.po:msgid "*copy_file_range*(2)" ./build_dir/host/util-linux-2.42/po-man/ar.po:msgid "The *copyfilerange* command copies byte ranges from source to destination file. It is a wrapper around the *copy_file_range*(2) system call." ./build_dir/host/util-linux-2.42/po-man/ar.po:msgstr "ينسخ الأمر *copyfilerange* نطاقات البايت من المصدر إلى ملف الوجهة. وهو عبارة عن غلاف حول استدعاء النظام ‎*copy_file_range*(2)‎." ./build_dir/host/util-linux-2.42/po-man/ar.po:msgid "The *copy_file_range*(2) system call has some serious caveats: the source and destination files must use the same filesystem type, and some virtual filesystems (like procfs) won't work. *copy_file_range*(2) will use reflinks when the filesystem supports this. To use reflinks, the file range most often needs to align with the filesystem block size on both the source and destination file." ./build_dir/host/util-linux-2.42/po-man/ar.po:msgstr "يحتوي استدعاء النظام ‎*copy_file_range*(2)‎ على بعض المحاذير الجدية: يجب أن يستخدم ملف المصدر والوجهة نفس نوع نظام الملفات، وبعض أنظمة الملفات الافتراضية (مثل procfs) لن تعمل. سيستخدم ‎*copy_file_range*(2)‎ روابط المراجع (reflinks) عندما يدعم نظام الملفات ذلك. لاستخدام روابط المراجع، يحتاج نطاق الملف في الغالب إلى المحاذاة مع حجم كتلة نظام الملفات في كل من ملف المصدر والوجهة." ./build_dir/host/util-linux-2.42/po-man/ar.po:msgid "*copy_file_range*(2)" ./build_dir/host/util-linux-2.42/po-man/ar.po:msgstr "*copy_file_range*(2)" ./build_dir/host/util-linux-2.42/po-man/pt_BR.po:"file. It is a wrapper around the *copy_file_range*(2) system call." ./build_dir/host/util-linux-2.42/po-man/pt_BR.po:"The *copy_file_range*(2) system call has some serious caveats: the source " ./build_dir/host/util-linux-2.42/po-man/pt_BR.po:"filesystems (like procfs) won't work. *copy_file_range*(2) will use reflinks " ./build_dir/host/util-linux-2.42/po-man/pt_BR.po:msgid "*copy_file_range*(2)" ./build_dir/host/util-linux-2.42/po-man/de.po:msgid "The *copyfilerange* command copies byte ranges from source to destination file. It is a wrapper around the *copy_file_range*(2) system call." ./build_dir/host/util-linux-2.42/po-man/de.po:msgstr "Der Befehl *copyfilerange* kopiert Byte-Bereiche von der Quell- zur Zieldatei. Es ist ein einfaches Hilfsprogramm zum Aufruf des Systemaufrufs *copy_file_range*(2)." ./build_dir/host/util-linux-2.42/po-man/de.po:msgid "The *copy_file_range*(2) system call has some serious caveats: the source and destination files must use the same filesystem type, and some virtual filesystems (like procfs) won't work. *copy_file_range*(2) will use reflinks when the filesystem supports this. To use reflinks, the file range most often needs to align with the filesystem block size on both the source and destination file." ./build_dir/host/util-linux-2.42/po-man/de.po:msgstr "Der Systemaufruf *copy_file_range*(2) hat einige wichtige Einschränkungen: Quell- und Zieldatei müssen denselben Dateisystemtyp verwenden, und manche virtuelle Dateisysteme (wie zum Beispiel _procfs_) funktionieren nicht. *copy_file_range*(2) verwendet Reflinks, sofern das Dateisystem dies unterstützt. Um Reflinks zu verwenden, muss der Dateibereich in der Regel mit der Blockgröße des Dateisystems sowohl der Quell- als auch der Zieldatei übereinstimmen." ./build_dir/host/util-linux-2.42/po-man/de.po:msgid "*copy_file_range*(2)" ./build_dir/host/util-linux-2.42/po-man/de.po:msgstr "*copy_file_range*(2)" ./build_dir/host/util-linux-2.42/po-man/ko.po:"file. It is a wrapper around the *copy_file_range*(2) system call." ./build_dir/host/util-linux-2.42/po-man/ko.po:"The *copy_file_range*(2) system call has some serious caveats: the source " ./build_dir/host/util-linux-2.42/po-man/ko.po:"filesystems (like procfs) won't work. *copy_file_range*(2) will use reflinks " ./build_dir/host/util-linux-2.42/po-man/ko.po:msgid "*copy_file_range*(2)" ./build_dir/host/util-linux-2.42/po-man/pl.po:"file. It is a wrapper around the *copy_file_range*(2) system call." ./build_dir/host/util-linux-2.42/po-man/pl.po:"The *copy_file_range*(2) system call has some serious caveats: the source " ./build_dir/host/util-linux-2.42/po-man/pl.po:"filesystems (like procfs) won't work. *copy_file_range*(2) will use reflinks " ./build_dir/host/util-linux-2.42/po-man/pl.po:msgid "*copy_file_range*(2)" ./build_dir/host/patch-2.8/lib/unistd.h:# undef copy_file_range ./build_dir/host/patch-2.8/lib/unistd.h:# define copy_file_range rpl_copy_file_range ./build_dir/host/patch-2.8/lib/unistd.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/patch-2.8/lib/unistd.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/patch-2.8/lib/unistd.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/patch-2.8/lib/unistd.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/patch-2.8/lib/unistd.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/patch-2.8/lib/unistd.h:# undef copy_file_range ./build_dir/host/patch-2.8/lib/unistd.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/patch-2.8/lib/unistd.h: "copy_file_range is unportable - " ./build_dir/host/patch-2.8/lib/unistd.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/patch-2.8/lib/unistd.in.h:# undef copy_file_range ./build_dir/host/patch-2.8/lib/unistd.in.h:# define copy_file_range rpl_copy_file_range ./build_dir/host/patch-2.8/lib/unistd.in.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/patch-2.8/lib/unistd.in.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/patch-2.8/lib/unistd.in.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/patch-2.8/lib/unistd.in.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/patch-2.8/lib/unistd.in.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/patch-2.8/lib/unistd.in.h:# undef copy_file_range ./build_dir/host/patch-2.8/lib/unistd.in.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/patch-2.8/lib/unistd.in.h: "copy_file_range is unportable - " ./build_dir/host/patch-2.8/lib/unistd.in.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/patch-2.8/m4/unistd_h.m4: ]], [access chdir chown copy_file_range dup dup2 dup3 environ euidaccess ./build_dir/host/coreutils-9.6/configure~: { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for copy_file_range" >&5 ./build_dir/host/coreutils-9.6/configure~:printf %s "checking for copy_file_range... " >&6; } ./build_dir/host/coreutils-9.6/configure~:if test ${gl_cv_func_copy_file_range+y} ./build_dir/host/coreutils-9.6/configure~: = copy_file_range; ./build_dir/host/coreutils-9.6/configure~: gl_cv_func_copy_file_range=yes ./build_dir/host/coreutils-9.6/configure~: e) gl_cv_func_copy_file_range=no ;; ./build_dir/host/coreutils-9.6/configure~:{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copy_file_range" >&5 ./build_dir/host/coreutils-9.6/configure~:printf '%s\n' "$gl_cv_func_copy_file_range" >&6; } ./build_dir/host/coreutils-9.6/configure~: gl_cv_onwards_func_copy_file_range="$gl_cv_func_copy_file_range" ./build_dir/host/coreutils-9.6/configure~: { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for copy_file_range" >&5 ./build_dir/host/coreutils-9.6/configure~:printf %s "checking for copy_file_range... " >&6; } ./build_dir/host/coreutils-9.6/configure~:if test ${gl_cv_onwards_func_copy_file_range+y} ./build_dir/host/coreutils-9.6/configure~: ac_fn_check_decl "$LINENO" "copy_file_range" "ac_cv_have_decl_copy_file_range" "#include ./build_dir/host/coreutils-9.6/configure~:if test "x$ac_cv_have_decl_copy_file_range" = xyes ./build_dir/host/coreutils-9.6/configure~: if test $ac_cv_have_decl_copy_file_range = yes; then ./build_dir/host/coreutils-9.6/configure~: ac_fn_c_check_func "$LINENO" "copy_file_range" "ac_cv_func_copy_file_range" ./build_dir/host/coreutils-9.6/configure~:if test "x$ac_cv_func_copy_file_range" = xyes ./build_dir/host/coreutils-9.6/configure~: if test $ac_cv_func_copy_file_range = yes; then ./build_dir/host/coreutils-9.6/configure~: gl_cv_onwards_func_copy_file_range=yes ./build_dir/host/coreutils-9.6/configure~: gl_cv_onwards_func_copy_file_range='future OS version' ./build_dir/host/coreutils-9.6/configure~: gl_cv_onwards_func_copy_file_range='future OS version' ./build_dir/host/coreutils-9.6/configure~: ac_fn_c_check_func "$LINENO" "copy_file_range" "ac_cv_func_copy_file_range" ./build_dir/host/coreutils-9.6/configure~:if test "x$ac_cv_func_copy_file_range" = xyes ./build_dir/host/coreutils-9.6/configure~: gl_cv_onwards_func_copy_file_range=$ac_cv_func_copy_file_range ./build_dir/host/coreutils-9.6/configure~:{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_copy_file_range" >&5 ./build_dir/host/coreutils-9.6/configure~:printf '%s\n' "$gl_cv_onwards_func_copy_file_range" >&6; } ./build_dir/host/coreutils-9.6/configure~: case "$gl_cv_onwards_func_copy_file_range" in ./build_dir/host/coreutils-9.6/configure~: future*) ac_cv_func_copy_file_range=no ;; ./build_dir/host/coreutils-9.6/configure~: *) ac_cv_func_copy_file_range=$gl_cv_onwards_func_copy_file_range ;; ./build_dir/host/coreutils-9.6/configure~: if test $ac_cv_func_copy_file_range = yes; then ./build_dir/host/coreutils-9.6/configure~: gl_cv_func_copy_file_range="$ac_cv_func_copy_file_range" ./build_dir/host/coreutils-9.6/configure~: if test "$gl_cv_func_copy_file_range" != yes; then ./build_dir/host/coreutils-9.6/configure~: case "$gl_cv_onwards_func_copy_file_range" in ./build_dir/host/coreutils-9.6/configure: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for copy_file_range" >&5 ./build_dir/host/coreutils-9.6/configure:printf %s "checking for copy_file_range... " >&6; } ./build_dir/host/coreutils-9.6/configure:if test ${gl_cv_func_copy_file_range+y} ./build_dir/host/coreutils-9.6/configure: = copy_file_range; ./build_dir/host/coreutils-9.6/configure: gl_cv_func_copy_file_range=yes ./build_dir/host/coreutils-9.6/configure: e) gl_cv_func_copy_file_range=no ;; ./build_dir/host/coreutils-9.6/configure:{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copy_file_range" >&5 ./build_dir/host/coreutils-9.6/configure:printf "%s\n" "$gl_cv_func_copy_file_range" >&6; } ./build_dir/host/coreutils-9.6/configure: gl_cv_onwards_func_copy_file_range="$gl_cv_func_copy_file_range" ./build_dir/host/coreutils-9.6/configure: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for copy_file_range" >&5 ./build_dir/host/coreutils-9.6/configure:printf %s "checking for copy_file_range... " >&6; } ./build_dir/host/coreutils-9.6/configure:if test ${gl_cv_onwards_func_copy_file_range+y} ./build_dir/host/coreutils-9.6/configure: ac_fn_check_decl "$LINENO" "copy_file_range" "ac_cv_have_decl_copy_file_range" "#include ./build_dir/host/coreutils-9.6/configure:if test "x$ac_cv_have_decl_copy_file_range" = xyes ./build_dir/host/coreutils-9.6/configure: if test $ac_cv_have_decl_copy_file_range = yes; then ./build_dir/host/coreutils-9.6/configure: ac_fn_c_check_func "$LINENO" "copy_file_range" "ac_cv_func_copy_file_range" ./build_dir/host/coreutils-9.6/configure:if test "x$ac_cv_func_copy_file_range" = xyes ./build_dir/host/coreutils-9.6/configure: if test $ac_cv_func_copy_file_range = yes; then ./build_dir/host/coreutils-9.6/configure: gl_cv_onwards_func_copy_file_range=yes ./build_dir/host/coreutils-9.6/configure: gl_cv_onwards_func_copy_file_range='future OS version' ./build_dir/host/coreutils-9.6/configure: gl_cv_onwards_func_copy_file_range='future OS version' ./build_dir/host/coreutils-9.6/configure: ac_fn_c_check_func "$LINENO" "copy_file_range" "ac_cv_func_copy_file_range" ./build_dir/host/coreutils-9.6/configure:if test "x$ac_cv_func_copy_file_range" = xyes ./build_dir/host/coreutils-9.6/configure: gl_cv_onwards_func_copy_file_range=$ac_cv_func_copy_file_range ./build_dir/host/coreutils-9.6/configure:{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_copy_file_range" >&5 ./build_dir/host/coreutils-9.6/configure:printf "%s\n" "$gl_cv_onwards_func_copy_file_range" >&6; } ./build_dir/host/coreutils-9.6/configure: case "$gl_cv_onwards_func_copy_file_range" in ./build_dir/host/coreutils-9.6/configure: future*) ac_cv_func_copy_file_range=no ;; ./build_dir/host/coreutils-9.6/configure: *) ac_cv_func_copy_file_range=$gl_cv_onwards_func_copy_file_range ;; ./build_dir/host/coreutils-9.6/configure: if test $ac_cv_func_copy_file_range = yes; then ./build_dir/host/coreutils-9.6/configure: gl_cv_func_copy_file_range="$ac_cv_func_copy_file_range" ./build_dir/host/coreutils-9.6/configure: if test "$gl_cv_func_copy_file_range" != yes; then ./build_dir/host/coreutils-9.6/configure: case "$gl_cv_onwards_func_copy_file_range" in ./build_dir/host/coreutils-9.6/NEWS: cp, mv, and install now avoid copy_file_range on linux kernels before 5.3 ./build_dir/host/coreutils-9.6/NEWS: falling back from copy_file_range to a better supported standard copy. ./build_dir/host/coreutils-9.6/NEWS: will use the copy_file_range syscall now also with sparse files. ./build_dir/host/coreutils-9.6/NEWS: cat now uses the copy_file_range syscall if available, when doing ./build_dir/host/coreutils-9.6/NEWS: cp, install and mv now use the copy_file_range syscall if available. ./build_dir/host/coreutils-9.6/ChangeLog: doc: NEWS: mention the more defensive copy_file_range avoidance ./build_dir/host/coreutils-9.6/ChangeLog: of copy_file_range(), that came with the last gnulib update, ./build_dir/host/coreutils-9.6/ChangeLog: copy: copy_file_range: handle ENOENT for CIFS ./build_dir/host/coreutils-9.6/ChangeLog: i.e. enable copy_file_range(), with --sparse=auto (the default), ./build_dir/host/coreutils-9.6/ChangeLog: Do not allocate I/O buffer if copy_file_range suffices. ./build_dir/host/coreutils-9.6/ChangeLog: doc: NEWS: explain _why_ copy_file_range() is used ./build_dir/host/coreutils-9.6/ChangeLog: cat: prefer copy_file_range to read+write ./build_dir/host/coreutils-9.6/ChangeLog: cp: rely on Gnulib for copy_file_range workaround ./build_dir/host/coreutils-9.6/ChangeLog: Gnulib now replaces copy_file_range on buggy hosts ./build_dir/host/coreutils-9.6/ChangeLog: (functional_copy_file_range): Remove. All uses now ./build_dir/host/coreutils-9.6/ChangeLog: simply call copy_file_range. ./build_dir/host/coreutils-9.6/ChangeLog: copy: disallow copy_file_range() on Linux kernels before 5.3 ./build_dir/host/coreutils-9.6/ChangeLog: copy_file_range() before Linux kernel release 5.3 had many issues, ./build_dir/host/coreutils-9.6/ChangeLog: article discussing the generality of copy_file_range(). ./build_dir/host/coreutils-9.6/ChangeLog: * src/copy.c (functional_copy_file_range): A new function ./build_dir/host/coreutils-9.6/ChangeLog: copy_file_range(). ./build_dir/host/coreutils-9.6/ChangeLog: copy: handle system security config issues with copy_file_range() ./build_dir/host/coreutils-9.6/ChangeLog: * src/copy.c (sparse_copy): Upon EPERM from copy_file_range(), ./build_dir/host/coreutils-9.6/ChangeLog: not configured to handle copy_file_range(), in which case ./build_dir/host/coreutils-9.6/ChangeLog: copy: handle ENOTSUP from copy_file_range() ./build_dir/host/coreutils-9.6/ChangeLog: a standard copy if copy_file_range() returns ENOTSUP. ./build_dir/host/coreutils-9.6/ChangeLog: * src/copy.c (sparse_copy): Don't use copy_file_range() ./build_dir/host/coreutils-9.6/ChangeLog: with --reflink=never as copy_file_range() may implicitly ./build_dir/host/coreutils-9.6/ChangeLog: * src/copy.c (sparse_copy): Fallback to read() if copy_file_range() ./build_dir/host/coreutils-9.6/ChangeLog: the support for copy_file_range() in coreutils. (Bug#48036) ./build_dir/host/coreutils-9.6/ChangeLog: cp: use copy_file_range if available ./build_dir/host/coreutils-9.6/ChangeLog: * src/copy.c (sparse_copy): Try copy_file_range if not ./build_dir/host/coreutils-9.6/lib/unistd.in.h~:# undef copy_file_range ./build_dir/host/coreutils-9.6/lib/unistd.in.h~:# define copy_file_range rpl_copy_file_range ./build_dir/host/coreutils-9.6/lib/unistd.in.h~:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/coreutils-9.6/lib/unistd.in.h~:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/coreutils-9.6/lib/unistd.in.h~:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/coreutils-9.6/lib/unistd.in.h~:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/coreutils-9.6/lib/unistd.in.h~:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/coreutils-9.6/lib/unistd.in.h~:# undef copy_file_range ./build_dir/host/coreutils-9.6/lib/unistd.in.h~:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/coreutils-9.6/lib/unistd.in.h~: "copy_file_range is unportable - " ./build_dir/host/coreutils-9.6/lib/unistd.in.h~: "use gnulib module copy_file_range for portability"); ./build_dir/host/coreutils-9.6/lib/config.hin:/* Define to 1 if the function copy_file_range exists. */ ./build_dir/host/coreutils-9.6/lib/config.h:/* Define to 1 if the function copy_file_range exists. */ ./build_dir/host/coreutils-9.6/lib/unistd.h:# undef copy_file_range ./build_dir/host/coreutils-9.6/lib/unistd.h:# define copy_file_range rpl_copy_file_range ./build_dir/host/coreutils-9.6/lib/unistd.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/coreutils-9.6/lib/unistd.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/coreutils-9.6/lib/unistd.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/coreutils-9.6/lib/unistd.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/coreutils-9.6/lib/unistd.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/coreutils-9.6/lib/unistd.h:# undef copy_file_range ./build_dir/host/coreutils-9.6/lib/unistd.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/coreutils-9.6/lib/unistd.h: "copy_file_range is unportable - " ./build_dir/host/coreutils-9.6/lib/unistd.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/coreutils-9.6/lib/copy-file-range.c:/* Stub for copy_file_range ./build_dir/host/coreutils-9.6/lib/copy-file-range.c:copy_file_range (int infd, off_t *pinoff, ./build_dir/host/coreutils-9.6/lib/copy-file-range.c:#undef copy_file_range ./build_dir/host/coreutils-9.6/lib/copy-file-range.c: /* The implementation of copy_file_range (which first appeared in ./build_dir/host/coreutils-9.6/lib/copy-file-range.c: return copy_file_range (infd, pinoff, outfd, poutoff, length, flags); ./build_dir/host/coreutils-9.6/lib/copy-file-range.c: /* There is little need to emulate copy_file_range with read+write, ./build_dir/host/coreutils-9.6/lib/copy-file-range.c: since programs that use copy_file_range must fall back on ./build_dir/host/coreutils-9.6/lib/config.hin~:/* Define to 1 if the function copy_file_range exists. */ ./build_dir/host/coreutils-9.6/m4/unistd_h.m4~: ]], [access chdir chown copy_file_range dup dup2 dup3 environ euidaccess ./build_dir/host/coreutils-9.6/m4/copy-file-range.m4: dnl Persuade glibc to declare copy_file_range. ./build_dir/host/coreutils-9.6/m4/copy-file-range.m4: dnl Programs that use copy_file_range must fall back on read+write ./build_dir/host/coreutils-9.6/m4/copy-file-range.m4: AC_CACHE_CHECK([for copy_file_range], [gl_cv_func_copy_file_range], ./build_dir/host/coreutils-9.6/m4/copy-file-range.m4: = copy_file_range; ./build_dir/host/coreutils-9.6/m4/copy-file-range.m4: [gl_cv_func_copy_file_range=yes], ./build_dir/host/coreutils-9.6/m4/copy-file-range.m4: [gl_cv_func_copy_file_range=no]) ./build_dir/host/coreutils-9.6/m4/copy-file-range.m4: gl_cv_onwards_func_copy_file_range="$gl_cv_func_copy_file_range" ./build_dir/host/coreutils-9.6/m4/copy-file-range.m4: gl_CHECK_FUNCS_ANDROID([copy_file_range], [[#include ]]) ./build_dir/host/coreutils-9.6/m4/copy-file-range.m4: gl_cv_func_copy_file_range="$ac_cv_func_copy_file_range" ./build_dir/host/coreutils-9.6/m4/copy-file-range.m4: if test "$gl_cv_func_copy_file_range" != yes; then ./build_dir/host/coreutils-9.6/m4/copy-file-range.m4: case "$gl_cv_onwards_func_copy_file_range" in ./build_dir/host/coreutils-9.6/m4/copy-file-range.m4: [Define to 1 if the function copy_file_range exists.]) ./build_dir/host/coreutils-9.6/config.log:configure:47855: checking for copy_file_range ./build_dir/host/coreutils-9.6/config.log:configure:47892: checking for copy_file_range ./build_dir/host/coreutils-9.6/config.log: "_copy_file_range", referenced from: ./build_dir/host/coreutils-9.6/config.log:| /* Define copy_file_range to an innocuous variant, in case declares copy_file_range. ./build_dir/host/coreutils-9.6/config.log:| #define copy_file_range innocuous_copy_file_range ./build_dir/host/coreutils-9.6/config.log:| which can conflict with char copy_file_range (void); below. */ ./build_dir/host/coreutils-9.6/config.log:| #undef copy_file_range ./build_dir/host/coreutils-9.6/config.log:| char copy_file_range (void); ./build_dir/host/coreutils-9.6/config.log:| #if defined __stub_copy_file_range || defined __stub___copy_file_range ./build_dir/host/coreutils-9.6/config.log:| return copy_file_range (); ./build_dir/host/coreutils-9.6/config.log:ac_cv_func_copy_file_range=no ./build_dir/host/coreutils-9.6/config.log:gl_cv_func_copy_file_range=no ./build_dir/host/coreutils-9.6/config.log:gl_cv_onwards_func_copy_file_range=no ./build_dir/host/coreutils-9.6/aclocal.m4: dnl Persuade glibc to declare copy_file_range. ./build_dir/host/coreutils-9.6/aclocal.m4: dnl Programs that use copy_file_range must fall back on read+write ./build_dir/host/coreutils-9.6/aclocal.m4: AC_CACHE_CHECK([for copy_file_range], [gl_cv_func_copy_file_range], ./build_dir/host/coreutils-9.6/aclocal.m4: = copy_file_range; ./build_dir/host/coreutils-9.6/aclocal.m4: [gl_cv_func_copy_file_range=yes], ./build_dir/host/coreutils-9.6/aclocal.m4: [gl_cv_func_copy_file_range=no]) ./build_dir/host/coreutils-9.6/aclocal.m4: gl_cv_onwards_func_copy_file_range="$gl_cv_func_copy_file_range" ./build_dir/host/coreutils-9.6/aclocal.m4: gl_CHECK_FUNCS_ANDROID([copy_file_range], [[#include ]]) ./build_dir/host/coreutils-9.6/aclocal.m4: gl_cv_func_copy_file_range="$ac_cv_func_copy_file_range" ./build_dir/host/coreutils-9.6/aclocal.m4: if test "$gl_cv_func_copy_file_range" != yes; then ./build_dir/host/coreutils-9.6/aclocal.m4: case "$gl_cv_onwards_func_copy_file_range" in ./build_dir/host/coreutils-9.6/aclocal.m4: [Define to 1 if the function copy_file_range exists.]) ./build_dir/host/coreutils-9.6/aclocal.m4: ]], [access chdir chown copy_file_range dup dup2 dup3 environ euidaccess ./build_dir/host/coreutils-9.6/src/cp.c: propagate holes. For e.g. FreeBSD documents that copy_file_range() ./build_dir/host/coreutils-9.6/src/cat.c:/* Copy data from input to output using copy_file_range if possible. ./build_dir/host/coreutils-9.6/src/cat.c: /* copy_file_range does not support some cases, and it ./build_dir/host/coreutils-9.6/src/cat.c: so fall back on read+write if the copy_file_range is ./build_dir/host/coreutils-9.6/src/cat.c: switch (copy_file_range (input_desc, nullptr, STDOUT_FILENO, nullptr, ./build_dir/host/coreutils-9.6/src/copy.c:/* Whether an errno value ERR, set by FICLONE or copy_file_range, ./build_dir/host/coreutils-9.6/src/copy.c: /* If not looking for holes, use copy_file_range if functional, ./build_dir/host/coreutils-9.6/src/copy.c: ssize_t n_copied = copy_file_range (src_fd, nullptr, dest_fd, nullptr, ./build_dir/host/coreutils-9.6/src/copy.c: /* copy_file_range incorrectly returns 0 when reading from ./build_dir/host/coreutils-9.6/src/copy.c: For example, EPERM could occur if copy_file_range not enabled ./build_dir/host/m4-1.4.21/lib/unistd.h:# undef copy_file_range ./build_dir/host/m4-1.4.21/lib/unistd.h:# define copy_file_range rpl_copy_file_range ./build_dir/host/m4-1.4.21/lib/unistd.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/m4-1.4.21/lib/unistd.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/m4-1.4.21/lib/unistd.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/m4-1.4.21/lib/unistd.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/m4-1.4.21/lib/unistd.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/m4-1.4.21/lib/unistd.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/m4-1.4.21/lib/unistd.h: "copy_file_range is unportable - " ./build_dir/host/m4-1.4.21/lib/unistd.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/m4-1.4.21/lib/unistd.in.h:# undef copy_file_range ./build_dir/host/m4-1.4.21/lib/unistd.in.h:# define copy_file_range rpl_copy_file_range ./build_dir/host/m4-1.4.21/lib/unistd.in.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/m4-1.4.21/lib/unistd.in.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/m4-1.4.21/lib/unistd.in.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/m4-1.4.21/lib/unistd.in.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/m4-1.4.21/lib/unistd.in.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/m4-1.4.21/lib/unistd.in.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/m4-1.4.21/lib/unistd.in.h: "copy_file_range is unportable - " ./build_dir/host/m4-1.4.21/lib/unistd.in.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/m4-1.4.21/m4/unistd_h.m4: ]], [access chdir chown copy_file_range dup dup2 dup3 environ euidaccess ./build_dir/host/tar-1.35/gnu/unistd.h:# undef copy_file_range ./build_dir/host/tar-1.35/gnu/unistd.h:# define copy_file_range rpl_copy_file_range ./build_dir/host/tar-1.35/gnu/unistd.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/tar-1.35/gnu/unistd.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/tar-1.35/gnu/unistd.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/tar-1.35/gnu/unistd.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/tar-1.35/gnu/unistd.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/tar-1.35/gnu/unistd.h:# undef copy_file_range ./build_dir/host/tar-1.35/gnu/unistd.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/tar-1.35/gnu/unistd.h: "copy_file_range is unportable - " ./build_dir/host/tar-1.35/gnu/unistd.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/tar-1.35/gnu/unistd.in.h:# undef copy_file_range ./build_dir/host/tar-1.35/gnu/unistd.in.h:# define copy_file_range rpl_copy_file_range ./build_dir/host/tar-1.35/gnu/unistd.in.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/tar-1.35/gnu/unistd.in.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/tar-1.35/gnu/unistd.in.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/tar-1.35/gnu/unistd.in.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/tar-1.35/gnu/unistd.in.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/tar-1.35/gnu/unistd.in.h:# undef copy_file_range ./build_dir/host/tar-1.35/gnu/unistd.in.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/tar-1.35/gnu/unistd.in.h: "copy_file_range is unportable - " ./build_dir/host/tar-1.35/gnu/unistd.in.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/tar-1.35/m4/unistd_h.m4: ]], [access chdir chown copy_file_range dup dup2 dup3 environ euidaccess ./build_dir/host/bison-3.8.2/configure: ac_fn_c_check_func "$LINENO" "copy_file_range" "ac_cv_func_copy_file_range" ./build_dir/host/bison-3.8.2/configure:if test "x$ac_cv_func_copy_file_range" = xyes ./build_dir/host/bison-3.8.2/configure: if test $ac_cv_func_copy_file_range = yes; then ./build_dir/host/bison-3.8.2/lib/config.h:/* Define to 1 if you have the `copy_file_range' function. */ ./build_dir/host/bison-3.8.2/lib/unistd.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/bison-3.8.2/lib/unistd.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/bison-3.8.2/lib/unistd.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/bison-3.8.2/lib/unistd.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/bison-3.8.2/lib/unistd.h: "copy_file_range is unportable - " ./build_dir/host/bison-3.8.2/lib/unistd.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/bison-3.8.2/lib/unistd.in.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/bison-3.8.2/lib/unistd.in.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/bison-3.8.2/lib/unistd.in.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/bison-3.8.2/lib/unistd.in.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/bison-3.8.2/lib/unistd.in.h: "copy_file_range is unportable - " ./build_dir/host/bison-3.8.2/lib/unistd.in.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/bison-3.8.2/lib/config.in.h:/* Define to 1 if you have the `copy_file_range' function. */ ./build_dir/host/bison-3.8.2/m4/relocatable.m4: AC_CHECK_FUNCS([copy_file_range]) ./build_dir/host/bison-3.8.2/m4/relocatable.m4: if test $ac_cv_func_copy_file_range = yes; then ./build_dir/host/bison-3.8.2/m4/unistd_h.m4: ]], [access chdir chown copy_file_range dup dup2 dup3 environ euidaccess ./build_dir/host/sed-4.9/lib/unistd.h:# undef copy_file_range ./build_dir/host/sed-4.9/lib/unistd.h:# define copy_file_range rpl_copy_file_range ./build_dir/host/sed-4.9/lib/unistd.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/sed-4.9/lib/unistd.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/sed-4.9/lib/unistd.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/sed-4.9/lib/unistd.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/sed-4.9/lib/unistd.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/sed-4.9/lib/unistd.h:# undef copy_file_range ./build_dir/host/sed-4.9/lib/unistd.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/sed-4.9/lib/unistd.h: "copy_file_range is unportable - " ./build_dir/host/sed-4.9/lib/unistd.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/sed-4.9/lib/unistd.in.h:# undef copy_file_range ./build_dir/host/sed-4.9/lib/unistd.in.h:# define copy_file_range rpl_copy_file_range ./build_dir/host/sed-4.9/lib/unistd.in.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/sed-4.9/lib/unistd.in.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/sed-4.9/lib/unistd.in.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/sed-4.9/lib/unistd.in.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/sed-4.9/lib/unistd.in.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/sed-4.9/lib/unistd.in.h:# undef copy_file_range ./build_dir/host/sed-4.9/lib/unistd.in.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/sed-4.9/lib/unistd.in.h: "copy_file_range is unportable - " ./build_dir/host/sed-4.9/lib/unistd.in.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/sed-4.9/m4/unistd_h.m4: ]], [access chdir chown copy_file_range dup dup2 dup3 environ euidaccess ./build_dir/host/findutils-4.10.0/gl/lib/unistd.h:# undef copy_file_range ./build_dir/host/findutils-4.10.0/gl/lib/unistd.h:# define copy_file_range rpl_copy_file_range ./build_dir/host/findutils-4.10.0/gl/lib/unistd.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/findutils-4.10.0/gl/lib/unistd.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/findutils-4.10.0/gl/lib/unistd.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/findutils-4.10.0/gl/lib/unistd.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/findutils-4.10.0/gl/lib/unistd.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/findutils-4.10.0/gl/lib/unistd.h:# undef copy_file_range ./build_dir/host/findutils-4.10.0/gl/lib/unistd.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/findutils-4.10.0/gl/lib/unistd.h: "copy_file_range is unportable - " ./build_dir/host/findutils-4.10.0/gl/lib/unistd.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/findutils-4.10.0/gl/lib/unistd.in.h:# undef copy_file_range ./build_dir/host/findutils-4.10.0/gl/lib/unistd.in.h:# define copy_file_range rpl_copy_file_range ./build_dir/host/findutils-4.10.0/gl/lib/unistd.in.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/findutils-4.10.0/gl/lib/unistd.in.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/findutils-4.10.0/gl/lib/unistd.in.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/findutils-4.10.0/gl/lib/unistd.in.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/findutils-4.10.0/gl/lib/unistd.in.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/findutils-4.10.0/gl/lib/unistd.in.h:# undef copy_file_range ./build_dir/host/findutils-4.10.0/gl/lib/unistd.in.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/findutils-4.10.0/gl/lib/unistd.in.h: "copy_file_range is unportable - " ./build_dir/host/findutils-4.10.0/gl/lib/unistd.in.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/findutils-4.10.0/gl/m4/unistd_h.m4: ]], [access chdir chown copy_file_range dup dup2 dup3 environ euidaccess ./build_dir/host/elfutils-0.192/m4/unistd_h.m4: ]], [access chdir chown copy_file_range dup dup2 dup3 environ euidaccess ./build_dir/host/elfutils-0.192/libgnu/unistd.h:# undef copy_file_range ./build_dir/host/elfutils-0.192/libgnu/unistd.h:# define copy_file_range rpl_copy_file_range ./build_dir/host/elfutils-0.192/libgnu/unistd.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/elfutils-0.192/libgnu/unistd.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/elfutils-0.192/libgnu/unistd.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/elfutils-0.192/libgnu/unistd.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/elfutils-0.192/libgnu/unistd.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/elfutils-0.192/libgnu/unistd.h:# undef copy_file_range ./build_dir/host/elfutils-0.192/libgnu/unistd.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/elfutils-0.192/libgnu/unistd.h: "copy_file_range is unportable - " ./build_dir/host/elfutils-0.192/libgnu/unistd.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/elfutils-0.192/libgnu/unistd.in.h:# undef copy_file_range ./build_dir/host/elfutils-0.192/libgnu/unistd.in.h:# define copy_file_range rpl_copy_file_range ./build_dir/host/elfutils-0.192/libgnu/unistd.in.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/elfutils-0.192/libgnu/unistd.in.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/elfutils-0.192/libgnu/unistd.in.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/elfutils-0.192/libgnu/unistd.in.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/host/elfutils-0.192/libgnu/unistd.in.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/host/elfutils-0.192/libgnu/unistd.in.h:# undef copy_file_range ./build_dir/host/elfutils-0.192/libgnu/unistd.in.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/host/elfutils-0.192/libgnu/unistd.in.h: "copy_file_range is unportable - " ./build_dir/host/elfutils-0.192/libgnu/unistd.in.h: "use gnulib module copy_file_range for portability"); ./build_dir/host/elfutils-0.192/aclocal.m4: ]], [access chdir chown copy_file_range dup dup2 dup3 environ euidaccess ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/i386-linux-tdep.c: UNSUPPORTED_SYSCALL_MAP (copy_file_range); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/loongarch-linux-tdep.c: UNSUPPORTED_SYSCALL_MAP (copy_file_range); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/arch/loongarch-syscall.h: loongarch_sys_copy_file_range = 285, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/data-directory/syscalls/loongarch-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/data-directory/syscalls/i386-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/data-directory/syscalls/arm-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/data-directory/syscalls/mips-o32-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/data-directory/syscalls/s390x-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/data-directory/syscalls/freebsd.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/data-directory/syscalls/ppc-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/data-directory/syscalls/s390-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/data-directory/syscalls/mips-n32-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/data-directory/syscalls/sparc64-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/data-directory/syscalls/aarch64-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/data-directory/syscalls/mips-n64-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/data-directory/syscalls/amd64-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/data-directory/syscalls/ppc64-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/data-directory/syscalls/sparc-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/i386-syscalls.def:SYSCALL (377, copy_file_range) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/sparc64-linux.xml.in: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/s390x-linux.xml.in: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/loongarch-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/i386-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/arm-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/mips-o32-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/s390x-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/arm-linux.xml.in: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/mips-n32-linux.xml.in: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/freebsd.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/ppc-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/s390-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/sparc-linux.xml.in: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/mips-o32-linux.xml.in: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/s390-linux.xml.in: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/loongarch-linux.xml.in: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/mips-n32-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/sparc64-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/aarch64-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/mips-n64-linux.xml.in: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/mips-n64-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/i386-linux.xml.in: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/amd64-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/amd64-linux.xml.in: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/ppc-linux.xml.in: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/ppc64-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/linux-defaults.xml.in: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/sparc-linux.xml: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/aarch64-linux.xml.in: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gdb/syscalls/ppc64-linux.xml.in: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.h:# undef copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.h:# define copy_file_range rpl_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.h:# undef copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.h: "copy_file_range is unportable - " ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.h: "use gnulib module copy_file_range for portability"); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.in.h:# undef copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.in.h:# define copy_file_range rpl_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.in.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.in.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.in.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.in.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.in.h:_GL_CXXALIASWARN (copy_file_range); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.in.h:# undef copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.in.h:_GL_WARN_ON_USE (copy_file_range, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.in.h: "copy_file_range is unportable - " ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/unistd.in.h: "use gnulib module copy_file_range for portability"); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gdb-16.3/gnulib/import/m4/unistd_h.m4: ]], [access chdir chown copy_file_range dup dup2 dup3 environ euidaccess ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/binutils-2.44/ChangeLog.git: + ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-dev/include/asm-generic/unistd.h:#define __NR_copy_file_range 285 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-dev/include/asm-generic/unistd.h:__SYSCALL(__NR_copy_file_range, sys_copy_file_range) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-dev/include/asm/unistd_64.h:#define __NR_copy_file_range 326 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-dev/include/asm/unistd_x32.h:#define __NR_copy_file_range (__X32_SYSCALL_BIT + 326) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-dev/include/asm/unistd_32.h:#define __NR_copy_file_range 377 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-dev/include/linux/fuse.h: * - add struct fuse_copy_file_range_out ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-dev/include/linux/fuse.h:struct fuse_copy_file_range_in { ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-dev/include/linux/fuse.h:struct fuse_copy_file_range_out { ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/MD5SUMS:c65a815b05ca2f519852355ca0004291 libgo/go/internal/poll/copy_file_range_linux.go ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/MD5SUMS:5f40b47e7c2d0ea70816ee5e3dff1253 libgo/go/internal/syscall/unix/copy_file_range_linux.go ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/acinclude.m4: AC_CACHE_CHECK([for copy_file_range that can copy files], ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/acinclude.m4: glibcxx_cv_copy_file_range, [dnl ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/acinclude.m4: [copy_file_range(1, (loff_t*)nullptr, 2, (loff_t*)nullptr, 1, 0);], ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/acinclude.m4: [glibcxx_cv_copy_file_range=yes], ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/acinclude.m4: [glibcxx_cv_copy_file_range=no]) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/acinclude.m4: glibcxx_cv_copy_file_range=no ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/acinclude.m4: if test $glibcxx_cv_copy_file_range = yes; then ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/acinclude.m4: AC_DEFINE(_GLIBCXX_USE_COPY_FILE_RANGE, 1, [Define if copy_file_range is available in .]) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/configure: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copy_file_range that can copy files" >&5 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/configure:$as_echo_n "checking for copy_file_range that can copy files... " >&6; } ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/configure:if ${glibcxx_cv_copy_file_range+:} false; then : ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/configure:copy_file_range(1, (loff_t*)nullptr, 2, (loff_t*)nullptr, 1, 0); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/configure: glibcxx_cv_copy_file_range=yes ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/configure: glibcxx_cv_copy_file_range=no ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/configure:copy_file_range(1, (loff_t*)nullptr, 2, (loff_t*)nullptr, 1, 0); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/configure: glibcxx_cv_copy_file_range=yes ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/configure: glibcxx_cv_copy_file_range=no ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/configure: glibcxx_cv_copy_file_range=no ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/configure:{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_copy_file_range" >&5 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/configure:$as_echo "$glibcxx_cv_copy_file_range" >&6; } ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/configure: if test $glibcxx_cv_copy_file_range = yes; then ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/config.h.in:/* Define if copy_file_range is available in . */ ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/ChangeLog-2023: copy_file_range can be called with loff_t* arguments. ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/ChangeLog-2023: * src/filesystem/ops-common.h (copy_file_copy_file_range): ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/ChangeLog-2023: * src/filesystem/ops-common.h (copy_file_copy_file_range): ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/src/filesystem/ops-common.h:# include // copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/src/filesystem/ops-common.h: copy_file_copy_file_range(int fd_in, int fd_out, size_t length) noexcept ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/src/filesystem/ops-common.h: bytes_copied = ::copy_file_range(fd_in, &off_in, fd_out, &off_out, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/src/filesystem/ops-common.h: has_copied = copy_file_copy_file_range(in.fd, out.fd, from_st->st_size); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/src/filesystem/ops-common.h: // EINVAL: copy_file_range is unsupported for this file type by the ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/src/filesystem/ops-common.h: // EOPNOTSUPP: filesystem does not implement copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libstdc++-v3/src/filesystem/ops-common.h: // cross-fs copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libgo/go/internal/poll/copy_file_range_linux.go:// the copy_file_range system call. dst and src must refer to regular files. ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libgo/go/internal/poll/copy_file_range_linux.go: // copy_file_range(2) is broken in various ways on kernels older than 5.3, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libgo/go/internal/poll/copy_file_range_linux.go: // https://man7.org/linux/man-pages/man2/copy_file_range.2.html#VERSIONS ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libgo/go/internal/poll/copy_file_range_linux.go: // copy_file_range(2) was introduced in Linux 4.5. ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libgo/go/internal/poll/copy_file_range_linux.go: // use copy_file_range(2) again. ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libgo/go/internal/poll/copy_file_range_linux.go: // copy_file_range across file systems. Similarly to ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libgo/go/internal/poll/copy_file_range_linux.go: // don't mark copy_file_range(2) as unsupported. ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libgo/go/internal/poll/copy_file_range_linux.go: // where copy_file_range silently fails. ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libgo/go/internal/poll/copy_file_range_linux.go:// copyFileRange performs one round of copy_file_range(2). ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libgo/go/internal/poll/copy_file_range_linux.go: // The signature of copy_file_range(2) is: ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libgo/go/internal/poll/copy_file_range_linux.go: // ssize_t copy_file_range(int fd_in, loff_t *off_in, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libgo/go/os/readfrom_linux.go: // copy_file_range(2) does not support destinations opened with ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libgo/go/os/readfrom_linux.go: return written, handled, NewSyscallError("copy_file_range", err) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libgo/go/os/readfrom_linux_test.go:// newCopyFileRangeTest initializes a new test for copy_file_range. ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libgo/go/os/readfrom_linux_test.go: // consumed by copy_file_range(2). ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0/libgo/go/os/readfrom_linux_test.go:// On some kernels copy_file_rang fails on files in /proc. ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/usr/gen_init_cpio.c: this_read = copy_file_range(file, NULL, outfd, NULL, size, 0); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/usr/include/asm-generic/unistd.h:#define __NR_copy_file_range 285 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/usr/include/asm-generic/unistd.h:__SYSCALL(__NR_copy_file_range, sys_copy_file_range) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/usr/include/asm/unistd_64.h:#define __NR_copy_file_range 326 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/usr/include/asm/unistd_x32.h:#define __NR_copy_file_range (__X32_SYSCALL_BIT + 326) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/usr/include/asm/unistd_32.h:#define __NR_copy_file_range 377 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/usr/include/linux/fuse.h: * - add struct fuse_copy_file_range_out ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/usr/include/linux/fuse.h:struct fuse_copy_file_range_in { ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/usr/include/linux/fuse.h:struct fuse_copy_file_range_out { ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/tools/include/uapi/asm-generic/unistd.h:#define __NR_copy_file_range 285 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/tools/include/uapi/asm-generic/unistd.h:__SYSCALL(__NR_copy_file_range, sys_copy_file_range) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/tools/testing/selftests/exec/check-exec.c: /* Cannot use copy_file_range(2) because of EXDEV. */ ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/tools/scripts/syscall.tbl:285 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/tools/perf/arch/parisc/entry/syscalls/syscall.tbl:346 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/tools/perf/arch/xtensa/entry/syscalls/syscall.tbl:345 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl:379 nospcopy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/tools/perf/arch/s390/entry/syscalls/syscall.tbl:375 common copy_file_range sys_copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl:320 n64 copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/tools/perf/arch/sh/entry/syscalls/syscall.tbl:380 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/tools/perf/arch/x86/entry/syscalls/syscall_32.tbl:377 i386copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/tools/perf/arch/x86/entry/syscalls/syscall_64.tbl:326 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/tools/perf/arch/arm/entry/syscalls/syscall.tbl:391 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/tools/perf/arch/alpha/entry/syscalls/syscall.tbl:519 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/tools/perf/arch/sparc/entry/syscalls/syscall.tbl:357 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/tools/perf/arch/arm64/entry/syscalls/syscall_32.tbl:391 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/include/uapi/asm-generic/unistd.h:#define __NR_copy_file_range 285 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/include/uapi/asm-generic/unistd.h:__SYSCALL(__NR_copy_file_range, sys_copy_file_range) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/include/uapi/linux/fuse.h: * - add struct fuse_copy_file_range_out ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/include/uapi/linux/fuse.h:struct fuse_copy_file_range_in { ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/include/uapi/linux/fuse.h:struct fuse_copy_file_range_out { ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/include/linux/splice.h:static inline long splice_copy_file_range(struct file *in, loff_t pos_in, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/include/linux/fs.h: * These flags control the behavior of vfs_copy_file_range(). ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/include/linux/fs.h: ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/include/linux/fs.h:extern ssize_t vfs_copy_file_range(struct file *, loff_t , struct file *, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/include/linux/syscalls.h:asmlinkage long sys_copy_file_range(int fd_in, loff_t __user *off_in, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/m68k/kernel/syscalls/syscall.tbl:376 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/parisc/kernel/syscalls/syscall.tbl:346 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/xtensa/kernel/syscalls/syscall.tbl:345 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/powerpc/kernel/syscalls/syscall.tbl:379 nospu copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/s390/kernel/syscalls/syscall.tbl:375 common copy_file_range sys_copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/mips/kernel/syscalls/syscall_n32.tbl:324 n32 copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/mips/kernel/syscalls/syscall_o32.tbl:360 o32 copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/mips/kernel/syscalls/syscall_n64.tbl:320 n64 copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/sh/kernel/syscalls/syscall.tbl:380 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/x86/entry/syscalls/syscall_32.tbl:377 i386 copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/x86/entry/syscalls/syscall_64.tbl:326 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/x86/include/generated/uapi/asm/unistd_64.h:#define __NR_copy_file_range 326 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/x86/include/generated/uapi/asm/unistd_x32.h:#define __NR_copy_file_range (__X32_SYSCALL_BIT + 326) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/x86/include/generated/uapi/asm/unistd_32.h:#define __NR_copy_file_range 377 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/x86/include/generated/asm/unistd_32_ia32.h:#define __NR_ia32copy_file_range 377 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/x86/include/generated/asm/syscalls_64.h:__SYSCALL(326, sys_copy_file_range) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/x86/include/generated/asm/syscalls_32.h:__SYSCALL(377, sys_copy_file_range) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/microblaze/kernel/syscalls/syscall.tbl:392 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/arm/tools/syscall.tbl:391 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/alpha/kernel/syscalls/syscall.tbl:519 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/sparc/kernel/syscalls/syscall.tbl:357 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/arch/arm64/tools/syscall_32.tbl:391 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/scripts/coccinelle/api/stream_open.cocci:@ has_copy_file_range @ ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/scripts/coccinelle/api/stream_open.cocci:identifier copy_file_range_f; ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/scripts/coccinelle/api/stream_open.cocci: .copy_file_range = copy_file_range_f, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/scripts/coccinelle/api/stream_open.cocci:@ maybe_stream depends on (!has_llseek || has_no_llseek || has_noop_llseek) && !has_mmap && !has_copy_file_range && !has_remap_file_range && !has_read_iter && !has_write_iter && !has_splice_read && !has_splice_write @ ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/scripts/syscall.tbl:285 common copy_file_range sys_copy_file_range ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/Documentation/filesystems/locking.rst: ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/Documentation/filesystems/locking.rst:->copy_file_range and ->remap_file_range implementations need to serialize ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/Documentation/filesystems/locking.rst:or ->copy_file_range, and then return with the page locked. Usually ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/Documentation/filesystems/vfs.rst: ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/Documentation/filesystems/vfs.rst:``copy_file_range`` ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/Documentation/filesystems/vfs.rst: called by the copy_file_rang(2) system call. ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/Documentation/filesystems/ceph.rst: copies. Currently, it's only used in copy_file_range, which will revert ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/splice.c: * splice_file_range - splices data between two files for copy_file_range() ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/splice.c: * For use by ->copy_file_range() methods. ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/splice.c: * Like do_splice_direct(), but vfs_copy_file_rang() already holds ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/nfsd/nfs4proc.c:static ssize_t _nfsd_copy_file_range(struct nfsd4_copy *copy, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/nfsd/nfs4proc.c: bytes_copied = nfsd_copy_file_range(src, src_pos, dst, dst_pos, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/nfsd/nfs4proc.c: bytes = _nfsd_copy_file_range(copy, dst, src); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/nfsd/vfs.h:ssize_t nfsd_copy_file_range(struct file *, u64, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/nfsd/vfs.c:ssize_t nfsd_copy_file_range(struct file *src, u64 src_pos, struct file *dst, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/nfsd/vfs.c: ret = vfs_copy_file_range(src, src_pos, dst, dst_pos, count, 0); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/nfsd/vfs.c: ret = vfs_copy_file_range(src, src_pos, dst, dst_pos, count, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/nfs/nfs4file.c:static ssize_t __nfs4_copy_file_range(struct file *file_in, loff_t pos_in, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/nfs/nfs4file.c:static ssize_t nfs4_copy_file_range(struct file *file_in, loff_t pos_in, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/nfs/nfs4file.c: ret = __nfs4_copy_file_range(file_in, pos_in, file_out, pos_out, count, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/nfs/nfs4file.c: ret = splice_copy_file_range(file_in, pos_in, file_out, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/nfs/nfs4file.c: .copy_file_range = nfs4_copy_file_range, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/ceph/file.c:static ssize_t __ceph_copy_file_range(struct file *src_file, loff_t src_off, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/ceph/file.c: * fallback to the default VFS copy_file_range implementation. This is ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/ceph/file.c:static ssize_t ceph_copy_file_range(struct file *src_file, loff_t src_off, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/ceph/file.c: ret = __ceph_copy_file_range(src_file, src_off, dst_file, dst_off, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/ceph/file.c: ret = splice_copy_file_range(src_file, src_off, dst_file, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/ceph/file.c: .copy_file_range = ceph_copy_file_range, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/fuse/fuse_i.h: /** Does the filesystem support copy_file_range? */ ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/fuse/fuse_i.h: unsigned no_copy_file_range:1; ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/fuse/fuse_i.h: /** Does the filesystem support copy_file_range_64? */ ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/fuse/fuse_i.h: unsigned no_copy_file_range_64:1; ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/fuse/file.c:static ssize_t __fuse_copy_file_range(struct file *file_in, loff_t pos_in, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/fuse/file.c: struct fuse_copy_file_range_in inarg = { ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/fuse/file.c: struct fuse_copy_file_range_out outarg_64; ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/fuse/file.c: if (fc->no_copy_file_range) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/fuse/file.c: if (fc->no_copy_file_range_64) { ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/fuse/file.c: if (fc->no_copy_file_range_64) { ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/fuse/file.c: fc->no_copy_file_range = 1; ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/fuse/file.c: fc->no_copy_file_range_64 = 1; ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/fuse/file.c: bytes_copied = fc->no_copy_file_range_64 ? ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/fuse/file.c:static ssize_t fuse_copy_file_range(struct file *src_file, loff_t src_off, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/fuse/file.c: ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/fuse/file.c: ret = splice_copy_file_range(src_file, src_off, dst_file, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/fuse/file.c: .copy_file_range = fuse_copy_file_range, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/overlayfs/file.c: ret = vfs_copy_file_range(realfile_in, pos_in, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/overlayfs/file.c:static ssize_t ovl_copy_file_range(struct file *file_in, loff_t pos_in, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/overlayfs/file.c: .copy_file_range = ovl_copy_file_rang, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/server/vfs.h:int ksmbd_vfs_copy_file_ranges(struct ksmbd_work *work, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/server/smb2pdu.c: ret = ksmbd_vfs_copy_file_ranges(work, src_fp, dst_fp, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/server/smb2pdu.c: * should fall back to vfs_copy_file_range(). This could be ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/server/smb2pdu.c: * fall back to vfs_copy_file_range(), should be avoided when ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/server/smb2pdu.c: cloned = vfs_copy_file_range(fp_in->filp, src_off, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/server/vfs.c:int ksmbd_vfs_copy_file_ranges(struct ksmbd_work *work, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/server/vfs.c: * vfs_copy_file_range does not allow overlapped copying ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/server/vfs.c: ret = vfs_copy_file_range(src_fp->filp, src_off, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/server/vfs.c: ret = vfs_copy_file_range(src_fp->filp, src_off, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/client/cifsfs.c: * copy_file_range syscall man page indicates EINVAL ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/client/cifsfs.c:static ssize_t cifs_copy_file_range(struct file *src_file, loff_t off, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/client/cifsfs.c: rc = splice_copy_file_range(src_file, off, dst_file, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/client/cifsfs.c: .copy_file_range = cifs_copy_file_range, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/client/cifsfs.c: .copy_file_range = cifs_copy_file_range, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/client/cifsfs.c: .copy_file_range = cifs_copy_file_range, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/client/cifsfs.c: .copy_file_range = cifs_copy_file_range, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/client/cifsfs.c: .copy_file_range = cifs_copy_file_range, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/client/cifsfs.c: .copy_file_range = cifs_copy_file_range, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/smb/client/cifsfs.c: .copy_file_range = cifs_copy_file_range, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/read_write.c: * using the same ->copy_file_range() function pointer. ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/read_write.c: } else if (file_out->f_op->copy_file_range) { ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/read_write.c: if (file_in->f_op->copy_file_range != ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/read_write.c: file_out->f_op->copy_file_range) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/read_write.c: * copy_file_range() differs from regular file read and write in that it ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/read_write.c: * the copy_file_range method. ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/read_write.c:ssize_t vfs_copy_file_range(struct file *file_in, loff_t pos_in, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/read_write.c: * limit the size for all cases except when calling ->copy_file_range(). ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/read_write.c: if (splice || !file_out->f_op->copy_file_range || in_compat_syscall()) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/read_write.c: if (!splice && file_out->f_op->copy_file_range) { ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/read_write.c: ret = file_out->f_op->copy_file_rang(file_in, pos_in, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/read_write.c: * ->copy_file_range() in case filesystem does not support clone or in ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/read_write.c: * consistent story about which filesystems support copy_file_range() ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/read_write.c: * make consistent desicions w.r.t using copy_file_range(). ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/read_write.c:EXPORT_SYMBOL(vfs_copy_file_range); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/read_write.c:SYSCALL_DEFINE6(copy_file_range, int, fd_in, loff_t __user *, off_in, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/fs/read_write.c: ret = vfs_copy_file_range(fd_file(f_in), pos_in, fd_file(f_out), pos_out, len, ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/linux-6.18.28/kernel/sys_ni.c:COND_SYSCALL(copy_file_range); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0-final/x86_64-openwrt-linux-musl/libstdc++-v3/config.h:/* Define if copy_file_range is available in . */ ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0-final/x86_64-openwrt-linux-musl/libstdc++-v3/include/x86_64-openwrt-linux-musl/bits/c++config.h:/* Define if copy_file_range is available in . */ ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0-final/x86_64-openwrt-linux-musl/libstdc++-v3/config.log:configure:53383: checking for copy_file_range that can copy files ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0-final/x86_64-openwrt-linux-musl/libstdc++-v3/config.log: 237 | copy_file_range(1, (loff_t*)nullptr, 2, (loff_t*)nullptr, 1, 0); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0-final/x86_64-openwrt-linux-musl/libstdc++-v3/config.log: 237 | copy_file_range(1, (loff_t*)nullptr, 2, (loff_t*)nullptr, 1, 0); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0-final/x86_64-openwrt-linux-musl/libstdc++-v3/config.log: 237 | copy_file_range(1, (loff_t*)nullptr, 2, (loff_t*)nullptr, 1, 0); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0-final/x86_64-openwrt-linux-musl/libstdc++-v3/config.log:| copy_file_range(1, (loff_t*)nullptr, 2, (loff_t*)nullptr, 1, 0); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0-final/x86_64-openwrt-linux-musl/libstdc++-v3/config.log:glibcxx_cv_copy_file_range=no ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/gcc-14.3.0-final/x86_64-openwrt-linux-musl/libstdc++-v3/config.cache:glibcxx_cvcopy_file_range=${glibcxx_cv_copy_file_range=no} ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/obj/include/bits/syscall.h:#define __NR_copy_file_range 326 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/obj/include/bits/syscall.h:#define SYS_copy_file_range 326 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/WHATSNEW:- copy_file_range syscall wrapper (Linux extension) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/include/unistd.h:ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned); ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/m68k/bits/syscall.h.in:#define __NR_copy_file_range 376 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/mipsn32/bits/syscall.h.in:#define __NR_copy_file_range 6324 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/riscv64/bits/syscall.h.in:#define __NR_copy_file_range 285 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/powerpc/bits/syscall.h.in:#define __NR_copy_file_range 379 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/s390x/bits/syscall.h.in:#define __NR_copy_file_range 375 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/or1k/bits/syscall.h.in:#define __NR_copy_file_range 285 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/i386/bits/syscall.h.in:#define __NR_copy_file_range 377 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/loongarch64/bits/syscall.h.in:#define __NR_copy_file_range 285 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/mips/bits/syscall.h.in:#define __NR_copy_file_range 4360 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/sh/bits/syscall.h.in:#define __NR_copy_file_range 380 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/riscv32/bits/syscall.h.in:#define __NR_copy_file_range 285 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/mips64/bits/syscall.h.in:#define __NR_copy_file_range 5320 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/powerpc64/bits/syscall.h.in:#define __NR_copy_file_range 379 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/microblaze/bits/syscall.h.in:#define __NR_copy_file_range 392 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/arm/bits/syscall.h.in:#define __NR_copy_file_range 391 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/x32/bits/syscall.h.in:#define __NR_copy_file_range (0x40000000 + 326) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/aarch64/bits/syscall.h.in:#define __NR_copy_file_range 285 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/arch/x86_64/bits/syscall.h.in:#define __NR_copy_file_range 326 ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/src/linux/copy_file_range.c:ssize_t copy_file_range(int fd_in, off_t *off_in, int fd_out, off_t *off_out, size_t len, unsigned flags) ./build_dir/toolchain-x86_64_gcc-14.3.0_musl/musl-1.2.5/src/linux/copy_file_range.c: return syscall(SYS_copy_file_range, fd_in, off_in, fd_out, off_out, len, flags); ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/usr/gen_init_cpio.c: this_read = copy_file_range(file, NULL, outfd, NULL, size, 0); ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/usr/include/asm-generic/unistd.h:#define __NR_copy_file_range 285 ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/usr/include/asm-generic/unistd.h:__SYSCALL(__NR_copy_file_range, sys_copy_file_range) ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/usr/include/asm/unistd_64.h:#define __NR_copy_file_range 326 ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/usr/include/asm/unistd_x32.h:#define __NR_copy_file_range (__X32_SYSCALL_BIT + 326) ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/usr/include/asm/unistd_32.h:#define __NR_copy_file_range 377 ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/usr/include/linux/fuse.h: * - add struct fuse_copy_file_range_out ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/usr/include/linux/fuse.h:struct fuse_copy_file_range_in { ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/usr/include/linux/fuse.h:struct fuse_copy_file_range_out { ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/tools/include/uapi/asm-generic/unistd.h:#define __NR_copy_file_range 285 ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/tools/include/uapi/asm-generic/unistd.h:__SYSCALL(__NR_copy_file_range, sys_copy_file_range) ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/tools/testing/selftests/exec/check-exec.c: /* Cannot use copy_file_range(2) because of EXDEV. */ ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/tools/scripts/syscall.tbl:285 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/tools/perf/arch/parisc/entry/syscalls/syscall.tbl:346 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/tools/perf/arch/xtensa/entry/syscalls/syscall.tbl:345 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl:379 nospcopy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/tools/perf/arch/s390/entry/syscalls/syscall.tbl:375 common copy_file_range sys_copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl:320 n64 copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/tools/perf/arch/sh/entry/syscalls/syscall.tbl:380 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/tools/perf/arch/x86/entry/syscalls/syscall_32.tbl:377 i386 copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/tools/perf/arch/x86/entry/syscalls/syscall_64.tbl:326 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/tools/perf/arch/arm/entry/syscalls/syscall.tbl:391 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/tools/perf/arch/alpha/entry/syscalls/syscall.tbl:519 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/tools/perf/arch/sparc/entry/syscalls/syscall.tbl:357 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/tools/perf/arch/arm64/entry/syscalls/syscall_32.tbl:391 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/include/uapi/asm-generic/unistd.h:#define __NR_copy_file_range 285 ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/include/uapi/asm-generic/unistd.h:__SYSCALL(__NR_copy_file_range, sys_copy_file_range) ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/include/uapi/linux/fuse.h: * - add struct fuse_copy_file_range_out ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/include/uapi/linux/fuse.h:struct fuse_copy_file_range_in { ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/include/uapi/linux/fuse.h:struct fuse_copy_file_range_out { ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/include/linux/splice.h:static inline long splice_copy_file_range(struct file *in, loff_t pos_in, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/include/linux/fs.h: * These flags control the behavior of vfs_copy_file_range(). ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/include/linux/fs.h: ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/include/linux/fs.h:extern ssize_t vfs_copy_file_range(struct file *, loff_t , struct file *, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/include/linux/syscalls.h:asmlinkage long sys_copy_file_range(int fd_in, loff_t __user *off_in, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/m68k/kernel/syscalls/syscall.tbl:376 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/parisc/kernel/syscalls/syscall.tbl:346 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/xtensa/kernel/syscalls/syscall.tbl:345 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/powerpc/kernel/syscalls/syscall.tbl:379 nospu copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/s390/kernel/syscalls/syscall.tbl:375 common copy_file_range sys_copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/mips/kernel/syscalls/syscall_n32.tbl:324 n32 copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/mips/kernel/syscalls/syscall_o32.tbl:360 o32 copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/mips/kernel/syscalls/syscall_n64.tbl:320 n64 copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/sh/kernel/syscalls/syscall.tbl:380 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/x86/entry/syscalls/syscall_32.tbl:377 i386 copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/x86/entry/syscalls/syscall_64.tbl:326 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/x86/include/generated/uapi/asm/unistd_64.h:#define __NR_copy_file_range 326 ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/x86/include/generated/uapi/asm/unistd_x32.h:#define __NR_copy_file_range (__X32_SYSCALL_BIT + 326) ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/x86/include/generated/uapi/asm/unistd_32.h:#define __NR_copy_file_range 377 ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/x86/include/generated/asm/unistd_32_ia32.h:#define __NR_ia32_copy_file_range 377 ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/x86/include/generated/asm/syscalls_64.h:__SYSCALL(326, sys_copy_file_range) ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/x86/include/generated/asm/syscalls_32.h:__SYSCALL(377, sys_copy_file_range) ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/microblaze/kernel/syscalls/syscall.tbl:392 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/arm/tools/syscall.tbl:391 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/alpha/kernel/syscalls/syscall.tbl:519 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/sparc/kernel/syscalls/syscall.tbl:357 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/arch/arm64/tools/syscall_32.tbl:391 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/scripts/coccinelle/api/stream_open.cocci:@ has_copy_file_range @ ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/scripts/coccinelle/api/stream_open.cocci:identifier copy_file_rang_f; ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/scripts/coccinelle/api/stream_open.cocci: .copy_file_range = copy_file_range_f, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/scripts/coccinelle/api/stream_open.cocci:@ maybe_stream depends on (!has_llseek || has_no_llseek || has_noop_llseek) && !has_mmap && !has_copy_file_range && !has_remap_file_range && !has_read_iter && !has_write_iter && !has_splice_read && !has_splice_write @ ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/scripts/syscall.tbl:285 common copy_file_range sys_copy_file_range ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/Documentation/filesystems/locking.rst: ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/Documentation/filesystems/locking.rst:->copy_file_range and ->remap_file_range implementations need to serialize ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/Documentation/filesystems/locking.rst:or ->copy_file_range, and then return with the page locked. Usually ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/Documentation/filesystems/vfs.rst: ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/Documentation/filesystems/vfs.rst:``copy_file_range`` ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/Documentation/filesystems/vfs.rst: called by the copy_file_rang(2) system call. ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/Documentation/filesystems/ceph.rst: copies. Currently, it's only used in copy_file_range, which will revert ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/splice.c: * splice_file_range - splices data between two files for copy_file_range() ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/splice.c: * For use by ->copy_file_range() methods. ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/splice.c: * Like do_splice_direct(), but vfs_copy_file_range() already holds ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/nfsd/nfs4proc.c:static ssize_t _nfsd_copy_file_range(struct nfsd4_copy *copy, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/nfsd/nfs4proc.c: bytes_copied = nfsd_copy_file_range(src, src_pos, dst, dst_pos, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/nfsd/nfs4proc.c: bytes = _nfsd_copy_file_range(copy, dst, src); ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/nfsd/vfs.h:ssize_t nfsd_copy_file_range(struct file *, u64, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/nfsd/vfs.c:ssize_t nfsd_copy_file_range(struct file *src, u64 src_pos, struct file *dst, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/nfsd/vfs.c: ret = vfs_copy_file_range(src, src_pos, dst, dst_pos, count, 0); ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/nfsd/vfs.c: ret = vfs_copy_file_range(src, src_pos, dst, dst_pos, count, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/nfs/nfs4file.c:static ssize_t __nfs4_copy_file_range(struct file *file_in, loff_t pos_in, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/nfs/nfs4file.c:static ssize_t nfs4_copy_file_range(struct file *file_in, loff_t pos_in, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/nfs/nfs4file.c: ret = __nfs4_copy_file_range(file_in, pos_in, file_out, pos_out, count, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/nfs/nfs4file.c: ret = splice_copy_file_range(file_in, pos_in, file_out, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/nfs/nfs4file.c: .copy_file_range = nfs4_copy_file_range, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/ceph/file.c:static ssize_t __ceph_copy_file_range(struct file *src_file, loff_t src_off, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/ceph/file.c: * fallback to the default VFS copy_file_range implementation. This is ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/ceph/file.c:static ssize_t ceph_copy_file_range(struct file *src_file, loff_t src_off, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/ceph/file.c: ret = __ceph_copy_file_range(src_file, src_off, dst_file, dst_off, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/ceph/file.c: ret = splice_copy_file_range(src_file, src_off, dst_file, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/ceph/file.c: .copy_file_range = ceph_copy_file_range, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/fuse/fuse_i.h: /** Does the filesystem support copy_file_range? */ ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/fuse/fuse_i.h: unsigned no_copy_file_range:1; ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/fuse/fuse_i.h: /** Does the filesystem support copy_file_range_64? */ ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/fuse/fuse_i.h: unsigned no_copy_file_range_64:1; ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/fuse/file.c:static ssize_t __fuse_copy_file_range(struct file *file_in, loff_t pos_in, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/fuse/file.c: struct fuse_copy_file_range_in inarg = { ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/fuse/file.c: struct fuse_copy_file_range_out outarg_64; ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/fuse/file.c: if (fc->no_copy_file_range) ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/fuse/file.c: if (fc->no_copy_file_range_64) { ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/fuse/file.c: if (fc->no_copy_file_range_64) { ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/fuse/file.c: fc->no_copy_file_range = 1; ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/fuse/file.c: fc->no_copy_file_range_64 = 1; ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/fuse/file.c: bytes_copied = fc->no_copy_file_range_64 ? ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/fuse/file.c:static ssize_t fuse_copy_file_range(struct file *src_file, loff_t src_off, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/fuse/file.c: ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/fuse/file.c: ret = splice_copy_file_range(src_file, src_off, dst_file, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/fuse/file.c: .copy_file_range = fuse_copy_file_range, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/overlayfs/file.c: ret = vfs_copy_file_range(realfile_in, pos_in, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/overlayfs/file.c:static ssize_t ovl_copy_file_range(struct file *file_in, loff_t pos_in, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/overlayfs/file.c: .copy_file_range = ovl_copy_file_rang, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/server/vfs.h:int ksmbd_vfs_copy_file_ranges(struct ksmbd_work *work, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/server/smb2pdu.c: ret = ksmbd_vfs_copy_file_ranges(work, src_fp, dst_fp, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/server/smb2pdu.c: * should fall back to vfs_copy_file_range(). This could be ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/server/smb2pdu.c: * fall back to vfs_copy_file_range(), should be avoided when ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/server/smb2pdu.c: cloned = vfs_copy_file_range(fp_in->filp, src_off, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/server/vfs.c:int ksmbd_vfs_copy_file_ranges(struct ksmbd_work *work, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/server/vfs.c: * vfs_copy_file_range does not allow overlapped copying ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/server/vfs.c: ret = vfs_copy_file_range(src_fp->filp, src_off, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/server/vfs.c: ret = vfs_copy_file_range(src_fp->filp, src_off, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/client/cifsfs.c: * copy_file_range syscall man page indicates EINVAL ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/client/cifsfs.c:static ssize_t cifs_copy_file_range(struct file *src_file, loff_t off, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/client/cifsfs.c: rc = splice_copy_file_range(src_file, off, dst_file, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/client/cifsfs.c: .copy_file_range = cifs_copy_file_range, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/client/cifsfs.c: .copy_file_range = cifs_copy_file_range, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/client/cifsfs.c: .copy_file_range = cifs_copy_file_range, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/client/cifsfs.c: .copy_file_range = cifs_copy_file_range, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/client/cifsfs.c: .copy_file_range = cifs_copy_file_range, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/client/cifsfs.c: .copy_file_range = cifs_copy_file_range, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/smb/client/cifsfs.c: .copy_file_range = cifs_copy_file_range, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/read_write.c: * using the same ->copy_file_range() function pointer. ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/read_write.c: } else if (file_out->f_op->copy_file_range) { ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/read_write.c: if (file_in->f_op->copy_file_range != ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/read_write.c: file_out->f_op->copy_file_range) ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/read_write.c: * copy_file_range() differs from regular file read and write in that it ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/read_write.c: * the copy_file_range method. ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/read_write.c:ssize_t vfs_copy_file_range(struct file *file_in, loff_t pos_in, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/read_write.c: * limit the size for all cases except when calling ->copy_file_range(). ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/read_write.c: if (splice || !file_out->f_op->copy_file_range || in_compat_syscall()) ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/read_write.c: if (!splice && file_out->f_op->copy_file_range) { ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/read_write.c: ret = file_out->f_op->copy_file_rang(file_in, pos_in, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/read_write.c: * ->copy_file_range() in case filesystem does not support clone or in ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/read_write.c: * consistent story about which filesystems support copy_file_range() ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/read_write.c: * make consistent desicions w.r.t using copy_file_range(). ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/read_write.c:EXPORT_SYMBOL(vfs_copy_file_range); ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/read_write.c:SYSCALL_DEFINE6(copy_file_range, int, fd_in, loff_t __user *, off_in, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/fs/read_write.c: ret = vfs_copy_file_range(fd_file(f_in), pos_in, fd_file(f_out), pos_out, len, ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/kernel/sys_ni.c:COND_SYSCALL(copy_file_range); ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/user_headers/include/asm-generic/unistd.h:#define __NR_copy_file_range 285 ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/user_headers/include/asm-generic/unistd.h:__SYSCALL(__NR_copy_file_range, sys_copy_file_range) ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/user_headers/include/asm/unistd_64.h:#define __NR_copy_file_range 326 ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/user_headers/include/asm/unistd_x32.h:#define __NR_copy_file_range (__X32_SYSCALL_BIT + 326) ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/user_headers/include/asm/unistd_32.h:#define __NR_copy_file_range 377 ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/user_headers/include/linux/fuse.h: * - add struct fuse_copy_file_range_out ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/user_headers/include/linux/fuse.h:struct fuse_copy_file_range_in { ./build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.28/user_headers/include/linux/fuse.h:struct fuse_copy_file_range_out { ./feeds/packages/net/transmission/files/transmission-daemon.json: "copy_file_range", ./feeds/packages/net/samba4/patches/102-samba-4.11-unbundle-libbsd.patch:@@ -850,9 +830,6 @@ syscall(SYS_copy_file_range,0,NULL,0,NUL ./feeds/packages/net/samba4/patches/102-samba-4.11-unbundle-libbsd.patch:@@ -865,7 +842,7 @@ syscall(SYS_copy_file_range,0,NULL,0,NUL ./feeds/packages/libs/libtalloc/patches/100-Remove_libbsd_dependency_check.patch:@@ -850,9 +830,6 @@ syscall(SYS_copy_file_range,0,NULL,0,NUL ./feeds/packages/libs/libtalloc/patches/100-Remove_libbsd_dependency_check.patch:@@ -865,7 +842,7 @@ syscall(SYS_copy_file_range,0,NULL,0,NUL ./feeds/packages/libs/tdb/patches/100-Remove_libbsd_dependency_check.patch:@@ -850,9 +830,6 @@ syscall(SYS_copy_file_range,0,NULL,0,NUL ./feeds/packages/libs/tdb/patches/100-Remove_libbsd_dependency_check.patch:@@ -865,7 +842,7 @@ syscall(SYS_copy_file_range,0,NULL,0,NUL ./staging_dir/host/share/aclocal/gl_copy-file-range.m4: dnl Persuade glibc to declare copy_file_range. ./staging_dir/host/share/aclocal/gl_copy-file-range.m4: dnl Programs that use copy_file_range must fall back on read+write ./staging_dir/host/share/aclocal/gl_copy-file-range.m4: AC_CACHE_CHECK([for copy_file_range], [gl_cv_func_copy_file_range], ./staging_dir/host/share/aclocal/gl_copy-file-range.m4: = copy_file_range; ./staging_dir/host/share/aclocal/gl_copy-file-range.m4: [gl_cv_func_copy_file_range=yes], ./staging_dir/host/share/aclocal/gl_copy-file-range.m4: [gl_cv_func_copy_file_range=no]) ./staging_dir/host/share/aclocal/gl_copy-file-range.m4: gl_cv_onwards_func_copy_file_range="$gl_cv_func_copy_file_range" ./staging_dir/host/share/aclocal/gl_copy-file-range.m4: gl_CHECK_FUNCS_ANDROID([copy_file_range], [[#include ]]) ./staging_dir/host/share/aclocal/gl_copy-file-range.m4: gl_cv_func_copy_file_range="$ac_cv_func_copy_file_range" ./staging_dir/host/share/aclocal/gl_copy-file-range.m4: if test "$gl_cv_func_copy_file_range" != yes; then ./staging_dir/host/share/aclocal/gl_copy-file-range.m4: case "$gl_cv_onwards_func_copy_file_range" in ./staging_dir/host/share/aclocal/gl_copy-file-range.m4: [Define to 1 if the function copy_file_range exists.]) ./staging_dir/host/share/aclocal/gl_unistd_h.m4: ]], [access chdir chown copy_file_range dup dup2 dup3 environ euidaccess ./staging_dir/host/share/aclocal/gl_relocatable.m4: AC_CHECK_FUNCS([copy_file_range]) ./staging_dir/host/share/aclocal/gl_relocatable.m4: if test $ac_cv_func_copy_file_range = yes; then ./staging_dir/host/share/gnulib/ChangeLog: * lib/unistd.in.h (copy_file_range): Likewise. ./staging_dir/host/share/gnulib/ChangeLog: glibc, test for copy_file_range using gl_CHECK_FUNCS_ANDROID instead of ./staging_dir/host/share/gnulib/ChangeLog: * doc/glibc-functions/copy_file_range.texi: Mention the Android API ./staging_dir/host/share/gnulib/ChangeLog: that copy_file_range is used. Problem reported for Gentoo by ./staging_dir/host/share/gnulib/ChangeLog: (copy_file_range): Use a stub to replace the copy_file_range of ./staging_dir/host/share/gnulib/ChangeLog: * lib/unistd.in.h (copy_file_range): ./staging_dir/host/share/gnulib/ChangeLog: Support replacement of copy_file_range. ./staging_dir/host/share/gnulib/ChangeLog: Define HAVE_COPY_FILE_RANGE if the system has copy_file_range, ./staging_dir/host/share/gnulib/ChangeLog: * lib/unistd.in.h (copy_file_range): Don't assume that copy_file_range ./staging_dir/host/share/gnulib/ChangeLog: * m4/unistd_h.m4 (gl_UNISTD_H): Test whether copy_file_range is ./staging_dir/host/share/gnulib/ChangeLog: doc: Mention copy_file_range. ./staging_dir/host/share/gnulib/ChangeLog: Just call it copy_file_range. ./staging_dir/host/share/gnulib/ChangeLog: copy-file: prefer copy_file_range ./staging_dir/host/share/gnulib/ChangeLog: copy_file_range does not suffice. If the allocation fails ./staging_dir/host/share/gnulib/ChangeLog: Prefer copy_file_range if it works. ./staging_dir/host/share/gnulib/ChangeLog: * lib/unistd.in.h (copy_file_range): Declare. ./staging_dir/host/share/gnulib/lib/copy-file-range.c:/* Stub for copy_file_range ./staging_dir/host/share/gnulib/lib/copy-file-range.c:copy_file_range (int infd, off_t *pinoff, ./staging_dir/host/share/gnulib/lib/copy-file-range.c:#undef copy_file_range ./staging_dir/host/share/gnulib/lib/copy-file-range.c: /* The implementation of copy_file_range (which first appeared in ./staging_dir/host/share/gnulib/lib/copy-file-range.c: return copy_file_range (infd, pinoff, outfd, poutoff, length, flags); ./staging_dir/host/share/gnulib/lib/copy-file-range.c: /* There is little need to emulate copy_file_range with read+write, ./staging_dir/host/share/gnulib/lib/copy-file-range.c: since programs that use copy_file_range must fall back on ./staging_dir/host/share/gnulib/lib/copy-file.c: ssize_t copied = copy_file_range (src_fd, NULL, dest_fd, NULL, len, 0); ./staging_dir/host/share/gnulib/lib/unistd.in.h:# undef copy_file_range ./staging_dir/host/share/gnulib/lib/unistd.in.h:# define copy_file_range rpl_copy_file_range ./staging_dir/host/share/gnulib/lib/unistd.in.h:_GL_FUNCDECL_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./staging_dir/host/share/gnulib/lib/unistd.in.h:_GL_CXXALIAS_RPL (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./staging_dir/host/share/gnulib/lib/unistd.in.h:_GL_FUNCDECL_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./staging_dir/host/share/gnulib/lib/unistd.in.h:_GL_CXXALIAS_SYS (copy_file_range, ssize_t, (int ifd, off_t *ipos, ./staging_dir/host/share/gnulib/lib/unistd.in.h:_GL_CXXALIASWARN (copy_file_range); ./staging_dir/host/share/gnulib/lib/unistd.in.h:# undef copy_file_range ./staging_dir/host/share/gnulib/lib/unistd.in.h:_GL_WARN_ON_USE (copy_file_range, ./staging_dir/host/share/gnulib/lib/unistd.in.h: "copy_file_range is unportable - " ./staging_dir/host/share/gnulib/lib/unistd.in.h: "use gnulib module copy_file_range for portability"); ./staging_dir/host/share/gnulib/m4/relocatable.m4: AC_CHECK_FUNCS([copy_file_range]) ./staging_dir/host/share/gnulib/m4/relocatable.m4: if test $ac_cv_func_copy_file_range = yes; then ./staging_dir/host/share/gnulib/m4/copy-file-range.m4: dnl Persuade glibc to declare copy_file_range. ./staging_dir/host/share/gnulib/m4/copy-file-range.m4: dnl Programs that use copy_file_range must fall back on read+write ./staging_dir/host/share/gnulib/m4/copy-file-range.m4: AC_CACHE_CHECK([for copy_file_range], [gl_cv_func_copy_file_rang], ./staging_dir/host/share/gnulib/m4/copy-file-range.m4: = copy_file_range; ./staging_dir/host/share/gnulib/m4/copy-file-range.m4: [gl_cv_func_copy_file_range=yes], ./staging_dir/host/share/gnulib/m4/copy-file-range.m4: [gl_cv_func_copy_file_range=no]) ./staging_dir/host/share/gnulib/m4/copy-file-range.m4: gl_cv_onwards_func_copy_file_range="$gl_cv_func_copy_file_range" ./staging_dir/host/share/gnulib/m4/copy-file-range.m4: gl_CHECK_FUNCS_ANDROID([copy_file_range], [[#include ]]) ./staging_dir/host/share/gnulib/m4/copy-file-range.m4: gl_cv_func_copy_file_range="$ac_cv_func_copy_file_range" ./staging_dir/host/share/gnulib/m4/copy-file-range.m4: if test "$gl_cv_func_copy_file_range" != yes; then ./staging_dir/host/share/gnulib/m4/copy-file-range.m4: case "$gl_cv_onwards_func_copy_file_range" in ./staging_dir/host/share/gnulib/m4/copy-file-range.m4: [Define to 1 if the function copy_file_range exists.]) ./staging_dir/host/share/gnulib/m4/unistd_h.m4: ]], [access chdir chown copy_file_range dup dup2 dup3 environ euidaccess ./staging_dir/host/share/gnulib/doc/glibc-functions/copy_file_range.texi:@node copy_file_range ./staging_dir/host/share/gnulib/doc/glibc-functions/copy_file_range.texi:@subsection @code{copy_file_range} ./staging_dir/host/share/gnulib/doc/glibc-functions/copy_file_range.texi:@findex copy_file_range ./staging_dir/host/share/gnulib/doc/glibc-functions/copy_file_range.texi:@uref{https://www.kernel.org/doc/man-pages/online/pages/man2/copy_file_range.2.html,,man copy_file_range}. ./staging_dir/host/share/gnulib/doc/gnulib.texi:* copy_file_range:: ./staging_dir/host/share/gnulib/doc/gnulib.texi:@include glibc-functions/copy_file_range.texi ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/include/asm-generic/unistd.h:#define __NR_copy_file_range 285 ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/include/asm-generic/unistd.h:__SYSCALL(__NR_copy_file_range, sys_copy_file_range) ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/include/asm/unistd_64.h:#define __NR_copy_file_range 326 ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/include/asm/unistd_x32.h:#define __NR_copy_file_range (__X32_SYSCALL_BIT + 326) ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/include/asm/unistd_32.h:#define __NR_copy_file_range 377 ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/include/unistd.h:ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned); ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/include/bits/syscall.h:#define __NR_copy_file_range 326 ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/include/bits/syscall.h:#define SYS_copy_file_range 326 ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/include/linux/fuse.h: * - add struct fuse_copy_file_range_out ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/include/linux/fuse.h:struct fuse_copy_file_range_in { ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/include/linux/fuse.h:struct fuse_copy_file_range_out { ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/x86_64-openwrt-linux-musl/include/c++/14.3.0/x86_64-openwrt-linux-musl/bits/c++config.h:/* Define if copy_file_range is available in . */ ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/share/gdb/syscalls/loongarch-linux.xml: ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/share/gdb/syscalls/i386-linux.xml: ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/share/gdb/syscalls/arm-linux.xml: ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/share/gdb/syscalls/mips-o32-linux.xml: ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/share/gdb/syscalls/s390x-linux.xml: ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/share/gdb/syscalls/freebsd.xml: ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/share/gdb/syscalls/ppc-linux.xml: ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/share/gdb/syscalls/s390-linux.xml: ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/share/gdb/syscalls/mips-n32-linux.xml: ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/share/gdb/syscalls/sparc64-linux.xml: ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/share/gdb/syscalls/aarch64-linux.xml: ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/share/gdb/syscalls/mips-n64-linux.xml: ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/share/gdb/syscalls/amd64-linux.xml: ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/share/gdb/syscalls/ppc64-linux.xml: ./staging_dir/toolchain-x86_64_gcc-14.3.0_musl/share/gdb/syscalls/sparc-linux.xml: