cbp = malloc(sizeof (struct ccdbuf), M_DEVBUF, M_WAITOK); bzero(cbp, sizeof (struct ccdbuf)); cbp->cb_sg = malloc(sizeof (struct ccdseg) * MAXBSIZE >> PAGE_SHIFT, M_DEVBUF, M_WAITOK);
if ((cbp = pool_get(&ccdbufpl, PR_WAITOK))) bzero(cbp, ccdbufsizeof);
getccdbuf(){	struct ccdbuf *cbp;	cbp = malloc(sizeof (struct ccdbuf), M_DEVBUF, M_WAITOK);	bzero(cbp, sizeof (struct ccdbuf));	cbp->cb_sg = malloc(sizeof (struct ccdseg) * MAXBSIZE >> PAGE_SHIFT,	    M_DEVBUF, M_WAITOK);	return (cbp);}