Lines Matching full:end
39 unsigned long end, int nid) in kasan_populate_pmd() argument
47 ((end - addr) == PMD_SIZE) && in kasan_populate_pmd()
71 } while (pte++, addr += PAGE_SIZE, addr != end); in kasan_populate_pmd()
75 unsigned long end, int nid) in kasan_populate_pud() argument
84 ((end - addr) == PUD_SIZE) && in kasan_populate_pud()
99 next = pmd_addr_end(addr, end); in kasan_populate_pud()
102 } while (pmd++, addr = next, addr != end); in kasan_populate_pud()
106 unsigned long end, int nid) in kasan_populate_p4d() argument
119 next = pud_addr_end(addr, end); in kasan_populate_p4d()
122 } while (pud++, addr = next, addr != end); in kasan_populate_p4d()
126 unsigned long end, int nid) in kasan_populate_pgd() argument
139 next = p4d_addr_end(addr, end); in kasan_populate_pgd()
141 } while (p4d++, addr = next, addr != end); in kasan_populate_pgd()
144 static void __init kasan_populate_shadow(unsigned long addr, unsigned long end, in kasan_populate_shadow() argument
151 end = round_up(end, PAGE_SIZE); in kasan_populate_shadow()
154 next = pgd_addr_end(addr, end); in kasan_populate_shadow()
156 } while (pgd++, addr = next, addr != end); in kasan_populate_shadow()
162 unsigned long end; in map_range() local
165 end = (unsigned long)kasan_mem_to_shadow(pfn_to_kaddr(range->end)); in map_range()
167 kasan_populate_shadow(start, end, early_pfn_to_nid(range->start)); in map_range()
171 unsigned long end) in clear_pgds() argument
175 unsigned long pgd_end = end & PGDIR_MASK; in clear_pgds()
190 for (; start < end; start += P4D_SIZE) in clear_pgds()
208 unsigned long end) in kasan_early_p4d_populate() argument
222 next = p4d_addr_end(addr, end); in kasan_early_p4d_populate()
230 } while (p4d++, addr = next, addr != end && p4d_none(*p4d)); in kasan_early_p4d_populate()
237 unsigned long end = KASAN_SHADOW_END; in kasan_map_early_shadow() local
242 next = pgd_addr_end(addr, end); in kasan_map_early_shadow()
244 } while (pgd++, addr = next, addr != end); in kasan_map_early_shadow()
249 unsigned long end) in kasan_shallow_populate_p4ds() argument
257 next = p4d_addr_end(addr, end); in kasan_shallow_populate_p4ds()
263 } while (p4d++, addr = next, addr != end); in kasan_shallow_populate_p4ds()
266 static void __init kasan_shallow_populate_pgds(void *start, void *end) in kasan_shallow_populate_pgds() argument
275 next = pgd_addr_end(addr, (unsigned long)end); in kasan_shallow_populate_pgds()
287 } while (pgd++, addr = next, addr != (unsigned long)end); in kasan_shallow_populate_pgds()
359 if (pfn_mapped[i].end == 0) in kasan_init()