Home
last modified time | relevance | path

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

/xnu-10002.1.13/bsd/kern/
H A Dmcache.c386 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()
[all …]
H A Duipc_mbuf.c1425 if (ccp->cc_objs > 0) { in mbuf_stat_sync()
1426 sp->mbcl_mc_cached += ccp->cc_objs; in mbuf_stat_sync()
2116 int cc_objs = os_access_once(ccp->cc_objs); in mbuf_class_under_pressure() local
2117 if (cc_objs > 0) { in mbuf_class_under_pressure()
2118 cached += cc_objs; in mbuf_class_under_pressure()
/xnu-10002.1.13/tools/lldbmacros/
H A Dmbufs.py75 if int(ccp.cc_objs) > 0:
76 total += int(ccp.cc_objs)
1269 if (ccp.cc_objs > 0):
1270 total += ccp.cc_objs
1301 objs = ccp.cc_objs
/xnu-10002.1.13/bsd/sys/
H A Dmcache.h160 int cc_objs; /* number of objects in filled bkt */ member