Home
last modified time | relevance | path

Searched refs:LW_WEXIT (Results 1 – 10 of 10) sorted by relevance

/netbsd/src/sys/rump/librump/rumpkern/
Dlwproc.c292 KASSERT(l->l_flag & LW_WEXIT); in lwproc_freelwp()
453 KASSERT(!(l->l_flag & LW_WEXIT) || newlwp); in rump_lwproc_switch()
466 if (l->l_flag & LW_WEXIT) { in rump_lwproc_switch()
497 if (l->l_flag & LW_WEXIT) { in rump_lwproc_switch()
512 if (l->l_refcnt == 0 || l->l_flag & LW_WEXIT) in rump_lwproc_releaselwp()
516 KASSERT(l->l_refcnt == 0 && (l->l_flag & LW_WEXIT)); in rump_lwproc_releaselwp()
532 l->l_flag &= ~LW_WEXIT; in rump__lwproc_lwphold()
542 l->l_flag |= LW_WEXIT; in rump__lwproc_lwprele()
550 if (l->l_flag & LW_WEXIT) in rump_lwproc_curlwp()
Dscheduler.c416 if (__predict_false(l->l_flag & LW_WEXIT)) { in rump_unschedule()
423 KASSERT(l->l_flag & LW_WEXIT); in rump_unschedule()
/netbsd/src/sys/kern/
Dkern_sleepq.c346 const int mask = LW_CANCELLED|LW_WEXIT|LW_WCORE|LW_PENDSIG; in sleepq_block()
364 if ((l->l_flag & (LW_CANCELLED|LW_WEXIT|LW_WCORE)) != 0) { in sleepq_block()
423 else if ((flag & (LW_CANCELLED | LW_WEXIT | LW_WCORE)) != 0) in sleepq_block()
Dsys_process.c171 if ((l->l_flag & LW_WEXIT) || vm->vm_refcnt < 1) in process_domem()
Dsys_lwp.c232 (l->l_flag & (LW_WCORE | LW_WEXIT)) != 0) { in sys__lwp_suspend()
267 if ((l->l_flag | t->l_flag) & (LW_WCORE | LW_WEXIT)) { in sys__lwp_suspend()
Dkern_lwp.c450 if ((curl->l_flag & (LW_WEXIT | LW_WCORE)) != 0) { in lwp_suspend()
939 l2->l_flag |= (l1->l_flag & (LW_WEXIT | LW_WREBOOT | LW_WCORE)); in lwp_create()
1728 if ((f & (LW_PENDSIG | LW_WCORE | LW_WEXIT)) == LW_PENDSIG) { in lwp_userret()
1766 if ((f & LW_WEXIT) != 0) { in lwp_userret()
Dkern_sig.c2239 l->l_flag |= (LW_WCORE | LW_WEXIT | LW_WSUSPEND); in sigexit()
2271 t->l_flag |= (LW_WCORE | LW_WEXIT); in sigexit()
Dkern_exit.c635 l2->l_flag |= LW_WEXIT; in exit_lwps()
/netbsd/src/sys/sys/
Dlwp.h264 #define LW_WEXIT 0x00100000 /* Exit before return to user */ macro
306 #define LW_USERRET (LW_WEXIT | LW_PENDSIG | LW_WREBOOT | LW_WSUSPEND \
/netbsd/src/sys/arch/vax/vax/
Dpmap.c676 if (l->l_flag & (LW_SYSTEM | LW_WEXIT)) in pmap_vax_swappable()