Lines Matching refs:shadow
147 * This function creates new shadow/origin pages for the physical pages mapped
148 * into the virtual memory. If those physical pages already had shadow/origin,
156 struct page *shadow, *origin;
166 shadow = alloc_pages(gfp_mask, 1);
168 if (!shadow || !origin) {
174 vmalloc_shadow(start + off + PAGE_SIZE), prot, &shadow,
180 shadow = NULL;
200 * Something went wrong. Clean up shadow/origin pages allocated
204 if (shadow)
205 __free_pages(shadow, 1);
224 struct page *shadow, *origin;
236 shadow = kmsan_vmalloc_to_page_or_null((void *)v_shadow);
240 if (shadow)
241 __free_pages(shadow, 1);
278 * Don't check anything, just copy the shadow of the copied