Home | History | Annotate | Download | only in tpm2

Lines Matching refs:contextIndex

432    UINT32                            contextIndex;
446 contextIndex = handle & HR_HANDLE_MASK;
450 slotIndex = gr.contextArray[contextIndex] - 1;
452 gr.contextArray[contextIndex] = (CONTEXT_SLOT)gr.contextCounter;
469 s_oldestSavedSession = contextIndex;
499 UINT32 contextIndex;
511 contextIndex = *handle & HR_HANDLE_MASK; // extract the index
517 && contextIndex != s_oldestSavedSession
520 pAssert(contextIndex < MAX_ACTIVE_SESSIONS);
523 gr.contextArray[contextIndex] = slotIndex + 1;
525 if(contextIndex == s_oldestSavedSession)
550 UINT32 contextIndex; // Index into contextArray
558 contextIndex = handle & HR_HANDLE_MASK;
559 pAssert(contextIndex < sizeof(gr.contextArray)/sizeof(gr.contextArray[0]));
561 slotIndex = gr.contextArray[contextIndex];
563 gr.contextArray[contextIndex] = 0;
568 if(contextIndex == s_oldestSavedSession)