| /freebsd-12-stable/sys/kern/ |
| D | sched_4bsd.c | 286 SDT_PROBE2(sched, , , load__change, NOCPU, sched_tdcnt); in sched_load_add() 295 SDT_PROBE2(sched, , , load__change, NOCPU, sched_tdcnt); in sched_load_rem() 780 childtd->td_oncpu = NOCPU; in sched_fork_thread() 781 childtd->td_lastcpu = NOCPU; in sched_fork_thread() 978 td->td_oncpu = NOCPU; in sched_switch() 1136 (cpunum == NOCPU || me == cpunum)) in forward_wakeup() 1169 if (cpunum != NOCPU) { in forward_wakeup() 1190 if (cpunum == NOCPU) in forward_wakeup() 1237 if (td->td_lastcpu != NOCPU && THREAD_CAN_SCHED(td, td->td_lastcpu)) in sched_pickcpu() 1240 best = NOCPU; in sched_pickcpu() [all …]
|
| D | subr_smp.c | 208 if (id == NOCPU) in forward_signal() 239 static volatile u_int stopping_cpu = NOCPU; in generic_stop_cpus() 272 while (atomic_cmpset_int(&stopping_cpu, NOCPU, in generic_stop_cpus() 274 while (stopping_cpu != NOCPU) in generic_stop_cpus() 306 stopping_cpu = NOCPU; in generic_stop_cpus()
|
| D | kern_intr.c | 271 ie->ie_cpu = NOCPU; in intr_event_create() 301 if (cpu != NOCPU && CPU_ABSENT(cpu)) in _intr_event_bind() 407 cpu = NOCPU; in intr_setaffinity() 416 if (cpu != NOCPU) in intr_setaffinity() 457 if (ie->ie_cpu == NOCPU) in intr_getaffinity()
|
| D | sched_ule.c | 2056 td->td_oncpu = NOCPU; in sched_switch() 2277 child->td_oncpu = NOCPU; in sched_fork_thread() 2278 child->td_lastcpu = NOCPU; in sched_fork_thread() 2898 td->td_oncpu = NOCPU; in sched_throw()
|
| D | kern_racct.c | 1138 if ((cpuid != NOCPU) && (td != curthread)) in racct_proc_throttle()
|
| D | kern_thread.c | 199 td->td_lastcpu = td->td_oncpu = NOCPU; in thread_ctor()
|
| D | subr_intr.c | 579 if (cpu == NOCPU) { in intr_isrc_assign_cpu()
|
| D | kern_proc.c | 1178 if (td->td_lastcpu == NOCPU) in fill_kinfo_thread() 1185 if (td->td_oncpu == NOCPU) in fill_kinfo_thread()
|
| D | kern_cpuset.c | 1432 if (cpu == NOCPU) in cpuset_setithread()
|
| D | subr_witness.c | 2300 if (owner->td_critnest == 0 || owner->td_oncpu == NOCPU) in witness_display_spinlock()
|
| /freebsd-12-stable/sys/x86/x86/ |
| D | intr_machdep.c | 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) 811 if (isrc == NULL || isrc->is_event->ie_cpu != NOCPU)
|
| /freebsd-12-stable/usr.sbin/config/ |
| D | config.y | 11 %token NOCPU 173 NOCPU Save_id {
|
| D | lang.l | 67 { "nocpu", NOCPU },
|
| /freebsd-12-stable/sys/sparc64/sparc64/ |
| D | intr_machdep.c | 273 if (assign_cpu && cpu != NOCPU) { in intr_assign_cpu() 562 if (iv->iv_event->ie_cpu != NOCPU && in intr_shuffle_irqs()
|
| /freebsd-12-stable/gnu/usr.bin/gdb/kgdb/ |
| D | kthr.c | 99 else if (td.td_oncpu != NOCPU && in kgdb_thr_add_procs()
|
| D | trgt_i386.c | 144 if (kt == NULL || kt->cpu == NOCPU || kt->cpu < 0) in kgdb_trgt_fetch_tss()
|
| /freebsd-12-stable/lib/libkvm/ |
| D | kvm_proc.c | 463 if (mtd.td_lastcpu == NOCPU) in kvm_proclist() 470 if (mtd.td_oncpu == NOCPU) in kvm_proclist()
|
| /freebsd-12-stable/sys/amd64/vmm/ |
| D | vmm.c | 289 vcpu->hostcpu = NOCPU; in vcpu_init() 1180 KASSERT(vcpu->hostcpu == NOCPU, ("Invalid hostcpu %d for a " in vcpu_set_state_locked() 1214 vcpu->hostcpu = NOCPU; in vcpu_set_state_locked() 2469 KASSERT(hostcpu != NOCPU, ("vcpu running on invalid hostcpu")); in vcpu_notify_event_locked() 2486 KASSERT(hostcpu == NOCPU, ("vcpu state %d not consistent " in vcpu_notify_event_locked()
|
| /freebsd-12-stable/sys/powerpc/powerpc/ |
| D | intr_machdep.c | 310 if (cpu == NOCPU) in powerpc_assign_intr_cpu()
|
| /freebsd-12-stable/usr.bin/top/ |
| D | machine.c | 960 if (smpmode && pp->ki_oncpu != NOCPU) in format_next_process() 1126 if (state == SRUN && pp->ki_oncpu != NOCPU) { in format_next_process()
|
| /freebsd-12-stable/bin/ps/ |
| D | print.c | 558 if (k->ki_p->ki_stat == SRUN && k->ki_p->ki_oncpu != NOCPU) { in cpunum()
|
| /freebsd-12-stable/sys/sys/ |
| D | proc.h | 705 #define NOCPU (-1) /* For when we aren't on a CPU. */ macro
|
| /freebsd-12-stable/sys/amd64/vmm/intel/ |
| D | vmx.c | 1182 vmx->state[i].lastcpu = NOCPU; in vmx_vminit() 1270 vmxstate->lastcpu = NOCPU; in vmx_invvpid()
|
| /freebsd-12-stable/sys/dev/mlx4/mlx4_core/ |
| D | mlx4_eq.c | 1109 eq_table->eq[i].affinity_cpu_id = NOCPU; in mlx4_free_irqs()
|
| /freebsd-12-stable/sys/amd64/vmm/amd/ |
| D | svm.c | 595 vcpu->lastcpu = NOCPU; in svm_vminit()
|