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
72 for (k_cur = k_start & PAGE_MASK; k_cur < k_end; k_cur += PAGE_SIZE) { in kasan_init_region()
73 pmd_t *pmd = pmd_off_k(k_cur); in kasan_init_region()
74 void *va = block + k_cur - k_start; in kasan_init_region()
77 __set_pte_at(&init_mm, k_cur, pte_offset_kernel(pmd, k_cur), pte, 0); in kasan_init_region()
86 unsigned long k_cur; in kasan_update_early_region() local
88 for (k_cur = k_start; k_cur != k_end; k_cur += PAGE_SIZE) { in kasan_update_early_region()
89 pmd_t *pmd = pmd_off_k(k_cur); in kasan_update_early_region()
90 pte_t *ptep = pte_offset_kernel(pmd, k_cur); in kasan_update_early_region()
95 __set_pte_at(&init_mm, k_cur, ptep, pte, 0); in kasan_update_early_region()