/third_party/rust/crates/rustix/tests/fs/ |
H A D | invalid_offset.rs | 146 use rustix::fs::{copy_file_range, cwd, openat, Mode, OFlags}; in invalid_offset_copy_file_range() 168 copy_file_range(&foo, Some(&mut off_in), &bar, Some(&mut off_out), 1).unwrap_err(); in invalid_offset_copy_file_range() 172 copy_file_range(&foo, Some(&mut off_in), &bar, Some(&mut off_out), 1).unwrap_err(); in invalid_offset_copy_file_range() 176 copy_file_range(&foo, Some(&mut off_in), &bar, Some(&mut off_out), 1).unwrap_err(); in invalid_offset_copy_file_range() 180 copy_file_range(&foo, Some(&mut off_in), &bar, Some(&mut off_out), 1).unwrap_err(); in invalid_offset_copy_file_range() 184 copy_file_range(&foo, Some(&mut off_in), &bar, Some(&mut off_out), 1).unwrap_err(); in invalid_offset_copy_file_range()
|
/third_party/rust/crates/rustix/src/fs/ |
H A D | copy_file_range.rs | 4 /// `copy_file_range(fd_in, off_in, fd_out, off_out, len, 0)`—Copies data 10 /// [Linux]: https://man7.org/linux/man-pages/man2/copy_file_range.2.html 12 pub fn copy_file_range<InFd: AsFd, OutFd: AsFd>( in copy_file_range() functions 19 backend::fs::syscalls::copy_file_range(fd_in.as_fd(), off_in, fd_out.as_fd(), off_out, len) in copy_file_range()
|
H A D | mod.rs | 8 mod copy_file_range; modules 109 pub use copy_file_range::copy_file_range;
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | copy_file_range.c | 60 result = copy_file_range(fd_in, NULL, fd_out, NULL, wlen, 0); in copy_file_range_0100() 62 t_error("%s copy_file_range failed\n", __func__); in copy_file_range_0100() 93 int result = copy_file_range(-1, NULL, -1, NULL, 0, 0); in copy_file_range_0200() 95 t_error("%s copy_file_range should failed, result is %d\n", __func__, result); in copy_file_range_0200() 139 result = copy_file_range(fd_in, NULL, fd_out, NULL, wlen, 0); in copy_file_range_0300() 141 t_error("%s copy_file_range should failded\n", __func__); in copy_file_range_0300()
|
/third_party/musl/src/linux/ |
H A D | copy_file_range.c | 5 ssize_t copy_file_range(int fd_in, off_t *off_in, int fd_out, off_t *off_out, size_t len, unsigned flags) in copy_file_range() function
|
/third_party/ltp/testcases/kernel/syscalls/copy_file_range/ |
H A D | copy_file_range.h | 36 tst_res(TINFO, "Testing libc copy_file_range()"); in syscall_info() 50 return copy_file_range(fd_in, off_in, in sys_copy_file_range() 53 tst_brk(TCONF, "libc copy_file_range() not supported"); in sys_copy_file_range()
|
/third_party/libfuse/example/ |
H A D | passthrough_fh.c | 586 res = copy_file_range(fi_in->fh, &off_in, fi_out->fh, &off_out, len, in xmp_copy_file_range() 652 .copy_file_range = xmp_copy_file_range,
|
H A D | passthrough.c | 473 res = copy_file_range(fd_in, &offset_in, fd_out, &offset_out, len, in xmp_copy_file_range() 545 .copy_file_range = xmp_copy_file_range,
|
H A D | passthrough_ll.c | 1118 res = copy_file_range(fi_in->fh, &off_in, fi_out->fh, &off_out, len, in lo_copy_file_range() 1176 .copy_file_range = lo_copy_file_range,
|
/third_party/libuv/src/unix/ |
H A D | freebsd.c | 281 return copy_file_range(fd_in, off_in, fd_out, off_out, len, flags); in uv__fs_copy_file_range()
|
/third_party/node/deps/uv/src/unix/ |
H A D | freebsd.c | 300 return copy_file_range(fd_in, off_in, fd_out, off_out, len, flags); in uv__fs_copy_file_range()
|
/third_party/musl/porting/liteos_a/user/include/ |
H A D | unistd.h | 216 ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | unistd.h | 191 ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned);
|
/third_party/musl/porting/linux/user/include/ |
H A D | unistd.h | 218 ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | unistd.h | 216 ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | unistd.h | 191 ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | unistd.h | 196 ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | unistd.h | 191 ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned);
|
/third_party/musl/include/ |
H A D | unistd.h | 255 ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned);
|
/third_party/libfuse/include/ |
H A D | fuse.h | 818 ssize_t (*copy_file_range) (const char *path_in, member
|
H A D | fuse_lowlevel.h | 1240 * future copy_file_range() requests will fail with EOPNOTSUPP without 1255 * @param flags passed along with the copy_file_range() syscall 1257 void (*copy_file_range) (fuse_req_t req, fuse_ino_t ino_in, member
|
/third_party/rust/crates/nix/test/ |
H A D | test_fcntl.rs | 247 /// 'foobarbaz' and uses the `copy_file_range` call to transfer 253 // QEMU does not support copy_file_range. Skip under qemu 265 copy_file_range( in test_copy_file_range()
|
/third_party/rust/crates/rustix/src/backend/libc/fs/ |
H A D | syscalls.rs | 777 pub(crate) fn copy_file_range(
|
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/ |
H A D | syscalls.rs | 1329 pub(crate) fn copy_file_range(
|
/third_party/libfuse/lib/ |
H A D | fuse.c | 2322 if (fs->op.copy_file_range) { in fuse_fs_copy_file_range() 2324 fuse_log(FUSE_LOG_DEBUG, "copy_file_range from %s:%llu to " in fuse_fs_copy_file_range() 2332 return fs->op.copy_file_range(path_in, fi_in, off_in, path_out, in fuse_fs_copy_file_range() 4475 .copy_file_range = fuse_lib_copy_file_range,
|