Lines Matching refs:address
18 void *kmemcheck_shadow_lookup(unsigned long address) in kmemcheck_shadow_lookup() argument
23 if (!virt_addr_valid(address)) in kmemcheck_shadow_lookup()
26 pte = kmemcheck_pte_lookup(address); in kmemcheck_shadow_lookup()
30 page = virt_to_page(address); in kmemcheck_shadow_lookup()
33 return page->shadow + (address & (PAGE_SIZE - 1)); in kmemcheck_shadow_lookup()
36 static void mark_shadow(void *address, unsigned int n, in mark_shadow() argument
39 unsigned long addr = (unsigned long) address; in mark_shadow()
77 void kmemcheck_mark_unallocated(void *address, unsigned int n) in kmemcheck_mark_unallocated() argument
79 mark_shadow(address, n, KMEMCHECK_SHADOW_UNALLOCATED); in kmemcheck_mark_unallocated()
82 void kmemcheck_mark_uninitialized(void *address, unsigned int n) in kmemcheck_mark_uninitialized() argument
84 mark_shadow(address, n, KMEMCHECK_SHADOW_UNINITIALIZED); in kmemcheck_mark_uninitialized()
91 void kmemcheck_mark_initialized(void *address, unsigned int n) in kmemcheck_mark_initialized() argument
93 mark_shadow(address, n, KMEMCHECK_SHADOW_INITIALIZED); in kmemcheck_mark_initialized()
97 void kmemcheck_mark_freed(void *address, unsigned int n) in kmemcheck_mark_freed() argument
99 mark_shadow(address, n, KMEMCHECK_SHADOW_FREED); in kmemcheck_mark_freed()