Lines Matching refs:mcache_obj_t
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 *)buf);
717 mcache_free_ext(mcache_t *cp, mcache_obj_t *list)
721 mcache_obj_t *nlist;
901 mcache_slab_alloc(void *arg, mcache_obj_t ***plist, unsigned int num, int wait)
909 mcache_obj_t **list = *plist;
961 *list = (mcache_obj_t *)((intptr_t)base + offset);
978 mcache_slab_free(void *arg, mcache_obj_t *list, __unused boolean_t purged)
981 mcache_obj_t *nlist;
1028 mcache_slab_audit(void *arg, mcache_obj_t *list, boolean_t alloc)
1044 mcache_obj_t *next = list->obj_next;
1203 mcache_obj_t *top = bkt->bkt_obj[nobjs - 1];
1206 mcache_obj_t *o = top;
1541 mcache_obj_t *next;
1544 next = ((mcache_obj_t *)addr)->obj_next;
1556 ((mcache_obj_t *)addr)->obj_next = next;
1565 mcache_obj_t *next;
1568 next = ((mcache_obj_t *)addr)->obj_next;
1580 ((mcache_obj_t *)addr)->obj_next = next;