Home
last modified time | relevance | path

Searched refs:sessionPoolSize (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connect.c85 static int sessionPoolSize = 0; variable
534 sessionPoolSize = SESSION_CACHE_INC; in addConnection()
535 sessionPool = calloc(sessionPoolSize, in addConnection()
545 for (i = 0; (i < sessionPoolSize) && (sessionPool[i] != NULL); ++i) in addConnection()
547 if (i == sessionPoolSize) { in addConnection()
551 (sessionPoolSize + SESSION_CACHE_INC) * in addConnection()
557 (void) memset(cl + sessionPoolSize, 0, in addConnection()
560 sessionPoolSize += SESSION_CACHE_INC; in addConnection()
563 sessionPoolSize); in addConnection()
622 for (i = 0; i < sessionPoolSize; ++i) { in findConnection()
[all …]