Lines Matching refs:num_bytes

821 			    u64 bytenr, u64 num_bytes)  in get_new_location()  argument
852 if (num_bytes != btrfs_file_extent_disk_num_bytes(leaf, fi)) { in get_new_location()
881 u64 num_bytes; in replace_file_extents() local
910 num_bytes = btrfs_file_extent_disk_num_bytes(leaf, fi); in replace_file_extents()
956 bytenr, num_bytes); in replace_file_extents()
970 ref.num_bytes = num_bytes; in replace_file_extents()
984 ref.num_bytes = num_bytes; in replace_file_extents()
1196 ref.num_bytes = blocksize; in replace_path()
1209 ref.num_bytes = blocksize; in replace_path()
1223 ref.num_bytes = blocksize; in replace_path()
1237 ref.num_bytes = blocksize; in replace_path()
1691 u64 num_bytes = 0; in prepare_to_merge() local
1701 num_bytes = rc->merging_rsv_size; in prepare_to_merge()
1702 ret = btrfs_block_rsv_add(fs_info, rc->block_rsv, num_bytes, in prepare_to_merge()
1712 num_bytes, NULL); in prepare_to_merge()
1717 if (num_bytes != rc->merging_rsv_size) { in prepare_to_merge()
1720 num_bytes, NULL); in prepare_to_merge()
2123 u64 num_bytes = 0; in calcu_metadata_size() local
2134 num_bytes += fs_info->nodesize; in calcu_metadata_size()
2146 return num_bytes; in calcu_metadata_size()
2150 struct reloc_control *rc, u64 num_bytes) in refill_metadata_space() argument
2156 rc->reserved_bytes += num_bytes; in refill_metadata_space()
2163 ret = btrfs_block_rsv_refill(fs_info, rc->block_rsv, num_bytes, in refill_metadata_space()
2189 u64 num_bytes; in reserve_metadata_space() local
2191 num_bytes = calcu_metadata_size(rc, node) * 2; in reserve_metadata_space()
2192 return refill_metadata_space(trans, rc, num_bytes); in reserve_metadata_space()
2317 .num_bytes = blocksize, in do_relocation()
2569 u64 num_bytes; in relocate_cowonly_block() local
2579 num_bytes = fs_info->nodesize * nr_levels; in relocate_cowonly_block()
2580 ret = refill_metadata_space(trans, rc, num_bytes); in relocate_cowonly_block()
2685 u64 num_bytes; in prealloc_file_extent_cluster() local
2724 num_bytes = end + 1 - start; in prealloc_file_extent_cluster()
2726 num_bytes, num_bytes, in prealloc_file_extent_cluster()
4260 disk_bytenr + ordered->num_bytes - 1, in btrfs_reloc_clone_csums()