Searched refs:candidateSessionId (Results 1 – 1 of 1) sorted by relevance
97 int candidateSessionId = (fileDesc + i) % MAX_NUM_SESSIONS; in FwdLockFile_AcquireSession() local98 if (sessionPtrs[candidateSessionId] == NULL) { in FwdLockFile_AcquireSession()99 sessionPtrs[candidateSessionId] = malloc(sizeof **sessionPtrs); in FwdLockFile_AcquireSession()100 if (sessionPtrs[candidateSessionId] != NULL) { in FwdLockFile_AcquireSession()101 sessionPtrs[candidateSessionId]->fileDesc = fileDesc; in FwdLockFile_AcquireSession()102 sessionPtrs[candidateSessionId]->pContentType = NULL; in FwdLockFile_AcquireSession()103 sessionPtrs[candidateSessionId]->pEncryptedSessionKey = NULL; in FwdLockFile_AcquireSession()104 sessionId = candidateSessionId; in FwdLockFile_AcquireSession()133 int candidateSessionId = (fileDesc + i) % MAX_NUM_SESSIONS; in FwdLockFile_FindSession() local134 if (sessionPtrs[candidateSessionId] != NULL && in FwdLockFile_FindSession()[all …]