Lines Matching defs:cset
3295 processor_set_t nset, cset = pset;
3333 if (!queue_empty(&cset->idle_queue))
3334 return ((processor_t)queue_first(&cset->idle_queue));
3344 lp_processor = cset->low_pri;
3356 processor = (processor_t)queue_first(&cset->active_queue);
3357 while (!queue_end(&cset->active_queue, (queue_entry_t)processor)) {
3405 if (cset->low_pri != PROCESSOR_NULL && cset->low_pri->state != PROCESSOR_INACTIVE &&
3406 cset->low_pri->state != PROCESSOR_SHUTDOWN && cset->low_pri->state != PROCESSOR_OFF_LINE &&
3408 (thread->sched_pri > BASEPRI_DEFAULT && cset->low_pri->current_pri < thread->sched_pri))) {
3409 processor = cset->low_pri;
3412 if (cset->low_count != PROCESSOR_NULL && cset->low_count->state != PROCESSOR_INACTIVE &&
3413 cset->low_count->state != PROCESSOR_SHUTDOWN && cset->low_count->state != PROCESSOR_OFF_LINE &&
3415 SCHED(processor_runq_count)(cset->low_count) < SCHED(processor_runq_count)(processor)))) {
3416 processor = cset->low_count;
3423 processor = (processor_t)dequeue_head(&cset->active_queue);
3425 enqueue_tail(&cset->active_queue, (queue_entry_t)processor);
3438 nset = next_pset(cset);
3441 pset_unlock(cset);
3443 cset = nset;
3444 pset_lock(cset);
3454 if (cset != pmeta->primary->processor_set) {
3455 pset_unlock(cset);
3457 cset = pmeta->primary->processor_set;
3458 pset_lock(cset);
3478 if (cset != processor->processor_set) {
3479 pset_unlock(cset);
3481 cset = processor->processor_set;
3482 pset_lock(cset);
3492 if (cset != processor->processor_set) {
3493 pset_unlock(cset);
3495 cset = processor->processor_set;
3496 pset_lock(cset);
3969 processor_set_t nset, cset = pset;
3974 processor = (processor_t)queue_first(&cset->active_queue);
3975 while (!queue_end(&cset->active_queue, (queue_entry_t)processor)) {
3980 enqueue_tail(&cset->active_queue, (queue_entry_t)processor);
3982 pset_unlock(cset);
3991 nset = next_pset(cset);
3994 pset_unlock(cset);
3996 cset = nset;
3997 pset_lock(cset);
4001 pset_unlock(cset);