Searched refs:num_extents (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/fs/btrfs/tests/ |
D | free-space-tree-tests.c | 25 unsigned int num_extents) in __check_free_space_extents() argument 44 if (extent_count != 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() 147 num_extents); in check_free_space_extents()
|
D | free-space-tests.c | 334 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-6.6.21/fs/btrfs/ |
D | delalloc-space.c | 429 unsigned num_extents; in btrfs_delalloc_release_extents() local 432 num_extents = count_max_extents(fs_info, num_bytes); in btrfs_delalloc_release_extents() 433 btrfs_mod_outstanding_extents(inode, -num_extents); in btrfs_delalloc_release_extents()
|
D | dev-replace.c | 555 int num_extents, cur_extent; in btrfs_finish_block_group_to_copy() local 573 num_extents = 0; in btrfs_finish_block_group_to_copy() 580 num_extents++; in btrfs_finish_block_group_to_copy() 587 if (num_extents > 1 && cur_extent < num_extents - 1) { in btrfs_finish_block_group_to_copy()
|
D | inode.c | 2299 u32 num_extents; in btrfs_split_delalloc_extent() local 2307 num_extents = count_max_extents(fs_info, new_size); in btrfs_split_delalloc_extent() 2309 num_extents += count_max_extents(fs_info, new_size); in btrfs_split_delalloc_extent() 2310 if (count_max_extents(fs_info, size) >= num_extents) in btrfs_split_delalloc_extent() 2329 u32 num_extents; in btrfs_merge_delalloc_extent() local 2367 num_extents = count_max_extents(fs_info, old_size); in btrfs_merge_delalloc_extent() 2369 num_extents += count_max_extents(fs_info, old_size); in btrfs_merge_delalloc_extent() 2370 if (count_max_extents(fs_info, new_size) >= num_extents) in btrfs_merge_delalloc_extent() 2446 u32 num_extents = count_max_extents(fs_info, len); in btrfs_set_delalloc_extent() local 2450 btrfs_mod_outstanding_extents(inode, num_extents); in btrfs_set_delalloc_extent() [all …]
|
/linux-6.6.21/fs/ecryptfs/ |
D | inode.c | 708 loff_t num_extents; in upper_size_to_lower_size() local 710 num_extents = upper_size >> crypt_stat->extent_shift; in upper_size_to_lower_size() 712 num_extents++; in upper_size_to_lower_size() 713 lower_size += (num_extents * crypt_stat->extent_size); in upper_size_to_lower_size()
|