Home
last modified time | relevance | path

Searched refs:l_ts (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/sys/kern/
H A Dkern_turnstile.c134 KASSERT(l->l_ts == ts); in turnstile_remove()
142 l->l_ts = nts; in turnstile_remove()
283 ts = l->l_ts; in turnstile_lendpri()
387 KASSERT(l->l_ts != NULL); in turnstile_block()
394 ts = l->l_ts; in turnstile_block()
407 ots = l->l_ts; in turnstile_block()
411 l->l_ts = ts; in turnstile_block()
H A Dkern_lwp.c287 .l_ts = &turnstile0,
401 l->l_ts = kmem_alloc(sizeof(*l->l_ts), flags == PR_WAITOK ? in lwp_ctor()
404 if (l->l_ts == NULL) { in lwp_ctor()
407 turnstile_ctor(l->l_ts); in lwp_ctor()
426 if (l->l_ts != &turnstile0) in lwp_dtor()
427 kmem_free(l->l_ts, sizeof(*l->l_ts)); in lwp_dtor()
816 KASSERT(l2->l_ts != NULL); in lwp_create()
836 KASSERT(l2->l_ts != NULL); in lwp_create()
/netbsd-src/sys/sys/
H A Dlwp.h92 struct turnstile *l_ts; /* l: current turnstile */ member