Home
last modified time | relevance | path

Searched refs:ecount (Results 1 – 2 of 2) sorted by relevance

/xnu-11215.1.10/osfmk/kern/
H A Dsched_amp_common.c447 uint32_t ecount = ecore_set ? ecore_set->cpu_set_count : 0; in sched_amp_qos_max_parallelism() local
454 uint32_t ecluster_count = ecount ? 1 : 0; in sched_amp_qos_max_parallelism()
474 return (options & QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? ecluster_count : ecount; in sched_amp_qos_max_parallelism()
476 …& QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? (ecluster_count + pcluster_count) : (ecount + pcount); in sched_amp_qos_max_parallelism()
481 return (options & QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? ecluster_count : ecount; in sched_amp_qos_max_parallelism()
483 …& QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? (ecluster_count + pcluster_count) : (ecount + pcount); in sched_amp_qos_max_parallelism()
486 …& QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? (ecluster_count + pcluster_count) : (ecount + pcount); in sched_amp_qos_max_parallelism()
/xnu-11215.1.10/bsd/vfs/
H A Dvfs_cluster.c7755 int i, index, pgoff, pgcount, setcount, ecount; in vfs_drt_do_mark_pages() local
7813 ecount = DRT_HASH_GET_COUNT(cmap, index); in vfs_drt_do_mark_pages()
7817 if (ecount >= DRT_BITVECTOR_PAGES) { in vfs_drt_do_mark_pages()
7821 ecount++; in vfs_drt_do_mark_pages()
7826 if (ecount <= 0) { in vfs_drt_do_mark_pages()
7829 assert(ecount > 0); in vfs_drt_do_mark_pages()
7831 ecount--; in vfs_drt_do_mark_pages()
7836 DRT_HASH_SET_COUNT(cmap, index, ecount); in vfs_drt_do_mark_pages()