Searched refs:crypto_drivers_mtx (Results 1 – 1 of 1) sorted by relevance
104 static struct mtx crypto_drivers_mtx; /* lock on driver table */ variable105 #define CRYPTO_DRIVER_LOCK() mtx_lock(&crypto_drivers_mtx)106 #define CRYPTO_DRIVER_UNLOCK() mtx_unlock(&crypto_drivers_mtx)107 #define CRYPTO_DRIVER_ASSERT() mtx_assert(&crypto_drivers_mtx, MA_OWNED)325 mtx_init(&crypto_drivers_mtx, "crypto", "crypto driver table", in crypto_init()399 mtx_assert(&crypto_drivers_mtx, MA_OWNED); in crypto_terminate()495 mtx_destroy(&crypto_drivers_mtx); in crypto_destroy()1179 mtx_sleep(cap, &crypto_drivers_mtx, 0, "cryunreg", 0); in crypto_unregister_all()