| /netbsd-src/sys/kern/ |
| H A D | kern_cpu.c | 231 if ((ci->ci_schedstate.spc_flags & SPCF_OFFLINE) != 0) in cpuctl_ioctl() 235 if ((ci->ci_schedstate.spc_flags & SPCF_NOINTR) != 0) in cpuctl_ioctl() 324 spc->spc_flags |= SPCF_OFFLINE; in cpu_xc_offline() 330 if ((mspc->spc_flags & SPCF_OFFLINE) == 0) in cpu_xc_offline() 356 if ((mspc->spc_flags & SPCF_OFFLINE) == 0 && in cpu_xc_offline() 382 spc->spc_flags &= ~SPCF_OFFLINE; in cpu_xc_offline() 396 spc->spc_flags &= ~SPCF_OFFLINE; in cpu_xc_online() 415 if ((spc->spc_flags & SPCF_OFFLINE) == 0) in cpu_setstate() 419 if ((spc->spc_flags & SPCF_OFFLINE) != 0) in cpu_setstate() 427 if ((ci2->ci_schedstate.spc_flags in cpu_setstate() [all...] |
| H A D | subr_cpu.c | 275 ci->ci_schedstate.spc_flags |= in cpu_topology_fake1() 297 ci->ci_schedstate.spc_flags &= in cpu_topology_fake() 320 ci->ci_schedstate.spc_flags &= in cpu_topology_init() 373 ci3->ci_schedstate.spc_flags |= SPCF_CORE1ST; in cpu_topology_init() 379 if ((ci->ci_schedstate.spc_flags & SPCF_CORE1ST) == 0) { in cpu_topology_init() 385 if ((ci2->ci_schedstate.spc_flags & in cpu_topology_init() 394 if ((ci3->ci_schedstate.spc_flags & SPCF_PACKAGE1ST) != 0) { in cpu_topology_init() 398 ci3->ci_schedstate.spc_flags |= SPCF_PACKAGE1ST; in cpu_topology_init() 410 if ((ci2->ci_schedstate.spc_flags & SPCF_PACKAGE1ST) in cpu_topology_init() 445 ci->ci_schedstate.spc_flags |= SPCF_1STCLASS; in cpu_topology_init() [all …]
|
| H A D | kern_runq.c | 237 spc->spc_flags &= ~SPCF_IDLE; in sched_enqueue() 459 if (__predict_false(spc->spc_flags & SPCF_OFFLINE)) in sched_migratable() 837 if ((spc->spc_flags & SPCF_OFFLINE) != 0 || spc->spc_count != 0) { in sched_idle() 855 if ((spc->spc_flags & SPCF_1STCLASS) == 0 && in sched_idle()
|
| H A D | sched_4bsd.c | 134 if (spc->spc_flags & SPCF_SHOULDYIELD) { in sched_tick() 141 } else if (spc->spc_flags & SPCF_SEENRR) { in sched_tick() 148 spc->spc_flags |= SPCF_SHOULDYIELD; in sched_tick() 156 spc->spc_flags |= SPCF_SHOULDYIELD; in sched_tick() 158 spc->spc_flags |= SPCF_SEENRR; in sched_tick()
|
| H A D | subr_interrupt.c | 75 spc->spc_flags &= ~SPCF_NOINTR; in interrupt_shield_xcall() 77 spc->spc_flags |= SPCF_NOINTR; in interrupt_shield_xcall() 98 if ((spc->spc_flags & SPCF_NOINTR) == 0) in interrupt_shield() 101 if ((spc->spc_flags & SPCF_NOINTR) != 0) in interrupt_shield()
|
| H A D | kern_idle.c | 59 spc->spc_flags |= SPCF_RUNNING; in idle_loop() 83 if ((spc->spc_flags & SPCF_OFFLINE) == 0) { in idle_loop()
|
| H A D | kern_synch.c | 571 spc->spc_flags &= ~(SPCF_SWITCHCLEAR | SPCF_IDLE); in nextlwp() 581 spc->spc_flags = (spc->spc_flags & ~SPCF_SWITCHCLEAR) | in nextlwp()
|
| H A D | sched_m2.c | 340 spc->spc_flags |= SPCF_SHOULDYIELD; in sched_tick()
|
| H A D | subr_xcall.c | 412 if ((ci->ci_schedstate.spc_flags & SPCF_RUNNING) == 0) in xc_lowpri()
|
| H A D | sys_pset.c | 356 if (psid != PS_NONE && ((spc->spc_flags & SPCF_OFFLINE) || in sys_pset_assign()
|
| H A D | init_main.c | 810 curcpu()->ci_schedstate.spc_flags |= SPCF_RUNNING; in configure2()
|
| H A D | sys_sched.c | 383 if (ispc->spc_flags & SPCF_OFFLINE) { in sys__sched_setaffinity()
|
| H A D | subr_prf.c | 248 ci->ci_schedstate.spc_flags |= SPCF_OFFLINE; in vpanic()
|
| H A D | init_sysctl.c | 1575 kl->l_schedflags = l->l_cpu->ci_schedstate.spc_flags; in fill_lwp()
|
| H A D | kern_proc.c | 2858 ki->p_schedflags = l->l_cpu->ci_schedstate.spc_flags; in fill_kproc2()
|
| /netbsd-src/sys/arch/alpha/pci/ |
| H A D | pci_machdep.c | 289 if ((ci->ci_schedstate.spc_flags & SPCF_NOINTR) == 0 || in alpha_pci_generic_intr_select_cpu() 304 if (ci->ci_schedstate.spc_flags & SPCF_NOINTR) { in alpha_pci_generic_intr_select_cpu() 442 (current_ci->ci_schedstate.spc_flags & SPCF_NOINTR) == 0) { in alpha_pci_generic_intr_redistribute()
|
| /netbsd-src/sys/arch/x86/x86/ |
| H A D | intr.c | 566 if ((lci->ci_schedstate.spc_flags & SPCF_NOINTR) != 0) { in intr_allocate_slot() 586 if ((ci->ci_schedstate.spc_flags & in intr_allocate_slot() 1687 if ((ici->ci_schedstate.spc_flags & SPCF_NOINTR) != 0) { in intr_redistribute() 1707 if ((nci->ci_schedstate.spc_flags & SPCF_NOINTR) != 0) { in intr_redistribute() 1772 if ((ci->ci_schedstate.spc_flags & SPCF_NOINTR) == 0) { in intr_find_unused_slot() 1960 if ((newci->ci_schedstate.spc_flags & SPCF_NOINTR) != 0) { in intr_set_affinity() 2223 if ((ci->ci_schedstate.spc_flags & SPCF_NOINTR) == 0) { in intr_distribute_locked()
|
| H A D | cpu.c | 1340 sc->sc_wasonline = !(ci->ci_schedstate.spc_flags & SPCF_OFFLINE); in cpu_stop()
|
| /netbsd-src/sys/sys/ |
| H A D | sched.h | 165 volatile int spc_flags; /* s: flags; see below */ member
|
| /netbsd-src/sys/rump/librump/rumpkern/ |
| H A D | scheduler.c | 176 ci->ci_schedstate.spc_flags = SPCF_RUNNING; in rump_scheduler_init()
|
| /netbsd-src/sys/netinet/ |
| H A D | sctp_uio.h | 208 u_int16_t spc_flags; member
|
| H A D | sctputil.c | 1998 spc->spc_flags = 0; in sctp_notify_peer_addr_change()
|
| /netbsd-src/sys/arch/powerpc/booke/ |
| H A D | e500_intr.c | 1505 if ((newci->ci_schedstate.spc_flags & SPCF_NOINTR) != 0) in e500_intr_set_affinity() 1630 if ((ci->ci_schedstate.spc_flags & SPCF_NOINTR) == 0) in interrupt_get_available()
|
| /netbsd-src/sys/arch/powerpc/pic/ |
| H A D | intr.c | 804 if ((ci->ci_schedstate.spc_flags & SPCF_NOINTR) == 0) in interrupt_get_available()
|
| /netbsd-src/sys/arch/arm/pic/ |
| H A D | pic.c | 1042 if ((ci->ci_schedstate.spc_flags & SPCF_NOINTR) == 0) in interrupt_get_available()
|