Lines Matching defs:how
535 m_get(int how, int type)
542 how == M_WAIT ? PR_WAITOK|PR_LIMITFAIL : PR_NOWAIT);
566 m_gethdr(int how, int type)
570 m = m_get(how, type);
594 m_get_n(int how, int type, size_t alignbytes, size_t nbytes)
600 if ((m = m_get(how, type)) == NULL)
603 m_clget(m, how);
616 m_gethdr_n(int how, int type, size_t alignbytes, size_t nbytes)
622 if ((m = m_gethdr(how, type)) == NULL)
625 m_clget(m, how);
638 m_clget(struct mbuf *m, int how)
641 how == M_WAIT ? (PR_WAITOK|PR_LIMITFAIL) : PR_NOWAIT,
667 m_getcl(int how, int type, int flags)
672 mp = m_gethdr(how, type);
674 mp = m_get(how, type);
679 MCLGET(mp, how);
691 m_prepend(struct mbuf *m, int len, int how)
700 mn = m_get(how, m->m_type);
841 * An optimization of the common case 'm_copym(m, 0, M_COPYALL, how)'.
844 m_copypacket(struct mbuf *m, int how)
852 n = m_get(how, m->m_type);
869 o = m_get(how, m->m_type);
1490 m_copyback_cow(struct mbuf *m0, int off, int len, const void *cp, int how)
1499 how);
1512 m_makewritable(struct mbuf **mp, int off, int len, int how)
1520 how);
1539 int flags, int how)
1580 MCLGET(m, how);
1599 n = m_getcl(how, m->m_type, 0);
1601 n = m_get(how, m->m_type);
1630 n = m_split_internal(m, off, how, false);
1648 n = m_get(how, m->m_type);
1728 m_defrag(struct mbuf *m, int how)
1760 m0 = m_get(how, MT_DATA);
1768 MCLGET(m, how);
1788 m0 = m_get(how, MT_DATA);
1798 MCLGET(mn, how);
1814 n = m_get(how, MT_DATA);