Searched refs:pages_avail (Results 1 – 4 of 4) sorted by relevance
163 unsigned long __init bootmem_init(unsigned long *pages_avail) in bootmem_init() argument251 *pages_avail = 0; in bootmem_init()271 *pages_avail += last_pfn - curr_pfn; in bootmem_init()290 *pages_avail -= PAGE_ALIGN(size) >> PAGE_SHIFT; in bootmem_init()302 *pages_avail -= PAGE_ALIGN(size) >> PAGE_SHIFT; in bootmem_init()314 *pages_avail -= PAGE_ALIGN(size) >> PAGE_SHIFT; in bootmem_init()
1151 extern unsigned long bootmem_init(unsigned long *pages_avail);1161 unsigned long pages_avail; in srmmu_paging_init() local1186 pages_avail = 0; in srmmu_paging_init()1187 last_valid_pfn = bootmem_init(&pages_avail); in srmmu_paging_init()1245 zholes_size[ZONE_DMA] = npages - pages_avail; in srmmu_paging_init()
1970 extern unsigned long bootmem_init(unsigned long *pages_avail);1982 unsigned long end_pfn, pages_avail; in sun4c_paging_init() local1991 pages_avail = 0; in sun4c_paging_init()1992 last_valid_pfn = bootmem_init(&pages_avail); in sun4c_paging_init()2044 zholes_size[ZONE_DMA] = npages - pages_avail; in sun4c_paging_init()
1206 unsigned long __init bootmem_init(unsigned long *pages_avail) in bootmem_init() argument1241 *pages_avail = bytes_avail >> PAGE_SHIFT; in bootmem_init()1311 *pages_avail -= PAGE_ALIGN(size) >> PAGE_SHIFT; in bootmem_init()1322 *pages_avail -= PAGE_ALIGN(kern_size) >> PAGE_SHIFT; in bootmem_init()1334 *pages_avail -= PAGE_ALIGN(size) >> PAGE_SHIFT; in bootmem_init()1353 unsigned long pt, flags, end_pfn, pages_avail; in paging_init() local1450 pages_avail = 0; in paging_init()1451 last_valid_pfn = end_pfn = bootmem_init(&pages_avail); in paging_init()1495 zholes_size[ZONE_DMA] = npages - pages_avail; in paging_init()