Searched refs:csum_leaves (Results 1 – 2 of 2) sorted by relevance
263 u64 csum_leaves; in btrfs_calculate_inode_block_rsv_size() local265 csum_leaves = btrfs_csum_bytes_to_leaves(fs_info, inode->csum_bytes); in btrfs_calculate_inode_block_rsv_size()266 reserve_size += btrfs_calc_insert_metadata_size(fs_info, csum_leaves); in btrfs_calculate_inode_block_rsv_size()288 u64 csum_leaves; in calc_inode_reservations() local292 csum_leaves = 0; in calc_inode_reservations()294 csum_leaves = btrfs_csum_bytes_to_leaves(fs_info, disk_num_bytes); in calc_inode_reservations()297 nr_extents + csum_leaves); in calc_inode_reservations()
700 u64 csum_leaves = in update_existing_head_ref() local706 btrfs_delayed_refs_rsv_release(fs_info, csum_leaves); in update_existing_head_ref()710 trans->delayed_ref_updates += csum_leaves; in update_existing_head_ref()