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()
40 static pthread_key_t taskq_tsd; variable231 VERIFY0(pthread_key_create(&taskq_tsd, NULL)); in taskq_tsd_init()242 VERIFY0(pthread_setspecific(taskq_tsd, tq)); in taskq_thread()406 return (pthread_getspecific(taskq_tsd)); in taskq_of_curthread()
165 static uint_t taskq_tsd; variable589 return (tq == (taskq_t *)tsd_get_by_thread(taskq_tsd, t)); in taskq_member()596 return (tsd_get(taskq_tsd)); in taskq_of_curthread()1023 tsd_set(taskq_tsd, tq); in taskq_thread()1154 tsd_set(taskq_tsd, NULL); in taskq_thread()1789 tsd_create(&taskq_tsd, NULL); in spl_taskq_init()1842 tsd_destroy(&taskq_tsd); in spl_taskq_fini()