Lines Matching defs:how

323 m_pkthdr_init(struct mbuf *m, int how)
332 error = mac_mbuf_init(m, how);
376 m_dup_pkthdr(struct mbuf *to, const struct mbuf *from, int how)
391 MBUF_CHECKSLEEP(how);
401 return (m_tag_copy_chain(to, from, how));
410 m_prepend(struct mbuf *m, int len, int how)
415 mn = m_gethdr(how, m->m_type);
417 mn = m_get(how, m->m_type);
505 * An optimization of the common case `m_copym(m, 0, M_COPYALL, how)'.
513 m_copypacket(struct mbuf *m, int how)
517 MBUF_CHECKSLEEP(how);
518 n = m_get(how, m->m_type);
523 if (!m_dup_pkthdr(n, m, how))
536 o = m_get(how, m->m_type);
594 m_dup(const struct mbuf *m, int how)
599 MBUF_CHECKSLEEP(how);
614 n = m_getcl(how, m->m_type, 0);
617 n = m_get(how, m->m_type);
624 if (!m_dup_pkthdr(n, m, how)) {
1261 m_defrag(struct mbuf *m0, int how)
1266 MBUF_CHECKSLEEP(how);
1281 m_final = m_getcl(how, MT_DATA, M_PKTHDR);
1283 m_final = m_gethdr(how, MT_DATA);
1288 if (m_dup_pkthdr(m_final, m0, how) == 0)
1300 m_new = m_getcl(how, MT_DATA, 0);
1302 m_new = m_get(how, MT_DATA);
1344 m_collapse(struct mbuf *m0, int how, int maxfrags)
1388 m = m_getcl(how, MT_DATA, 0);
1438 m_fragment(struct mbuf *m0, int how, int length)
1459 m_first = m_getcl(how, MT_DATA, M_PKTHDR);
1463 if (m_dup_pkthdr(m_first, m0, how) == 0)
1475 struct mbuf *m_new = m_getcl(how, MT_DATA, 0);
1504 m_uiotombuf(struct uio *uio, int how, int len, int align, int flags)
1531 m = m_getm2(NULL, max(total + align, 1), how, MT_DATA, flags);
1595 m_unshare(struct mbuf *m0, int how)
1667 * don't know how to break up the non-contiguous memory when
1670 n = m_getcl(how, m->m_type, m->m_flags & M_COPYFLAGS);
1700 n = m_getcl(how, m->m_type, m->m_flags & M_COPYFLAGS);