Searched refs:maxLocks (Results 1 – 1 of 1) sorted by relevance
1171 int maxLocks; in agtiapi_InitCardSW() local1172 maxLocks = pRscInfo->tiLoLevelResource.loLevelOption.numOfQueuesPerPort; in agtiapi_InitCardSW()1173 pmsc->STLock = malloc( ( maxLocks * sizeof(struct mtx) ), M_PMC_MSTL, in agtiapi_InitCardSW()1176 for( initSWIdx = 0; initSWIdx < maxLocks; initSWIdx++ ) in agtiapi_InitCardSW()6522 int maxLocks; in agtiapi_ReleaseHBA() local6523 maxLocks = pRscInfo->tiLoLevelResource.loLevelOption.numOfQueuesPerPort; in agtiapi_ReleaseHBA()6525 for( i = 0; i < maxLocks; i++ ) in agtiapi_ReleaseHBA()