Lines Matching refs:CONTEXT_SLOT
146 CONTEXT_SLOT lowBits; in ContextIdSetOldest()
147 CONTEXT_SLOT entry; in ContextIdSetOldest()
148 CONTEXT_SLOT smallest = ((CONTEXT_SLOT)~0); in ContextIdSetOldest()
154 lowBits = (CONTEXT_SLOT)gr.contextCounter; in ContextIdSetOldest()
165 if(((CONTEXT_SLOT)(entry - lowBits)) <= smallest) in ContextIdSetOldest()
303 #define MAX_CONTEXT_GAP ((UINT64)((CONTEXT_SLOT) ~0) + 1) in SequenceNumberForSavedContextIsValid()
312 || gr.contextArray[handle] != (CONTEXT_SLOT)context->sequence in SequenceNumberForSavedContextIsValid()
355 CONTEXT_SLOT sessionIndex; in SessionGet()
418 if((CONTEXT_SLOT)gr.contextCounter in ContextIdSessionCreate()
430 gr.contextArray[*handle] = (CONTEXT_SLOT)(sessionIndex + 1); in ContextIdSessionCreate()
462 CONTEXT_SLOT slotIndex; in SessionCreate()
601 CONTEXT_SLOT slotIndex; in SessionContextSave()
610 && gr.contextArray[s_oldestSavedSession] == (CONTEXT_SLOT)gr.contextCounter) in SessionContextSave()
626 gr.contextArray[contextIndex] = (CONTEXT_SLOT)gr.contextCounter; in SessionContextSave()
641 if(((CONTEXT_SLOT)gr.contextCounter) == 0) in SessionContextSave()
678 CONTEXT_SLOT slotIndex; in SessionContextLoad()
700 && (CONTEXT_SLOT)gr.contextCounter == gr.contextArray[s_oldestSavedSession] in SessionContextLoad()
738 CONTEXT_SLOT slotIndex; in SessionFlush()