Lines Matching refs:contextCounter
154 lowBits = (CONTEXT_SLOT)gr.contextCounter; in ContextIdSetOldest()
220 gr.contextCounter = MAX_LOADED_SESSIONS + 1; in SessionStartup()
314 || context->sequence > gr.contextCounter in SequenceNumberForSavedContextIsValid()
316 || gr.contextCounter - context->sequence > MAX_CONTEXT_GAP) in SequenceNumberForSavedContextIsValid()
418 if((CONTEXT_SLOT)gr.contextCounter in ContextIdSessionCreate()
610 && gr.contextArray[s_oldestSavedSession] == (CONTEXT_SLOT)gr.contextCounter) in SessionContextSave()
615 *contextID = gr.contextCounter; in SessionContextSave()
626 gr.contextArray[contextIndex] = (CONTEXT_SLOT)gr.contextCounter; in SessionContextSave()
629 gr.contextCounter++; in SessionContextSave()
632 if(gr.contextCounter == 0) in SessionContextSave()
635 gr.contextCounter--; in SessionContextSave()
641 if(((CONTEXT_SLOT)gr.contextCounter) == 0) in SessionContextSave()
642 gr.contextCounter += MAX_LOADED_SESSIONS + 1; in SessionContextSave()
700 && (CONTEXT_SLOT)gr.contextCounter == gr.contextArray[s_oldestSavedSession] in SessionContextLoad()