Lines Matching full:shadow
67 * Initialize the shadow for existing mappings during kernel initialization.
83 /* Allocate shadow for .data */ in kmsan_init_shadow()
97 struct page *shadow, *origin; member
106 * time with a certain order, it is reserved as a shadow block, for the second
108 * shadow and origin ranges from the previously saved shadow and origin blocks,
116 struct page *shadow, *origin; in kmsan_memblock_free_pages() local
118 if (!held_back[order].shadow) { in kmsan_memblock_free_pages()
119 held_back[order].shadow = page; in kmsan_memblock_free_pages()
126 shadow = held_back[order].shadow; in kmsan_memblock_free_pages()
128 kmsan_setup_meta(page, shadow, origin, order); in kmsan_memblock_free_pages()
130 held_back[order].shadow = NULL; in kmsan_memblock_free_pages()
168 struct page *page, *shadow, *origin; in do_collection() local
172 shadow = smallstack_pop(&collect); in do_collection()
174 kmsan_setup_meta(page, shadow, origin, collect.order); in do_collection()
205 * - push held_back[N].shadow and .origin to @collect; in kmsan_memblock_discard()
208 * - use two of them as shadow and origin for the third one; in kmsan_memblock_discard()
216 if (held_back[i].shadow) in kmsan_memblock_discard()
217 smallstack_push(&collect, held_back[i].shadow); in kmsan_memblock_discard()
220 held_back[i].shadow = NULL; in kmsan_memblock_discard()