Lines Matching refs:cc_objs
386 ccp->cc_objs = -1; in mcache_create_common()
449 if (ccp->cc_objs > 0) { in mcache_alloc_ext()
458 objs = MIN((unsigned int)ccp->cc_objs, need); in mcache_alloc_ext()
459 *list = ccp->cc_filled->bkt_obj[ccp->cc_objs - 1]; in mcache_alloc_ext()
460 ccp->cc_objs -= objs; in mcache_alloc_ext()
463 tail = ccp->cc_filled->bkt_obj[ccp->cc_objs]; in mcache_alloc_ext()
746 if ((unsigned int)ccp->cc_objs < in mcache_free_ext()
754 list->obj_next = (ccp->cc_objs == 0) ? NULL : in mcache_free_ext()
755 ccp->cc_filled->bkt_obj[ccp->cc_objs - 1]; in mcache_free_ext()
756 ccp->cc_filled->bkt_obj[ccp->cc_objs++] = list; in mcache_free_ext()
1080 ASSERT((ccp->cc_filled == NULL && ccp->cc_objs == -1) || in mcache_cpu_batch_refill()
1081 (ccp->cc_filled && ccp->cc_objs + objs == ccp->cc_bktsize)); in mcache_cpu_batch_refill()
1085 ccp->cc_objs = objs; in mcache_cpu_batch_refill()
1103 ASSERT((ccp->cc_filled == NULL && ccp->cc_objs == -1) || in mcache_cpu_refill()
1104 (ccp->cc_filled && ccp->cc_objs + objs == ccp->cc_bktsize)); in mcache_cpu_refill()
1108 ccp->cc_pobjs = ccp->cc_objs; in mcache_cpu_refill()
1110 ccp->cc_objs = objs; in mcache_cpu_refill()
1214 objs = ccp->cc_objs; in mcache_bkt_purge()
1218 ccp->cc_objs = -1; in mcache_bkt_purge()