• Home
  • Raw
  • Download

Lines Matching refs:contextArray

2572 579       CONTEXT_SLOT             contextArray[MAX_ACTIVE_SESSIONS];
14075 …(contextArray) only has 16-bits per context. The tracking array is the data that needs to be saved…
14085 … compare the low-order 16 bits of contextCounter to the existing values in contextArray and if one
14089 …nd save it. Since loading the oldest session also eliminates its contextID value from contextArray,
14093 …When the TPM searches contextArray and finds that none of the contextIDs match the low-order 16-bi…
14094 …of contextCount, the TPM can copy the low bits to the contextArray associated with the session, and
14104 …There is one entry in contextArray for each of the active sessions allowed by the TPM implementati…
14106 …The index into the contextArray is the handle for the session with the region selector byte of the…
14107 …set to zero. If an entry in contextArray contains 0, then the corresponding handle may be assigned…
14118contextArray, the oldest session needs to be recycled or flushed. In order to recycle the session,…
14121contextArray when a session is created. This prevents the last session slot from being used when i…
14127 …contextCount or one less. It is one less if the 16-bits of the contextArray has a value that is la…
14144 …Assume we have a small contextArray with 8, 4-bit values with values 1 and 2 used to indicate the …
14173 21 entry = gr.contextArray[i];
14225 67 if (gr.contextArray[i] <= MAX_LOADED_SESSIONS)
14226 68 gr.contextArray[i] = 0;
14240 76 // For STARTUP_CLEAR, clear out the contextArray
14242 78 gr.contextArray[i] = 0;
14282 101 || gr.contextArray[handle] == 0
14283 102 || gr.contextArray[handle] > MAX_LOADED_SESSIONS
14323 120 || gr.contextArray[handle] == 0
14324 121 || gr.contextArray[handle] <= MAX_LOADED_SESSIONS
14387 159 sessionIndex = gr.contextArray[handle & HR_HANDLE_MASK] - 1;
14401 open slot in contextArray, set contextArray to the slot.
14440 188 == gr.contextArray[s_oldestSavedSession])
14448 196 // Find an unoccupied entry in the contextArray
14451 199 if(gr.contextArray[*handle] == 0)
14455 203 gr.contextArray[*handle] = (CONTEXT_SLOT)(sessionIndex+1);
14652 355 && gr.contextArray[s_oldestSavedSession] == (CONTEXT_SLOT)gr.contextCounter)
14663 366 // Extract the session slot number referenced by the contextArray
14666 369 slotIndex = gr.contextArray[contextIndex] - 1;
14668 371 // Set the contextID for the contextArray
14669 372 gr.contextArray[contextIndex] = (CONTEXT_SLOT)gr.contextCounter;
14750 431 && (CONTEXT_SLOT)gr.contextCounter == gr.contextArray[s_oldestSavedSession]
14757 438 // set the contextArray value to point to the session slot where
14759 440 gr.contextArray[contextIndex] = slotIndex + 1;
14796 463 UINT32 contextIndex; // Index into contextArray
14805 472 // Convert handle to an index into the contextArray
14808 475 pAssert(contextIndex < sizeof(gr.contextArray)/sizeof(gr.contextArray[0]));
14811 478 slotIndex = gr.contextArray[contextIndex];
14814 481 gr.contextArray[contextIndex] = 0;
14999 617 if(gr.contextArray[i] != 0)
15002 620 if (gr.contextArray[i] <= MAX_LOADED_SESSIONS)
15071 672 if(gr.contextArray[i] != 0)
15074 675 if (gr.contextArray[i] > MAX_LOADED_SESSIONS)
15149 723 if(gr.contextArray[i] != 0) num++;
15173 739 if(gr.contextArray[i] == 0) num++;