Searched refs:ald_mtx (Results 1 - 1 of 1) sorted by relevance

/freebsd-12-stable/sys/kern/
H A Dkern_alq.c96 * The ald_mtx protects the ald_queues list and the ald_active list.
98 static struct mtx ald_mtx; variable in typeref:struct:mtx
106 #define ALD_LOCK() mtx_lock(&ald_mtx)
107 #define ALD_UNLOCK() mtx_unlock(&ald_mtx)
187 mtx_init(&ald_mtx, "ALDmtx", NULL, MTX_DEF|MTX_QUIET);
208 mtx_sleep(&ald_active, &ald_mtx, PWAIT, "aldslp", 0);
251 * anything until we mtx_sleep because we hold the ald_mtx.
256 mtx_sleep(ald_proc, &ald_mtx, PWAIT, "aldslp", 0);
946 mtx_destroy(&ald_mtx);

Completed in 164 milliseconds