Lines Matching defs:cp
1319 if (worker->cp->res) {
1320 worker->cp->pool = NULL;
1328 proxy_conn_pool *cp;
1342 cp = (proxy_conn_pool *)apr_pcalloc(p, sizeof(proxy_conn_pool));
1343 cp->pool = pool;
1344 worker->cp = cp;
1363 if (!worker->cp) {
1392 if (worker->s->hmax && worker->cp->res) {
1394 apr_reslist_release(worker->cp->res, (void *)conn);
1398 worker->cp->conn = conn;
1491 if (conn->worker->cp->pool) {
1776 (*worker)->cp = NULL;
1902 if (worker->cp == NULL)
1904 if (worker->cp == NULL) {
1912 rv = apr_reslist_create(&(worker->cp->res),
1916 worker, worker->cp->pool);
1918 apr_pool_cleanup_register(worker->cp->pool, (void *)worker,
1929 apr_reslist_timeout_set(worker->cp->res, worker->s->acquire);
1936 rv = connection_constructor(&conn, worker, worker->cp->pool);
1937 worker->cp->conn = conn;
2189 if (worker->s->hmax && worker->cp->res) {
2190 rv = apr_reslist_acquire(worker->cp->res, (void **)conn);
2194 if (!worker->cp->conn) {
2195 connection_constructor((void **)conn, worker, worker->cp->pool);
2198 *conn = worker->cp->conn;
2199 worker->cp->conn = NULL;
2296 /* use (*conn)->pool instead of worker->cp->pool to match lifetime */
2380 if (!worker->cp->addr) {
2392 err = apr_sockaddr_info_get(&(worker->cp->addr),
2395 worker->cp->pool);
2396 conn->addr = worker->cp->addr;
2402 conn->addr = worker->cp->addr;
3208 (*runtime)->cp = NULL;