Lines Matching refs:mctl

2543 strput(struct stdata *stp, mblk_t *mctl, struct uio *uiop, ssize_t *iosize,  in strput()  argument
2563 freemsg(mctl); in strput()
2568 freemsg(mctl); in strput()
2575 freemsg(mctl); in strput()
2587 if (mctl != NULL) { in strput()
2588 if (mctl->b_cont == NULL) in strput()
2589 mctl->b_cont = mp; in strput()
2591 linkb(mctl, mp); in strput()
2592 mp = mctl; in strput()
2619 freemsg(mctl); in strput()
2625 if (mctl != NULL) { in strput()
2626 if (mctl->b_cont == NULL) in strput()
2627 mctl->b_cont = mp; in strput()
2629 linkb(mctl, mp); in strput()
2630 mp = mctl; in strput()
5118 struct strbuf mctl; in strioctl() local
5243 mctl.maxlen = STRUCT_FGET(strfdinsert, ctlbuf.maxlen); in strioctl()
5244 mctl.len = STRUCT_FGET(strfdinsert, ctlbuf.len); in strioctl()
5245 mctl.buf = STRUCT_FGETP(strfdinsert, ctlbuf.buf); in strioctl()
5257 if ((error = strmakemsg(&mctl, in strioctl()
6503 struct strbuf *mctl, in strgetmsg() argument
6665 if ((stp->sd_flag & (STRHUP|STREOF)) || (mctl->maxlen == 0 && in strgetmsg()
6667 mctl->len = mdata->len = 0; in strgetmsg()
6746 if (mctl->maxlen >= 0 && type != M_DATA) { in strgetmsg()
6750 bcnt = mctl->maxlen; in strgetmsg()
6751 ubuf = mctl->buf; in strgetmsg()
6781 mctl->len = mctl->maxlen - bcnt; in strgetmsg()
6783 mctl->len = -1; in strgetmsg()
7725 struct strbuf *mctl, in strputmsg() argument
7755 audit_strputmsg(vp, mctl, mdata, pri, flag, fmode); in strputmsg()
7779 if ((mctl->len < 0) || (pri != 0)) in strputmsg()
7818 (mctl->len > strctlsz)) { in strputmsg()
7847 if ((error = strmakectl(mctl, flag, fmode, &mp)) != 0) { in strputmsg()
7928 mblk_t *mctl, in kstrputmsg() argument
7945 if (mctl == NULL) in kstrputmsg()
7952 freemsg(mctl); in kstrputmsg()
7961 freemsg(mctl); in kstrputmsg()
7975 freemsg(mctl); in kstrputmsg()
7982 freemsg(mctl); in kstrputmsg()
8000 freemsg(mctl); in kstrputmsg()
8019 freemsg(mctl); in kstrputmsg()
8052 mp = mctl; in kstrputmsg()
8053 mctl = NULL; in kstrputmsg()
8073 if (mctl->b_datap->db_frtnp != NULL) in kstrputmsg()
8074 mp = dupmsg(mctl); in kstrputmsg()
8076 mp = copymsg(mctl); in kstrputmsg()
8081 error = strwaitbuf(msgdsize(mctl), BPRI_MED); in kstrputmsg()
8083 freemsg(mctl); in kstrputmsg()
8132 freemsg(mctl); in kstrputmsg()
8139 freemsg(mctl); in kstrputmsg()
8145 freemsg(mctl); in kstrputmsg()