Lines Matching refs:mp1
185 mblk_t *mp1;
200 mp1 = allocb(avail, BPRI_HI); /* the returned buffer */
201 if (mp1 == NULL)
208 size_out = mac_ndd_get_names(mip, mp1);
224 (void) adjmsg(mp1, -(excess + 1));
225 cp = (char *)mp1->b_wptr;
234 valp = (char *)mp1->b_rptr;
235 mp1->b_wptr = mp1->b_rptr;
303 MAC_PROP_PRIVATE, avail - 2, mp1->b_rptr);
308 size_out += strnlen((const char *)mp1->b_rptr, avail);
312 mp1->b_wptr = (uchar_t *)valp;
318 mp->b_cont = mp1;
320 freemsg(mp1);
329 mblk_t *mp1;
340 if (avail == 0 || !(mp1 = mp->b_cont))
343 if (mp1->b_cont) {
344 freemsg(mp1->b_cont);
345 mp1->b_cont = NULL;
347 mp1->b_datap->db_lim[-1] = '\0';
348 valp = (char *)mp1->b_rptr;
353 if (valp >= (char *)mp1->b_wptr)
412 freemsg(mp1);