Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dblock-group.c1541 if (list_empty(&bg->bg_list)) { in btrfs_link_bg_list()
1543 list_add_tail(&bg->bg_list, list); in btrfs_link_bg_list()
1583 bg_list); in btrfs_delete_unused_bgs()
1584 list_del_init(&block_group->bg_list); in btrfs_delete_unused_bgs()
1793 list_move(&block_group->bg_list, in btrfs_delete_unused_bgs()
1824 if (list_empty(&bg->bg_list)) { in btrfs_mark_bg_unused()
1827 list_add_tail(&bg->bg_list, &fs_info->unused_bgs); in btrfs_mark_bg_unused()
1834 list_move_tail(&bg->bg_list, &fs_info->unused_bgs); in btrfs_mark_bg_unused()
1848 bg1 = list_entry(a, struct btrfs_block_group, bg_list); in reclaim_bgs_cmp()
1849 bg2 = list_entry(b, struct btrfs_block_group, bg_list); in reclaim_bgs_cmp()
[all …]
H A Dtransaction.c163 bg_list); in btrfs_put_transaction()
169 list_del_init(&cache->bg_list); in btrfs_put_transaction()
2142 list_for_each_entry_safe(block_group, tmp, &trans->new_bgs, bg_list) { in btrfs_cleanup_pending_block_groups()
2149 list_del_init(&block_group->bg_list); in btrfs_cleanup_pending_block_groups()
H A Dzoned.c2763 struct list_head *bg_list; in btrfs_zoned_reserve_data_reloc_bg() local
2784 bg_list = &space_info->block_groups[index]; in btrfs_zoned_reserve_data_reloc_bg()
2785 list_for_each_entry(bg, bg_list, list) { in btrfs_zoned_reserve_data_reloc_bg()
3113 list_for_each_entry(bg, &fs_info->unused_bgs, bg_list) { in btrfs_reset_unused_block_groups()
3138 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()
/linux/fs/btrfs/tests/
H A Dbtrfs-tests.c224 INIT_LIST_HEAD(&cache->bg_list); in btrfs_alloc_dummy_block_group()
/linux/fs/ocfs2/
H A Dsuballoc.c396 struct ocfs2_extent_list *el = &bg->bg_list; in ocfs2_bg_discontig_add_extent()
569 struct ocfs2_extent_list *el = &bg->bg_list; in ocfs2_block_group_grow_discontig()
630 el = &bg->bg_list; in ocfs2_bg_alloc_cleanup()
1779 !bg->bg_list.l_next_free_rec) in ocfs2_bg_discontig_fix_result()
1782 for (i = 0; i < le16_to_cpu(bg->bg_list.l_next_free_rec); i++) { in ocfs2_bg_discontig_fix_result()
1783 rec = &bg->bg_list.l_recs[i]; in ocfs2_bg_discontig_fix_result()