Home
last modified time | relevance | path

Searched refs:off_in (Results 1 – 25 of 35) sorted by relevance

12

/third_party/rust/crates/rustix/tests/fs/
Dinvalid_offset.rs166 let mut off_in = u64::MAX; in invalid_offset_copy_file_range() localVariable
168 copy_file_range(&foo, Some(&mut off_in), &bar, Some(&mut off_out), 1).unwrap_err(); in invalid_offset_copy_file_range()
170 let mut off_in = i64::MAX as u64 + 1; in invalid_offset_copy_file_range() localVariable
172 copy_file_range(&foo, Some(&mut off_in), &bar, Some(&mut off_out), 1).unwrap_err(); in invalid_offset_copy_file_range()
174 let mut off_in = 0; in invalid_offset_copy_file_range() localVariable
176 copy_file_range(&foo, Some(&mut off_in), &bar, Some(&mut off_out), 1).unwrap_err(); in invalid_offset_copy_file_range()
178 let mut off_in = 0; in invalid_offset_copy_file_range() localVariable
180 copy_file_range(&foo, Some(&mut off_in), &bar, Some(&mut off_out), 1).unwrap_err(); in invalid_offset_copy_file_range()
182 let mut off_in = 0; in invalid_offset_copy_file_range() localVariable
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/ltp/testcases/kernel/syscalls/copy_file_range/
Dcopy_file_range01.c100 static void test_one(size_t len, loff_t *off_in, loff_t *off_out, char *path) in test_one() argument
109 if (off_in) { in test_one()
110 off_in_value_copy = *off_in; in test_one()
111 sprintf(str_off_in, "%ld", (long)*off_in); in test_one()
142 off_in, off_out, len); in test_one()
149 ret |= check_file_offset("(in)", fd_in, len, off_in, off_new_in); in test_one()
Dcopy_file_range.h43 static int sys_copy_file_range(int fd_in, loff_t *off_in, in sys_copy_file_range() argument
50 return copy_file_range(fd_in, off_in, in sys_copy_file_range()
57 return tst_syscall(__NR_copy_file_range, fd_in, off_in, fd_out, in sys_copy_file_range()
/third_party/musl/src/linux/
Dsplice.c5 ssize_t splice(int fd_in, off_t *off_in, int fd_out, off_t *off_out, size_t len, unsigned flags) in splice() argument
7 return syscall(SYS_splice, fd_in, off_in, fd_out, off_out, len, flags); in splice()
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 … in copy_file_range() argument
7 return syscall(SYS_copy_file_range, fd_in, off_in, fd_out, off_out, len, flags); in copy_file_range()
/third_party/ltp/include/lapi/
Dsplice.h14 static inline ssize_t splice(int fd_in, loff_t *off_in, int fd_out, in splice() argument
17 return tst_syscall(__NR_splice, fd_in, off_in, in splice()
/third_party/rust/crates/rustix/src/fs/
Dcopy_file_range.rs14 off_in: Option<&mut u64>, in copy_file_range()
19 backend::fs::syscalls::copy_file_range(fd_in.as_fd(), off_in, fd_out.as_fd(), off_out, len) in copy_file_range()
/third_party/rust/crates/rustix/src/io/
Dpipe.rs91 off_in: Option<&mut u64>, in splice()
97 backend::io::syscalls::splice(fd_in.as_fd(), off_in, fd_out.as_fd(), off_out, len, flags) in splice()
/third_party/rust/crates/nix/src/
Dfcntl.rs570 off_in: Option<&mut libc::loff_t>,
575 let off_in = off_in localVariable
586 off_in,
599 off_in: Option<&mut libc::loff_t>,
605 let off_in = off_in localVariable
612 let ret = unsafe { libc::splice(fd_in, off_in, fd_out, off_out, len, flags.bits()) };
/third_party/node/deps/uv/src/unix/
Dlinux-syscalls.c225 off_t* off_in, in uv__fs_copy_file_range() argument
234 off_in, in uv__fs_copy_file_range()
Dfreebsd.c293 off_t* off_in, in uv__fs_copy_file_range() argument
300 return copy_file_range(fd_in, off_in, fd_out, off_out, len, flags); in uv__fs_copy_file_range()
Dlinux-syscalls.h66 off_t* off_in,
Dinternal.h361 off_t* off_in,
/third_party/libuv/src/unix/
Dlinux-syscalls.c225 off_t* off_in, in uv__fs_copy_file_range() argument
234 off_in, in uv__fs_copy_file_range()
Dfreebsd.c293 off_t* off_in, in uv__fs_copy_file_range() argument
300 return copy_file_range(fd_in, off_in, fd_out, off_out, len, flags); in uv__fs_copy_file_range()
Dlinux-syscalls.h66 off_t* off_in,
Dinternal.h363 off_t* off_in,
/third_party/rust/crates/rustix/src/backend/libc/io/
Dsyscalls.rs514 off_in: Option<&mut u64>, in splice()
520 let off_in = off_in in splice() localVariable
531 off_in, in splice()
/third_party/libfuse/example/
Dpassthrough_fh.c578 off_t off_in, const char *path_out, in xmp_copy_file_range() argument
586 res = copy_file_range(fi_in->fh, &off_in, fi_out->fh, &off_out, len, in xmp_copy_file_range()
Dpassthrough_ll.c1103 static void lo_copy_file_range(fuse_req_t req, fuse_ino_t ino_in, off_t off_in, in lo_copy_file_range() argument
1115 ino_in, fi_in->fh, off_in, ino_out, fi_out->fh, off_out, in lo_copy_file_range()
1118 res = copy_file_range(fi_in->fh, &off_in, fi_out->fh, &off_out, len, in lo_copy_file_range()
/third_party/rust/crates/rustix/src/backend/libc/fs/
Dsyscalls.rs779 off_in: Option<&mut u64>, in copy_file_range()
789 let off_in_ptr = if let Some(off_in) = &off_in { in copy_file_range()
790 off_in_val = (**off_in) as i64; in copy_file_range()
813 if let Some(off_in) = off_in { in copy_file_range()
814 *off_in = off_in_val as u64; in copy_file_range()
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
Dsyscalls.rs1331 off_in: Option<&mut u64>, in copy_file_range()
1337 _copy_file_range(fd_in, off_in, fd_out, off_out, len, 0).map(|result| result as u64) in copy_file_range()
1343 off_in: Option<&mut u64>, in _copy_file_range()
1353 opt_mut(off_in), in _copy_file_range()
/third_party/rust/crates/rustix/src/backend/linux_raw/io/
Dsyscalls.rs642 off_in: Option<&mut u64>, in splice()
652 opt_mut(off_in), in splice()
/third_party/libfuse/include/
Dfuse.h1266 struct fuse_file_info *fi_in, off_t off_in,
Dfuse_kernel.h1006 uint64_t off_in; member

12