Lines Matching refs:newppref
360 int *newppref, *oldppref; in amap_extend() local
564 newppref = NULL; in amap_extend()
567 newppref = kmem_alloc(slotalloc * sizeof(*newppref), kmflags); in amap_extend()
575 if (newppref != NULL) { in amap_extend()
576 kmem_free(newppref, slotalloc * sizeof(*newppref)); in amap_extend()
637 if (newppref) { in amap_extend()
639 memcpy(newppref, oldppref, in amap_extend()
641 memset(newppref + amap->am_nslot, 0, in amap_extend()
644 memcpy(newppref + slotarea, oldppref + slotoff, in amap_extend()
647 amap->am_ppref = newppref; in amap_extend()
653 pp_setreflen(newppref, amap->am_nslot, 1, in amap_extend()
656 pp_setreflen(newppref, 0, 0, in amap_extend()
658 pp_setreflen(newppref, slotalloc - slotneed, 1, in amap_extend()