Searched refs:mcache_obj_t (Results 1 – 3 of 3) sorted by relevance
| /xnu-8020.101.4/bsd/kern/ |
| H A D | mcache.c | 139 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); 418 mcache_alloc_ext(mcache_t *cp, mcache_obj_t **list, unsigned int num, int wait) in mcache_alloc_ext() 421 mcache_obj_t **top = &(*list); in mcache_alloc_ext() 448 mcache_obj_t *tail; in mcache_alloc_ext() 580 mcache_obj_t **o = top; in mcache_alloc_ext() 617 mcache_obj_t *buf; in mcache_alloc() 712 ((mcache_obj_t *)buf)->obj_next = NULL; in mcache_free() 713 mcache_free_ext(cp, (mcache_obj_t *)buf); in mcache_free() [all …]
|
| H A D | uipc_mbuf.c | 526 mcache_obj_t *element; /* the alloc'ed element, NULL if unused */ 615 mcache_obj_t *mtbl_cobjlist; /* composite objects freelist */ 751 static mcache_obj_t *slab_alloc(mbuf_class_t, int); 752 static void slab_free(mbuf_class_t, mcache_obj_t *); 753 static unsigned int mbuf_slab_alloc(void *, mcache_obj_t ***, 755 static void mbuf_slab_free(void *, mcache_obj_t *, int); 756 static void mbuf_slab_audit(void *, mcache_obj_t *, boolean_t); 758 static unsigned int cslab_alloc(mbuf_class_t, mcache_obj_t ***, 760 static unsigned int cslab_free(mbuf_class_t, mcache_obj_t *, int); 761 static unsigned int mbuf_cslab_alloc(void *, mcache_obj_t ***, [all …]
|
| /xnu-8020.101.4/bsd/sys/ |
| H A D | mcache.h | 245 } mcache_obj_t; typedef 279 typedef unsigned int (*mcache_allocfn_t)(void *, mcache_obj_t ***, 281 typedef void (*mcache_freefn_t)(void *, mcache_obj_t *, boolean_t); 282 typedef void (*mcache_auditfn_t)(void *, mcache_obj_t *, boolean_t); 283 typedef void (*mcache_logfn_t)(u_int32_t, mcache_obj_t *, boolean_t); 385 __private_extern__ unsigned int mcache_alloc_ext(mcache_t *, mcache_obj_t **, 387 __private_extern__ void mcache_free_ext(mcache_t *, mcache_obj_t *);
|