Searched refs:num_extents (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/fs/btrfs/tests/ |
D | free-space-tree-tests.c | 24 unsigned int num_extents) in __check_free_space_extents() argument 43 if (extent_count != num_extents) { in __check_free_space_extents() 63 if (i >= num_extents || in __check_free_space_extents() 74 if (i >= num_extents || in __check_free_space_extents() 80 if (i != num_extents) in __check_free_space_extents() 83 if (btrfs_header_nritems(path->nodes[0]) != num_extents + 1 || in __check_free_space_extents() 86 for (i = 0; i < num_extents; i++) { in __check_free_space_extents() 111 unsigned int num_extents) in check_free_space_extents() argument 127 num_extents); in check_free_space_extents() 146 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-5.19.10/fs/btrfs/ |
D | delalloc-space.c | 413 unsigned num_extents; in btrfs_delalloc_release_extents() local 416 num_extents = count_max_extents(fs_info, num_bytes); in btrfs_delalloc_release_extents() 417 btrfs_mod_outstanding_extents(inode, -num_extents); in btrfs_delalloc_release_extents()
|
D | dev-replace.c | 572 int num_extents, cur_extent; in btrfs_finish_block_group_to_copy() local 590 num_extents = cur_extent = 0; in btrfs_finish_block_group_to_copy() 596 num_extents++; in btrfs_finish_block_group_to_copy() 603 if (num_extents > 1 && cur_extent < num_extents - 1) { in btrfs_finish_block_group_to_copy()
|
D | inode.c | 2251 u32 num_extents; in btrfs_split_delalloc_extent() local 2259 num_extents = count_max_extents(fs_info, new_size); in btrfs_split_delalloc_extent() 2261 num_extents += count_max_extents(fs_info, new_size); in btrfs_split_delalloc_extent() 2262 if (count_max_extents(fs_info, size) >= num_extents) in btrfs_split_delalloc_extent() 2281 u32 num_extents; in btrfs_merge_delalloc_extent() local 2319 num_extents = count_max_extents(fs_info, old_size); in btrfs_merge_delalloc_extent() 2321 num_extents += count_max_extents(fs_info, old_size); in btrfs_merge_delalloc_extent() 2322 if (count_max_extents(fs_info, new_size) >= num_extents) in btrfs_merge_delalloc_extent() 2401 u32 num_extents = count_max_extents(fs_info, len); in btrfs_set_delalloc_extent() local 2405 btrfs_mod_outstanding_extents(BTRFS_I(inode), num_extents); in btrfs_set_delalloc_extent() [all …]
|
/linux-5.19.10/fs/ecryptfs/ |
D | inode.c | 698 loff_t num_extents; in upper_size_to_lower_size() local 700 num_extents = upper_size >> crypt_stat->extent_shift; in upper_size_to_lower_size() 702 num_extents++; in upper_size_to_lower_size() 703 lower_size += (num_extents * crypt_stat->extent_size); in upper_size_to_lower_size()
|