threads            54 sys/include/task.h 	struct list	threads;	/* list of threads */
threads           115 sys/kern/exception.c 		head = &self->threads;
threads           197 sys/kern/exception.c 	head = &task->threads;
threads           211 sys/kern/exception.c 		if (!list_empty(&task->threads)) {
threads           212 sys/kern/exception.c 			n = list_first(&task->threads);
threads           140 sys/kern/task.c 	list_init(&task->threads);
threads           196 sys/kern/task.c 	head = &task->threads;
threads           246 sys/kern/task.c 		head = &task->threads;
threads           288 sys/kern/task.c 		head = &task->threads;
threads           539 sys/kern/task.c 	list_init(&kernel_task.threads);
threads           429 sys/kern/thread.c 	list_insert(&task->threads, &t->task_link);
threads           597 sys/kern/thread.c 	list_insert(&kernel_task.threads, &idle_thread.task_link);