Home
last modified time | relevance | path

Searched refs:tqenthashtbl_lock (Results 1 – 1 of 1) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_taskq.c71 static struct sx *tqenthashtbl_lock; variable
76 #define TQIDHASHLOCK(tqid) (&tqenthashtbl_lock[((tqid) & tqenthashlock)])
91 tqenthashtbl_lock = in system_taskq_init()
92 malloc(sizeof (*tqenthashtbl_lock) * (tqenthashlock + 1), in system_taskq_init()
95 sx_init_flags(&tqenthashtbl_lock[i], "tqenthash", SX_DUPOK); in system_taskq_init()
117 sx_destroy(&tqenthashtbl_lock[i]); in system_taskq_fini()
120 free(tqenthashtbl_lock, M_TASKQ); in system_taskq_fini()