Lines Matching defs:thread_id
328 * tq_nthreads as its "thread_id", and stores its thread pointer in the
329 * tq_threadlist at the (thread_id - 1). We keep the thread_id space
330 * densely packed by requiring that only the largest thread_id can exit during
1506 int thread_id;
1528 thread_id = ++tq->tq_nthreads;
1533 VERIFY3S(thread_id, <=, tq->tq_nthreads_max);
1538 tq->tq_threadlist[thread_id - 1] = curthread;
1547 if (thread_id > tq->tq_nthreads_target) {
1550 * thread_id and thread, we must exit from
1559 if (thread_id == tq->tq_nthreads ||
1637 tq->tq_threadlist[thread_id - 1] = NULL;