Home
last modified time | relevance | path

Searched refs:bg_list (Results 1 – 5 of 5) sorted by relevance

/linux/fs/btrfs/
H A Dblock-group.c1540 if (list_empty(&bg->bg_list)) { in btrfs_link_bg_list()
1542 list_add_tail(&bg->bg_list, list); in btrfs_link_bg_list()
1582 bg_list); in btrfs_delete_unused_bgs()
1583 list_del_init(&block_group->bg_list); in btrfs_delete_unused_bgs()
1810 list_move(&block_group->bg_list, in btrfs_delete_unused_bgs()
1841 if (list_empty(&bg->bg_list)) { in btrfs_mark_bg_unused()
1844 list_add_tail(&bg->bg_list, &fs_info->unused_bgs); in btrfs_mark_bg_unused()
1851 list_move_tail(&bg->bg_list, &fs_info->unused_bgs); in btrfs_mark_bg_unused()
1865 bg1 = list_entry(a, struct btrfs_block_group, bg_list); in reclaim_bgs_cmp()
1866 bg2 = list_entry(b, struct btrfs_block_group, bg_list); in reclaim_bgs_cmp()
[all …]
H A Dtransaction.c164 bg_list); in btrfs_put_transaction()
170 list_del_init(&cache->bg_list); in btrfs_put_transaction()
2150 list_for_each_entry_safe(block_group, tmp, &trans->new_bgs, bg_list) { in btrfs_cleanup_pending_block_groups()
2157 list_del_init(&block_group->bg_list); in btrfs_cleanup_pending_block_groups()
H A Dzoned.c2764 struct list_head *bg_list; in btrfs_zoned_reserve_data_reloc_bg() local
2785 bg_list = &space_info->block_groups[index]; in btrfs_zoned_reserve_data_reloc_bg()
2786 list_for_each_entry(bg, bg_list, list) { in btrfs_zoned_reserve_data_reloc_bg()
3114 list_for_each_entry(bg, &fs_info->unused_bgs, bg_list) { in btrfs_reset_unused_block_groups()
3139 list_del_init(&bg->bg_list); in btrfs_reset_unused_block_groups()
H A Dextent-tree.c2941 if (!list_empty(&bg->bg_list)) { in btrfs_complete_bg_remapping()
2942 list_del_init(&bg->bg_list); in btrfs_complete_bg_remapping()
2961 struct btrfs_block_group, bg_list); in btrfs_handle_fully_remapped_bgs()
2962 list_del_init(&bg->bg_list); in btrfs_handle_fully_remapped_bgs()
3059 list_for_each_entry_safe(block_group, tmp, deleted_bgs, bg_list) { in btrfs_finish_extent_commit()
3071 list_del_init(&block_group->bg_list); in btrfs_finish_extent_commit()
H A Dfree-space-cache.c3851 if (!list_empty(&bg->bg_list)) { in btrfs_trim_fully_remapped_block_group()
3852 list_del_init(&bg->bg_list); in btrfs_trim_fully_remapped_block_group()