Lines Matching refs:m1
1085 int append_copy(m1, m2, wait)
1086 struct mbuf *m1, *m2;
1089 if ((!(m1->m_flags & M_EXT)) && (!(m2->m_flags & M_EXT)) &&
1090 (m_trailingspace(m1) >= m2->m_len)) {
1092 bcopy(mtod(m2, caddr_t), mtod(m1, caddr_t) + m1->m_len,
1094 m1->m_len += m2->m_len;
1095 if (m1->m_flags & M_PKTHDR)
1096 m1->m_pkthdr.len += m2->m_len;
1099 if ((m1->m_next = m_copym(m2, 0, m2->m_len,
1139 void gbuf_linkb(m1, m2)
1140 gbuf_t *m1;
1143 while (gbuf_cont(m1) != 0)
1144 m1 = gbuf_cont(m1);
1145 gbuf_cont(m1) = m2;
1148 void gbuf_linkpkt(m1, m2)
1149 gbuf_t *m1;
1152 while (gbuf_next(m1) != 0)
1153 m1 = gbuf_next(m1);
1154 gbuf_next(m1) = m2;