Lines Matching refs:btrfs_block_group

64 static int block_group_bits(const struct btrfs_block_group *cache, u64 bits)  in block_group_bits()
2583 struct btrfs_block_group *bg; in first_logical_byte()
2585 bg = rb_entry(leftmost, struct btrfs_block_group, cache_node); in first_logical_byte()
2594 struct btrfs_block_group *cache, in pin_down_extent()
2616 struct btrfs_block_group *cache; in btrfs_pin_extent()
2630 struct btrfs_block_group *cache; in btrfs_pin_extent_for_log_replay()
2658 struct btrfs_block_group *block_group; in __exclude_logged_extent()
2707 btrfs_inc_block_group_reservations(struct btrfs_block_group *bg) in btrfs_inc_block_group_reservations()
2745 struct btrfs_block_group *cache = NULL; in unpin_extent_range()
2826 struct btrfs_block_group *block_group, *tmp; in btrfs_finish_extent_commit()
3443 struct btrfs_block_group *bg; in btrfs_free_tree_block()
3591 btrfs_lock_block_group(struct btrfs_block_group *cache, in btrfs_lock_block_group()
3598 static inline void btrfs_grab_block_group(struct btrfs_block_group *cache, in btrfs_grab_block_group()
3606 static struct btrfs_block_group *btrfs_lock_cluster( in btrfs_lock_cluster()
3607 struct btrfs_block_group *block_group, in btrfs_lock_cluster()
3612 struct btrfs_block_group *used_bg = NULL; in btrfs_lock_cluster()
3646 btrfs_release_block_group(struct btrfs_block_group *cache, in btrfs_release_block_group()
3655 const struct btrfs_block_group *bg) in find_free_extent_check_size_class()
3676 static int find_free_extent_clustered(struct btrfs_block_group *bg, in find_free_extent_clustered()
3678 struct btrfs_block_group **cluster_bg_ret) in find_free_extent_clustered()
3680 struct btrfs_block_group *cluster_bg; in find_free_extent_clustered()
3769 static int find_free_extent_unclustered(struct btrfs_block_group *bg, in find_free_extent_unclustered()
3811 static int do_allocation_clustered(struct btrfs_block_group *block_group, in do_allocation_clustered()
3813 struct btrfs_block_group **bg_ret) in do_allocation_clustered()
3849 static int do_allocation_zoned(struct btrfs_block_group *block_group, in do_allocation_zoned()
3851 struct btrfs_block_group **bg_ret) in do_allocation_zoned()
4021 static int do_allocation(struct btrfs_block_group *block_group, in do_allocation()
4023 struct btrfs_block_group **bg_ret) in do_allocation()
4035 static void release_block_group(struct btrfs_block_group *block_group, in release_block_group()
4313 struct btrfs_block_group *block_group; in prepare_allocation_zoned()
4383 struct btrfs_block_group *block_group = NULL; in find_free_extent()
4484 struct btrfs_block_group *bg_ret; in find_free_extent()
4747 struct btrfs_block_group *cache; in btrfs_free_reserved_extent()
4767 struct btrfs_block_group *cache; in btrfs_pin_reserved_extent()
4987 struct btrfs_block_group *block_group; in btrfs_alloc_logged_file_extent()
6518 struct btrfs_block_group *cache = NULL; in btrfs_trim_fs()