Lines Matching refs:k_cur
34 unsigned long k_cur, k_next; in kasan_init_shadow_page_tables() local
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()
59 unsigned long k_cur; in kasan_init_region() local
71 for (k_cur = k_start & PAGE_MASK; k_cur < k_end; k_cur += PAGE_SIZE) { in kasan_init_region()
72 pmd_t *pmd = pmd_off_k(k_cur); in kasan_init_region()
73 void *va = block + k_cur - k_start; in kasan_init_region()
76 __set_pte_at(&init_mm, k_cur, pte_offset_kernel(pmd, k_cur), pte, 0); in kasan_init_region()
85 unsigned long k_cur; in kasan_update_early_region() local
87 for (k_cur = k_start; k_cur != k_end; k_cur += PAGE_SIZE) { in kasan_update_early_region()
88 pmd_t *pmd = pmd_off_k(k_cur); in kasan_update_early_region()
89 pte_t *ptep = pte_offset_kernel(pmd, k_cur); in kasan_update_early_region()
94 __set_pte_at(&init_mm, k_cur, ptep, pte, 0); in kasan_update_early_region()