Home
last modified time | relevance | path

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

/freebsd/sys/dev/xdma/
H A Dxdma.h166 struct mtx mtx_proc_lock; member
224 #define QUEUE_PROC_LOCK(xchan) mtx_lock(&(xchan)->mtx_proc_lock)
225 #define QUEUE_PROC_UNLOCK(xchan) mtx_unlock(&(xchan)->mtx_proc_lock)
227 mtx_assert(&(xchan)->mtx_proc_lock, MA_OWNED)
H A Dxdma.c144 mtx_init(&xchan->mtx_proc_lock, "xDMA proc", NULL, MTX_DEF); in xdma_channel_alloc()
193 mtx_destroy(&xchan->mtx_proc_lock); in xdma_channel_free()