Home
last modified time | relevance | path

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

/netbsd-src/sys/kern/
H A Dkern_cpu.c231 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 Dsubr_cpu.c275 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 Dkern_runq.c237 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 Dsched_4bsd.c134 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 Dsubr_interrupt.c75 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 Dkern_idle.c59 spc->spc_flags |= SPCF_RUNNING; in idle_loop()
83 if ((spc->spc_flags & SPCF_OFFLINE) == 0) { in idle_loop()
H A Dkern_synch.c571 spc->spc_flags &= ~(SPCF_SWITCHCLEAR | SPCF_IDLE); in nextlwp()
581 spc->spc_flags = (spc->spc_flags & ~SPCF_SWITCHCLEAR) | in nextlwp()
H A Dsched_m2.c340 spc->spc_flags |= SPCF_SHOULDYIELD; in sched_tick()
H A Dsubr_xcall.c412 if ((ci->ci_schedstate.spc_flags & SPCF_RUNNING) == 0) in xc_lowpri()
H A Dsys_pset.c356 if (psid != PS_NONE && ((spc->spc_flags & SPCF_OFFLINE) || in sys_pset_assign()
H A Dinit_main.c810 curcpu()->ci_schedstate.spc_flags |= SPCF_RUNNING; in configure2()
H A Dsys_sched.c383 if (ispc->spc_flags & SPCF_OFFLINE) { in sys__sched_setaffinity()
H A Dsubr_prf.c248 ci->ci_schedstate.spc_flags |= SPCF_OFFLINE; in vpanic()
H A Dinit_sysctl.c1575 kl->l_schedflags = l->l_cpu->ci_schedstate.spc_flags; in fill_lwp()
H A Dkern_proc.c2858 ki->p_schedflags = l->l_cpu->ci_schedstate.spc_flags; in fill_kproc2()
/netbsd-src/sys/arch/alpha/pci/
H A Dpci_machdep.c289 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 Dintr.c566 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 Dcpu.c1340 sc->sc_wasonline = !(ci->ci_schedstate.spc_flags & SPCF_OFFLINE); in cpu_stop()
/netbsd-src/sys/sys/
H A Dsched.h165 volatile int spc_flags; /* s: flags; see below */ member
/netbsd-src/sys/rump/librump/rumpkern/
H A Dscheduler.c176 ci->ci_schedstate.spc_flags = SPCF_RUNNING; in rump_scheduler_init()
/netbsd-src/sys/netinet/
H A Dsctp_uio.h208 u_int16_t spc_flags; member
H A Dsctputil.c1998 spc->spc_flags = 0; in sctp_notify_peer_addr_change()
/netbsd-src/sys/arch/powerpc/booke/
H A De500_intr.c1505 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 Dintr.c804 if ((ci->ci_schedstate.spc_flags & SPCF_NOINTR) == 0) in interrupt_get_available()
/netbsd-src/sys/arch/arm/pic/
H A Dpic.c1042 if ((ci->ci_schedstate.spc_flags & SPCF_NOINTR) == 0) in interrupt_get_available()