Lines Matching defs:mp2
734 struct mbuf *mp2;
757 MGET(mp2, how, MT_DATA);
758 if (mp2 == NULL)
760 mp2->m_next = nd->nd_md->m_next;
761 nd->nd_md->m_next = mp2;
763 nd->nd_md = mp2;
764 retp = p = mtod(mp2, caddr_t);
768 mp2 = mp2->m_next;
771 if (mp2 == NULL)
773 xfer = (siz2 > mp2->m_len) ? mp2->m_len : siz2;
775 NFSBCOPY(mtod(mp2, caddr_t), p, xfer);
776 mp2->m_data += xfer;
777 mp2->m_len -= xfer;
782 mp2 = mp2->m_next;
785 nd->nd_md = mp2;
786 nd->nd_dpos = mtod(mp2, caddr_t);