Searched refs:num_extents (Results 1 – 4 of 4) sorted by relevance
385 const int num_extents, in check_num_extents_and_bitmaps() argument388 if (cache->free_space_ctl->free_extents != num_extents) { in check_num_extents_and_bitmaps()390 cache->free_space_ctl->free_extents, num_extents); in check_num_extents_and_bitmaps()
714 loff_t num_extents; in upper_size_to_lower_size() local716 num_extents = upper_size >> crypt_stat->extent_shift; in upper_size_to_lower_size()718 num_extents++; in upper_size_to_lower_size()719 lower_size += (num_extents * crypt_stat->extent_size); in upper_size_to_lower_size()
1611 u64 num_extents; in btrfs_split_extent_hook() local1619 num_extents = div64_u64(new_size + BTRFS_MAX_EXTENT_SIZE - 1, in btrfs_split_extent_hook()1622 num_extents += div64_u64(new_size + BTRFS_MAX_EXTENT_SIZE - 1, in btrfs_split_extent_hook()1625 BTRFS_MAX_EXTENT_SIZE) >= num_extents) in btrfs_split_extent_hook()1645 u64 num_extents; in btrfs_merge_extent_hook() local1683 num_extents = div64_u64(old_size + BTRFS_MAX_EXTENT_SIZE - 1, in btrfs_merge_extent_hook()1686 num_extents += div64_u64(old_size + BTRFS_MAX_EXTENT_SIZE - 1, in btrfs_merge_extent_hook()1690 BTRFS_MAX_EXTENT_SIZE) >= num_extents) in btrfs_merge_extent_hook()1792 u64 num_extents = div64_u64(len + BTRFS_MAX_EXTENT_SIZE -1, in btrfs_clear_bit_hook() local1813 BTRFS_I(inode)->outstanding_extents -= num_extents; in btrfs_clear_bit_hook()[all …]
5534 unsigned num_extents = 0; in drop_outstanding_extent() local5536 num_extents = (unsigned)div64_u64(num_bytes + in drop_outstanding_extent()5539 ASSERT(num_extents); in drop_outstanding_extent()5540 ASSERT(BTRFS_I(inode)->outstanding_extents >= num_extents); in drop_outstanding_extent()5541 BTRFS_I(inode)->outstanding_extents -= num_extents; in drop_outstanding_extent()