Home
last modified time | relevance | path

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

/xnu-8792.41.9/osfmk/kern/
H A Dsched_amp_common.c434 uint32_t ecount = ecore_set ? ecore_set->cpu_set_count : 0; in sched_amp_qos_max_parallelism() local
441 uint32_t ecluster_count = ecount ? 1 : 0; in sched_amp_qos_max_parallelism()
461 return (options & QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? ecluster_count : ecount; in sched_amp_qos_max_parallelism()
463 …& QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? (ecluster_count + pcluster_count) : (ecount + pcount); in sched_amp_qos_max_parallelism()
468 return (options & QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? ecluster_count : ecount; in sched_amp_qos_max_parallelism()
470 …& QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? (ecluster_count + pcluster_count) : (ecount + pcount); in sched_amp_qos_max_parallelism()
473 …& QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? (ecluster_count + pcluster_count) : (ecount + pcount); in sched_amp_qos_max_parallelism()
/xnu-8792.41.9/bsd/vfs/
H A Dvfs_cluster.c7375 int i, index, pgoff, pgcount, setcount, ecount; in vfs_drt_do_mark_pages() local
7433 ecount = DRT_HASH_GET_COUNT(cmap, index); in vfs_drt_do_mark_pages()
7437 if (ecount >= DRT_BITVECTOR_PAGES) { in vfs_drt_do_mark_pages()
7441 ecount++; in vfs_drt_do_mark_pages()
7446 if (ecount <= 0) { in vfs_drt_do_mark_pages()
7449 assert(ecount > 0); in vfs_drt_do_mark_pages()
7451 ecount--; in vfs_drt_do_mark_pages()
7456 DRT_HASH_SET_COUNT(cmap, index, ecount); in vfs_drt_do_mark_pages()