Lines Matching refs:how

640 mb_ctor_mbuf(void *mem, int size, void *arg, int how)
662 error = m_init(m, how, type, flags);
729 mb_ctor_clust(void *mem, int size, void *arg, int how)
755 mb_zinit_pack(void *mem, int size, int how)
760 if (uma_zalloc_arg(zone_clust, m, how) == NULL ||
765 trash_init(m->m_ext.ext_buf, MCLBYTES, how);
793 mb_ctor_pack(void *mem, int size, void *arg, int how)
807 trash_ctor(m->m_ext.ext_buf, MCLBYTES, zone_clust, how);
810 error = m_init(m, how, type, flags);
1122 mb_alloc_ext_pgs(int how, m_ext_free_t ext_free)
1126 m = m_get(how, MT_DATA);
1301 m_clget(struct mbuf *m, int how)
1307 uma_zalloc_arg(zone_clust, m, how);
1312 if ((how & M_NOWAIT) && (m->m_ext.ext_buf == NULL)) {
1314 uma_zalloc_arg(zone_clust, m, how);
1316 MBUF_PROBE2(m__clget, m, how);
1328 m_cljget(struct mbuf *m, int how, int size)
1340 retval = uma_zalloc_arg(zone, m, how);
1342 MBUF_PROBE4(m__cljget, m, how, size, retval);
1351 m_get2(int size, int how, short type, int flags)
1360 return (uma_zalloc_arg(zone_mbuf, &args, how));
1362 return (uma_zalloc_arg(zone_pack, &args, how));
1367 m = uma_zalloc_arg(zone_mbuf, &args, how);
1371 n = uma_zalloc_arg(zone_jumbop, m, how);
1385 m_get3(int size, int how, short type, int flags)
1392 return (m_get2(size, how, type, flags));
1400 m = uma_zalloc_arg(zone_mbuf, &args, how);
1409 n = uma_zalloc_arg(zone, m, how);
1423 m_getjcl(int how, short type, int flags, int size)
1430 return m_getcl(how, type, flags);
1435 m = uma_zalloc_arg(zone_mbuf, &args, how);
1440 n = uma_zalloc_arg(zone, m, how);
1445 MBUF_PROBE5(m__getjcl, how, type, flags, size, m);
1455 mc_get(struct mchain *mc, u_int length, int how, short type, int flags)
1480 mb = m_getcl(how, type, (flags & M_PKTHDR));
1482 mb = m_gethdr(how, type);
1484 mb = m_get(how, type);
1515 m_getm2(struct mbuf *m, int len, int how, short type, int flags)
1523 if (__predict_false(mc_get(&mc, len, how, type, flags) != 0))
1706 mb_alloc_ext_plus_pages(int len, int how)
1712 m = mb_alloc_ext_pgs(how, mb_free_mext_pgs);
1722 if (how == M_NOWAIT) {
1743 mb_mapped_to_unmapped(struct mbuf *mp, int len, int mlen, int how,
1753 m = mout = mb_alloc_ext_plus_pages(mbufsiz, how);
1766 how);