Home
last modified time | relevance | path

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

/xnu-11417.121.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.c1427 if (ccp->cc_objs > 0) { in mbuf_stat_sync()
1428 sp->mbcl_mc_cached += ccp->cc_objs; in mbuf_stat_sync()
2140 int cc_objs = os_access_once(ccp->cc_objs); in mbuf_class_under_pressure() local
2141 if (cc_objs > 0) { in mbuf_class_under_pressure()
2142 cached += cc_objs; in mbuf_class_under_pressure()
/xnu-11417.121.6/bsd/sys/
H A Dmcache.h160 int cc_objs; /* number of objects in filled bkt */ member
/xnu-11417.121.6/tools/lldbmacros/
H A Dmbufs.py70 if int(ccp.cc_objs) > 0:
71 total += int(ccp.cc_objs)
1281 if (ccp.cc_objs > 0):
1282 total += ccp.cc_objs
1313 objs = ccp.cc_objs