Searched refs:shadow (Results 1 – 7 of 7) sorted by relevance
/mm/ |
D | kmemcheck.c | 10 struct page *shadow; in kmemcheck_alloc_shadow() local 20 shadow = alloc_pages_node(node, flags | __GFP_NOTRACK, order); in kmemcheck_alloc_shadow() 21 if (!shadow) { in kmemcheck_alloc_shadow() 28 page[i].shadow = page_address(&shadow[i]); in kmemcheck_alloc_shadow() 40 struct page *shadow; in kmemcheck_free_shadow() local 51 shadow = virt_to_page(page[0].shadow); in kmemcheck_free_shadow() 54 page[i].shadow = NULL; in kmemcheck_free_shadow() 56 __free_pages(shadow, order); in kmemcheck_free_shadow()
|
D | workingset.c | 180 static void unpack_shadow(void *shadow, int *memcgidp, pg_data_t **pgdat, in unpack_shadow() argument 183 unsigned long entry = (unsigned long)shadow; in unpack_shadow() 232 bool workingset_refault(void *shadow) in workingset_refault() argument 243 unpack_shadow(shadow, &memcgid, &pgdat, &eviction); in workingset_refault()
|
D | filemap.c | 170 struct page *page, void *shadow) in page_cache_tree_delete() argument 176 VM_BUG_ON_PAGE(nr != 1 && shadow, page); in page_cache_tree_delete() 193 shadow = NULL; in page_cache_tree_delete() 196 radix_tree_replace_slot(slot, shadow); in page_cache_tree_delete() 202 if (shadow) in page_cache_tree_delete() 225 if (shadow) { in page_cache_tree_delete() 243 void __delete_from_page_cache(struct page *page, void *shadow) in __delete_from_page_cache() argument 284 page_cache_tree_delete(mapping, page, shadow); in __delete_from_page_cache() 731 void *shadow = NULL; in add_to_page_cache_lru() local 736 gfp_mask, &shadow); in add_to_page_cache_lru() [all …]
|
D | vmscan.c | 716 void *shadow = NULL; in __remove_mapping() local 737 shadow = workingset_eviction(mapping, page); in __remove_mapping() 738 __delete_from_page_cache(page, shadow); in __remove_mapping()
|
D | page_alloc.c | 2534 split_page(virt_to_page(page[0].shadow), order); in split_page()
|
/mm/kasan/ |
D | report.c | 282 static int shadow_pointer_offset(const void *row, const void *shadow) in shadow_pointer_offset() argument 287 return 3 + (BITS_PER_LONG/8)*2 + (shadow - row)*2 + in shadow_pointer_offset() 288 (shadow - row) / SHADOW_BYTES_PER_BLOCK + 1; in shadow_pointer_offset() 294 const void *shadow = kasan_mem_to_shadow(addr); in print_shadow_for_address() local 297 shadow_row = (void *)round_down((unsigned long)shadow, in print_shadow_for_address() 320 if (row_is_guilty(shadow_row, shadow)) in print_shadow_for_address() 322 shadow_pointer_offset(shadow_row, shadow), in print_shadow_for_address()
|
D | kasan.c | 71 u8 *shadow = (u8 *)kasan_mem_to_shadow(address + size); in kasan_unpoison_shadow() local 72 *shadow = size & KASAN_SHADOW_MASK; in kasan_unpoison_shadow()
|