Lines Matching defs:aset
158 x86_affinity_set_t *aset;
162 aset = find_cache_affinity(LLC_cachep);
163 if (aset == NULL) {
164 aset = (x86_affinity_set_t *) kalloc(sizeof(*aset));
165 if (aset == NULL)
166 panic("cpu_topology_start() failed aset alloc");
167 aset->next = x86_affinities;
168 x86_affinities = aset;
169 aset->num = x86_affinity_count++;
170 aset->cache = LLC_cachep;
171 aset->pset = (i == master_cpu) ?
174 if (aset->pset == PROCESSOR_SET_NULL)
177 aset, aset->num, aset->pset, aset->cache);
181 aset, aset->num, lcpup, lcpup->cpu_num, cpup, cpup->cpu_processor);
184 processor_init(cpup->cpu_processor, i, aset->pset);
234 x86_affinity_set_t *aset;
236 for (aset = x86_affinities; aset != NULL; aset = aset->next) {
237 if (l2_cachep == aset->cache)
240 return aset;
252 x86_affinity_set_t *aset;
254 for (aset = x86_affinities; aset != NULL; aset = aset->next) {
255 if (affinity_num == aset->num)
258 return (aset == NULL) ? PROCESSOR_SET_NULL : aset->pset;