Lines Matching refs:step_size
599 static unsigned long __init get_new_step_size(unsigned long step_size)
603 * We can not set step_size to be PUD_SIZE (1G) yet.
610 * when step_size is 0, round_down() returns 0 for start, and that
615 return step_size << (PMD_SHIFT - PAGE_SHIFT - 1);
632 unsigned long step_size;
649 /* step_size need to be small so pgt_buf from BRK could cover it */
650 step_size = PMD_SIZE;
664 if (last_start > step_size) {
665 start = round_down(last_start - 1, step_size);
674 if (mapped_ram_size >= step_size)
675 step_size = get_new_step_size(step_size);
698 /* step_size need to be small so pgt_buf from BRK could cover it */
699 unsigned long step_size = PMD_SIZE;
711 if (step_size && map_end - start > step_size) {
712 next = round_up(start + 1, step_size);
722 if (mapped_ram_size >= step_size)
723 step_size = get_new_step_size(step_size);