Lines Matching refs:mm
4875 struct mbuf *mm; in ipsec_copypkt() local
4890 mm = mnew; in ipsec_copypkt()
4906 if (remain <= (mm->m_flags & M_PKTHDR ? MHLEN : MLEN)) { in ipsec_copypkt()
4909 MCLGET(mm, M_DONTWAIT); in ipsec_copypkt()
4910 if (!(mm->m_flags & M_EXT)) { in ipsec_copypkt()
4911 m_free(mm); in ipsec_copypkt()
4918 bcopy(m_mtod_current(n) + copied, m_mtod_current(mm), len); in ipsec_copypkt()
4922 mm->m_len = len; in ipsec_copypkt()
4934 mm->m_next = mn; in ipsec_copypkt()
4935 mm = mn; in ipsec_copypkt()
4939 mm->m_next = m_free(n); in ipsec_copypkt()
4940 n = mm; in ipsec_copypkt()