/dports/misc/rump/buildrump.sh-b914579/src/sys/kern/ |
H A D | kern_kthread.c | 117 l->l_pflag |= LP_BOUND; in kthread_create() 123 l->l_pflag |= LP_MUSTJOIN; in kthread_create() 126 l->l_pflag |= LP_INTR; in kthread_create() 129 l->l_pflag &= ~LP_MPSAFE; in kthread_create() 174 if (l->l_pflag & LP_MUSTJOIN) { in kthread_exit()
|
H A D | kern_synch.c | 173 KASSERT((l->l_pflag & LP_INTR) == 0); in tsleep() 197 KASSERT((l->l_pflag & LP_INTR) == 0); in mtsleep() 482 newl->l_pflag |= LP_RUNNING; in nextlwp() 487 newl->l_pflag |= LP_RUNNING; in nextlwp() 540 if ((l->l_pflag & LP_INTR) != 0) { in mi_switch() 543 if ((l->l_pflag & LP_TIMEINTR) != 0) in mi_switch() 554 newl->l_pflag |= LP_RUNNING; in mi_switch() 665 l->l_pflag &= ~LP_RUNNING; in mi_switch() 825 newl->l_pflag |= LP_RUNNING; in lwp_exit_switchaway() 834 l->l_pflag &= ~LP_RUNNING; in lwp_exit_switchaway() [all …]
|
H A D | kern_softint.c | 628 KASSERT((l->l_pflag & LP_INTR) != 0); in softint_block() 779 KASSERT((l->l_pflag & LP_INTR) == 0); in softint_overlay() 791 oflag = l->l_pflag; in softint_overlay() 792 l->l_pflag = oflag | LP_INTR | LP_BOUND; in softint_overlay() 816 l->l_pflag = oflag; in softint_overlay() 850 KASSERT((pinned->l_pflag & LP_RUNNING) != 0); in softint_dispatch() 863 l->l_pflag |= (LP_RUNNING | timing); in softint_dispatch() 875 l->l_pflag &= ~LP_TIMEINTR; in softint_dispatch() 902 l->l_pflag &= ~LP_RUNNING; in softint_dispatch()
|
H A D | subr_psref.c | 220 ISSET(curlwp->l_pflag, LP_BOUND)), in psref_acquire() 261 ISSET(curlwp->l_pflag, LP_BOUND)), in psref_release() 314 ISSET(curlwp->l_pflag, LP_BOUND)), in psref_copy() 446 ISSET(curlwp->l_pflag, LP_BOUND)), in _psref_held()
|
H A D | kern_lwp.c | 835 l2->l_pflag = LP_MPSAFE; in lwp_create() 894 l2->l_pflag |= LP_PIDLID; in lwp_create() 1006 if ((new_lwp->l_pflag & LP_MPSAFE) == 0) { in lwp_startup() 1075 if ((l->l_pflag & LP_PIDLID) != 0 && l->l_lid != p->p_pid) { in lwp_exit() 1216 if ((l->l_pflag & LP_RUNNING) != 0 || l->l_cpu->ci_curlwp == l) { in lwp_free() 1220 while ((l->l_pflag & LP_RUNNING) != 0 || in lwp_free() 1287 if ((l->l_pflag & LP_RUNNING) != 0) { in lwp_migrate()
|
H A D | kern_runq.c | 247 if ((l->l_pflag & LP_BOUND) == 0) in sched_enqueue() 295 if ((l->l_pflag & LP_BOUND) == 0) in sched_dequeue() 383 if (l->l_pflag & LP_BOUND) in sched_takecpu() 488 if ((l->l_pflag & LP_BOUND) || lwp_cache_hot(l) || in sched_catchlwp()
|
H A D | kern_idle.c | 72 l->l_pflag |= LP_RUNNING; in idle_loop()
|
H A D | kern_ktrace.c | 846 l->l_pflag |= LP_KTRCSW; in ktr_csw() 848 l->l_pflag |= LP_KTRCSWUSER; in ktr_csw() 850 l->l_pflag &= ~LP_KTRCSWUSER; in ktr_csw() 860 if ((l->l_pflag & LP_KTRCSW) != 0) { in ktr_csw() 862 l->l_pflag &= ~LP_KTRCSW; in ktr_csw() 868 kc->user = ((l->l_pflag & LP_KTRCSWUSER) != 0); in ktr_csw()
|
H A D | kern_fork.c | 379 l1->l_pflag |= LP_VFORKWAIT; in fork1() 593 while (l1->l_pflag & LP_VFORKWAIT) { in fork1()
|
H A D | kern_cpu.c | 377 if (l->l_cpu != ci || (l->l_pflag & (LP_BOUND | LP_INTR))) { in cpu_xc_offline() 599 return (curlwp->l_pflag & LP_INTR) != 0; in cpu_softintr_p()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/rump/librump/rumpkern/ |
H A D | threads.c | 87 if ((curlwp->l_pflag & LP_MPSAFE) == 0) in threadbouncer() 199 l->l_pflag |= LP_MPSAFE; in kthread_create() 201 l->l_pflag |= LP_INTR; in kthread_create() 203 l->l_pflag |= LP_BOUND; in kthread_create() 230 if ((curlwp->l_pflag & LP_MPSAFE) == 0) in kthread_exit()
|
H A D | lwproc.c | 475 if (__predict_false(newlwp && (newlwp->l_pflag & LP_RUNNING))) in rump_lwproc_switch() 480 l->l_pflag &= ~LP_RUNNING; in rump_lwproc_switch() 495 newlwp->l_pflag |= LP_RUNNING; in rump_lwproc_switch() 512 l->l_pflag &= ~LP_RUNNING; in rump_lwproc_switch()
|
H A D | scheduler.c | 296 bool bound = l->l_pflag & LP_BOUND; in rump_schedule_cpu_interlock() 418 lwp0.l_pflag &= ~LP_RUNNING; in rump_unschedule() 439 if ((l->l_pflag & LP_INTR) == 0) in rump_unschedule_cpu_interlock()
|
H A D | intr.c | 197 me->l_pflag |= LP_BOUND; in sithread_cpu_bouncer() 482 return curlwp->l_pflag & LP_INTR; in cpu_softintr_p()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/sparc/include/ |
H A D | userret.h | 71 if (l->l_pflag & LP_OWEUPC) { in userret() 72 l->l_pflag &= ~LP_OWEUPC; in userret()
|
H A D | cpu.h | 135 #define cpu_need_proftick(l) ((l)->l_pflag |= LP_OWEUPC, cpuinfo.ci_want_ast = 1)
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/arm/arm/ |
H A D | ast.c | 139 if (l->l_pflag & LP_OWEUPC) { in ast() 140 l->l_pflag &= ~LP_OWEUPC; in ast()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/sys/ |
H A D | lwp.h | 190 int l_pflag; /* !: LWP private flags */ member 534 bound = curlwp->l_pflag & LP_BOUND; in curlwp_bind() 535 curlwp->l_pflag |= LP_BOUND; in curlwp_bind() 543 curlwp->l_pflag ^= bound ^ LP_BOUND; in curlwp_bindx()
|
H A D | ktrace.h | 311 if ((l->l_pflag & LP_KTRACTIVE) != 0) 313 l->l_pflag |= LP_KTRACTIVE; 321 l->l_pflag &= ~LP_KTRACTIVE;
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/ddb/ |
H A D | db_proc.c | 186 (l.l_pflag & LP_RUNNING) != 0); in db_show_all_procs() 241 (l.l_pflag & LP_RUNNING) != 0); in db_show_all_procs() 317 (l.l_pflag & LP_RUNNING) != 0); in db_show_proc()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/powerpc/powerpc/ |
H A D | powerpc_machdep.c | 377 if (l->l_pflag & LP_OWEUPC) { in cpu_ast() 378 l->l_pflag &= ~LP_OWEUPC; in cpu_ast() 404 if (__predict_false((l->l_pflag & LP_INTR) != 0)) { in cpu_need_resched() 448 l->l_pflag |= LP_OWEUPC; in cpu_need_proftick()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/riscv/riscv/ |
H A D | riscv_machdep.c | 259 if (__predict_false((l->l_pflag & LP_INTR) != 0)) { in cpu_need_resched() 324 l->l_pflag |= LP_OWEUPC; in cpu_need_proftick()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/i386/i386/ |
H A D | trap.c | 506 if (l->l_pflag & LP_OWEUPC) { in trap() 507 l->l_pflag &= ~LP_OWEUPC; in trap() 551 if (cpu_intr_p() || (l->l_pflag & LP_INTR) != 0) { in trap()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/amd64/amd64/ |
H A D | trap.c | 465 if (l->l_pflag & LP_OWEUPC) { in trap() 466 l->l_pflag &= ~LP_OWEUPC; in trap() 513 if (cpu_intr_p() || (l->l_pflag & LP_INTR) != 0) { in trap()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/aarch64/aarch64/ |
H A D | cpu_machdep.c | 247 if (__predict_false((l->l_pflag & LP_INTR) != 0)) { in cpu_need_resched() 298 l->l_pflag |= LP_OWEUPC; in cpu_need_proftick()
|