/freebsd/sys/kern/ |
H A D | sched_4bsd.c | 287 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 D | subr_smp.c | 207 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 D | kern_intr.c | 298 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 D | vfs_subr.c | 692 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 D | sched_ule.c | 2288 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 D | kern_racct.c | 1160 if ((cpuid != NOCPU) && (td != curthread)) in racct_proc_throttle()
|
H A D | kern_thread.c | 388 td->td_lastcpu = td->td_oncpu = NOCPU; in thread_ctor()
|
H A D | subr_intr.c | 649 if (cpu == NOCPU) { in intr_isrc_assign_cpu()
|
H A D | kern_proc.c | 1307 if (td->td_lastcpu == NOCPU) in fill_kinfo_thread() 1314 if (td->td_oncpu == NOCPU) in fill_kinfo_thread()
|
H A D | kern_cpuset.c | 1556 if (cpu == NOCPU) in cpuset_setithread()
|
/freebsd/sys/riscv/vmm/ |
H A D | vmm.c | 191 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 D | config.y | 11 %token NOCPU 179 NOCPU Save_id {
|
H A D | lang.l | 63 { "nocpu", NOCPU },
|
/freebsd/sys/x86/x86/ |
H A D | stack_machdep.c | 134 if (cpuid == NOCPU) { in stack_save_td()
|
H A D | intr_machdep.c | 398 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 D | vmm.c | 290 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 D | vmm.c | 356 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 D | kvm_proc.c | 458 if (mtd.td_lastcpu == NOCPU) in kvm_proclist() 465 if (mtd.td_oncpu == NOCPU) in kvm_proclist()
|
/freebsd/sys/gdb/ |
H A D | gdb_main.c | 487 if (ctx.iter->td_oncpu != NOCPU) { in do_qXfer_threads_read()
|
/freebsd/usr.bin/top/ |
H A D | machine.c | 983 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 D | intr_machdep.c | 348 if (cpu == NOCPU) in powerpc_assign_intr_cpu()
|
/freebsd/bin/ps/ |
H A D | print.c | 546 if (k->ki_p->ki_stat == SRUN && k->ki_p->ki_oncpu != NOCPU) { in cpunum()
|
/freebsd/sys/sys/ |
H A D | proc.h | 781 #define NOCPU (-1) /* For when we aren't on a CPU. */ macro
|
/freebsd/sys/amd64/vmm/intel/ |
H A D | vmx.c | 1228 vcpu->state.lastcpu = NOCPU; in vmx_vcpu_init() 1305 vmxstate->lastcpu = NOCPU; in vmx_invvpid()
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_eq.c | 1106 eq_table->eq[i].affinity_cpu_id = NOCPU; in mlx4_free_irqs()
|