Lines Matching refs:nt
271 struct threadinfo *nt;
277 LIST_FOREACH(nt, &p->threadlist, entries) {
278 if (nt->tid == lwpid)
282 nt = calloc(1, sizeof(struct threadinfo));
283 if (nt == NULL)
285 nt->proc = p;
286 nt->tid = lwpid;
287 LIST_INSERT_HEAD(&p->threadlist, nt, entries);
288 return (nt);
401 struct threadinfo *nt;
406 LIST_FOREACH(nt, &np->threadlist, entries) {
407 if (nt->tid == lwpid) {
408 info->curthread = nt;