Lines Matching refs:nmp
460 p_mblk_t nmp;
496 nmp = mp;
499 mp, nmp->b_rptr, MBLKL(nmp)));
503 while ((nmp != NULL) && (tmp > 0)) {
505 mblk_len = MBLKL(nmp);
507 bcopy(nmp->b_rptr, cursor, buflen);
510 nmp = nmp->b_cont;
513 nmp = mp;
514 mblk_len = MBLKL(nmp);
555 ip_buf = nmp->b_rptr + eth_hdr_size;
559 ip_buf = nmp->b_rptr;
569 while ((nmp) && (hdrs_size <
571 mblk_len = (size_t)nmp->b_wptr -
572 (size_t)nmp->b_rptr;
577 bcopy(nmp->b_rptr,
580 nmp = nmp->b_cont;
607 while ((nmp) && (hdrs_size <
609 mblk_len = (size_t)nmp->b_wptr - (size_t)nmp->b_rptr;
614 bcopy(nmp->b_rptr,
617 nmp = nmp->b_cont;
683 nmp = mp;
684 mblk_len = MBLKL(nmp);
685 while ((nmp != NULL) &&
688 nmp = nmp->b_cont;
689 if (nmp)
690 mblk_len = MBLKL(nmp);
692 ASSERT(nmp);
693 up = (uint16_t *)(nmp->b_rptr + stuff_len);
778 p_mblk_t nmp, bmp, tmp;
785 nmp = mp;
791 while (nmp) {
792 len = MBLKL(nmp);
799 bmp = nmp;
800 nmp = nmp->b_cont;
825 nmp = bmp;
851 b_wptr = nmp->b_rptr +
853 nmp->b_wptr = b_wptr;
854 if ((tmp = dupb(nmp)) == NULL) {
858 tmp->b_wptr = nmp->b_wptr;
859 tmp->b_cont = nmp->b_cont;
860 nmp->b_cont = tmp;
863 nmp = tmp;
866 nmp = tmp;
873 if (nmp->b_cont && (nmblks + TX_GATHER_POINTERS_THRESHOLD) >
880 if ((tmp = msgpullup(nmp->b_cont, -1)) == NULL) {
883 freemsg(nmp->b_cont);
884 nmp->b_cont = tmp;
887 bmp = nmp;
888 nmp = nmp->b_cont;