Lines Matching refs:cc_objs
389 ccp->cc_objs = -1; in mcache_create_common()
452 if (ccp->cc_objs > 0) { in mcache_alloc_ext()
461 objs = MIN((unsigned int)ccp->cc_objs, need); in mcache_alloc_ext()
462 *list = ccp->cc_filled->bkt_obj[ccp->cc_objs - 1]; in mcache_alloc_ext()
463 ccp->cc_objs -= objs; in mcache_alloc_ext()
466 tail = ccp->cc_filled->bkt_obj[ccp->cc_objs]; in mcache_alloc_ext()
749 if ((unsigned int)ccp->cc_objs < in mcache_free_ext()
757 list->obj_next = (ccp->cc_objs == 0) ? NULL : in mcache_free_ext()
758 ccp->cc_filled->bkt_obj[ccp->cc_objs - 1]; in mcache_free_ext()
759 ccp->cc_filled->bkt_obj[ccp->cc_objs++] = list; in mcache_free_ext()
1083 ASSERT((ccp->cc_filled == NULL && ccp->cc_objs == -1) || in mcache_cpu_batch_refill()
1084 (ccp->cc_filled && ccp->cc_objs + objs == ccp->cc_bktsize)); in mcache_cpu_batch_refill()
1088 ccp->cc_objs = objs; in mcache_cpu_batch_refill()
1106 ASSERT((ccp->cc_filled == NULL && ccp->cc_objs == -1) || in mcache_cpu_refill()
1107 (ccp->cc_filled && ccp->cc_objs + objs == ccp->cc_bktsize)); in mcache_cpu_refill()
1111 ccp->cc_pobjs = ccp->cc_objs; in mcache_cpu_refill()
1113 ccp->cc_objs = objs; in mcache_cpu_refill()
1217 objs = ccp->cc_objs; in mcache_bkt_purge()
1221 ccp->cc_objs = -1; in mcache_bkt_purge()