Lines Matching refs:btrfs_block_group

68 static void wait_eb_writebacks(struct btrfs_block_group *block_group);
69 static int do_zone_finish(struct btrfs_block_group *block_group, bool fully_written);
1214 static int calculate_alloc_pointer(struct btrfs_block_group *cache, in calculate_alloc_pointer()
1285 int btrfs_load_block_group_zone_info(struct btrfs_block_group *cache, bool new) in btrfs_load_block_group_zone_info()
1581 void btrfs_calc_zone_unusable(struct btrfs_block_group *cache) in btrfs_calc_zone_unusable()
1620 struct btrfs_block_group *cache; in btrfs_use_zone_append()
1755 struct btrfs_block_group **active_bg) in check_bg_is_active()
1758 struct btrfs_block_group *block_group = ctx->zoned_bg; in check_bg_is_active()
1772 struct btrfs_block_group *tgt = *active_bg; in check_bg_is_active()
1823 struct btrfs_block_group *block_group = ctx->zoned_bg; in btrfs_check_meta_write_pointer()
1845 struct btrfs_block_group **tgt; in btrfs_check_meta_write_pointer()
1963 bool btrfs_zone_activate(struct btrfs_block_group *block_group) in btrfs_zone_activate()
2043 static void wait_eb_writebacks(struct btrfs_block_group *block_group) in wait_eb_writebacks()
2075 static int do_zone_finish(struct btrfs_block_group *block_group, bool fully_written) in do_zone_finish()
2194 int btrfs_zone_finish(struct btrfs_block_group *block_group) in btrfs_zone_finish()
2251 struct btrfs_block_group *block_group; in btrfs_zone_finish_endio()
2279 struct btrfs_block_group *bg = in btrfs_zone_finish_endio_workfn()
2280 container_of(work, struct btrfs_block_group, zone_finish_work); in btrfs_zone_finish_endio_workfn()
2288 void btrfs_schedule_zone_finish_bg(struct btrfs_block_group *bg, in btrfs_schedule_zone_finish_bg()
2309 void btrfs_clear_data_reloc_bg(struct btrfs_block_group *bg) in btrfs_clear_data_reloc_bg()
2367 struct btrfs_block_group *block_group; in btrfs_zoned_release_data_reloc_bg()
2397 struct btrfs_block_group *block_group; in btrfs_zone_finish_one_bg()
2398 struct btrfs_block_group *min_bg = NULL; in btrfs_zone_finish_one_bg()
2440 struct btrfs_block_group *bg; in btrfs_zoned_activate_one_bg()
2494 struct btrfs_block_group *block_group; in btrfs_check_active_zone_reservation()