Lines Matching refs:btrfs_block_group

59 static int block_group_bits(struct btrfs_block_group *cache, u64 bits)  in block_group_bits()
73 void btrfs_free_excluded_extents(struct btrfs_block_group *cache) in btrfs_free_excluded_extents()
2527 struct btrfs_block_group *block_group; in btrfs_extent_readonly()
2557 struct btrfs_block_group *cache; in first_logical_byte()
2578 struct btrfs_block_group *cache, in pin_down_extent()
2605 struct btrfs_block_group *cache; in btrfs_pin_extent()
2622 struct btrfs_block_group *cache; in btrfs_pin_extent_for_log_replay()
2651 struct btrfs_block_group *block_group; in __exclude_logged_extent()
2728 btrfs_inc_block_group_reservations(struct btrfs_block_group *bg) in btrfs_inc_block_group_reservations()
2737 struct btrfs_block_group *cache; in btrfs_prepare_extent_commit()
2791 struct btrfs_block_group *cache = NULL; in unpin_extent_range()
2885 struct btrfs_block_group *block_group, *tmp; in btrfs_finish_extent_commit()
3406 struct btrfs_block_group *cache; in btrfs_free_tree_block()
3493 btrfs_lock_block_group(struct btrfs_block_group *cache, in btrfs_lock_block_group()
3500 static inline void btrfs_grab_block_group(struct btrfs_block_group *cache, in btrfs_grab_block_group()
3508 static struct btrfs_block_group *btrfs_lock_cluster( in btrfs_lock_cluster()
3509 struct btrfs_block_group *block_group, in btrfs_lock_cluster()
3514 struct btrfs_block_group *used_bg = NULL; in btrfs_lock_cluster()
3548 btrfs_release_block_group(struct btrfs_block_group *cache, in btrfs_release_block_group()
3630 static int find_free_extent_clustered(struct btrfs_block_group *bg, in find_free_extent_clustered()
3632 struct btrfs_block_group **cluster_bg_ret) in find_free_extent_clustered()
3634 struct btrfs_block_group *cluster_bg; in find_free_extent_clustered()
3734 static int find_free_extent_unclustered(struct btrfs_block_group *bg, in find_free_extent_unclustered()
3793 static int do_allocation_clustered(struct btrfs_block_group *block_group, in do_allocation_clustered()
3795 struct btrfs_block_group **bg_ret) in do_allocation_clustered()
3810 static int do_allocation(struct btrfs_block_group *block_group, in do_allocation()
3812 struct btrfs_block_group **bg_ret) in do_allocation()
3822 static void release_block_group(struct btrfs_block_group *block_group, in release_block_group()
4080 struct btrfs_block_group *block_group = NULL; in find_free_extent()
4165 struct btrfs_block_group *bg_ret; in find_free_extent()
4391 struct btrfs_block_group *cache; in btrfs_free_reserved_extent()
4411 struct btrfs_block_group *cache; in btrfs_pin_reserved_extent()
4623 struct btrfs_block_group *block_group; in btrfs_alloc_logged_file_extent()
5743 struct btrfs_block_group *block_group; in btrfs_account_ro_block_groups_free_space()
5898 struct btrfs_block_group *cache = NULL; in btrfs_trim_fs()