Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/ !
Ddiscard.c74 return &discard_ctl->discard_list[block_group->discard_index]; in get_discard_list()
83 if (list_empty(&block_group->discard_list) || in __add_to_discard_list()
92 list_move_tail(&block_group->discard_list, in __add_to_discard_list()
117 list_del_init(&block_group->discard_list); in add_to_discard_unused_list()
123 list_add_tail(&block_group->discard_list, in add_to_discard_unused_list()
124 &discard_ctl->discard_list[BTRFS_DISCARD_INDEX_UNUSED]); in add_to_discard_unused_list()
142 list_del_init(&block_group->discard_list); in remove_from_discard_list()
165 struct list_head *discard_list = &discard_ctl->discard_list[i]; in find_next_block_group() local
167 if (!list_empty(discard_list)) { in find_next_block_group()
168 block_group = list_first_entry(discard_list, in find_next_block_group()
[all …]
Dblock-group.h169 struct list_head discard_list; member
Dblock-group.c143 if (WARN_ON(!list_empty(&cache->discard_list))) in btrfs_put_block_group()
1407 if (!list_empty(&block_group->discard_list)) { in btrfs_delete_unused_bgs()
1920 INIT_LIST_HEAD(&cache->discard_list); in btrfs_create_block_group_cache()
Dctree.h523 struct list_head discard_list[BTRFS_NR_DISCARD_LISTS]; member
/linux-6.1.9/fs/ext4/ !
Dmballoc.c3285 struct list_head discard_list; in ext4_discard_work() local
3289 INIT_LIST_HEAD(&discard_list); in ext4_discard_work()
3291 list_splice_init(&sbi->s_discard_list, &discard_list); in ext4_discard_work()
3295 list_for_each_entry_safe(fd, nfd, &discard_list, efd_list) { in ext4_discard_work()
5267 struct list_head discard_list; in ext4_mb_discard_lg_preallocations() local
5272 INIT_LIST_HEAD(&discard_list); in ext4_mb_discard_lg_preallocations()
5300 list_add(&pa->u.pa_tmp_list, &discard_list); in ext4_mb_discard_lg_preallocations()
5315 list_for_each_entry_safe(pa, tmp, &discard_list, u.pa_tmp_list) { in ext4_mb_discard_lg_preallocations()