Lines Matching refs:k_cur
13 unsigned long k_cur, k_next; in kasan_init_shadow_8M() local
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()
39 unsigned long k_cur; in kasan_init_region() local
49 k_cur = ALIGN_DOWN(k_end, SZ_8M); in kasan_init_region()
50 if (k_cur == k_end) in kasan_init_region()
53 k_cur = k_start; in kasan_init_region()
60 for (; k_cur < k_end; k_cur += PAGE_SIZE) { in kasan_init_region()
61 pmd_t *pmd = pmd_off_k(k_cur); in kasan_init_region()
62 void *va = block + k_cur - k_start; in kasan_init_region()
65 if (k_cur < ALIGN_DOWN(k_end, SZ_512K)) in kasan_init_region()
68 __set_pte_at(&init_mm, k_cur, pte_offset_kernel(pmd, k_cur), pte, 0); in kasan_init_region()