Home
last modified time | relevance | path

Searched refs:num_extents (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/fs/btrfs/tests/
Dfree-space-tree-tests.c23 unsigned int num_extents) in __check_free_space_extents() argument
42 if (extent_count != num_extents) { in __check_free_space_extents()
62 if (i >= num_extents) in __check_free_space_extents()
64 if (i >= num_extents || in __check_free_space_extents()
75 if (i >= num_extents || in __check_free_space_extents()
81 if (i != num_extents) in __check_free_space_extents()
84 if (btrfs_header_nritems(path->nodes[0]) != num_extents + 1 || in __check_free_space_extents()
87 for (i = 0; i < num_extents; i++) { in __check_free_space_extents()
112 unsigned int num_extents) in check_free_space_extents() argument
128 num_extents); in check_free_space_extents()
[all …]
Dfree-space-tests.c334 const int num_extents, in check_num_extents_and_bitmaps() argument
337 if (cache->free_space_ctl->free_extents != num_extents) { in check_num_extents_and_bitmaps()
340 cache->free_space_ctl->free_extents, num_extents); in check_num_extents_and_bitmaps()
/linux-4.19.296/fs/ecryptfs/
Dinode.c693 loff_t num_extents; in upper_size_to_lower_size() local
695 num_extents = upper_size >> crypt_stat->extent_shift; in upper_size_to_lower_size()
697 num_extents++; in upper_size_to_lower_size()
698 lower_size += (num_extents * crypt_stat->extent_size); in upper_size_to_lower_size()
/linux-4.19.296/fs/btrfs/
Dinode.c1684 u32 num_extents; in btrfs_split_extent_hook() local
1692 num_extents = count_max_extents(new_size); in btrfs_split_extent_hook()
1694 num_extents += count_max_extents(new_size); in btrfs_split_extent_hook()
1695 if (count_max_extents(size) >= num_extents) in btrfs_split_extent_hook()
1716 u32 num_extents; in btrfs_merge_extent_hook() local
1754 num_extents = count_max_extents(old_size); in btrfs_merge_extent_hook()
1756 num_extents += count_max_extents(old_size); in btrfs_merge_extent_hook()
1757 if (count_max_extents(new_size) >= num_extents) in btrfs_merge_extent_hook()
1839 u32 num_extents = count_max_extents(len); in btrfs_set_bit_hook() local
1843 btrfs_mod_outstanding_extents(BTRFS_I(inode), num_extents); in btrfs_set_bit_hook()
[all …]
Dextent-tree.c5994 unsigned num_extents; in btrfs_delalloc_release_extents() local
5997 num_extents = count_max_extents(num_bytes); in btrfs_delalloc_release_extents()
5998 btrfs_mod_outstanding_extents(inode, -num_extents); in btrfs_delalloc_release_extents()