Lines Matching refs:start
202 unsigned long start;
339 mr[nr_range].start = start_pfn<<PAGE_SHIFT;
360 unsigned long start = round_down(mr[i].start, PMD_SIZE);
368 if (memblock_is_region_memory(start, end - start))
373 unsigned long start = round_down(mr[i].start, PUD_SIZE);
376 if (memblock_is_region_memory(start, end - start))
408 unsigned long start,
418 pfn = start_pfn = PFN_DOWN(start);
488 if (mr[i].end != mr[i+1].start ||
492 old_start = mr[i].start;
495 mr[i--].start = old_start;
501 mr[i].start, mr[i].end - 1,
528 if ((start_pfn >= pfn_mapped[i].start) &&
540 unsigned long __ref init_memory_mapping(unsigned long start,
548 start, end - 1);
551 nr_range = split_mem_range(mr, 0, start, end);
554 ret = kernel_physical_mapping_init(mr[i].start, mr[i].end,
558 add_pfn_range_mapped(start >> PAGE_SHIFT, ret >> PAGE_SHIFT);
585 u64 start = clamp_val(PFN_PHYS(start_pfn), r_start, r_end);
587 if (start >= end)
594 can_use_brk_pgt = max(start, (u64)pgt_buf_end<<PAGE_SHIFT) >=
596 init_memory_mapping(start, end, PAGE_KERNEL);
597 mapped_ram_size += end - start;
615 * when step_size is 0, round_down() returns 0 for start, and that
625 * @map_start: start address of the target memory range
636 unsigned long real_end, start, last_start;
649 last_start = start = real_end;
652 * We start from the top (end of memory) and go to the bottom.
659 start = round_down(last_start - 1, step_size);
660 if (start < map_start)
661 start = map_start;
663 start = map_start;
664 mapped_ram_size += init_range_memory_mapping(start,
666 last_start = start;
678 * @map_start: start address of the target memory range
690 unsigned long next, start;
695 start = map_start;
696 min_pfn_mapped = start >> PAGE_SHIFT;
699 * We start from the bottom (@map_start) and go to the top (@map_end).
704 while (start < map_end) {
705 if (step_size && map_end - start > step_size) {
706 next = round_up(start + 1, step_size);
713 mapped_ram_size += init_range_memory_mapping(start, next);
714 start = next;
967 void __init free_initrd_mem(unsigned long start, unsigned long end)
978 free_init_pages("initrd", start, PAGE_ALIGN(end));