Lines Matching defs:block_group
120 struct inode *lookup_free_space_inode(struct btrfs_block_group *block_group, in lookup_free_space_inode()
214 struct btrfs_block_group *block_group, in create_free_space_inode()
235 struct btrfs_block_group *block_group) in btrfs_remove_free_space_inode()
306 struct btrfs_block_group *block_group, in btrfs_truncate_free_space_cache()
701 struct btrfs_block_group *block_group = ctl->block_group; in recalculate_thresholds() local
906 static int copy_free_space_cache(struct btrfs_block_group *block_group, in copy_free_space_cache()
943 int load_free_space_cache(struct btrfs_block_group *block_group) in load_free_space_cache()
1073 struct btrfs_block_group *block_group, in write_cache_extent_entries()
1202 struct btrfs_block_group *block_group, in write_pinned_extent_entries()
1301 struct btrfs_block_group *block_group, in __btrfs_wait_cache_io()
1358 struct btrfs_block_group *block_group, in btrfs_wait_cache_io()
1382 struct btrfs_block_group *block_group, in __btrfs_write_out_cache()
1520 struct btrfs_block_group *block_group, in btrfs_write_out_cache()
2242 struct btrfs_block_group *block_group = ctl->block_group; in use_bitmap() local
2297 struct btrfs_block_group *block_group = NULL; in insert_into_bitmap() local
2600 int __btrfs_add_free_space(struct btrfs_block_group *block_group, in __btrfs_add_free_space()
2670 static int __btrfs_add_free_space_zoned(struct btrfs_block_group *block_group, in __btrfs_add_free_space_zoned()
2728 int btrfs_add_free_space(struct btrfs_block_group *block_group, in btrfs_add_free_space()
2743 int btrfs_add_free_space_unused(struct btrfs_block_group *block_group, in btrfs_add_free_space_unused()
2758 int btrfs_add_free_space_async_trimmed(struct btrfs_block_group *block_group, in btrfs_add_free_space_async_trimmed()
2774 int btrfs_remove_free_space(struct btrfs_block_group *block_group, in btrfs_remove_free_space()
2887 void btrfs_dump_free_space(struct btrfs_block_group *block_group, in btrfs_dump_free_space()
2924 void btrfs_init_free_space_ctl(struct btrfs_block_group *block_group, in btrfs_init_free_space_ctl()
2953 struct btrfs_block_group *block_group, in __btrfs_return_cluster_to_free_space()
3008 void btrfs_remove_free_space_cache(struct btrfs_block_group *block_group) in btrfs_remove_free_space_cache()
3037 bool btrfs_is_free_space_trimmed(struct btrfs_block_group *block_group) in btrfs_is_free_space_trimmed()
3062 u64 btrfs_find_space_for_alloc(struct btrfs_block_group *block_group, in btrfs_find_space_for_alloc()
3132 struct btrfs_block_group *block_group, in btrfs_return_cluster_to_free_space()
3166 static u64 btrfs_alloc_from_bitmap(struct btrfs_block_group *block_group, in btrfs_alloc_from_bitmap()
3199 u64 btrfs_alloc_from_cluster(struct btrfs_block_group *block_group, in btrfs_alloc_from_cluster()
3298 static int btrfs_bitmap_cluster(struct btrfs_block_group *block_group, in btrfs_bitmap_cluster()
3391 setup_cluster_no_bitmap(struct btrfs_block_group *block_group, in setup_cluster_no_bitmap()
3483 setup_cluster_bitmap(struct btrfs_block_group *block_group, in setup_cluster_bitmap()
3533 int btrfs_find_space_cluster(struct btrfs_block_group *block_group, in btrfs_find_space_cluster()
3625 static int do_trimming(struct btrfs_block_group *block_group, in do_trimming()
3686 static int trim_no_bitmap(struct btrfs_block_group *block_group, in trim_no_bitmap()
3852 static int trim_bitmaps(struct btrfs_block_group *block_group, in trim_bitmaps()
3996 int btrfs_trim_block_group(struct btrfs_block_group *block_group, in btrfs_trim_block_group()
4029 int btrfs_trim_block_group_extents(struct btrfs_block_group *block_group, in btrfs_trim_block_group_extents()
4051 int btrfs_trim_block_group_bitmaps(struct btrfs_block_group *block_group, in btrfs_trim_block_group_bitmaps()
4083 struct btrfs_block_group *block_group; in cleanup_free_space_cache_v1() local