Home
last modified time | relevance | path

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

/freebsd/sys/netipsec/
H A Dkey.c237 static struct sx spi_alloc_lock; variable
238 #define SPI_ALLOC_LOCK_INIT() sx_init(&spi_alloc_lock, "spialloc")
239 #define SPI_ALLOC_LOCK_DESTROY() sx_destroy(&spi_alloc_lock)
240 #define SPI_ALLOC_LOCK() sx_xlock(&spi_alloc_lock)
241 #define SPI_ALLOC_UNLOCK() sx_unlock(&spi_alloc_lock)
242 #define SPI_ALLOC_LOCK_ASSERT() sx_assert(&spi_alloc_lock, SA_XLOCKED)