Home
last modified time | relevance | path

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

12

/freebsd/sys/kern/
H A Dsched_4bsd.c287 SDT_PROBE2(sched, , , load__change, NOCPU, sched_tdcnt); in sched_load_add()
296 SDT_PROBE2(sched, , , load__change, NOCPU, sched_tdcnt); in sched_load_rem()
816 childtd->td_oncpu = NOCPU; in sched_fork_thread()
817 childtd->td_lastcpu = NOCPU; in sched_fork_thread()
1020 td->td_oncpu = NOCPU; in sched_switch()
1186 (cpunum == NOCPU || me == cpunum)) in forward_wakeup()
1219 if (cpunum != NOCPU) { in forward_wakeup()
1240 if (cpunum == NOCPU) in forward_wakeup()
1288 if (td->td_lastcpu != NOCPU && THREAD_CAN_SCHED(td, td->td_lastcpu)) in sched_pickcpu()
1291 best = NOCPU; in sched_pickcpu()
[all...]
H A Dsubr_smp.c207 if (id == NOCPU) in forward_signal()
238 static volatile u_int stopping_cpu = NOCPU; in generic_stop_cpus()
271 while (atomic_cmpset_int(&stopping_cpu, NOCPU, in generic_stop_cpus()
273 while (stopping_cpu != NOCPU) in generic_stop_cpus()
305 stopping_cpu = NOCPU; in generic_stop_cpus()
H A Dkern_intr.c298 ie->ie_cpu = NOCPU; in intr_event_create()
328 if (cpu != NOCPU && CPU_ABSENT(cpu)) in _intr_event_bind()
453 cpu = NOCPU; in intr_setaffinity()
462 if (cpu != NOCPU) in intr_setaffinity()
503 if (ie->ie_cpu == NOCPU) in intr_getaffinity()
H A Dvfs_subr.c692 vp->v_dbatchcpu = NOCPU; in vnode_init()
3858 MPASS(vp->v_dbatchcpu != NOCPU); in vdbatch_process()
3859 vp->v_dbatchcpu = NOCPU; in vdbatch_process()
3878 MPASS(vp->v_dbatchcpu != NOCPU); in vdbatch_process()
3879 vp->v_dbatchcpu = NOCPU; in vdbatch_process()
3894 if (vp->v_dbatchcpu != NOCPU) { in vdbatch_enqueue()
3933 if (cpu == NOCPU) in vdbatch_dequeue()
3941 vp->v_dbatchcpu = NOCPU; in vdbatch_dequeue()
3951 MPASS(vp->v_dbatchcpu == NOCPU); in vdbatch_dequeue()
H A Dsched_ule.c2288 td->td_oncpu = NOCPU; in sched_switch()
2424 child->td_oncpu = NOCPU; in sched_fork_thread()
2425 child->td_lastcpu = NOCPU; in sched_fork_thread()
3135 td->td_oncpu = NOCPU; in sched_throw()
H A Dkern_racct.c1160 if ((cpuid != NOCPU) && (td != curthread)) in racct_proc_throttle()
H A Dkern_thread.c388 td->td_lastcpu = td->td_oncpu = NOCPU; in thread_ctor()
H A Dsubr_intr.c649 if (cpu == NOCPU) { in intr_isrc_assign_cpu()
H A Dkern_proc.c1307 if (td->td_lastcpu == NOCPU) in fill_kinfo_thread()
1314 if (td->td_oncpu == NOCPU) in fill_kinfo_thread()
H A Dkern_cpuset.c1556 if (cpu == NOCPU) in cpuset_setithread()
/freebsd/sys/riscv/vmm/
H A Dvmm.c191 vcpu->hostcpu = NOCPU; in vcpu_alloc()
736 KASSERT(hostcpu != NOCPU, ("vcpu running on invalid hostcpu")); in vcpu_notify_event_locked()
748 KASSERT(hostcpu == NOCPU, ("vcpu state %d not consistent " in vcpu_notify_event_locked()
836 KASSERT(vcpu->hostcpu == NOCPU, ("Invalid hostcpu %d for a " in vcpu_set_state_locked()
867 vcpu->hostcpu = NOCPU; in vcpu_set_state_locked()
/freebsd/usr.sbin/config/
H A Dconfig.y11 %token NOCPU
179 NOCPU Save_id {
H A Dlang.l63 { "nocpu", NOCPU },
/freebsd/sys/x86/x86/
H A Dstack_machdep.c134 if (cpuid == NOCPU) { in stack_save_td()
H A Dintr_machdep.c398 if (mp_ncpus > 1 && cpu != NOCPU) { in intr_assign_cpu()
744 if (isrc == NULL || isrc->is_event->ie_cpu != NOCPU) in intr_balance()
/freebsd/sys/arm64/vmm/
H A Dvmm.c290 vcpu->hostcpu = NOCPU; in vcpu_alloc()
1014 KASSERT(hostcpu != NOCPU, ("vcpu running on invalid hostcpu")); in vcpu_notify_event_locked()
1026 KASSERT(hostcpu == NOCPU, ("vcpu state %d not consistent " in vcpu_notify_event_locked()
1115 KASSERT(vcpu->hostcpu == NOCPU, ("Invalid hostcpu %d for a " in vcpu_set_state_locked()
1146 vcpu->hostcpu = NOCPU; in vcpu_set_state_locked()
/freebsd/sys/amd64/vmm/
H A Dvmm.c356 vcpu->hostcpu = NOCPU; in vcpu_alloc()
1021 KASSERT(vcpu->hostcpu == NOCPU, ("Invalid hostcpu %d for a " in vcpu_set_state_locked()
1055 vcpu->hostcpu = NOCPU; in vcpu_set_state_locked()
2268 KASSERT(hostcpu != NOCPU, ("vcpu running on invalid hostcpu")); in vcpu_notify_event_locked()
2285 KASSERT(hostcpu == NOCPU, ("vcpu state %d not consistent " in vcpu_notify_event_locked()
/freebsd/lib/libkvm/
H A Dkvm_proc.c458 if (mtd.td_lastcpu == NOCPU) in kvm_proclist()
465 if (mtd.td_oncpu == NOCPU) in kvm_proclist()
/freebsd/sys/gdb/
H A Dgdb_main.c487 if (ctx.iter->td_oncpu != NOCPU) { in do_qXfer_threads_read()
/freebsd/usr.bin/top/
H A Dmachine.c983 if (smpmode && pp->ki_oncpu != NOCPU) in format_next_process()
1149 if (state == SRUN && pp->ki_oncpu != NOCPU) { in format_next_process()
/freebsd/sys/powerpc/powerpc/
H A Dintr_machdep.c348 if (cpu == NOCPU) in powerpc_assign_intr_cpu()
/freebsd/bin/ps/
H A Dprint.c546 if (k->ki_p->ki_stat == SRUN && k->ki_p->ki_oncpu != NOCPU) { in cpunum()
/freebsd/sys/sys/
H A Dproc.h781 #define NOCPU (-1) /* For when we aren't on a CPU. */ macro
/freebsd/sys/amd64/vmm/intel/
H A Dvmx.c1228 vcpu->state.lastcpu = NOCPU; in vmx_vcpu_init()
1305 vmxstate->lastcpu = NOCPU; in vmx_invvpid()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_eq.c1106 eq_table->eq[i].affinity_cpu_id = NOCPU; in mlx4_free_irqs()

12