Lines Matching defs:binding

456  * software binding request.
461 register processorid_t binding;
465 if ((binding = t->t_bind_cpu) == PBIND_NONE) {
476 t->t_bound_cpu = cpu[binding];
525 * then the weak binding will succeed even if this cpu is the target of an
564 panic("thread_nomigrate: binding to %p but already "
600 * to (as explained above). If we grant the weak binding request
601 * in that case then the dispatcher must favour our weak binding
611 * so it's possible that we at times can grant a weak binding to a
614 * the weak binding request. This includes the case above where
615 * we grant a weakbinding not commensurate with our strong binding.
630 * will grant the weak binding there)
655 * weak binding.
690 * This thread was granted "weak binding" in the
699 * Time to drop the weak binding. We need to cater
703 * weak binding drops). We don't acquire thread_lock
1323 * a barrier to further weak binding requests in thread_nomigrate
1341 * stopped more weak binding with cpu_inmotion and existing
2530 processorid_t binding;
2539 * Record old binding, but change the obind, which was initialized
2540 * to PBIND_NONE, only if this thread has a binding. This avoids
2543 binding = tp->t_bind_cpu;
2544 if (binding != PBIND_NONE)
2545 *obind = binding; /* record old binding */
2549 /* Just return the old binding */
2554 /* Return the binding type */
2561 * Set soft binding for this thread and return the actual
2562 * binding
2570 * Set hard binding for this thread and return the actual
2571 * binding
2596 binding = bind;
2597 if (binding != PBIND_NONE) {
2598 cp = cpu_get((processorid_t)binding);
2600 * Make sure binding is valid and is in right partition.
2608 tp->t_bind_cpu = binding; /* set new binding */
2612 * the t_bound_cpu field to reflect the binding.
2615 if (binding == PBIND_NONE) {
2622 tp->t_bound_cpu = NULL; /* set new binding */
2670 * resist the new binding request until the weak
2671 * binding drops. The cpu_surrender or requeueing
2697 * Our binding has changed; set TP_CHANGEBIND.
2861 * Skip threads with hard binding when