Lines Matching refs:shadow
31 if (!page->shadow) in kmemcheck_shadow_lookup()
33 return page->shadow + (address & (PAGE_SIZE - 1)); in kmemcheck_shadow_lookup()
44 void *shadow; in mark_shadow() local
52 shadow = kmemcheck_shadow_lookup(addr); in mark_shadow()
53 if (shadow) in mark_shadow()
54 memset(shadow, status, first_n); in mark_shadow()
61 shadow = kmemcheck_shadow_lookup(addr); in mark_shadow()
62 if (shadow) in mark_shadow()
63 memset(shadow, status, PAGE_SIZE); in mark_shadow()
71 shadow = kmemcheck_shadow_lookup(addr); in mark_shadow()
72 if (shadow) in mark_shadow()
73 memset(shadow, status, n); in mark_shadow()
126 enum kmemcheck_shadow kmemcheck_shadow_test(void *shadow, unsigned int size) in kmemcheck_shadow_test() argument
132 x = shadow; in kmemcheck_shadow_test()
145 return kmemcheck_shadow_test_all(shadow, size); in kmemcheck_shadow_test()
149 enum kmemcheck_shadow kmemcheck_shadow_test_all(void *shadow, unsigned int size) in kmemcheck_shadow_test_all() argument
154 x = shadow; in kmemcheck_shadow_test_all()
165 void kmemcheck_shadow_set(void *shadow, unsigned int size) in kmemcheck_shadow_set() argument
170 x = shadow; in kmemcheck_shadow_set()