Lines Matching refs:k_end
10 kasan_init_shadow_8M(unsigned long k_start, unsigned long k_end, void *block) in kasan_init_shadow_8M() argument
15 for (k_cur = k_start; k_cur != k_end; k_cur = k_next, pmd += 2, block += SZ_8M) { in kasan_init_shadow_8M()
18 k_next = pgd_addr_end(k_cur, k_end); in kasan_init_shadow_8M()
19 k_next = pgd_addr_end(k_next, k_end); in kasan_init_shadow_8M()
38 unsigned long k_end = (unsigned long)kasan_mem_to_shadow(start + size); in kasan_init_region() local
43 block = memblock_alloc(k_end - k_start, SZ_8M); in kasan_init_region()
48 kasan_init_shadow_8M(k_start, ALIGN_DOWN(k_end, SZ_8M), block); in kasan_init_region()
49 k_cur = ALIGN_DOWN(k_end, SZ_8M); in kasan_init_region()
50 if (k_cur == k_end) in kasan_init_region()
56 ret = kasan_init_shadow_page_tables(k_start, k_end); in kasan_init_region()
60 for (; k_cur < k_end; k_cur += PAGE_SIZE) { in kasan_init_region()
65 if (k_cur < ALIGN_DOWN(k_end, SZ_512K)) in kasan_init_region()
71 flush_tlb_kernel_range(k_start, k_end); in kasan_init_region()