Lines Matching refs:newreg
2905 caddr_t newreg;
2929 newreg = kmem_zalloc(alen+sizeof (*newone), KM_SLEEP);
2931 bcopy(assigned, newreg, alen);
2932 bcopy(newone, newreg + alen, sizeof (*newone));
2938 "assigned-addresses", (int *)newreg,
2941 kmem_free((caddr_t)newreg, alen+sizeof (*newone));
2952 caddr_t newreg;
2981 newreg = kmem_zalloc(rlen+sizeof (ppb_ranges_t), KM_SLEEP);
2983 bcopy(ranges, newreg, rlen);
2984 bcopy(addition, newreg + rlen, sizeof (ppb_ranges_t));
2990 (int *)newreg, (rlen + sizeof (ppb_ranges_t))/sizeof (int));
2995 kmem_free((caddr_t)newreg, rlen+sizeof (ppb_ranges_t));
3007 caddr_t newreg;
3031 newreg = kmem_zalloc(rlen+sizeof (pci_regspec_t), KM_SLEEP);
3067 bcopy(reg, newreg, rlen);
3068 bcopy(&addition, newreg + rlen, sizeof (pci_regspec_t));
3075 (int *)newreg, (rlen + sizeof (pci_regspec_t))/sizeof (int));
3077 kmem_free((caddr_t)newreg, rlen+sizeof (pci_regspec_t));