Lines Matching refs:nt
16 struct thread *st, *nt, *best; in __schedule() local
49 nt = st = container_of(curr->list.next, struct thread, list); in __schedule()
51 if (__unlikely(nt->thread_magic != THREAD_MAGIC)) { in __schedule()
53 nt, nt->thread_magic); in __schedule()
57 dprintf("Thread %p (%s) ", nt, nt->name); in __schedule()
58 if (!nt->blocked) { in __schedule()
59 dprintf("runnable priority %d\n", nt->prio); in __schedule()
60 if (!best || nt->prio < best->prio) in __schedule()
61 best = nt; in __schedule()
65 nt = container_of(nt->list.next, struct thread, list); in __schedule()
66 } while (nt != st); in __schedule()