Lines Matching refs:k_cur
15 unsigned long k_cur, k_next; in kasan_init_shadow_8M() local
17 for (k_cur = k_start; k_cur != k_end; k_cur = k_next, pmd++, block += SZ_4M) { in kasan_init_shadow_8M()
21 k_next = pgd_addr_end(k_cur, k_end); in kasan_init_shadow_8M()
32 __set_pte_at(&init_mm, k_cur, ptep + i, pte, 1); in kasan_init_shadow_8M()
44 unsigned long k_cur; in kasan_init_region() local
54 k_cur = ALIGN_DOWN(k_end, SZ_8M); in kasan_init_region()
55 if (k_cur == k_end) in kasan_init_region()
58 k_cur = k_start; in kasan_init_region()
65 for (; k_cur < k_end; k_cur += PAGE_SIZE) { in kasan_init_region()
66 pmd_t *pmd = pmd_off_k(k_cur); in kasan_init_region()
67 void *va = block + k_cur - k_start; in kasan_init_region()
70 if (k_cur < ALIGN_DOWN(k_end, SZ_512K)) in kasan_init_region()
73 __set_pte_at(&init_mm, k_cur, pte_offset_kernel(pmd, k_cur), pte, 0); in kasan_init_region()