Lines Matching defs:group

71     dbd_group_t *group;
352 dbd_group_t *group;
363 for (group = group_list; group; group = group->next) {
364 dbd_cfg_t *group_cfg = group->cfg;
416 svr->group = group;
421 if (!svr->group) {
422 svr->group = group = apr_pcalloc(pconf, sizeof(dbd_group_t));
424 group->cfg = cfg;
426 group->next = group_list;
427 group_list = group;
496 dbd_group_t *group = params;
498 if (!group->destroyed) {
515 dbd_group_t *group = params;
516 dbd_cfg_t *cfg = group->cfg;
614 dbd_group_t *group = data;
616 group->destroyed = 1;
621 static apr_status_t dbd_setup(server_rec *s, dbd_group_t *group)
623 dbd_cfg_t *cfg = group->cfg;
644 rv = apr_reslist_create(&group->reslist,
647 dbd_construct, dbd_destruct, group,
648 group->pool);
655 apr_pool_cleanup_register(group->pool, group, dbd_destroy,
664 dbd_group_t *group;
667 for (group = group_list; group; group = group->next) {
670 rv2 = apr_pool_create(&group->pool, pool);
678 rv2 = dbd_setup(s, group);
689 rv2 = apr_thread_mutex_create(&group->mutex,
712 static apr_status_t dbd_setup_lock(server_rec *s, dbd_group_t *group)
719 if (!group->mutex) {
724 rv2 = apr_thread_mutex_lock(group->mutex);
731 if (!group->reslist) {
732 rv = dbd_setup(s, group);
735 rv2 = apr_thread_mutex_unlock(group->mutex);
761 apr_reslist_release(svr->group->reslist, rec);
793 dbd_group_t *group = svr->group;
809 group = apr_pcalloc(pool, sizeof(dbd_group_t));
811 group->cfg = cfg;
813 dbd_construct((void*) &rec, group, pool);
818 if (!group->reslist) {
819 if (dbd_setup_lock(s, group) != APR_SUCCESS) {
824 rv = apr_reslist_acquire(group->reslist, (void*) &rec);
832 apr_reslist_invalidate(group->reslist, rec);
839 rec = group->rec;
849 dbd_construct((void*) &rec, group, group->pool);
850 group->rec = rec;
893 acq->reslist = svr->group->reslist;
916 acq->reslist = svr->group->reslist;