Lines Matching defs:storage
27 ap_slotmem_provider_t *storage = NULL;
744 storage = ap_lookup_provider(AP_SLOTMEM_PROVIDER_GROUP, "shm",
746 if (!storage) {
797 rv = storage->create(&new, conf->id,
806 conf->storage = storage;
839 bshm = ap_proxy_find_balancershm(storage, conf->bslot, balancer, &index);
841 if ((rv = storage->fgrab(conf->bslot, index)) != APR_SUCCESS) {
847 if ((rv = storage->grab(conf->bslot, &index)) != APR_SUCCESS) {
851 if ((rv = storage->dptr(conf->bslot, index, (void *)&bshm)) != APR_SUCCESS) {
867 rv = storage->create(&new, balancer->s->sname,
875 balancer->storage = storage;
887 shm = ap_proxy_find_workershm(storage, balancer->wslot, worker, &index);
889 if ((rv = storage->fgrab(balancer->wslot, index)) != APR_SUCCESS) {
895 if ((rv = storage->grab(balancer->wslot, &index)) != APR_SUCCESS) {
900 if ((rv = storage->dptr(balancer->wslot, index, (void *)&shm)) != APR_SUCCESS) {
1179 if (!nworker && storage->num_free_slots(bsel->wslot)) {
1190 if ((rv = storage->grab(bsel->wslot, &index)) != APR_SUCCESS) {
1200 if ((rv = storage->dptr(bsel->wslot, index, (void *)&shm)) != APR_SUCCESS) {
1493 balancer->max_workers - (int)storage->num_free_slots(balancer->wslot));
1637 if (storage->num_free_slots(bsel->wslot) != 0) {
1670 storage->attach(&(conf->bslot), conf->id, &size, &num, p);