Lines Matching defs:pset
111 processor_set_t pset,
144 processor_set_t pset)
157 processor->processor_set = pset;
170 pset_lock(pset);
171 if (pset->cpu_set_count++ == 0)
172 pset->cpu_set_low = pset->cpu_set_hi = cpu_id;
174 pset->cpu_set_low = (cpu_id < pset->cpu_set_low)? cpu_id: pset->cpu_set_low;
175 pset->cpu_set_hi = (cpu_id > pset->cpu_set_hi)? cpu_id: pset->cpu_set_hi;
177 pset_unlock(pset);
225 processor_set_t *prev, pset = kalloc(sizeof (*pset));
227 if (pset != PROCESSOR_SET_NULL) {
228 pset_init(pset, node);
236 *prev = pset;
241 return (pset);
249 processor_set_t pset,
252 if (pset != &pset0) {
254 SCHED(pset_init)(pset);
257 queue_init(&pset->active_queue);
258 queue_init(&pset->idle_queue);
259 pset->online_processor_count = 0;
260 pset_pri_init_hint(pset, PROCESSOR_NULL);
261 pset_count_init_hint(pset, PROCESSOR_NULL);
262 pset->cpu_set_low = pset->cpu_set_hi = 0;
263 pset->cpu_set_count = 0;
264 pset_lock_init(pset);
265 pset->pset_self = IP_NULL;
266 pset->pset_name_self = IP_NULL;
267 pset->pset_list = PROCESSOR_SET_NULL;
268 pset->node = node;
397 processor_set_t pset;
419 pset = processor->processor_set;
420 pset_lock(pset);
422 pset_unlock(pset);
429 pset_unlock(pset);
439 pset_lock(pset);
441 pset_unlock(pset);
458 pset_lock(pset);
460 pset_unlock(pset);
483 pset_lock(pset);
485 pset_unlock(pset);
529 __unused processor_set_t pset)
537 processor_set_t *pset)
548 *pset = &pset0;
555 processor_set_t pset,
561 if (pset == PROCESSOR_SET_NULL)
683 processor_set_t pset,
688 if (pset == PROCESSOR_SET_NULL || pset != &pset0)
721 __unused processor_set_t pset,
736 __unused processor_set_t pset,
750 __unused processor_set_t pset,
767 processor_set_t pset,
779 if (pset == PROCESSOR_SET_NULL || pset != &pset0)
939 processor_set_t pset,
943 return(processor_set_things(pset, (mach_port_t **)task_list, count, THING_TASK));
954 __unused processor_set_t pset,
963 __unused processor_set_t pset,
972 processor_set_t pset,
976 return(processor_set_things(pset, (mach_port_t **)thread_list, count, THING_THREAD));
989 __unused processor_set_t pset,
999 void pset_deallocate(processor_set_t pset);
1002 __unused processor_set_t pset)
1008 void pset_reference(processor_set_t pset);
1011 __unused processor_set_t pset)