Lines Matching refs:btrfs_block_group_cache

32 static void recalculate_thresholds(struct btrfs_block_group_cache
34 static int link_free_space(struct btrfs_block_group_cache *block_group,
38 struct btrfs_block_group_cache in lookup_free_space_inode()
99 struct btrfs_block_group_cache *block_group, in create_free_space_inode()
213 struct btrfs_block_group_cache *block_group) in load_free_space_cache()
503 struct btrfs_block_group_cache *block_group, in btrfs_write_out_cache()
867 static inline u64 offset_to_bitmap(struct btrfs_block_group_cache *block_group, in offset_to_bitmap()
935 tree_search_offset(struct btrfs_block_group_cache *block_group, in tree_search_offset()
1062 __unlink_free_space(struct btrfs_block_group_cache *block_group, in __unlink_free_space()
1069 static void unlink_free_space(struct btrfs_block_group_cache *block_group, in unlink_free_space()
1076 static int link_free_space(struct btrfs_block_group_cache *block_group, in link_free_space()
1092 static void recalculate_thresholds(struct btrfs_block_group_cache *block_group) in recalculate_thresholds()
1133 static void bitmap_clear_bits(struct btrfs_block_group_cache *block_group, in bitmap_clear_bits()
1151 static void bitmap_set_bits(struct btrfs_block_group_cache *block_group, in bitmap_set_bits()
1169 static int search_bitmap(struct btrfs_block_group_cache *block_group, in search_bitmap()
1203 static struct btrfs_free_space *find_free_space(struct btrfs_block_group_cache in find_free_space()
1240 static void add_new_bitmap(struct btrfs_block_group_cache *block_group, in add_new_bitmap()
1256 static void free_bitmap(struct btrfs_block_group_cache *block_group, in free_bitmap()
1266 static noinline int remove_from_bitmap(struct btrfs_block_group_cache *block_group, in remove_from_bitmap()
1347 static int insert_into_bitmap(struct btrfs_block_group_cache *block_group, in insert_into_bitmap()
1458 bool try_merge_free_space(struct btrfs_block_group_cache *block_group, in try_merge_free_space()
1504 int btrfs_add_free_space(struct btrfs_block_group_cache *block_group, in btrfs_add_free_space()
1549 int btrfs_remove_free_space(struct btrfs_block_group_cache *block_group, in btrfs_remove_free_space()
1666 void btrfs_dump_free_space(struct btrfs_block_group_cache *block_group, in btrfs_dump_free_space()
1688 u64 btrfs_block_group_free_space(struct btrfs_block_group_cache *block_group) in btrfs_block_group_free_space()
1711 struct btrfs_block_group_cache *block_group, in __btrfs_return_cluster_to_free_space()
1747 void btrfs_remove_free_space_cache(struct btrfs_block_group_cache *block_group) in btrfs_remove_free_space_cache()
1788 u64 btrfs_find_space_for_alloc(struct btrfs_block_group_cache *block_group, in btrfs_find_space_for_alloc()
1830 struct btrfs_block_group_cache *block_group, in btrfs_return_cluster_to_free_space()
1861 static u64 btrfs_alloc_from_bitmap(struct btrfs_block_group_cache *block_group, in btrfs_alloc_from_bitmap()
1890 u64 btrfs_alloc_from_cluster(struct btrfs_block_group_cache *block_group, in btrfs_alloc_from_cluster()
1972 static int btrfs_bitmap_cluster(struct btrfs_block_group_cache *block_group, in btrfs_bitmap_cluster()
2042 static int setup_cluster_no_bitmap(struct btrfs_block_group_cache *block_group, in setup_cluster_no_bitmap()
2137 static int setup_cluster_bitmap(struct btrfs_block_group_cache *block_group, in setup_cluster_bitmap()
2179 struct btrfs_block_group_cache *block_group, in btrfs_find_space_cluster()
2253 int btrfs_trim_block_group(struct btrfs_block_group_cache *block_group, in btrfs_trim_block_group()