Home
last modified time | relevance | path

Searched refs:csum_leaves (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Ddelalloc-space.c263 u64 csum_leaves; in btrfs_calculate_inode_block_rsv_size() local
265 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() local
292 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()
H A Ddelayed-ref.c700 u64 csum_leaves = in update_existing_head_ref() local
706 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()