Home
last modified time | relevance | path

Searched refs:NOCPU (Results 1 – 17 of 17) sorted by relevance

/f-stack/freebsd/kern/
H A Dsched_4bsd.c792 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 …]
H A Dsubr_smp.c209 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()
H A Dkern_intr.c275 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()
H A Dsched_ule.c2145 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()
H A Dvfs_subr.c563 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()
H A Dkern_racct.c1168 if ((cpuid != NOCPU) && (td != curthread)) in racct_proc_throttle()
H A Dkern_thread.c350 td->td_lastcpu = td->td_oncpu = NOCPU; in thread_ctor()
H A Dsubr_intr.c606 if (cpu == NOCPU) { in intr_isrc_assign_cpu()
H A Dkern_proc.c1277 if (td->td_lastcpu == NOCPU) in fill_kinfo_thread()
1284 if (td->td_oncpu == NOCPU) in fill_kinfo_thread()
H A Dkern_cpuset.c1518 if (cpu == NOCPU) in cpuset_setithread()
H A Dsubr_witness.c2349 if (owner->td_critnest == 0 || owner->td_oncpu == NOCPU) in witness_display_spinlock()
/f-stack/freebsd/x86/x86/
H A Dintr_machdep.c409 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)
H A Dstack_machdep.c138 if (cpuid == NOCPU) { in stack_save_td()
/f-stack/freebsd/amd64/vmm/
H A Dvmm.c319 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()
/f-stack/freebsd/sys/
H A Dproc.h723 #define NOCPU (-1) /* For when we aren't on a CPU. */ macro
/f-stack/freebsd/amd64/vmm/intel/
H A Dvmx.c1173 vmx->state[i].lastcpu = NOCPU; in vmx_init()
1257 vmxstate->lastcpu = NOCPU; in vmx_invvpid()
/f-stack/freebsd/amd64/vmm/amd/
H A Dsvm.c619 vcpu->lastcpu = NOCPU; in svm_init()