Searched refs:__mcp (Results 1 – 1 of 1) sorted by relevance
251 #define DPAA2_MCP_LOCK(__mcp, __flags) do { \ argument252 mtx_assert(&(__mcp)->lock, MA_NOTOWNED); \253 mtx_lock(&(__mcp)->lock); \254 *(__flags) = (__mcp)->flags; \255 (__mcp)->flags |= DPAA2_PORTAL_LOCKED; \258 #define DPAA2_MCP_UNLOCK(__mcp) do { \ argument259 mtx_assert(&(__mcp)->lock, MA_OWNED); \260 (__mcp)->flags &= ~DPAA2_PORTAL_LOCKED; \261 mtx_unlock(&(__mcp)->lock); \