Lines Matching refs:end
767 unsigned long end, unsigned long pfn,
777 } while (pte++, addr += PAGE_SIZE, addr != end);
781 unsigned long end, phys_addr_t phys,
802 } while (pmd++, addr += SECTION_SIZE, addr != end);
808 unsigned long end, phys_addr_t phys,
820 next = pmd_addr_end(addr, end);
836 } while (pmd++, addr = next, addr != end);
840 unsigned long end, phys_addr_t phys,
848 next = pud_addr_end(addr, end);
851 } while (pud++, addr = next, addr != end);
855 unsigned long end, phys_addr_t phys,
863 next = p4d_addr_end(addr, end);
866 } while (p4d++, addr = next, addr != end);
875 unsigned long addr, length, end;
914 end = addr + length;
928 } while (addr != end);
936 unsigned long addr, length, end;
964 end = addr + length;
966 unsigned long next = pgd_addr_end(addr, end);
972 } while (pgd++, addr != end);
1243 * end of this function.
1245 * With this algorithm, the start or end of almost any
1278 phys_addr_t end = memblock_end_of_DRAM();
1281 &memblock_limit, &end);
1284 memblock_remove(memblock_limit, end - memblock_limit);
1294 phys_addr_t end;
1327 * Find the end of the first block of lowmem.
1329 end = memblock.memory.regions[0].base + memblock.memory.regions[0].size;
1330 if (end >= arm_lowmem_limit)
1331 end = arm_lowmem_limit;
1337 for (addr = __phys_to_virt(end);
1502 phys_addr_t start, end;
1506 for_each_mem_range(i, &start, &end) {
1509 pr_debug("map lowmem start: 0x%08llx, end: 0x%08llx\n",
1510 (long long)start, (long long)end);
1511 if (end > arm_lowmem_limit)
1512 end = arm_lowmem_limit;
1513 if (start >= end)
1536 * +-- end ----+ +--------+ | case 4 | | |
1541 if ((start > kernel_sec_start) && (end < kernel_sec_end))
1545 if ((kernel_sec_start >= start) && (kernel_sec_start <= end)) {
1547 if ((start < kernel_sec_start) && (end > kernel_sec_end)) {
1557 map.length = end - kernel_sec_end;
1565 /* Case 3: kernel and range end at the same address, should be rare */
1566 if (kernel_sec_end == end)
1567 end = kernel_sec_start;
1568 } else if ((kernel_sec_start < start) && (kernel_sec_end > start) && (kernel_sec_end < end)) {
1571 } else if ((kernel_sec_start > start) && (kernel_sec_start < end) && (kernel_sec_end > end)) {
1573 end = kernel_sec_start;
1577 map.length = end - start;
1586 * We use the well known kernel section start and end and split the area in the
1618 /* If the nx part is small it may end up covered by the tail of the RWX section */