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 | 164 static void unpack_shadow(void *shadow, in unpack_shadow() argument 168 unsigned long entry = (unsigned long)shadow; in unpack_shadow() 231 bool workingset_refault(void *shadow) in workingset_refault() argument 236 unpack_shadow(shadow, &zone, &refault_distance); in workingset_refault()
|
D | filemap.c | 155 struct page *page, void *shadow) in page_cache_tree_delete() argument 172 shadow = NULL; in page_cache_tree_delete() 175 if (shadow) { in page_cache_tree_delete() 190 radix_tree_replace_slot(slot, shadow); in page_cache_tree_delete() 203 radix_tree_replace_slot(slot, shadow); in page_cache_tree_delete() 205 if (shadow) in page_cache_tree_delete() 231 void __delete_from_page_cache(struct page *page, void *shadow, in __delete_from_page_cache() argument 247 page_cache_tree_delete(mapping, page, shadow); in __delete_from_page_cache() 690 void *shadow = NULL; in add_to_page_cache_lru() local 695 gfp_mask, &shadow); in add_to_page_cache_lru() [all …]
|
D | vmscan.c | 673 void *shadow = NULL; in __remove_mapping() local 688 shadow = workingset_eviction(mapping, page); in __remove_mapping() 689 __delete_from_page_cache(page, shadow, memcg); in __remove_mapping()
|
D | page_alloc.c | 2190 split_page(virt_to_page(page[0].shadow), order); in split_page()
|
/mm/kasan/ |
D | report.c | 278 static int shadow_pointer_offset(const void *row, const void *shadow) in shadow_pointer_offset() argument 283 return 3 + (BITS_PER_LONG/8)*2 + (shadow - row)*2 + in shadow_pointer_offset() 284 (shadow - row) / SHADOW_BYTES_PER_BLOCK + 1; in shadow_pointer_offset() 290 const void *shadow = kasan_mem_to_shadow(addr); in print_shadow_for_address() local 293 shadow_row = (void *)round_down((unsigned long)shadow, in print_shadow_for_address() 316 if (row_is_guilty(shadow_row, shadow)) in print_shadow_for_address() 318 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()
|