Lines Matching refs:how

640 mb_ctor_mbuf(void *mem, int size, void *arg, int how)  in mb_ctor_mbuf()  argument
662 error = m_init(m, how, type, flags); in mb_ctor_mbuf()
729 mb_ctor_clust(void *mem, int size, void *arg, int how) in mb_ctor_clust() argument
755 mb_zinit_pack(void *mem, int size, int how) in mb_zinit_pack() argument
760 if (uma_zalloc_arg(zone_clust, m, how) == NULL || in mb_zinit_pack()
765 trash_init(m->m_ext.ext_buf, MCLBYTES, how); in mb_zinit_pack()
793 mb_ctor_pack(void *mem, int size, void *arg, int how) in mb_ctor_pack() argument
807 trash_ctor(m->m_ext.ext_buf, MCLBYTES, zone_clust, how); in mb_ctor_pack()
810 error = m_init(m, how, type, flags); in mb_ctor_pack()
1136 mb_alloc_ext_pgs(int how, m_ext_free_t ext_free, int flags) in mb_alloc_ext_pgs() argument
1140 m = m_get(how, MT_DATA); in mb_alloc_ext_pgs()
1315 m_clget(struct mbuf *m, int how) in m_clget() argument
1321 uma_zalloc_arg(zone_clust, m, how); in m_clget()
1326 if ((how & M_NOWAIT) && (m->m_ext.ext_buf == NULL)) { in m_clget()
1328 uma_zalloc_arg(zone_clust, m, how); in m_clget()
1330 MBUF_PROBE2(m__clget, m, how); in m_clget()
1342 m_cljget(struct mbuf *m, int how, int size) in m_cljget() argument
1354 retval = uma_zalloc_arg(zone, m, how); in m_cljget()
1356 MBUF_PROBE4(m__cljget, m, how, size, retval); in m_cljget()
1365 m_get2(int size, int how, short type, int flags) in m_get2() argument
1374 return (uma_zalloc_arg(zone_mbuf, &args, how)); in m_get2()
1376 return (uma_zalloc_arg(zone_pack, &args, how)); in m_get2()
1381 m = uma_zalloc_arg(zone_mbuf, &args, how); in m_get2()
1385 n = uma_zalloc_arg(zone_jumbop, m, how); in m_get2()
1399 m_get3(int size, int how, short type, int flags) in m_get3() argument
1406 return (m_get2(size, how, type, flags)); in m_get3()
1414 m = uma_zalloc_arg(zone_mbuf, &args, how); in m_get3()
1423 n = uma_zalloc_arg(zone, m, how); in m_get3()
1437 m_getjcl(int how, short type, int flags, int size) in m_getjcl() argument
1444 return m_getcl(how, type, flags); in m_getjcl()
1449 m = uma_zalloc_arg(zone_mbuf, &args, how); in m_getjcl()
1454 n = uma_zalloc_arg(zone, m, how); in m_getjcl()
1459 MBUF_PROBE5(m__getjcl, how, type, flags, size, m); in m_getjcl()
1468 mc_get(struct mchain *mc, u_int length, int how, short type, int flags) in mc_get() argument
1493 mb = m_getcl(how, type, (flags & M_PKTHDR)); in mc_get()
1495 mb = m_gethdr(how, type); in mc_get()
1497 mb = m_get(how, type); in mc_get()
1529 m_getm2(struct mbuf *m, int len, int how, short type, int flags) in m_getm2() argument
1537 if (__predict_false(mc_get(&mc, len, how, type, flags) != 0)) in m_getm2()
1720 mb_alloc_ext_plus_pages(int len, int how) in mb_alloc_ext_plus_pages() argument
1726 m = mb_alloc_ext_pgs(how, mb_free_mext_pgs, 0); in mb_alloc_ext_plus_pages()
1736 if (how == M_NOWAIT) { in mb_alloc_ext_plus_pages()
1757 mb_mapped_to_unmapped(struct mbuf *mp, int len, int mlen, int how, in mb_mapped_to_unmapped() argument
1767 m = mout = mb_alloc_ext_plus_pages(mbufsiz, how); in mb_mapped_to_unmapped()
1780 how); in mb_mapped_to_unmapped()