Lines Matching refs:tpp
276 struct threadpool_percpu *tpp;
278 LIST_FOREACH(tpp, &percpu_threadpools, tpp_link) {
279 if (tpp->tpp_pri == pri)
280 return tpp;
286 threadpool_insert_percpu(struct threadpool_percpu *tpp)
288 KASSERT(threadpool_lookup_percpu(tpp->tpp_pri) == NULL);
289 LIST_INSERT_HEAD(&percpu_threadpools, tpp, tpp_link);
293 threadpool_remove_percpu(struct threadpool_percpu *tpp)
295 KASSERT(threadpool_lookup_percpu(tpp->tpp_pri) == tpp);
296 LIST_REMOVE(tpp, tpp_link);