Searched refs:dest_fd (Results 1 – 2 of 2) sorted by relevance
/coreutils/src/ |
D | install.c | 173 int src_fd, dest_fd; in need_copy() local 243 dest_fd = openat (dest_dirfd, dest_relname, O_RDONLY | O_BINARY); in need_copy() 244 if (dest_fd < 0) in need_copy() 250 content_match = have_same_content (src_fd, dest_fd); in need_copy() 253 close (dest_fd); in need_copy()
|
D | copy.c | 313 sparse_copy (int src_fd, int dest_fd, char **abuf, size_t buf_size, in sparse_copy() argument 336 ssize_t n_copied = copy_file_range (src_fd, nullptr, dest_fd, nullptr, in sparse_copy() 428 if (full_write (dest_fd, pbuf, psize) != psize) in sparse_copy() 437 if (! create_hole (dest_fd, dst_name, punch_holes, psize)) in sparse_copy() 478 if (make_hole && ! create_hole (dest_fd, dst_name, punch_holes, psize)) in sparse_copy() 487 clone_file (int dest_fd, int src_fd) in clone_file() argument 490 return ioctl (dest_fd, FICLONE, src_fd); in clone_file() 492 (void) dest_fd; in clone_file() 545 lseek_copy (int src_fd, int dest_fd, char **abuf, size_t buf_size, in lseek_copy() argument 594 if (! create_hole (dest_fd, dst_name, in lseek_copy() [all …]
|