Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/kern/
Dsched_4bsd.c286 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 …]
Dsubr_smp.c208 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()
Dkern_intr.c271 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()
Dsched_ule.c2056 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()
Dkern_racct.c1138 if ((cpuid != NOCPU) && (td != curthread)) in racct_proc_throttle()
Dkern_thread.c199 td->td_lastcpu = td->td_oncpu = NOCPU; in thread_ctor()
Dsubr_intr.c579 if (cpu == NOCPU) { in intr_isrc_assign_cpu()
Dkern_proc.c1178 if (td->td_lastcpu == NOCPU) in fill_kinfo_thread()
1185 if (td->td_oncpu == NOCPU) in fill_kinfo_thread()
Dkern_cpuset.c1432 if (cpu == NOCPU) in cpuset_setithread()
Dsubr_witness.c2300 if (owner->td_critnest == 0 || owner->td_oncpu == NOCPU) in witness_display_spinlock()
/freebsd-12-stable/sys/x86/x86/
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)
811 if (isrc == NULL || isrc->is_event->ie_cpu != NOCPU)
/freebsd-12-stable/usr.sbin/config/
Dconfig.y11 %token NOCPU
173 NOCPU Save_id {
Dlang.l67 { "nocpu", NOCPU },
/freebsd-12-stable/sys/sparc64/sparc64/
Dintr_machdep.c273 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/
Dkthr.c99 else if (td.td_oncpu != NOCPU && in kgdb_thr_add_procs()
Dtrgt_i386.c144 if (kt == NULL || kt->cpu == NOCPU || kt->cpu < 0) in kgdb_trgt_fetch_tss()
/freebsd-12-stable/lib/libkvm/
Dkvm_proc.c463 if (mtd.td_lastcpu == NOCPU) in kvm_proclist()
470 if (mtd.td_oncpu == NOCPU) in kvm_proclist()
/freebsd-12-stable/sys/amd64/vmm/
Dvmm.c289 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/
Dintr_machdep.c310 if (cpu == NOCPU) in powerpc_assign_intr_cpu()
/freebsd-12-stable/usr.bin/top/
Dmachine.c960 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/
Dprint.c558 if (k->ki_p->ki_stat == SRUN && k->ki_p->ki_oncpu != NOCPU) { in cpunum()
/freebsd-12-stable/sys/sys/
Dproc.h705 #define NOCPU (-1) /* For when we aren't on a CPU. */ macro
/freebsd-12-stable/sys/amd64/vmm/intel/
Dvmx.c1182 vmx->state[i].lastcpu = NOCPU; in vmx_vminit()
1270 vmxstate->lastcpu = NOCPU; in vmx_invvpid()
/freebsd-12-stable/sys/dev/mlx4/mlx4_core/
Dmlx4_eq.c1109 eq_table->eq[i].affinity_cpu_id = NOCPU; in mlx4_free_irqs()
/freebsd-12-stable/sys/amd64/vmm/amd/
Dsvm.c595 vcpu->lastcpu = NOCPU; in svm_vminit()