Searched refs:mcache_obj_t (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/sys/
H A Dmcache.h157 } mcache_obj_t; typedef in typeref:struct:mcache_obj
190 typedef unsigned int (*mcache_allocfn_t)(void *, mcache_obj_t ***,
192 typedef void (*mcache_freefn_t)(void *, mcache_obj_t *, boolean_t);
193 typedef void (*mcache_auditfn_t)(void *, mcache_obj_t *, boolean_t);
194 typedef void (*mcache_logfn_t)(u_int32_t, mcache_obj_t *, boolean_t);
295 __private_extern__ unsigned int mcache_alloc_ext(mcache_t *, mcache_obj_t **,
297 __private_extern__ void mcache_free_ext(mcache_t *, mcache_obj_t *);
/darwin-on-arm/xnu/bsd/kern/
H A Dmcache.c139 static unsigned int mcache_slab_alloc(void *, mcache_obj_t ***,
141 static void mcache_slab_free(void *, mcache_obj_t *, boolean_t);
142 static void mcache_slab_audit(void *, mcache_obj_t *, boolean_t);
422 mcache_alloc_ext(mcache_t *cp, mcache_obj_t **list, unsigned int num, int wait)
425 mcache_obj_t **top = &(*list);
451 mcache_obj_t *tail;
551 mcache_obj_t **o = top;
585 mcache_obj_t *buf;
675 ((mcache_obj_t *)buf)->obj_next = NULL;
676 mcache_free_ext(cp, (mcache_obj_t *)bu
[all...]
H A Duipc_mbuf.c471 mcache_obj_t *element; /* the alloc'ed element, NULL if unused */
549 mcache_obj_t *mtbl_cobjlist; /* composite objects freelist */
641 static mcache_obj_t *slab_alloc(mbuf_class_t, int);
642 static void slab_free(mbuf_class_t, mcache_obj_t *);
643 static unsigned int mbuf_slab_alloc(void *, mcache_obj_t ***,
645 static void mbuf_slab_free(void *, mcache_obj_t *, int);
646 static void mbuf_slab_audit(void *, mcache_obj_t *, boolean_t);
648 static unsigned int cslab_alloc(mbuf_class_t, mcache_obj_t ***,
650 static unsigned int cslab_free(mbuf_class_t, mcache_obj_t *, int);
651 static unsigned int mbuf_cslab_alloc(void *, mcache_obj_t ***,
[all...]

Completed in 80 milliseconds