Searched refs:pnewnb (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_trans.c128 struct netbuf *pnewnb; local
134 if ((pnewnb = (struct netbuf *)malloc(sizeof (*pnewnb))) == NULL)
136 if ((pnewnb->buf = malloc(pnb->len)) == NULL) {
137 free(pnewnb);
141 pnewnb->maxlen = pnb->maxlen;
142 pnewnb->len = pnb->len;
143 bcopy(pnb->buf, pnewnb->buf, pnb->len);
144 return (pnewnb);

Completed in 129 milliseconds