Lines Matching +full:11 +full:mp
444 mblk_t *mp; in setup_stream() local
446 mp = allocb(sizeof(struct stroptions), BPRI_MED); in setup_stream()
447 if (mp) in setup_stream()
449 struct stroptions *str = (struct stroptions *)(void *)mp->b_rptr; in setup_stream()
455 mp->b_datap->db_type = M_SETOPTS; in setup_stream()
456 mp->b_wptr += sizeof(struct stroptions); in setup_stream()
457 putnext(q, mp); in setup_stream()
604 mblk_t *mp; in parsersvc() local
606 while ((mp = getq(q))) in parsersvc()
608 if (canput(q->q_next) || (mp->b_datap->db_type > QPCTL)) in parsersvc()
610 putnext(q, mp); in parsersvc()
615 putbq(q, mp); in parsersvc()
631 register mblk_t *mp in parsewput() argument
641 switch (mp->b_datap->db_type) in parsewput()
644 putnext(q, mp); in parsewput()
648 iocp = (struct iocblk *)(void *)mp->b_rptr; in parsewput()
653 putnext(q, mp); in parsewput()
661 if (datap == NULL || mp->b_cont) in parsewput()
663 mp->b_datap->db_type = M_IOCNAK; in parsewput()
667 qreply(q, mp); in parsewput()
671 mp->b_cont = datap; in parsewput()
675 mp->b_datap->db_type = M_IOCACK; in parsewput()
677 qreply(q, mp); in parsewput()
689 mp->b_datap->db_type = M_IOCNAK; in parsewput()
693 mp->b_datap->db_type = M_IOCACK; in parsewput()
695 qreply(q, mp); in parsewput()
705 parsectl_t *dct = (parsectl_t *)(void *)mp->b_cont->b_rptr; in parsewput()
729 mp->b_datap->db_type = ok ? M_IOCACK : M_IOCNAK; in parsewput()
733 mp->b_datap->db_type = M_IOCNAK; in parsewput()
735 …parseprintf(DD_WPUT,("parse: parsewput qreply - %s\n", (mp->b_datap->db_type == M_IOCNAK) ? "M_IOC… in parsewput()
736 qreply(q, mp); in parsewput()
748 register mblk_t **mp in rdchar() argument
751 while (*mp != (mblk_t *)NULL) in rdchar()
753 if ((*mp)->b_wptr - (*mp)->b_rptr) in rdchar()
755 return (unsigned long)(*(unsigned char *)((*mp)->b_rptr++)); in rdchar()
759 register mblk_t *mmp = *mp; in rdchar()
761 *mp = (*mp)->b_cont; in rdchar()
774 mblk_t *mp in parserput() argument
779 switch (type = mp->b_datap->db_type) in parserput()
787 if (canput(q->q_next) || (mp->b_datap->db_type > QPCTL)) in parserput()
789 putnext(q, mp); in parserput()
792 putq(q, mp); in parserput()
811 if (canput(q->q_next) || (mp->b_datap->db_type > QPCTL)) in parserput()
813 putnext(q, mp); in parserput()
816 putq(q, mp); in parserput()
827 while (mp != (mblk_t *)NULL) in parserput()
829 ch = rdchar(&mp); in parserput()
868 freemsg(mp); in parserput()
902 freemsg(mp); in parserput()
905 if (canput(q->q_next) || (mp->b_datap->db_type > QPCTL)) in parserput()
907 putnext(q, mp); in parserput()
910 putq(q, mp); in parserput()
1333 * Revision 4.10 2004/11/14 16:06:08 kardel
1336 * Revision 4.9 2004/11/14 15:29:41 kardel
1339 * Revision 4.7 1999/11/28 09:13:53 kardel
1345 * Revision 4.5 1998/11/15 21:23:38 kardel
1366 * from V3 3.37 log info deleted 1998/04/11 kardel