Lines Matching refs:vend
1672 unsigned long vend, in kernel_map_hugepud() argument
1680 (vend - vstart <= mask16gb)) { in kernel_map_hugepud()
1690 vend = vstart + mask16gb + 1UL; in kernel_map_hugepud()
1691 while (vstart < vend) { in kernel_map_hugepud()
1701 static bool kernel_can_map_hugepud(unsigned long vstart, unsigned long vend, in kernel_can_map_hugepud() argument
1704 if (guard && !(vstart & ~PUD_MASK) && (vend - vstart) >= PUD_SIZE) in kernel_can_map_hugepud()
1711 unsigned long vend, in kernel_map_hugepmd() argument
1720 (vend - vstart <= mask256mb)) { in kernel_map_hugepmd()
1728 (vend - vstart <= mask2gb)) { in kernel_map_hugepmd()
1731 vend = vstart + mask256mb + 1UL; in kernel_map_hugepmd()
1735 vend = vstart + mask2gb + 1UL; in kernel_map_hugepmd()
1738 while (vstart < vend) { in kernel_map_hugepmd()
1749 static bool kernel_can_map_hugepmd(unsigned long vstart, unsigned long vend, in kernel_can_map_hugepmd() argument
1752 if (guard && !(vstart & ~PMD_MASK) && (vend - vstart) >= PMD_SIZE) in kernel_can_map_hugepmd()
1763 unsigned long vend = PAGE_OFFSET + pend; in kernel_map_range() local
1766 if ((vstart & ~PAGE_MASK) || (vend & ~PAGE_MASK)) { in kernel_map_range()
1768 vstart, vend); in kernel_map_range()
1772 while (vstart < vend) { in kernel_map_range()
1807 if (kernel_can_map_hugepud(vstart, vend, use_huge)) { in kernel_map_range()
1808 vstart = kernel_map_hugepud(vstart, vend, pud); in kernel_map_range()
1823 if (kernel_can_map_hugepmd(vstart, vend, use_huge)) { in kernel_map_range()
1824 vstart = kernel_map_hugepmd(vstart, vend, pmd); in kernel_map_range()
1837 if (this_end > vend) in kernel_map_range()
1838 this_end = vend; in kernel_map_range()
2581 int __meminit vmemmap_populate(unsigned long vstart, unsigned long vend, in vmemmap_populate() argument
2596 vend = ALIGN(vend, PMD_SIZE); in vmemmap_populate()
2597 for (; vstart < vend; vstart += PMD_SIZE) { in vmemmap_populate()