Searched refs:count_max_extents (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | delalloc-space.c | 287 u64 nr_extents = count_max_extents(fs_info, num_bytes); in calc_inode_reservations() 365 nr_extents = count_max_extents(fs_info, num_bytes); in btrfs_delalloc_reserve_metadata() 432 num_extents = count_max_extents(fs_info, num_bytes); in btrfs_delalloc_release_extents()
|
H A D | fs.h | 871 static inline u32 count_max_extents(struct btrfs_fs_info *fs_info, u64 size) in count_max_extents() function
|
H A D | inode.c | 2309 num_extents = count_max_extents(fs_info, new_size); in btrfs_split_delalloc_extent() 2311 num_extents += count_max_extents(fs_info, new_size); in btrfs_split_delalloc_extent() 2312 if (count_max_extents(fs_info, size) >= num_extents) in btrfs_split_delalloc_extent() 2369 num_extents = count_max_extents(fs_info, old_size); in btrfs_merge_delalloc_extent() 2371 num_extents += count_max_extents(fs_info, old_size); in btrfs_merge_delalloc_extent() 2372 if (count_max_extents(fs_info, new_size) >= num_extents) in btrfs_merge_delalloc_extent() 2448 u32 num_extents = count_max_extents(fs_info, len); in btrfs_set_delalloc_extent() 2488 u32 num_extents = count_max_extents(fs_info, len); in btrfs_clear_delalloc_extent()
|