Lines Matching defs:nt
264 struct threadinfo *nt;
270 LIST_FOREACH(nt, &p->threadlist, entries) {
271 if (nt->tid == lwpid)
275 nt = calloc(1, sizeof(struct threadinfo));
276 if (nt == NULL)
278 nt->proc = p;
279 nt->tid = lwpid;
280 LIST_INSERT_HEAD(&p->threadlist, nt, entries);
281 return (nt);
394 struct threadinfo *nt;
399 LIST_FOREACH(nt, &np->threadlist, entries) {
400 if (nt->tid == lwpid) {
401 info->curthread = nt;