Home
last modified time | relevance | path

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

/xnu-10063.141.1/osfmk/kern/
H A Dsched_amp_common.c443 uint32_t ecount = ecore_set ? ecore_set->cpu_set_count : 0; in sched_amp_qos_max_parallelism() local
450 uint32_t ecluster_count = ecount ? 1 : 0; in sched_amp_qos_max_parallelism()
470 return (options & QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? ecluster_count : ecount; in sched_amp_qos_max_parallelism()
472 …& QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? (ecluster_count + pcluster_count) : (ecount + pcount); in sched_amp_qos_max_parallelism()
477 return (options & QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? ecluster_count : ecount; in sched_amp_qos_max_parallelism()
479 …& QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? (ecluster_count + pcluster_count) : (ecount + pcount); in sched_amp_qos_max_parallelism()
482 …& QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? (ecluster_count + pcluster_count) : (ecount + pcount); in sched_amp_qos_max_parallelism()
/xnu-10063.141.1/bsd/vfs/
H A Dvfs_cluster.c7394 int i, index, pgoff, pgcount, setcount, ecount; in vfs_drt_do_mark_pages() local
7452 ecount = DRT_HASH_GET_COUNT(cmap, index); in vfs_drt_do_mark_pages()
7456 if (ecount >= DRT_BITVECTOR_PAGES) { in vfs_drt_do_mark_pages()
7460 ecount++; in vfs_drt_do_mark_pages()
7465 if (ecount <= 0) { in vfs_drt_do_mark_pages()
7468 assert(ecount > 0); in vfs_drt_do_mark_pages()
7470 ecount--; in vfs_drt_do_mark_pages()
7475 DRT_HASH_SET_COUNT(cmap, index, ecount); in vfs_drt_do_mark_pages()