Lines Matching refs:mctl
2542 strput(struct stdata *stp, mblk_t *mctl, struct uio *uiop, ssize_t *iosize, in strput() argument
2562 freemsg(mctl); in strput()
2567 freemsg(mctl); in strput()
2574 freemsg(mctl); in strput()
2586 if (mctl != NULL) { in strput()
2587 if (mctl->b_cont == NULL) in strput()
2588 mctl->b_cont = mp; in strput()
2590 linkb(mctl, mp); in strput()
2591 mp = mctl; in strput()
2618 freemsg(mctl); in strput()
2624 if (mctl != NULL) { in strput()
2625 if (mctl->b_cont == NULL) in strput()
2626 mctl->b_cont = mp; in strput()
2628 linkb(mctl, mp); in strput()
2629 mp = mctl; in strput()
5117 struct strbuf mctl; in strioctl() local
5242 mctl.maxlen = STRUCT_FGET(strfdinsert, ctlbuf.maxlen); in strioctl()
5243 mctl.len = STRUCT_FGET(strfdinsert, ctlbuf.len); in strioctl()
5244 mctl.buf = STRUCT_FGETP(strfdinsert, ctlbuf.buf); in strioctl()
5256 if ((error = strmakemsg(&mctl, in strioctl()
6502 struct strbuf *mctl, in strgetmsg() argument
6664 if ((stp->sd_flag & (STRHUP|STREOF)) || (mctl->maxlen == 0 && in strgetmsg()
6666 mctl->len = mdata->len = 0; in strgetmsg()
6745 if (mctl->maxlen >= 0 && type != M_DATA) { in strgetmsg()
6749 bcnt = mctl->maxlen; in strgetmsg()
6750 ubuf = mctl->buf; in strgetmsg()
6780 mctl->len = mctl->maxlen - bcnt; in strgetmsg()
6782 mctl->len = -1; in strgetmsg()
7724 struct strbuf *mctl, in strputmsg() argument
7754 audit_strputmsg(vp, mctl, mdata, pri, flag, fmode); in strputmsg()
7778 if ((mctl->len < 0) || (pri != 0)) in strputmsg()
7817 (mctl->len > strctlsz)) { in strputmsg()
7846 if ((error = strmakectl(mctl, flag, fmode, &mp)) != 0) { in strputmsg()
7927 mblk_t *mctl, in kstrputmsg() argument
7944 if (mctl == NULL) in kstrputmsg()
7951 freemsg(mctl); in kstrputmsg()
7960 freemsg(mctl); in kstrputmsg()
7974 freemsg(mctl); in kstrputmsg()
7981 freemsg(mctl); in kstrputmsg()
7999 freemsg(mctl); in kstrputmsg()
8018 freemsg(mctl); in kstrputmsg()
8051 mp = mctl; in kstrputmsg()
8052 mctl = NULL; in kstrputmsg()
8072 if (mctl->b_datap->db_frtnp != NULL) in kstrputmsg()
8073 mp = dupmsg(mctl); in kstrputmsg()
8075 mp = copymsg(mctl); in kstrputmsg()
8080 error = strwaitbuf(msgdsize(mctl), BPRI_MED); in kstrputmsg()
8082 freemsg(mctl); in kstrputmsg()
8131 freemsg(mctl); in kstrputmsg()
8138 freemsg(mctl); in kstrputmsg()
8144 freemsg(mctl); in kstrputmsg()