Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connect.c84 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()
[all …]