Lines Matching refs:k_end
31 int __init kasan_init_shadow_page_tables(unsigned long k_start, unsigned long k_end) in kasan_init_shadow_page_tables() argument
38 for (k_cur = k_start; k_cur != k_end; k_cur = k_next, pmd++) { in kasan_init_shadow_page_tables()
41 k_next = pgd_addr_end(k_cur, k_end); in kasan_init_shadow_page_tables()
58 unsigned long k_end = (unsigned long)kasan_mem_to_shadow(start + size); in kasan_init_region() local
63 ret = kasan_init_shadow_page_tables(k_start, k_end); in kasan_init_region()
68 block = memblock_alloc(k_end - k_start, PAGE_SIZE); in kasan_init_region()
72 for (k_cur = k_start & PAGE_MASK; k_cur < k_end; k_cur += PAGE_SIZE) { in kasan_init_region()
79 flush_tlb_kernel_range(k_start, k_end); in kasan_init_region()
84 kasan_update_early_region(unsigned long k_start, unsigned long k_end, pte_t pte) in kasan_update_early_region() argument
88 for (k_cur = k_start; k_cur != k_end; k_cur += PAGE_SIZE) { in kasan_update_early_region()
98 flush_tlb_kernel_range(k_start, k_end); in kasan_update_early_region()
115 unsigned long k_end = (unsigned long)kasan_mem_to_shadow((void *)VMALLOC_END); in kasan_unmap_early_shadow_vmalloc() local
117 kasan_update_early_region(k_start, k_end, __pte(0)); in kasan_unmap_early_shadow_vmalloc()
121 k_end = (unsigned long)kasan_mem_to_shadow((void *)MODULES_END); in kasan_unmap_early_shadow_vmalloc()
122 kasan_update_early_region(k_start, k_end, __pte(0)); in kasan_unmap_early_shadow_vmalloc()