Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_taskq.c64 static struct sx *tqenthashtbl_lock; variable
69 #define TQIDHASHLOCK(tqid) (&tqenthashtbl_lock[((tqid) & tqenthashlock)])
84 tqenthashtbl_lock = in system_taskq_init()
85 malloc(sizeof (*tqenthashtbl_lock) * (tqenthashlock + 1), in system_taskq_init()
88 sx_init_flags(&tqenthashtbl_lock[i], "tqenthash", SX_DUPOK); in system_taskq_init()
110 sx_destroy(&tqenthashtbl_lock[i]); in system_taskq_fini()
113 free(tqenthashtbl_lock, M_TASKQ); in system_taskq_fini()