Searched refs:mcache_obj_t (Results 1 - 3 of 3) sorted by relevance
/xnu-2782.1.97/bsd/sys/ |
H A D | mcache.h | 216 } mcache_obj_t; typedef in typeref:struct:mcache_obj 249 typedef unsigned int (*mcache_allocfn_t)(void *, mcache_obj_t ***, 251 typedef void (*mcache_freefn_t)(void *, mcache_obj_t *, boolean_t); 252 typedef void (*mcache_auditfn_t)(void *, mcache_obj_t *, boolean_t); 253 typedef void (*mcache_logfn_t)(u_int32_t, mcache_obj_t *, boolean_t); 358 __private_extern__ unsigned int mcache_alloc_ext(mcache_t *, mcache_obj_t **, 360 __private_extern__ void mcache_free_ext(mcache_t *, mcache_obj_t *);
|
/xnu-2782.1.97/bsd/kern/ |
H A D | mcache.c | 144 static unsigned int mcache_slab_alloc(void *, mcache_obj_t ***, 146 static void mcache_slab_free(void *, mcache_obj_t *, boolean_t); 147 static void mcache_slab_audit(void *, mcache_obj_t *, boolean_t); 454 mcache_alloc_ext(mcache_t *cp, mcache_obj_t **list, unsigned int num, int wait) 457 mcache_obj_t **top = &(*list); 483 mcache_obj_t *tail; 583 mcache_obj_t **o = top; 617 mcache_obj_t *buf; 709 ((mcache_obj_t *)buf)->obj_next = NULL; 710 mcache_free_ext(cp, (mcache_obj_t *)bu [all...] |
H A D | uipc_mbuf.c | 501 mcache_obj_t *element; /* the alloc'ed element, NULL if unused */ 576 mcache_obj_t *mtbl_cobjlist; /* composite objects freelist */ 685 static mcache_obj_t *slab_alloc(mbuf_class_t, int); 686 static void slab_free(mbuf_class_t, mcache_obj_t *); 687 static unsigned int mbuf_slab_alloc(void *, mcache_obj_t ***, 689 static void mbuf_slab_free(void *, mcache_obj_t *, int); 690 static void mbuf_slab_audit(void *, mcache_obj_t *, boolean_t); 692 static unsigned int cslab_alloc(mbuf_class_t, mcache_obj_t ***, 694 static unsigned int cslab_free(mbuf_class_t, mcache_obj_t *, int); 695 static unsigned int mbuf_cslab_alloc(void *, mcache_obj_t ***, [all...] |
Completed in 33 milliseconds