Home
last modified time | relevance | path

Searched refs:cc_objs (Results 1 – 4 of 4) sorted by relevance

/xnu-12377.41.6/bsd/kern/
H A Dmcache.c389 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()
[all …]
H A Duipc_mbuf_mcache.c887 if (ccp->cc_objs > 0) { in mbuf_stat_sync()
888 sp->mbcl_mc_cached += ccp->cc_objs; in mbuf_stat_sync()
960 int cc_objs = os_access_once(ccp->cc_objs); in mbuf_class_under_pressure() local
961 if (cc_objs > 0) { in mbuf_class_under_pressure()
962 cached += cc_objs; in mbuf_class_under_pressure()
/xnu-12377.41.6/tools/lldbmacros/
H A Dmbufs.py69 if int(ccp.cc_objs) > 0:
70 total += int(ccp.cc_objs)
1280 if (ccp.cc_objs > 0):
1281 total += ccp.cc_objs
1312 objs = ccp.cc_objs
/xnu-12377.41.6/bsd/sys/
H A Dmcache.h155 int cc_objs; /* number of objects in filled bkt */ member