Lines Matching refs:PROCESSOR_NULL
188 if (thread->bound_processor == PROCESSOR_NULL)
202 if (thread->bound_processor == PROCESSOR_NULL)
1334 if (processor != PROCESSOR_NULL && processor->active_thread == thread)
1416 return ((processor != PROCESSOR_NULL) && (processor->active_thread == thread));
1595 * Returns the previous binding. PROCESSOR_NULL means
1667 (thread->bound_processor == PROCESSOR_NULL ||
1680 thread->runq = PROCESSOR_NULL;
1734 thread->runq = PROCESSOR_NULL;
1997 if (thread->bound_processor == PROCESSOR_NULL ||
2001 thread->runq = PROCESSOR_NULL;
2243 assert(self->runq == PROCESSOR_NULL);
2752 thread->runq = PROCESSOR_NULL;
2778 thread->runq = PROCESSOR_NULL;
2787 assert(thread->runq == PROCESSOR_NULL);
2819 thread->runq = PROCESSOR_NULL;
2902 thread->runq = PROCESSOR_NULL;
3303 if (processor != PROCESSOR_NULL) {
3309 if (mprocessor != PROCESSOR_NULL)
3312 if (processor != PROCESSOR_NULL) {
3317 processor = PROCESSOR_NULL;
3340 processor_t lp_processor = PROCESSOR_NULL;
3341 processor_t lp_unpaired = PROCESSOR_NULL;
3342 processor_t fd_processor = PROCESSOR_NULL;
3346 if (lp_processor != PROCESSOR_NULL &&
3399 processor = PROCESSOR_NULL;
3405 if (cset->low_pri != PROCESSOR_NULL && cset->low_pri->state != PROCESSOR_INACTIVE &&
3407 (processor == PROCESSOR_NULL ||
3412 if (cset->low_count != PROCESSOR_NULL && cset->low_count->state != PROCESSOR_INACTIVE &&
3414 (processor == PROCESSOR_NULL || (thread->sched_pri <= BASEPRI_DEFAULT &&
3422 if (processor == PROCESSOR_NULL) {
3424 if (processor != PROCESSOR_NULL)
3428 if (processor != PROCESSOR_NULL && pmeta == PROCESSOR_META_NULL) {
3471 if (processor == PROCESSOR_NULL) {
3504 processor = PROCESSOR_NULL;
3505 } while (processor == PROCESSOR_NULL);
3537 assert(thread->runq == PROCESSOR_NULL);
3539 if (thread->bound_processor == PROCESSOR_NULL) {
3550 processor = SCHED(choose_processor)(pset, PROCESSOR_NULL, thread);
3553 if (thread->last_processor != PROCESSOR_NULL) {
3562 if ((thread->last_processor != processor) && (thread->last_processor != PROCESSOR_NULL)) {
3584 processor = SCHED(choose_processor)(pset, PROCESSOR_NULL, thread);
3651 if (thread->bound_processor == PROCESSOR_NULL) {
3654 thread->runq = PROCESSOR_NULL;
3762 if ( processor != PROCESSOR_NULL &&
3827 assert(thread->runq == PROCESSOR_NULL);
3828 processor = PROCESSOR_NULL;
3833 return (processor != PROCESSOR_NULL);
3853 * If processor is PROCESSOR_NULL, the thread will stay out of the
3858 if (processor != PROCESSOR_NULL) {
3886 thread->runq = PROCESSOR_NULL;
3893 assert(thread->runq == PROCESSOR_NULL);
3894 processor = PROCESSOR_NULL;
3900 return (processor != PROCESSOR_NULL);
3926 if (thread->bound_processor == PROCESSOR_NULL) {
3929 thread->runq = PROCESSOR_NULL;
4472 if (p != PROCESSOR_NULL && p->state == PROCESSOR_RUNNING &&