Lines Matching refs:btrfs_block_group
61 static int block_group_bits(struct btrfs_block_group *cache, u64 bits) in block_group_bits()
75 void btrfs_free_excluded_extents(struct btrfs_block_group *cache) in btrfs_free_excluded_extents()
2503 struct btrfs_block_group *cache; in first_logical_byte()
2524 struct btrfs_block_group *cache, in pin_down_extent()
2549 struct btrfs_block_group *cache; in btrfs_pin_extent()
2566 struct btrfs_block_group *cache; in btrfs_pin_extent_for_log_replay()
2601 struct btrfs_block_group *block_group; in __exclude_logged_extent()
2655 btrfs_inc_block_group_reservations(struct btrfs_block_group *bg) in btrfs_inc_block_group_reservations()
2693 struct btrfs_block_group *cache = NULL; in unpin_extent_range()
2791 struct btrfs_block_group *block_group, *tmp; in btrfs_finish_extent_commit()
3301 struct btrfs_block_group *cache; in btrfs_free_tree_block()
3405 btrfs_lock_block_group(struct btrfs_block_group *cache, in btrfs_lock_block_group()
3412 static inline void btrfs_grab_block_group(struct btrfs_block_group *cache, in btrfs_grab_block_group()
3420 static struct btrfs_block_group *btrfs_lock_cluster( in btrfs_lock_cluster()
3421 struct btrfs_block_group *block_group, in btrfs_lock_cluster()
3426 struct btrfs_block_group *used_bg = NULL; in btrfs_lock_cluster()
3460 btrfs_release_block_group(struct btrfs_block_group *cache, in btrfs_release_block_group()
3546 static int find_free_extent_clustered(struct btrfs_block_group *bg, in find_free_extent_clustered()
3548 struct btrfs_block_group **cluster_bg_ret) in find_free_extent_clustered()
3550 struct btrfs_block_group *cluster_bg; in find_free_extent_clustered()
3650 static int find_free_extent_unclustered(struct btrfs_block_group *bg, in find_free_extent_unclustered()
3709 static int do_allocation_clustered(struct btrfs_block_group *block_group, in do_allocation_clustered()
3711 struct btrfs_block_group **bg_ret) in do_allocation_clustered()
3747 static int do_allocation_zoned(struct btrfs_block_group *block_group, in do_allocation_zoned()
3749 struct btrfs_block_group **bg_ret) in do_allocation_zoned()
3838 static int do_allocation(struct btrfs_block_group *block_group, in do_allocation()
3840 struct btrfs_block_group **bg_ret) in do_allocation()
3852 static void release_block_group(struct btrfs_block_group *block_group, in release_block_group()
4127 struct btrfs_block_group *block_group = NULL; in find_free_extent()
4217 struct btrfs_block_group *bg_ret; in find_free_extent()
4448 struct btrfs_block_group *cache; in btrfs_free_reserved_extent()
4468 struct btrfs_block_group *cache; in btrfs_pin_reserved_extent()
4675 struct btrfs_block_group *block_group; in btrfs_alloc_logged_file_extent()
5799 struct btrfs_block_group *block_group; in btrfs_account_ro_block_groups_free_space()
5955 struct btrfs_block_group *cache = NULL; in btrfs_trim_fs()