Lines Matching defs:bshared
1147 proxy_balancer_shared *bshared;
1176 bshared = ap_malloc(sizeof(proxy_balancer_shared));
1178 bshared = apr_palloc(p, sizeof(proxy_balancer_shared));
1180 memset(bshared, 0, sizeof(proxy_balancer_shared));
1182 bshared->was_malloced = (do_malloc != 0);
1183 PROXY_STRNCPY(bshared->lbpname, "byrequests");
1184 if (PROXY_STRNCPY(bshared->name, uri) != APR_SUCCESS) {
1191 ap_pstr2_alnum(p, bshared->name + sizeof(BALANCER_PREFIX) - 1,
1194 if (PROXY_STRNCPY(bshared->sname, sname) != APR_SUCCESS) {
1197 bshared->hash.def = ap_proxy_hashfunc(bshared->name, PROXY_HASHFUNC_DEFAULT);
1198 bshared->hash.fnv = ap_proxy_hashfunc(bshared->name, PROXY_HASHFUNC_FNV);
1199 (*balancer)->hash = bshared->hash;
1201 bshared->forcerecovery = 1;
1202 bshared->sticky_separator = '.';
1203 *bshared->nonce = PROXY_UNSET_NONCE; /* impossible valid input */
1205 (*balancer)->s = bshared;