Lines Matching refs:contextCounter
39 lowBits = (CONTEXT_SLOT)gr.contextCounter; in ContextIdSetOldest()
104 gr.contextCounter = MAX_LOADED_SESSIONS + 1; in SessionStartup()
268 if( (CONTEXT_SLOT)gr.contextCounter in ContextIdSessionCreate()
440 && gr.contextArray[s_oldestSavedSession] == (CONTEXT_SLOT)gr.contextCounter) in SessionContextSave()
444 *contextID = gr.contextCounter; in SessionContextSave()
452 gr.contextArray[contextIndex] = (CONTEXT_SLOT)gr.contextCounter; in SessionContextSave()
454 gr.contextCounter++; in SessionContextSave()
456 if(gr.contextCounter == 0) in SessionContextSave()
459 gr.contextCounter--; in SessionContextSave()
465 if(((CONTEXT_SLOT)gr.contextCounter) == 0) in SessionContextSave()
466 gr.contextCounter += MAX_LOADED_SESSIONS + 1; in SessionContextSave()
516 && (CONTEXT_SLOT)gr.contextCounter == gr.contextArray[s_oldestSavedSession] in SessionContextLoad()