Lines Matching defs:mpctl
170 mblk_t *mpctl;
238 mpctl = allocb(TOAHDR_SIZE, BPRI_MED);
239 if (!mpctl) {
243 mpctl->b_cont = allocb(DATA_MBLK_SIZE, BPRI_MED);
244 if (!mpctl->b_cont) {
245 freemsg(mpctl);
249 mpctl->b_datap->db_type = M_PROTO;
250 mpctl->b_wptr += TOAHDR_SIZE;
251 toa = (struct T_optmgmt_ack *)mpctl->b_rptr;
267 if (!(*getfn)(q, mpctl, req_start->level, legacy_req))
268 freemsg(mpctl);
282 mpctl = reallocb(mp, TOAHDR_SIZE, 1);
283 if (!mpctl) {
287 mpctl->b_datap->db_type = M_PROTO;
288 mpctl->b_wptr = mpctl->b_rptr + TOAHDR_SIZE;
289 toa = (struct T_optmgmt_ack *)mpctl->b_rptr;
298 qreply(q, mpctl);