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

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dmcache.h118 } mcache_obj_t; typedef in typeref:struct:mcache_obj
151 typedef unsigned int (*mcache_allocfn_t)(void *, mcache_obj_t ***,
153 typedef void (*mcache_freefn_t)(void *, mcache_obj_t *, boolean_t);
154 typedef void (*mcache_auditfn_t)(void *, mcache_obj_t *, boolean_t);
251 __private_extern__ unsigned int mcache_alloc_ext(mcache_t *, mcache_obj_t **,
253 __private_extern__ void mcache_free_ext(mcache_t *, mcache_obj_t *);
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dmcache.c142 static unsigned int mcache_slab_alloc(void *, mcache_obj_t ***,
144 static void mcache_slab_free(void *, mcache_obj_t *, boolean_t);
145 static void mcache_slab_audit(void *, mcache_obj_t *, boolean_t);
421 mcache_alloc_ext(mcache_t *cp, mcache_obj_t **list, unsigned int num, int wait)
424 mcache_obj_t **top = &(*list);
450 mcache_obj_t *tail;
542 mcache_obj_t **o = top;
576 mcache_obj_t *buf;
666 ((mcache_obj_t *)buf)->obj_next = NULL;
667 mcache_free_ext(cp, (mcache_obj_t *)bu
[all...]
H A Duipc_mbuf.c467 mcache_obj_t *mtbl_cobjlist; /* composite objects freelist */
538 static mcache_obj_t *slab_alloc(mbuf_class_t, int);
539 static void slab_free(mbuf_class_t, mcache_obj_t *);
540 static unsigned int mbuf_slab_alloc(void *, mcache_obj_t ***,
542 static void mbuf_slab_free(void *, mcache_obj_t *, int);
543 static void mbuf_slab_audit(void *, mcache_obj_t *, boolean_t);
545 static unsigned int cslab_alloc(mbuf_class_t, mcache_obj_t ***,
547 static unsigned int cslab_free(mbuf_class_t, mcache_obj_t *, int);
548 static unsigned int mbuf_cslab_alloc(void *, mcache_obj_t ***,
550 static void mbuf_cslab_free(void *, mcache_obj_t *, in
[all...]

Completed in 81 milliseconds