Lines Matching refs:contextArray
42 entry = gr.contextArray[i]; in ContextIdSetOldest()
90 if (gr.contextArray[i] <= MAX_LOADED_SESSIONS) in SessionStartup()
91 gr.contextArray[i] = 0; in SessionStartup()
102 gr.contextArray[i] = 0; in SessionStartup()
138 || gr.contextArray[handle] == 0 in SessionIsLoaded()
139 || gr.contextArray[handle] > MAX_LOADED_SESSIONS in SessionIsLoaded()
172 || gr.contextArray[handle] == 0 in SessionIsSaved()
173 || gr.contextArray[handle] <= MAX_LOADED_SESSIONS in SessionIsSaved()
225 sessionIndex = gr.contextArray[handle & HR_HANDLE_MASK] - 1; in SessionGet()
269 == gr.contextArray[s_oldestSavedSession]) in ContextIdSessionCreate()
278 if(gr.contextArray[*handle] == 0) in ContextIdSessionCreate()
282 gr.contextArray[*handle] = (CONTEXT_SLOT)(sessionIndex+1); in ContextIdSessionCreate()
440 && gr.contextArray[s_oldestSavedSession] == (CONTEXT_SLOT)gr.contextCounter) in SessionContextSave()
450 slotIndex = gr.contextArray[contextIndex] - 1; in SessionContextSave()
452 gr.contextArray[contextIndex] = (CONTEXT_SLOT)gr.contextCounter; in SessionContextSave()
516 && (CONTEXT_SLOT)gr.contextCounter == gr.contextArray[s_oldestSavedSession] in SessionContextLoad()
523 gr.contextArray[contextIndex] = slotIndex + 1; in SessionContextLoad()
559 pAssert(contextIndex < sizeof(gr.contextArray)/sizeof(gr.contextArray[0])); in SessionFlush()
561 slotIndex = gr.contextArray[contextIndex]; in SessionFlush()
563 gr.contextArray[contextIndex] = 0; in SessionFlush()
710 if(gr.contextArray[i] != 0) in SessionCapGetLoaded()
713 if (gr.contextArray[i] <= MAX_LOADED_SESSIONS) in SessionCapGetLoaded()
770 if(gr.contextArray[i] != 0) in SessionCapGetSaved()
773 if (gr.contextArray[i] > MAX_LOADED_SESSIONS) in SessionCapGetSaved()
840 if(gr.contextArray[i] != 0) num++; in SessionCapGetActiveNumber()
862 if(gr.contextArray[i] == 0) num++; in SessionCapGetActiveAvail()