H A D | copy.c | 51 int copy_bytes(int fdf, int fdt, uint64_t max_bytes, bool try_reflink) { argument 56 assert(fdt >= 0); 62 lseek(fdt, 0, SEEK_CUR) == 0) { 64 r = btrfs_reflink(fdf, fdt); 85 n = sendfile(fdt, fdf, NULL, m); 101 n = splice(fdf, NULL, fdt, NULL, m, 0); 125 r = loop_write(fdt, buf, (size_t) n, false); 162 _cleanup_close_ int fdf = -1, fdt = -1; local 174 fdt = openat(dt, to, O_WRONLY|O_CREAT|O_EXCL|O_CLOEXEC|O_NOCTTY|O_NOFOLLOW, st->st_mode & 07777); 175 if (fdt < 256 _cleanup_close_ int fdf = -1, fdt = -1; local 302 (void) copy_xattr(dirfd(d), fdt); local 343 copy_tree_at(int fdf, const char *from, int fdt, const char *to, bool merge) argument 386 copy_file_fd(const char *from, int fdt, bool try_reflink) argument 406 int fdt = -1, r; local 464 copy_times(int fdf, int fdt) argument 487 copy_xattr(int fdf, int fdt) argument [all...] |