Lines Matching refs:lep
110 lwpent_t *lep; in lwp_create() local
284 lep = kmem_zalloc(sizeof (*lep), KM_SLEEP); in lwp_create()
716 lep->le_thread = t; in lwp_create()
717 lep->le_lwpid = t->t_tid; in lwp_create()
718 lep->le_start = t->t_start; in lwp_create()
719 lwp_hash_in(p, lep, p->p_tidhash, p->p_tidhash_sz, 1); in lwp_create()
774 kmem_free(lep, sizeof (*lep)); in lwp_create()
1769 lwpent_t *lep; in exitlwps() local
1773 lep = ldp->ld_entry; in exitlwps()
1774 if (lep != NULL && lep->le_thread != curthread) { in exitlwps()
1775 ASSERT(lep->le_thread == NULL); in exitlwps()
1777 lwp_hash_out(p, lep->le_lwpid); in exitlwps()
1929 lwp_hash_in(proc_t *p, lwpent_t *lep, tidhash_t *tidhash, uint_t tidhash_sz, in lwp_hash_in() argument
1932 tidhash_t *thp = &tidhash[TIDHASH(lep->le_lwpid, tidhash_sz)]; in lwp_hash_in()
1944 ldp->ld_entry = lep; in lwp_hash_in()
1959 if ((t = lep->le_thread) != NULL) { in lwp_hash_in()
1960 ASSERT(lep->le_lwpid == t->t_tid); in lwp_hash_in()
1980 lwpent_t *lep; in lwp_hash_out() local
1985 lep = ldp->ld_entry; in lwp_hash_out()
1986 if (lep->le_lwpid == lwpid) { in lwp_hash_out()
1987 prlwpfree(p, lep); /* /proc deals with le_trace */ in lwp_hash_out()
1992 kmem_free(lep, sizeof (*lep)); in lwp_hash_out()