Searched refs:spi_alloc_lock (Results 1 – 1 of 1) sorted by relevance
217 static struct sx spi_alloc_lock; variable218 #define SPI_ALLOC_LOCK_INIT() sx_init(&spi_alloc_lock, "spialloc")219 #define SPI_ALLOC_LOCK_DESTROY() sx_destroy(&spi_alloc_lock)220 #define SPI_ALLOC_LOCK() sx_xlock(&spi_alloc_lock)221 #define SPI_ALLOC_UNLOCK() sx_unlock(&spi_alloc_lock)222 #define SPI_ALLOC_LOCK_ASSERT() sx_assert(&spi_alloc_lock, SA_XLOCKED)