Home
last modified time | relevance | path

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

/xnu-8019.80.24/osfmk/kern/
H A Dsched_amp_common.c435 uint32_t ecount = ecore_set ? ecore_set->cpu_set_count : 0; in sched_amp_qos_max_parallelism() local
442 uint32_t ecluster_count = ecount ? 1 : 0; in sched_amp_qos_max_parallelism()
462 return (options & QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? ecluster_count : ecount; in sched_amp_qos_max_parallelism()
464 …& QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? (ecluster_count + pcluster_count) : (ecount + pcount); in sched_amp_qos_max_parallelism()
469 return (options & QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? ecluster_count : ecount; in sched_amp_qos_max_parallelism()
471 …& QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? (ecluster_count + pcluster_count) : (ecount + pcount); in sched_amp_qos_max_parallelism()
474 …& QOS_PARALLELISM_CLUSTER_SHARED_RESOURCE) ? (ecluster_count + pcluster_count) : (ecount + pcount); in sched_amp_qos_max_parallelism()
/xnu-8019.80.24/bsd/vfs/
H A Dvfs_cluster.c7317 int i, index, pgoff, pgcount, setcount, ecount; in vfs_drt_do_mark_pages() local
7375 ecount = DRT_HASH_GET_COUNT(cmap, index); in vfs_drt_do_mark_pages()
7379 if (ecount >= DRT_BITVECTOR_PAGES) { in vfs_drt_do_mark_pages()
7383 ecount++; in vfs_drt_do_mark_pages()
7388 if (ecount <= 0) { in vfs_drt_do_mark_pages()
7391 assert(ecount > 0); in vfs_drt_do_mark_pages()
7393 ecount--; in vfs_drt_do_mark_pages()
7398 DRT_HASH_SET_COUNT(cmap, index, ecount); in vfs_drt_do_mark_pages()