Lines Matching defs:highestPending

473     EScrClientId    highestPending;
522 highestPending = scrFindHighest( hScr, SCR_CS_PENDING, uResourceIndex,
524 if (( SCR_CID_NO_CLIENT != highestPending ) && (highestPending < SCR_CID_NUM_OF_CLIENTS))
526 pScr->clientArray[ highestPending ].state[ uResourceIndex ] = SCR_CS_RUNNING;
527 pScr->clientArray[ highestPending ].currentPendingReason[ uResourceIndex ] = SCR_PR_NONE;
528 pScr->runningClient[ uResourceIndex ] = (EScrClientId)highestPending;
529 if ( NULL != pScr->clientArray[ highestPending ].clientRequestCB )
531 pScr->clientArray[ highestPending ].clientRequestCB( pScr->clientArray[ highestPending ].ClientRequestCBObj,
536 TRACE1( pScr->hReport, REPORT_SEVERITY_ERROR, "Trying to call client %d callback, which is NULL\n", highestPending);
557 EScrClientId highestPending;
627 highestPending = scrFindHighest( hScr, SCR_CS_PENDING, uResourceIndex,
629 if (SCR_CID_NO_CLIENT != highestPending)
631 pScr->clientArray[ highestPending ].state[ uResourceIndex ] = SCR_CS_RUNNING;
632 pScr->clientArray[ highestPending ].currentPendingReason[ uResourceIndex ] = SCR_PR_NONE;
633 pScr->runningClient[ uResourceIndex ] = (EScrClientId)highestPending;
634 if ( NULL != pScr->clientArray[ highestPending ].clientRequestCB )
636 pScr->clientArray[ highestPending ].clientRequestCB( pScr->clientArray[ highestPending ].ClientRequestCBObj,
642 TRACE1( pScr->hReport, REPORT_SEVERITY_ERROR, "Trying to call client %d callback, which is NULL\n", highestPending);
730 EScrClientId highestPending;
731 highestPending = scrFindHighest( hScr, SCR_CS_PENDING, eResource,
733 if ( (SCR_CID_NO_CLIENT == highestPending) ||
734 (highestPending < client))
740 if ( (highestPending != SCR_CID_NO_CLIENT) &&
741 (SCR_PR_OTHER_CLIENT_ABORTING == pScr->clientArray[ highestPending ].currentPendingReason[ eResource ]))
744 if ( NULL != pScr->clientArray[ highestPending ].clientRequestCB )
746 pScr->clientArray[ highestPending ].clientRequestCB( pScr->clientArray[ highestPending ].ClientRequestCBObj,
751 TRACE1( pScr->hReport, REPORT_SEVERITY_ERROR, "Trying to call client %d callback, which is NULL\n", highestPending);
835 EScrClientId highestPending;
863 highestPending = scrFindHighest( hScr, SCR_CS_PENDING, eResource, (SCR_CID_NUM_OF_CLIENTS-1), 0 );
866 if (( SCR_CID_NO_CLIENT != highestPending ) && (highestPending < SCR_CID_NUM_OF_CLIENTS))
869 pScr->clientArray[ highestPending ].state[ eResource ] = SCR_CS_RUNNING;
870 pScr->clientArray[ highestPending ].currentPendingReason[ eResource ] = SCR_PR_NONE;
871 pScr->runningClient[ eResource ] = highestPending;
876 if ( NULL != pScr->clientArray[ highestPending ].clientRequestCB )
878 pScr->clientArray[ highestPending ].clientRequestCB( pScr->clientArray[ highestPending ].ClientRequestCBObj,
883 TRACE1( pScr->hReport, REPORT_SEVERITY_ERROR, "Trying to call client %d callback, which is NULL\n", highestPending);