Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dblock-group.c1478 * Link the block_group to a list via bg_list.
1494 if (list_empty(&bg->bg_list)) { in btrfs_link_bg_list()
1496 list_add_tail(&bg->bg_list, list); in btrfs_link_bg_list()
1536 bg_list); in btrfs_delete_unused_bgs()
1537 list_del_init(&block_group->bg_list); in btrfs_delete_unused_bgs()
1743 list_move(&block_group->bg_list, in btrfs_delete_unused_bgs()
1774 if (list_empty(&bg->bg_list)) { in btrfs_mark_bg_unused()
1777 list_add_tail(&bg->bg_list, &fs_info->unused_bgs); in btrfs_mark_bg_unused()
1781 list_move_tail(&bg->bg_list, &fs_info->unused_bgs); in btrfs_mark_bg_unused()
1795 bg1 = list_entry(a, struct btrfs_block_group, bg_list); in reclaim_bgs_cmp()
[all...]
H A Ddiscard.c700 bg_list) { in btrfs_discard_punt_unused_bgs_list()
701 list_del_init(&block_group->bg_list); in btrfs_discard_punt_unused_bgs_list()
H A Dblock-group.h197 struct list_head bg_list; member
H A Dzoned.c2537 struct list_head *bg_list; in btrfs_zoned_reserve_data_reloc_bg() local
2558 bg_list = &space_info->block_groups[index]; in btrfs_zoned_reserve_data_reloc_bg()
2559 list_for_each_entry(bg, bg_list, list) { in btrfs_zoned_reserve_data_reloc_bg()
2886 list_for_each_entry(bg, &fs_info->unused_bgs, bg_list) { in btrfs_reset_unused_block_groups()
2911 list_del_init(&bg->bg_list); in btrfs_reset_unused_block_groups()
H A Dtransaction.c162 bg_list); in btrfs_put_transaction()
168 list_del_init(&cache->bg_list); in btrfs_put_transaction()
2104 list_for_each_entry_safe(block_group, tmp, &trans->new_bgs, bg_list) { in btrfs_cleanup_pending_block_groups()
2111 list_del_init(&block_group->bg_list); in btrfs_cleanup_pending_block_groups()
H A Dextent-tree.c2897 list_for_each_entry_safe(block_group, tmp, deleted_bgs, bg_list) { in btrfs_finish_extent_commit()
2909 list_del_init(&block_group->bg_list); in btrfs_finish_extent_commit()
/linux/fs/btrfs/tests/
H A Dbtrfs-tests.c228 INIT_LIST_HEAD(&cache->bg_list); in btrfs_alloc_dummy_block_group()
/linux/fs/ocfs2/
H A Dsuballoc.c327 struct ocfs2_extent_list *el = &bg->bg_list; in ocfs2_bg_discontig_add_extent()
500 struct ocfs2_extent_list *el = &bg->bg_list; in ocfs2_block_group_grow_discontig()
561 el = &bg->bg_list; in ocfs2_bg_alloc_cleanup()
1710 !bg->bg_list.l_next_free_rec) in ocfs2_bg_discontig_fix_result()
1713 for (i = 0; i < le16_to_cpu(bg->bg_list.l_next_free_rec); i++) { in ocfs2_bg_discontig_fix_result()
1714 rec = &bg->bg_list.l_recs[i]; in ocfs2_bg_discontig_fix_result()