Lines Matching full:collect
142 static struct smallstack collect = { variable
170 while (collect.index >= 3) { in do_collection()
171 page = smallstack_pop(&collect); in do_collection()
172 shadow = smallstack_pop(&collect); in do_collection()
173 origin = smallstack_pop(&collect); in do_collection()
174 kmsan_setup_meta(page, shadow, origin, collect.order); in do_collection()
175 __free_pages_core(page, collect.order); in do_collection()
182 .order = collect.order - 1, in collect_split()
187 if (!collect.order) in collect_split()
189 while (collect.index) { in collect_split()
190 page = smallstack_pop(&collect); in collect_split()
194 __memcpy(&collect, &tmp, sizeof(tmp)); in collect_split()
205 * - push held_back[N].shadow and .origin to @collect; in kmsan_memblock_discard()
206 * - while there are >= 3 elements in @collect, do garbage collection: in kmsan_memblock_discard()
207 * - pop 3 ranges from @collect; in kmsan_memblock_discard()
210 * - split each remaining element from @collect into 2 ranges of in kmsan_memblock_discard()
214 collect.order = MAX_PAGE_ORDER; in kmsan_memblock_discard()
217 smallstack_push(&collect, held_back[i].shadow); in kmsan_memblock_discard()
219 smallstack_push(&collect, held_back[i].origin); in kmsan_memblock_discard()