Lines Matching defs:pmptr
158 pmap_memory_region_t *pmptr;
204 pmptr = pmap_memory_regions;
292 pmptr->base = base;
294 pmptr->base = I386_LOWMEM_RESERVED;
298 pmptr->alloc = pmptr->end = top;
299 pmptr->type = pmap_type;
307 pmptr->base = base;
308 pmptr->alloc = pmptr->end = (fap - 1);
309 pmptr->type = pmap_type;
314 pmptr++;
316 pmptr->alloc = pmptr->base = fap;
317 pmptr->type = pmap_type;
318 pmptr->end = top;
324 pmptr->alloc = pmptr->base = base;
325 pmptr->type = pmap_type;
326 pmptr->end = top;
329 if (i386_ptob(pmptr->end) > avail_end )
330 avail_end = i386_ptob(pmptr->end);
332 avail_remaining += (pmptr->end - pmptr->base);
338 pmptr->type == prev_pmptr->type &&
339 pmptr->base == pmptr->alloc &&
340 pmptr->base == (prev_pmptr->end + 1)) {
341 prev_pmptr->end = pmptr->end;
344 prev_pmptr = pmptr;
345 pmptr++;
526 pmap_memory_region_t *pmptr = pmap_memory_regions;
529 for (i = 0; i < pmap_memory_region_count; i++, pmptr++) {
530 if ( (pn >= pmptr->base) && (pn <= pmptr->end) )
540 pmap_memory_region_t *pmptr = pmap_memory_regions;
547 for (i = 0; i < pmap_memory_region_count; i++, pmptr++) {
548 if ( (pmptr->end - pmptr->alloc) >= pages_needed ) {
549 if ( (lowest == NULL) || (pmptr->alloc < lowest->alloc) )
550 lowest = pmptr;