Lines Matching refs:order
117 bool kmsan_memblock_free_pages(struct page *page, unsigned int order) in kmsan_memblock_free_pages() argument
121 if (!held_back[order].shadow) { in kmsan_memblock_free_pages()
122 held_back[order].shadow = page; in kmsan_memblock_free_pages()
125 if (!held_back[order].origin) { in kmsan_memblock_free_pages()
126 held_back[order].origin = page; in kmsan_memblock_free_pages()
129 shadow = held_back[order].shadow; in kmsan_memblock_free_pages()
130 origin = held_back[order].origin; in kmsan_memblock_free_pages()
131 kmsan_setup_meta(page, shadow, origin, order); in kmsan_memblock_free_pages()
133 held_back[order].shadow = NULL; in kmsan_memblock_free_pages()
134 held_back[order].origin = NULL; in kmsan_memblock_free_pages()
142 int order; member
147 .order = MAX_PAGE_ORDER,
177 kmsan_setup_meta(page, shadow, origin, collect.order); in do_collection()
178 __free_pages_core(page, collect.order, MEMINIT_EARLY); in do_collection()
185 .order = collect.order - 1, in collect_split()
190 if (!collect.order) in collect_split()
195 smallstack_push(&tmp, &page[1 << tmp.order]); in collect_split()
217 collect.order = MAX_PAGE_ORDER; in kmsan_memblock_discard()