Lines Matching full:how

403 m_pkthdr_init(struct mbuf *m, int how)
415 error = mac_mbuf_init(m, how);
464 m_dup_pkthdr(struct mbuf *to, const struct mbuf *from, int how)
479 MBUF_CHECKSLEEP(how);
492 return (m_tag_copy_chain(to, from, how));
501 m_prepend(struct mbuf *m, int len, int how)
506 mn = m_gethdr(how, m->m_type);
508 mn = m_get(how, m->m_type);
596 * An optimization of the common case `m_copym(m, 0, M_COPYALL, how)'.
604 m_copypacket(struct mbuf *m, int how)
608 MBUF_CHECKSLEEP(how);
609 n = m_get(how, m->m_type);
614 if (!m_dup_pkthdr(n, m, how))
627 o = m_get(how, m->m_type);
712 m_dup(const struct mbuf *m, int how)
717 MBUF_CHECKSLEEP(how);
732 n = m_getcl(how, m->m_type, 0);
735 n = m_get(how, m->m_type);
742 if (!m_dup_pkthdr(n, m, how)) {
1566 m_defrag(struct mbuf *m0, int how)
1571 MBUF_CHECKSLEEP(how);
1586 m_final = m_getcl(how, MT_DATA, M_PKTHDR);
1588 m_final = m_gethdr(how, MT_DATA);
1593 if (m_dup_pkthdr(m_final, m0, how) == 0)
1605 m_new = m_getcl(how, MT_DATA, 0);
1607 m_new = m_get(how, MT_DATA);
1682 m_collapse(struct mbuf *m0, int how, int maxfrags)
1727 m = m_getcl(how, MT_DATA, 0);
1780 m_fragment(struct mbuf *m0, int how, int length)
1801 m_first = m_getcl(how, MT_DATA, M_PKTHDR);
1805 if (m_dup_pkthdr(m_first, m0, how) == 0)
1817 struct mbuf *m_new = m_getcl(how, MT_DATA, 0);
1860 m_uiotombuf_nomap(struct uio *uio, int how, int len, int maxseg, int flags)
1866 int pflags = malloc2vm_flags(how) | VM_ALLOC_NODUMP | VM_ALLOC_WIRED;
1869 MPASS((how & M_ZERO) == 0);
1890 mb = mb_alloc_ext_pgs(how, mb_free_mext_pgs, 0);
1902 mb = mb_alloc_ext_pgs(how, mb_free_mext_pgs, 0);
1916 if (how & M_NOWAIT) {
1950 m_uiotombuf(struct uio *uio, int how, int len, int lspace, int flags)
1955 return (m_uiotombuf_nomap(uio, how, len, lspace, flags));
1964 m = m_gethdr(how, MT_DATA);
1967 m = m_get(how, MT_DATA);
1975 error = mc_uiotomc(&mc, uio, len, lspace, how, flags);
1995 int how, int flags)
2022 error = mc_get(mc, total + lspace, how, MT_DATA, flags);
2142 m_unshare(struct mbuf *m0, int how)
2208 * don't know how to break up the non-contiguous memory when
2211 n = m_getcl(how, m->m_type, m->m_flags & M_COPYFLAGS);
2241 n = m_getcl(how, m->m_type, m->m_flags & M_COPYFLAGS);