Lines Matching refs:mctl
2612 strput(struct stdata *stp, mblk_t *mctl, struct uio *uiop, ssize_t *iosize, in strput() argument
2634 freemsg(mctl); in strput()
2639 freemsg(mctl); in strput()
2646 freemsg(mctl); in strput()
2658 if (mctl != NULL) { in strput()
2659 if (mctl->b_cont == NULL) in strput()
2660 mctl->b_cont = mp; in strput()
2662 linkb(mctl, mp); in strput()
2663 mp = mctl; in strput()
2690 freemsg(mctl); in strput()
2696 if (mctl != NULL) { in strput()
2697 if (mctl->b_cont == NULL) in strput()
2698 mctl->b_cont = mp; in strput()
2700 linkb(mctl, mp); in strput()
2701 mp = mctl; in strput()
5243 struct strbuf mctl; in strioctl() local
5368 mctl.maxlen = STRUCT_FGET(strfdinsert, ctlbuf.maxlen); in strioctl()
5369 mctl.len = STRUCT_FGET(strfdinsert, ctlbuf.len); in strioctl()
5370 mctl.buf = STRUCT_FGETP(strfdinsert, ctlbuf.buf); in strioctl()
5382 if ((error = strmakemsg(&mctl, in strioctl()
6628 struct strbuf *mctl, in strgetmsg() argument
6790 if ((stp->sd_flag & (STRHUP|STREOF)) || (mctl->maxlen == 0 && in strgetmsg()
6792 mctl->len = mdata->len = 0; in strgetmsg()
6871 if (mctl->maxlen >= 0 && type != M_DATA) { in strgetmsg()
6875 bcnt = mctl->maxlen; in strgetmsg()
6876 ubuf = mctl->buf; in strgetmsg()
6906 mctl->len = mctl->maxlen - bcnt; in strgetmsg()
6908 mctl->len = -1; in strgetmsg()
7850 struct strbuf *mctl, in strputmsg() argument
7880 audit_strputmsg(vp, mctl, mdata, pri, flag, fmode); in strputmsg()
7904 if ((mctl->len < 0) || (pri != 0)) in strputmsg()
7943 (mctl->len > strctlsz)) { in strputmsg()
7972 if ((error = strmakectl(mctl, flag, fmode, &mp)) != 0) { in strputmsg()
8053 mblk_t *mctl, in kstrputmsg() argument
8070 if (mctl == NULL) in kstrputmsg()
8077 freemsg(mctl); in kstrputmsg()
8086 freemsg(mctl); in kstrputmsg()
8100 freemsg(mctl); in kstrputmsg()
8107 freemsg(mctl); in kstrputmsg()
8125 freemsg(mctl); in kstrputmsg()
8144 freemsg(mctl); in kstrputmsg()
8177 mp = mctl; in kstrputmsg()
8178 mctl = NULL; in kstrputmsg()
8198 if (mctl->b_datap->db_frtnp != NULL) in kstrputmsg()
8199 mp = dupmsg(mctl); in kstrputmsg()
8201 mp = copymsg(mctl); in kstrputmsg()
8206 error = strwaitbuf(msgdsize(mctl), BPRI_MED); in kstrputmsg()
8208 freemsg(mctl); in kstrputmsg()
8257 freemsg(mctl); in kstrputmsg()
8264 freemsg(mctl); in kstrputmsg()
8270 freemsg(mctl); in kstrputmsg()