Lines Matching refs:btrfs_block_group

67 static int block_group_bits(struct btrfs_block_group *cache, u64 bits)  in block_group_bits()
81 void btrfs_free_excluded_extents(struct btrfs_block_group *cache) in btrfs_free_excluded_extents()
2508 struct btrfs_block_group *bg; in first_logical_byte()
2510 bg = rb_entry(leftmost, struct btrfs_block_group, cache_node); in first_logical_byte()
2519 struct btrfs_block_group *cache, in pin_down_extent()
2544 struct btrfs_block_group *cache; in btrfs_pin_extent()
2561 struct btrfs_block_group *cache; in btrfs_pin_extent_for_log_replay()
2589 struct btrfs_block_group *block_group; in __exclude_logged_extent()
2638 btrfs_inc_block_group_reservations(struct btrfs_block_group *bg) in btrfs_inc_block_group_reservations()
2676 struct btrfs_block_group *cache = NULL; in unpin_extent_range()
2768 struct btrfs_block_group *block_group, *tmp; in btrfs_finish_extent_commit()
3287 struct btrfs_block_group *cache; in btrfs_free_tree_block()
3394 btrfs_lock_block_group(struct btrfs_block_group *cache, in btrfs_lock_block_group()
3401 static inline void btrfs_grab_block_group(struct btrfs_block_group *cache, in btrfs_grab_block_group()
3409 static struct btrfs_block_group *btrfs_lock_cluster( in btrfs_lock_cluster()
3410 struct btrfs_block_group *block_group, in btrfs_lock_cluster()
3415 struct btrfs_block_group *used_bg = NULL; in btrfs_lock_cluster()
3449 btrfs_release_block_group(struct btrfs_block_group *cache, in btrfs_release_block_group()
3465 static int find_free_extent_clustered(struct btrfs_block_group *bg, in find_free_extent_clustered()
3467 struct btrfs_block_group **cluster_bg_ret) in find_free_extent_clustered()
3469 struct btrfs_block_group *cluster_bg; in find_free_extent_clustered()
3566 static int find_free_extent_unclustered(struct btrfs_block_group *bg, in find_free_extent_unclustered()
3625 static int do_allocation_clustered(struct btrfs_block_group *block_group, in do_allocation_clustered()
3627 struct btrfs_block_group **bg_ret) in do_allocation_clustered()
3663 static int do_allocation_zoned(struct btrfs_block_group *block_group, in do_allocation_zoned()
3665 struct btrfs_block_group **bg_ret) in do_allocation_zoned()
3830 static int do_allocation(struct btrfs_block_group *block_group, in do_allocation()
3832 struct btrfs_block_group **bg_ret) in do_allocation()
3844 static void release_block_group(struct btrfs_block_group *block_group, in release_block_group()
4062 struct btrfs_block_group *bg) in find_free_extent_check_size_class()
4187 struct btrfs_block_group *block_group = NULL; in find_free_extent()
4278 struct btrfs_block_group *bg_ret; in find_free_extent()
4532 struct btrfs_block_group *cache; in btrfs_free_reserved_extent()
4552 struct btrfs_block_group *cache; in btrfs_pin_reserved_extent()
4756 struct btrfs_block_group *block_group; in btrfs_alloc_logged_file_extent()
6043 struct btrfs_block_group *cache = NULL; in btrfs_trim_fs()