Lines Matching refs:end

29 static void __init kasan_populate_pte(pmd_t *pmd, unsigned long vaddr, unsigned long end)  in kasan_populate_pte()  argument
47 } while (ptep++, vaddr += PAGE_SIZE, vaddr != end); in kasan_populate_pte()
50 static void __init kasan_populate_pmd(pud_t *pud, unsigned long vaddr, unsigned long end) in kasan_populate_pmd() argument
64 next = pmd_addr_end(vaddr, end); in kasan_populate_pmd()
76 } while (pmdp++, vaddr = next, vaddr != end); in kasan_populate_pmd()
80 unsigned long vaddr, unsigned long end) in kasan_populate_pud() argument
94 next = pud_addr_end(vaddr, end); in kasan_populate_pud()
106 } while (pudp++, vaddr = next, vaddr != end); in kasan_populate_pud()
110 unsigned long vaddr, unsigned long end) in kasan_populate_p4d() argument
124 next = p4d_addr_end(vaddr, end); in kasan_populate_p4d()
136 } while (p4dp++, vaddr = next, vaddr != end); in kasan_populate_p4d()
140 unsigned long vaddr, unsigned long end) in kasan_populate_pgd() argument
146 next = pgd_addr_end(vaddr, end); in kasan_populate_pgd()
159 } while (pgdp++, vaddr = next, vaddr != end); in kasan_populate_pgd()
163 unsigned long vaddr, unsigned long end) in kasan_early_clear_pud() argument
176 next = pud_addr_end(vaddr, end); in kasan_early_clear_pud()
184 } while (pudp++, vaddr = next, vaddr != end); in kasan_early_clear_pud()
188 unsigned long vaddr, unsigned long end) in kasan_early_clear_p4d() argument
201 next = p4d_addr_end(vaddr, end); in kasan_early_clear_p4d()
210 } while (p4dp++, vaddr = next, vaddr != end); in kasan_early_clear_p4d()
214 unsigned long vaddr, unsigned long end) in kasan_early_clear_pgd() argument
219 next = pgd_addr_end(vaddr, end); in kasan_early_clear_pgd()
228 } while (pgdp++, vaddr = next, vaddr != end); in kasan_early_clear_pgd()
233 unsigned long end) in kasan_early_populate_pud() argument
247 next = pud_addr_end(vaddr, end); in kasan_early_populate_pud()
257 } while (pudp++, vaddr = next, vaddr != end); in kasan_early_populate_pud()
262 unsigned long end) in kasan_early_populate_p4d() argument
285 next = p4d_addr_end(vaddr, end); in kasan_early_populate_p4d()
295 } while (p4dp++, vaddr = next, vaddr != end); in kasan_early_populate_p4d()
300 unsigned long end) in kasan_early_populate_pgd() argument
306 next = pgd_addr_end(vaddr, end); in kasan_early_populate_pgd()
316 } while (pgdp++, vaddr = next, vaddr != end); in kasan_early_populate_pgd()
366 static void __init kasan_populate(void *start, void *end) in kasan_populate() argument
369 unsigned long vend = PAGE_ALIGN((unsigned long)end); in kasan_populate()
375 unsigned long vaddr, unsigned long end) in kasan_shallow_populate_pud() argument
382 next = pud_addr_end(vaddr, end); in kasan_shallow_populate_pud()
391 } while (pud_k++, vaddr = next, vaddr != end); in kasan_shallow_populate_pud()
395 unsigned long vaddr, unsigned long end) in kasan_shallow_populate_p4d() argument
402 next = p4d_addr_end(vaddr, end); in kasan_shallow_populate_p4d()
410 kasan_shallow_populate_pud(p4d_k, vaddr, end); in kasan_shallow_populate_p4d()
411 } while (p4d_k++, vaddr = next, vaddr != end); in kasan_shallow_populate_p4d()
414 static void __init kasan_shallow_populate_pgd(unsigned long vaddr, unsigned long end) in kasan_shallow_populate_pgd() argument
421 next = pgd_addr_end(vaddr, end); in kasan_shallow_populate_pgd()
430 } while (pgd_k++, vaddr = next, vaddr != end); in kasan_shallow_populate_pgd()
433 static void __init kasan_shallow_populate(void *start, void *end) in kasan_shallow_populate() argument
436 unsigned long vend = PAGE_ALIGN((unsigned long)end); in kasan_shallow_populate()
502 void *end = (void *)__va(p_end); in kasan_init() local
504 if (start >= end) in kasan_init()
507 kasan_populate(kasan_mem_to_shadow(start), kasan_mem_to_shadow(end)); in kasan_init()