Home
last modified time | relevance | path

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

12

/dports/misc/rump/buildrump.sh-b914579/src/sys/kern/
H A Dkern_kthread.c117 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 Dkern_synch.c173 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 Dkern_softint.c628 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 Dsubr_psref.c220 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 Dkern_lwp.c835 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 Dkern_runq.c247 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 Dkern_idle.c72 l->l_pflag |= LP_RUNNING; in idle_loop()
H A Dkern_ktrace.c846 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 Dkern_fork.c379 l1->l_pflag |= LP_VFORKWAIT; in fork1()
593 while (l1->l_pflag & LP_VFORKWAIT) { in fork1()
H A Dkern_cpu.c377 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 Dthreads.c87 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 Dlwproc.c475 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 Dscheduler.c296 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 Dintr.c197 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 Duserret.h71 if (l->l_pflag & LP_OWEUPC) { in userret()
72 l->l_pflag &= ~LP_OWEUPC; in userret()
H A Dcpu.h135 #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 Dast.c139 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 Dlwp.h190 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 Dktrace.h311 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 Ddb_proc.c186 (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 Dpowerpc_machdep.c377 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 Driscv_machdep.c259 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 Dtrap.c506 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 Dtrap.c465 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 Dcpu_machdep.c247 if (__predict_false((l->l_pflag & LP_INTR) != 0)) { in cpu_need_resched()
298 l->l_pflag |= LP_OWEUPC; in cpu_need_proftick()

12