Home
last modified time | relevance | path

Searched refs:copy_file_range (Results 1 - 25 of 31) sorted by relevance

12

/third_party/rust/crates/rustix/tests/fs/
H A Dinvalid_offset.rs146 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 Dcopy_file_range.rs4 /// `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 Dmod.rs8 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 Dcopy_file_range.c60 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 Dcopy_file_range.c5 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 Dcopy_file_range.h36 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 Dpassthrough_fh.c586 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 Dpassthrough.c473 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 Dpassthrough_ll.c1118 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 Dfreebsd.c281 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 Dfreebsd.c300 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 Dunistd.h216 ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned);
/third_party/musl/porting/uniproton/kernel/include/
H A Dunistd.h191 ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned);
/third_party/musl/porting/linux/user/include/
H A Dunistd.h218 ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned);
/third_party/musl/porting/liteos_m/user/include/
H A Dunistd.h216 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 Dunistd.h191 ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dunistd.h196 ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dunistd.h191 ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned);
/third_party/musl/include/
H A Dunistd.h255 ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned);
/third_party/libfuse/include/
H A Dfuse.h818 ssize_t (*copy_file_range) (const char *path_in, member
H A Dfuse_lowlevel.h1240 * 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 Dtest_fcntl.rs247 /// '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 Dsyscalls.rs777 pub(crate) fn copy_file_range(
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
H A Dsyscalls.rs1329 pub(crate) fn copy_file_range(
/third_party/libfuse/lib/
H A Dfuse.c2322 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,

Completed in 30 milliseconds

12