Home
last modified time | relevance | path

Searched refs:rfa (Results 1 – 3 of 3) sorted by relevance

/xnu-12377.41.6/bsd/kern/
H A Duipc_mbuf.c484 m_set_ext(struct mbuf *m, struct ext_ref *rfa, m_ext_free_func_t ext_free, in m_set_ext() argument
488 if (rfa != NULL) { in m_set_ext()
489 m->m_ext.ext_refflags = rfa; in m_set_ext()
514 m_ext_free_func_t free, caddr_t free_arg, struct ext_ref *rfa, in mext_init() argument
523 m_set_ext(m, rfa, free, free_arg); in mext_init()
836 mz_ref_free(struct ext_ref *rfa) in mz_ref_free() argument
838 VERIFY(rfa->minref == rfa->refcnt); in mz_ref_free()
840 zone_require(zone_by_id(ZONE_ID_MBUF_REF), rfa); in mz_ref_free()
842 zfree_nozero(ZONE_ID_MBUF_REF, rfa); in mz_ref_free()
927 struct ext_ref *rfa = NULL; in mz_composite_build() local
[all …]
H A Duipc_mbuf_mcache.c1905 mcache_obj_t *rfa, *nexto = o->obj_next; in cslab_free() local
1964 rfa = (mcache_obj_t *)(void *)m_get_rfa(m); in cslab_free()
1966 rfa->obj_next = ref_list; in cslab_free()
1967 ref_list = rfa; in cslab_free()
2031 struct ext_ref *rfa; in mbuf_cslab_alloc() local
2117 rfa = (struct ext_ref *)ref_list; in mbuf_cslab_alloc()
2119 ((mcache_obj_t *)(void *)rfa)->obj_next = NULL; in mbuf_cslab_alloc()
2173 MBUF_16KCL_INIT(ms, cl, rfa, 0, EXTF_COMPOSITE); in mbuf_cslab_alloc()
2175 MBUF_BIGCL_INIT(ms, cl, rfa, 0, EXTF_COMPOSITE); in mbuf_cslab_alloc()
2177 MBUF_CL_INIT(ms, cl, rfa, 0, EXTF_COMPOSITE); in mbuf_cslab_alloc()
[all …]
/xnu-12377.41.6/bsd/sys/
H A Dmbuf.h1990 #define MBUF_CL_INIT(m, buf, rfa, ref, flag) \ argument
1991 mext_init(m, buf, m_maxsize(MC_CL), NULL, NULL, rfa, 0, \
1994 #define MBUF_BIGCL_INIT(m, buf, rfa, ref, flag) \ argument
1995 mext_init(m, buf, m_maxsize(MC_BIGCL), m_bigfree, NULL, rfa, 0, \
1998 #define MBUF_16KCL_INIT(m, buf, rfa, ref, flag) \ argument
1999 mext_init(m, buf, m_maxsize(MC_16KCL), m_16kfree, NULL, rfa, 0, \
2038 extern void m_set_ext(struct mbuf *m, struct ext_ref *rfa, m_ext_free_func_t ext_free,
2041 m_ext_free_func_t free, caddr_t free_arg, struct ext_ref *rfa,