Lines Matching refs:sessionPool
84 static Connection **sessionPool = NULL; variable
533 if (sessionPool == NULL) { in addConnection()
535 sessionPool = calloc(sessionPoolSize, in addConnection()
537 if (!sessionPool) { in addConnection()
545 for (i = 0; (i < sessionPoolSize) && (sessionPool[i] != NULL); ++i) in addConnection()
550 cl = (Connection **) realloc(sessionPool, in addConnection()
559 sessionPool = cl; in addConnection()
566 sessionPool[i] = con; in addConnection()
619 if (sessionPool == NULL) in findConnection()
623 if (sessionPool[i] == NULL) in findConnection()
625 cp = sessionPool[i]; in findConnection()
1059 cp = sessionPool[id]; in _DropConnection()
1086 sessionPool[id] = NULL; in _DropConnection()
2019 if (sessionPool != NULL) { in __s_api_free_sessionPool()
2022 free(sessionPool); in __s_api_free_sessionPool()
2023 sessionPool = NULL; in __s_api_free_sessionPool()