Lines Matching refs:newreg
3292 caddr_t newreg;
3307 newreg = kmem_zalloc(alen+sizeof (*newone), KM_SLEEP);
3309 bcopy(assigned, newreg, alen);
3310 bcopy(newone, newreg + alen, sizeof (*newone));
3322 newreg = (caddr_t)newone;
3330 "assigned-addresses", (int *)newreg,
3334 kmem_free((caddr_t)newreg, alen+sizeof (*newone));
3349 caddr_t newreg;
3386 newreg = kmem_zalloc(alen + sizeof (pci_regspec_t), KM_SLEEP);
3406 bcopy(available, newreg, alen);
3407 bcopy(&addition, newreg + alen, sizeof (pci_regspec_t));
3413 "available", (int *)newreg,
3419 kmem_free((caddr_t)newreg, alen + sizeof (pci_regspec_t));
3429 caddr_t newreg;
3465 newreg = kmem_zalloc(rlen+sizeof (cardbus_range_t), KM_SLEEP);
3467 bcopy(ranges, newreg, rlen);
3468 bcopy(addition, newreg + rlen, sizeof (cardbus_range_t));
3474 dip, "ranges", (int *)newreg,
3481 nr = (cardbus_range_t *)newreg;
3496 kmem_free((caddr_t)newreg, rlen+sizeof (cardbus_range_t));
3507 caddr_t newreg;
3531 newreg = kmem_zalloc(rlen+sizeof (pci_regspec_t), KM_SLEEP);
3575 bcopy(reg, newreg, rlen);
3576 bcopy(&addition, newreg + rlen, sizeof (pci_regspec_t));
3582 dip, "reg", (int *)newreg,
3586 kmem_free((caddr_t)newreg, rlen+sizeof (pci_regspec_t));