Lines Matching refs:mcache_obj_t
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);
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 *)buf);
683 mcache_free_ext(mcache_t *cp, mcache_obj_t *list)
687 mcache_obj_t *nlist;
870 mcache_slab_alloc(void *arg, mcache_obj_t ***plist, unsigned int num, int wait)
878 mcache_obj_t **list = *plist;
930 *list = (mcache_obj_t *)((intptr_t)base + offset);
947 mcache_slab_free(void *arg, mcache_obj_t *list, __unused boolean_t purged)
950 mcache_obj_t *nlist;
997 mcache_slab_audit(void *arg, mcache_obj_t *list, boolean_t alloc)
1013 mcache_obj_t *next = list->obj_next;
1172 mcache_obj_t *top = bkt->bkt_obj[nobjs - 1];
1175 mcache_obj_t *o = top;
1475 mcache_obj_t *next;
1478 next = ((mcache_obj_t *)addr)->obj_next;
1490 ((mcache_obj_t *)addr)->obj_next = next;
1499 mcache_obj_t *next;
1502 next = ((mcache_obj_t *)addr)->obj_next;
1514 ((mcache_obj_t *)addr)->obj_next = next;