thread 84 kern/arch/mips/include/current.h #define INIT_CURCPU(cpu, thread) (curthread = (thread), curcpu = (cpu)) thread 55 kern/arch/mips/thread/switchframe.c switchframe_init(struct thread *thread, thread 92 kern/include/proc.h int proc_addthread(struct proc *proc, struct thread *t); thread 95 kern/include/proc.h void proc_remthread(struct thread *t); thread 118 kern/include/thread.h DECLARRAY(thread); thread 119 kern/include/thread.h DEFARRAY(thread, THREADINLINE); thread 66 kern/include/threadlist.h void threadlistnode_init(struct threadlistnode *tln, struct thread *self); thread 77 kern/include/threadlist.h void threadlist_addhead(struct threadlist *tl, struct thread *t); thread 78 kern/include/threadlist.h void threadlist_addtail(struct threadlist *tl, struct thread *t); thread 84 kern/include/threadlist.h struct thread *onlist, struct thread *addee); thread 86 kern/include/threadlist.h struct thread *addee, struct thread *onlist); thread 87 kern/include/threadlist.h void threadlist_remove(struct threadlist *tl, struct thread *t); thread 73 kern/include/threadprivate.h void switchframe_init(struct thread *, thread 282 kern/proc/proc.c proc_addthread(struct proc *proc, struct thread *t) thread 303 kern/proc/proc.c proc_remthread(struct thread *t) thread 84 kern/thread/thread.c thread_checkstack_init(struct thread *thread) thread 104 kern/thread/thread.c thread_checkstack(struct thread *thread) thread 240 kern/thread/thread.c thread_destroy(struct thread *thread) thread 436 kern/thread/thread.c thread_make_runnable(struct thread *target, bool already_have_lock) thread 40 kern/thread/threadlist.c threadlistnode_init(struct threadlistnode *tln, struct thread *t) thread 107 kern/thread/threadlist.c threadlist_insertafternode(struct threadlistnode *onlist, struct thread *t) thread 127 kern/thread/threadlist.c threadlist_insertbeforenode(struct thread *t, struct threadlistnode *onlist) thread 163 kern/thread/threadlist.c threadlist_addhead(struct threadlist *tl, struct thread *t) thread 173 kern/thread/threadlist.c threadlist_addtail(struct threadlist *tl, struct thread *t) thread 220 kern/thread/threadlist.c struct thread *onlist, struct thread *addee) thread 228 kern/thread/threadlist.c struct thread *addee, struct thread *onlist) thread 235 kern/thread/threadlist.c threadlist_remove(struct threadlist *tl, struct thread *t)