Lines Matching refs:num
2462 pgcnt_t num;
2496 num = btop(size);
2497 if (num == 0)
2500 if (num > npages)
2501 num = npages;
2503 npages -= num;
2504 pages_done += num;
2510 addr, num, base_pfn, base_pfn + num);
2517 if (base_pfn + num <= ddiphysmin)
2520 num -= (ddiphysmin - base_pfn);
2532 end_pfn = base_pfn + num - 1;
2539 * Set num to only the pfn range in the start
2542 num = mem_node_config[ms].physmax - base_pfn
2553 cur_memseg->epages = pp + num;
2555 cur_memseg->pages_end = base_pfn + num;
2579 add_physmem(pp, num, base_pfn);
2581 availrmem_initial += num;
2582 availrmem += num;
2584 pp += num;
2591 num = MIN(mem_node_config[ms].physmax,