Searched refs:taskq_tsd (Results 1 – 3 of 3) sorted by relevance
46 static uint_t taskq_tsd; variable80 tsd_create(&taskq_tsd, NULL); in system_taskq_init()109 tsd_destroy(&taskq_tsd); in system_taskq_fini()200 if (context != NULL && tsd_get(taskq_tsd) == NULL) in taskq_tsd_set()203 tsd_set(taskq_tsd, tq); in taskq_tsd_set()342 return (tsd_get(taskq_tsd)); in taskq_of_curthread()
30 static pthread_key_t taskq_tsd; variable221 VERIFY0(pthread_key_create(&taskq_tsd, NULL)); in taskq_tsd_init()232 VERIFY0(pthread_setspecific(taskq_tsd, tq)); in taskq_thread()396 return (pthread_getspecific(taskq_tsd)); in taskq_of_curthread()
166 static uint_t taskq_tsd; variable590 return (tq == (taskq_t *)tsd_get_by_thread(taskq_tsd, t)); in taskq_member()597 return (tsd_get(taskq_tsd)); in taskq_of_curthread()1024 tsd_set(taskq_tsd, tq); in taskq_thread()1156 tsd_set(taskq_tsd, NULL); in taskq_thread()1791 tsd_create(&taskq_tsd, NULL); in spl_taskq_init()1844 tsd_destroy(&taskq_tsd); in spl_taskq_fini()