Home
last modified time | relevance | path

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

/xnu-8020.140.41/bsd/kern/
H A Dmcache.c384 ccp->cc_objs = -1; in mcache_create_common()
447 if (ccp->cc_objs > 0) { in mcache_alloc_ext()
456 objs = MIN((unsigned int)ccp->cc_objs, need); in mcache_alloc_ext()
457 *list = ccp->cc_filled->bkt_obj[ccp->cc_objs - 1]; in mcache_alloc_ext()
458 ccp->cc_objs -= objs; in mcache_alloc_ext()
461 tail = ccp->cc_filled->bkt_obj[ccp->cc_objs]; in mcache_alloc_ext()
744 if ((unsigned int)ccp->cc_objs < in mcache_free_ext()
752 list->obj_next = (ccp->cc_objs == 0) ? NULL : in mcache_free_ext()
753 ccp->cc_filled->bkt_obj[ccp->cc_objs - 1]; in mcache_free_ext()
754 ccp->cc_filled->bkt_obj[ccp->cc_objs++] = list; in mcache_free_ext()
[all …]
H A Duipc_mbuf.c1125 if (ccp->cc_objs > 0) { in mbuf_stat_sync()
1126 sp->mbcl_mc_cached += ccp->cc_objs; in mbuf_stat_sync()
1488 int cc_objs = os_access_once(ccp->cc_objs); in mbuf_class_under_pressure() local
1489 if (cc_objs > 0) { in mbuf_class_under_pressure()
1490 cached += cc_objs; in mbuf_class_under_pressure()
/xnu-8020.140.41/tools/lldbmacros/
H A Dmbufs.py37 if int(ccp.cc_objs) > 0:
38 total += int(ccp.cc_objs)
877 if (ccp.cc_objs > 0):
878 total += ccp.cc_objs
906 objs = ccp.cc_objs
/xnu-8020.140.41/bsd/sys/
H A Dmcache.h274 int cc_objs; /* number of objects in filled bkt */ member