Searched refs:aset (Results 1 – 2 of 2) sorted by relevance
| /xnu-12377.61.12/osfmk/kern/ |
| H A D | affinity.c | 71 static void affinity_set_free(affinity_set_t aset); 73 static void affinity_set_place(affinity_space_t aspc, affinity_set_t aset); 74 static void affinity_set_add(affinity_set_t aset, thread_t thread); 75 static affinity_set_t affinity_set_remove(affinity_set_t aset, thread_t thread); 131 affinity_set_t aset; in thread_affinity_set() local 166 aset = thread->affinity_set; in thread_affinity_set() 167 if (aset != NULL) { in thread_affinity_set() 172 thread, tag, aset); in thread_affinity_set() 173 empty_aset = affinity_set_remove(aset, thread); in thread_affinity_set() 177 aset = affinity_set_find(aspc, tag); in thread_affinity_set() [all …]
|
| /xnu-12377.61.12/osfmk/i386/ |
| H A D | cpu_topology.c | 180 x86_affinity_set_t *aset; in cpu_topology_sort() local 184 aset = find_cache_affinity(LLC_cachep); in cpu_topology_sort() 185 if ((aset == NULL) || ((cpus_per_pset != 0) && (i % cpus_per_pset) == 0)) { in cpu_topology_sort() 186 aset = kalloc_type(x86_affinity_set_t, Z_WAITOK | Z_NOFAIL); in cpu_topology_sort() 187 aset->next = x86_affinities; in cpu_topology_sort() 188 x86_affinities = aset; in cpu_topology_sort() 189 aset->num = x86_affinity_count++; in cpu_topology_sort() 190 aset->cache = LLC_cachep; in cpu_topology_sort() 192 aset->pset = processor_pset(master_processor); in cpu_topology_sort() 195 aset->pset = pset_create(CLUSTER_TYPE_SMP, pset_cluster_id, pset_cluster_id); in cpu_topology_sort() [all …]
|