Lines Matching refs:mm
4894 struct mbuf *mm; in ipsec_copypkt() local
4909 mm = mnew; in ipsec_copypkt()
4925 if (remain <= (mm->m_flags & M_PKTHDR ? MHLEN : MLEN)) { in ipsec_copypkt()
4928 MCLGET(mm, M_DONTWAIT); in ipsec_copypkt()
4929 if (!(mm->m_flags & M_EXT)) { in ipsec_copypkt()
4930 m_free(mm); in ipsec_copypkt()
4937 bcopy(m_mtod_current(n) + copied, m_mtod_current(mm), len); in ipsec_copypkt()
4941 mm->m_len = len; in ipsec_copypkt()
4953 mm->m_next = mn; in ipsec_copypkt()
4954 mm = mn; in ipsec_copypkt()
4958 mm->m_next = m_free(n); in ipsec_copypkt()
4959 n = mm; in ipsec_copypkt()