Searched refs:NOCPU (Results 1 – 17 of 17) sorted by relevance
792 childtd->td_oncpu = NOCPU; in sched_fork_thread()793 childtd->td_lastcpu = NOCPU; in sched_fork_thread()998 td->td_oncpu = NOCPU; in sched_switch()1157 (cpunum == NOCPU || me == cpunum)) in forward_wakeup()1190 if (cpunum != NOCPU) { in forward_wakeup()1211 if (cpunum == NOCPU) in forward_wakeup()1261 best = NOCPU; in sched_pickcpu()1266 if (best == NOCPU) in sched_pickcpu()1347 cpu = NOCPU; in sched_add()1354 if (cpu != NOCPU) in sched_add()[all …]
209 if (id == NOCPU) in forward_signal()240 static volatile u_int stopping_cpu = NOCPU; in generic_stop_cpus()273 while (atomic_cmpset_int(&stopping_cpu, NOCPU, in generic_stop_cpus()275 while (stopping_cpu != NOCPU) in generic_stop_cpus()307 stopping_cpu = NOCPU; in generic_stop_cpus()
275 ie->ie_cpu = NOCPU; in intr_event_create()305 if (cpu != NOCPU && CPU_ABSENT(cpu)) in _intr_event_bind()430 cpu = NOCPU; in intr_setaffinity()439 if (cpu != NOCPU) in intr_setaffinity()480 if (ie->ie_cpu == NOCPU) in intr_getaffinity()
2145 td->td_oncpu = NOCPU; in sched_switch()2275 child->td_oncpu = NOCPU; in sched_fork_thread()2276 child->td_lastcpu = NOCPU; in sched_fork_thread()2915 td->td_oncpu = NOCPU; in sched_throw()
563 vp->v_dbatchcpu = NOCPU; in vnode_init()3428 MPASS(vp->v_dbatchcpu != NOCPU); in vdbatch_process()3429 vp->v_dbatchcpu = NOCPU; in vdbatch_process()3447 if (vp->v_dbatchcpu != NOCPU) { in vdbatch_enqueue()3487 if (cpu == NOCPU) in vdbatch_dequeue()3495 vp->v_dbatchcpu = NOCPU; in vdbatch_dequeue()3505 MPASS(vp->v_dbatchcpu == NOCPU); in vdbatch_dequeue()
1168 if ((cpuid != NOCPU) && (td != curthread)) in racct_proc_throttle()
350 td->td_lastcpu = td->td_oncpu = NOCPU; in thread_ctor()
606 if (cpu == NOCPU) { in intr_isrc_assign_cpu()
1277 if (td->td_lastcpu == NOCPU) in fill_kinfo_thread()1284 if (td->td_oncpu == NOCPU) in fill_kinfo_thread()
1518 if (cpu == NOCPU) in cpuset_setithread()
2349 if (owner->td_critnest == 0 || owner->td_oncpu == NOCPU) in witness_display_spinlock()
409 if (mp_ncpus > 1 && cpu != NOCPU) {415 if (assign_cpu && cpu != NOCPU) {703 if (cpu == NOCPU)708 if (isrc->is_event->ie_cpu == NOCPU)813 if (isrc == NULL || isrc->is_event->ie_cpu != NOCPU)
138 if (cpuid == NOCPU) { in stack_save_td()
319 vcpu->hostcpu = NOCPU; in vcpu_init()1206 KASSERT(vcpu->hostcpu == NOCPU, ("Invalid hostcpu %d for a " in vcpu_set_state_locked()1240 vcpu->hostcpu = NOCPU; in vcpu_set_state_locked()2495 KASSERT(hostcpu != NOCPU, ("vcpu running on invalid hostcpu")); in vcpu_notify_event_locked()2512 KASSERT(hostcpu == NOCPU, ("vcpu state %d not consistent " in vcpu_notify_event_locked()
723 #define NOCPU (-1) /* For when we aren't on a CPU. */ macro
1173 vmx->state[i].lastcpu = NOCPU; in vmx_init()1257 vmxstate->lastcpu = NOCPU; in vmx_invvpid()
619 vcpu->lastcpu = NOCPU; in svm_init()