Lines Matching refs:cluster_size
67 uint64_t cluster_size, in copy_cluster() argument
73 r = btrfs_clone_range(sfd, soffset, dfd, doffset, cluster_size); in copy_cluster()
77 l = pread(sfd, buffer, cluster_size, soffset); in copy_cluster()
80 if ((uint64_t) l != cluster_size) in copy_cluster()
83 l = pwrite(dfd, buffer, cluster_size, doffset); in copy_cluster()
86 if ((uint64_t) l != cluster_size) in copy_cluster()
96 uint64_t cluster_size, in decompress_cluster() argument
106 if (compressed_size > cluster_size) { in decompress_cluster()
126 s.avail_out = cluster_size; in decompress_cluster()
135 if (r != Z_STREAM_END || sz != cluster_size) in decompress_cluster()
138 l = pwrite(dfd, buffer2, cluster_size, doffset); in decompress_cluster()
141 if ((uint64_t) l != cluster_size) in decompress_cluster()