Searched refs:STLock (Results 1 – 3 of 3) sorted by relevance
517 mtx_lock( &pCard->STLock[queueId] ); // review: need irq save? ## in ostiSingleThreadedEnter()537 mtx_unlock( &pCard->STLock[queueId] ); // review: need irq restore? ## in ostiSingleThreadedLeave()
383 struct mtx *STLock; // Low Level & TD locks member
1173 pmsc->STLock = malloc( ( maxLocks * sizeof(struct mtx) ), M_PMC_MSTL, in agtiapi_InitCardSW()1179 mtx_init( &pmsc->STLock[initSWIdx], "LL & TD lock", NULL, MTX_DEF ); in agtiapi_InitCardSW()6519 if (pCard->STLock) in agtiapi_ReleaseHBA()6527 mtx_destroy(&pCard->STLock[i]); in agtiapi_ReleaseHBA()6529 free(pCard->STLock, M_PMC_MSTL); in agtiapi_ReleaseHBA()6530 pCard->STLock = NULL; in agtiapi_ReleaseHBA()