Searched refs:STLock (Results 1 – 3 of 3) sorted by relevance
516 mtx_lock( &pCard->STLock[queueId] ); // review: need irq save? ## in ostiSingleThreadedEnter()536 mtx_unlock( &pCard->STLock[queueId] ); // review: need irq restore? ## in ostiSingleThreadedLeave()
382 struct mtx *STLock; // Low Level & TD locks member
1159 pmsc->STLock = malloc( ( maxLocks * sizeof(struct mtx) ), M_PMC_MSTL, in agtiapi_InitCardSW()1165 mtx_init( &pmsc->STLock[initSWIdx], "LL & TD lock", NULL, MTX_DEF ); in agtiapi_InitCardSW()6472 if (pCard->STLock) in agtiapi_ReleaseHBA()6480 mtx_destroy(&pCard->STLock[i]); in agtiapi_ReleaseHBA()6482 free(pCard->STLock, M_PMC_MSTL); in agtiapi_ReleaseHBA()6483 pCard->STLock = NULL; in agtiapi_ReleaseHBA()