Lines Matching defs:mref
942 struct mbuf *m_new, *top, *prev, *mref;
963 mref = m;
968 mref = __containerof(refcnt, struct mbuf, m_ext.ext_count);
1023 mb_unmapped_free_mext, sf, mref, m->m_flags & M_RDONLY,
1170 struct mbuf *mref;
1178 mref = m;
1183 mref = __containerof(refcnt, struct mbuf, m_ext.ext_count);
1192 * and for this type we won't free the mref.
1209 uma_zfree(zone_pack, mref);
1213 m_free_raw(mref);
1217 m_free_raw(mref);
1221 m_free_raw(mref);
1225 m_free_raw(mref);
1232 KASSERT(mref->m_ext.ext_free != NULL,
1234 mref->m_ext.ext_free(mref);
1235 m_free_raw(mref);
1252 if (freembuf && m != mref)
1264 struct mbuf *mref;
1271 mref = m;
1276 mref = __containerof(refcnt, struct mbuf, m_ext.ext_count);
1281 KASSERT(mref->m_ext.ext_free != NULL,
1284 mref->m_ext.ext_free(mref);
1286 if (mref->m_epg_tls != NULL &&
1287 !refcount_release_if_not_last(&mref->m_epg_tls->refcount))
1288 ktls_enqueue_to_free(mref);
1291 m_free_raw(mref);
1294 if (m != mref)