Lines Matching +full:11 +full:mp
288 register mblk_t *mp; in setup_stream() local
292 mp = allocb(sizeof(struct stroptions), BPRI_MED); in setup_stream()
293 if (mp) in setup_stream()
295 struct stroptions *str = (void *)mp->b_wptr; in setup_stream()
301 mp->b_datap->db_type = M_SETOPTS; in setup_stream()
302 mp->b_wptr += sizeof(struct stroptions); in setup_stream()
305 putnext(q, mp); in setup_stream()
446 mblk_t *mp; in parsersvc() local
448 while ((mp = getq(q))) in parsersvc()
450 if (canputnext(q) || (mp->b_datap->db_type > QPCTL)) in parsersvc()
452 putnext(q, mp); in parsersvc()
457 putbq(q, mp); in parsersvc()
473 mblk_t *mp in parsewput() argument
483 switch (mp->b_datap->db_type) in parsewput()
486 putnext(q, mp); in parsewput()
490 iocp = (void *)mp->b_rptr; in parsewput()
495 putnext(q, mp); in parsewput()
503 if (datap == NULL || mp->b_cont) in parsewput()
505 mp->b_datap->db_type = M_IOCNAK; in parsewput()
509 qreply(q, mp); in parsewput()
513 mp->b_cont = datap; in parsewput()
518 mp->b_datap->db_type = M_IOCACK; in parsewput()
520 qreply(q, mp); in parsewput()
532 mp->b_datap->db_type = M_IOCNAK; in parsewput()
536 mp->b_datap->db_type = M_IOCACK; in parsewput()
538 qreply(q, mp); in parsewput()
548 parsectl_t *dct = (void *)mp->b_cont->b_rptr; in parsewput()
572 mp->b_datap->db_type = ok ? M_IOCACK : M_IOCNAK; in parsewput()
576 mp->b_datap->db_type = M_IOCNAK; in parsewput()
578 …pprintf(DD_WPUT, "parse: parsewput qreply - %s\n", (mp->b_datap->db_type == M_IOCNAK) ? "M_IOCNAK"… in parsewput()
579 qreply(q, mp); in parsewput()
591 mblk_t **mp in rdchar() argument
594 while (*mp != (mblk_t *)NULL) in rdchar()
596 if ((*mp)->b_wptr - (*mp)->b_rptr) in rdchar()
598 return (unsigned long)(*(unsigned char *)((*mp)->b_rptr++)); in rdchar()
602 register mblk_t *mmp = *mp; in rdchar()
604 *mp = (*mp)->b_cont; in rdchar()
621 mblk_t *mp = imp; in parserput() local
623 switch (type = mp->b_datap->db_type) in parserput()
632 if (canputnext(q) || (mp->b_datap->db_type > QPCTL)) in parserput()
634 putnext(q, mp); in parserput()
637 putq(q, mp); in parserput()
659 if (canputnext(q) || (mp->b_datap->db_type > QPCTL)) in parserput()
661 putnext(q, mp); in parserput()
664 putq(q, mp); in parserput()
674 while (mp != (mblk_t *)NULL) in parserput()
676 ch = rdchar(&mp); in parserput()
715 freemsg(mp); in parserput()
752 freemsg(mp); in parserput()
755 if (canputnext(q) || (mp->b_datap->db_type > QPCTL)) in parserput()
757 putnext(q, mp); in parserput()
760 putq(q, mp); in parserput()
1169 * Revision 4.10 2004/11/14 16:06:08 kardel
1172 * Revision 4.9 2004/11/14 15:29:41 kardel
1175 * Revision 4.6 1998/11/15 21:56:08 kardel
1178 * Revision 4.5 1998/11/15 21:23:37 kardel
1201 * from V3 3.28 log info deleted 1998/04/11 kardel