Lines Matching refs:num_bytes

813 			    u64 bytenr, u64 num_bytes)  in get_new_location()  argument
842 if (num_bytes != btrfs_file_extent_disk_num_bytes(leaf, fi)) in get_new_location()
866 u64 num_bytes; in replace_file_extents() local
895 num_bytes = btrfs_file_extent_disk_num_bytes(leaf, fi); in replace_file_extents()
941 bytenr, num_bytes); in replace_file_extents()
955 ref.num_bytes = num_bytes; in replace_file_extents()
969 ref.num_bytes = num_bytes; in replace_file_extents()
1181 ref.num_bytes = blocksize; in replace_path()
1194 ref.num_bytes = blocksize; in replace_path()
1208 ref.num_bytes = blocksize; in replace_path()
1222 ref.num_bytes = blocksize; in replace_path()
1676 u64 num_bytes = 0; in prepare_to_merge() local
1686 num_bytes = rc->merging_rsv_size; in prepare_to_merge()
1687 ret = btrfs_block_rsv_add(fs_info, rc->block_rsv, num_bytes, in prepare_to_merge()
1697 num_bytes, NULL); in prepare_to_merge()
1702 if (num_bytes != rc->merging_rsv_size) { in prepare_to_merge()
1705 num_bytes, NULL); in prepare_to_merge()
2108 u64 num_bytes = 0; in calcu_metadata_size() local
2119 num_bytes += fs_info->nodesize; in calcu_metadata_size()
2131 return num_bytes; in calcu_metadata_size()
2135 struct reloc_control *rc, u64 num_bytes) in refill_metadata_space() argument
2141 rc->reserved_bytes += num_bytes; in refill_metadata_space()
2148 ret = btrfs_block_rsv_refill(fs_info, rc->block_rsv, num_bytes, in refill_metadata_space()
2174 u64 num_bytes; in reserve_metadata_space() local
2176 num_bytes = calcu_metadata_size(rc, node) * 2; in reserve_metadata_space()
2177 return refill_metadata_space(trans, rc, num_bytes); in reserve_metadata_space()
2302 .num_bytes = blocksize, in do_relocation()
2554 u64 num_bytes; in relocate_cowonly_block() local
2564 num_bytes = fs_info->nodesize * nr_levels; in relocate_cowonly_block()
2565 ret = refill_metadata_space(trans, rc, num_bytes); in relocate_cowonly_block()
2670 u64 num_bytes; in prealloc_file_extent_cluster() local
2709 num_bytes = end + 1 - start; in prealloc_file_extent_cluster()
2711 num_bytes, num_bytes, in prealloc_file_extent_cluster()
4229 disk_bytenr + ordered->num_bytes - 1, in btrfs_reloc_clone_csums()