Lines Matching refs:num
2621 pgcnt_t num;
2655 num = btop(size);
2656 if (num == 0)
2659 if (num > npages)
2660 num = npages;
2662 npages -= num;
2663 pages_done += num;
2669 addr, num, base_pfn, base_pfn + num);
2676 if (base_pfn + num <= ddiphysmin)
2679 num -= (ddiphysmin - base_pfn);
2691 end_pfn = base_pfn + num - 1;
2698 * Set num to only the pfn range in the start
2701 num = mem_node_config[ms].physmax - base_pfn
2712 cur_memseg->epages = pp + num;
2714 cur_memseg->pages_end = base_pfn + num;
2738 add_physmem(pp, num, base_pfn);
2740 availrmem_initial += num;
2741 availrmem += num;
2743 pp += num;
2750 num = MIN(mem_node_config[ms].physmax,