Lines Matching defs:conf

91 	const pool_conf_t *conf;
303 load_group(pool_conf_t *conf, pool_knl_elem_t *elem, ea_object_t *ep,
308 pool_knl_connection_t *prov = (pool_knl_connection_t *)conf->pc_prov;
312 if ((elem = pool_knl_elem_wrap(conf, PEC_SYSTEM, PREC_INVALID,
495 if ((elem = pool_knl_elem_wrap(conf, PEC_POOL,
505 if ((elem = pool_knl_elem_wrap(conf, PEC_RES_COMP,
515 if ((elem = pool_knl_elem_wrap(conf, PEC_COMP,
530 if ((ret = load_group(conf, elem, eo, psl)) == PO_FAIL)
638 pool_knl_close(pool_conf_t *conf)
640 pool_knl_connection_t *prov = (pool_knl_connection_t *)conf->pc_prov;
654 if (!(conf->pc_prov->pc_oflags & PO_TEMP))
655 (void) pool_knl_rollback(conf);
670 pool_conf_t *conf = TO_CONF(TO_ELEM(pke));
671 pool_knl_connection_t *prov = (pool_knl_connection_t *)conf->pc_prov;
692 pool_conf_t *conf = TO_CONF(TO_ELEM(pke));
693 pool_knl_connection_t *prov = (pool_knl_connection_t *)conf->pc_prov;
712 pool_knl_update(pool_conf_t *conf, int *changed)
714 pool_knl_connection_t *prov = (pool_knl_connection_t *)conf->pc_prov;
767 if (load_group(conf, NULL, ep, &psl) != PO_SUCCESS) {
800 pool_knl_validate(const pool_conf_t *conf, pool_valid_level_t level)
802 return ((conf->pc_state == POF_INVALID) ? PO_FAIL : PO_SUCCESS);
810 pool_knl_commit(pool_conf_t *conf)
812 pool_knl_connection_t *prov = (pool_knl_connection_t *)conf->pc_prov;
828 if (pool_knl_recover(conf) == PO_FAIL) {
842 (void) pool_knl_recover(conf);
920 pool_knl_export(const pool_conf_t *conf, const char *location,
965 info.ktx_doc->_private = (void *)conf;
984 if (pool_walk_any_properties((pool_conf_t *)conf,
985 pool_conf_to_elem(conf), &info, prop_build_cb, 1) ==
997 if ((ps = pool_query_pools(conf, &nelem, NULL)) != NULL) {
1017 (pool_conf_t *)conf,
1027 if ((rs = pool_query_pool_resources(conf, ps[i],
1076 if ((rs = pool_query_resources(conf, &nelem, NULL)) != NULL) {
1096 (pool_conf_t *)conf,
1114 if ((cs = pool_query_resource_components(conf,
1136 (pool_conf_t *)conf,
1204 pool_knl_recover(pool_conf_t *conf)
1206 pool_knl_connection_t *prov = (pool_knl_connection_t *)conf->pc_prov;
1223 pool_knl_rollback(pool_conf_t *conf)
1225 pool_knl_connection_t *prov = (pool_knl_connection_t *)conf->pc_prov;
1314 pool_knl_exec_query(const pool_conf_t *conf, const pool_elem_t *src,
1318 pool_knl_connection_t *prov = (pool_knl_connection_t *)conf->pc_prov;
1325 if ((rs = pool_knl_result_set_alloc(conf)) == NULL) {
1328 qo.conf = conf;
1350 if (pool_get_property(conf,
1383 destroy_pool_cb(pool_conf_t *conf, pool_t *pool, void *unused)
1386 return (pool_destroy(conf, pool));
1399 pool_knl_remove(pool_conf_t *conf)
1404 conf->pc_state = POF_DESTROY;
1405 if ((resources = pool_query_resources(conf, &nelem, NULL)) != NULL) {
1408 if (pool_resource_destroy(conf, resources[i]) !=
1416 (void) pool_walk_pools(conf, conf, destroy_pool_cb);
1417 if (pool_conf_commit(conf, PO_FALSE) != PO_SUCCESS)
1420 if (pool_conf_close(conf) != PO_SUCCESS)
1431 pool_knl_get_binding(pool_conf_t *conf, pid_t pid)
1433 pool_knl_connection_t *prov = (pool_knl_connection_t *)conf->pc_prov;
1455 if ((pools = pool_query_pools(conf, &nelem, props)) == NULL) {
1486 pool_knl_set_binding(pool_conf_t *conf, const char *pool_name, idtype_t idtype,
1489 pool_knl_connection_t *prov = (pool_knl_connection_t *)conf->pc_prov;
1494 if ((pool = pool_get_pool(conf, pool_name)) == NULL)
1517 pool_knl_get_resource_binding(pool_conf_t *conf,
1520 pool_knl_connection_t *prov = (pool_knl_connection_t *)conf->pc_prov;
1542 if ((pools = pool_query_pools(conf, &nelem, props)) == NULL) {
1560 if ((resources = pool_query_pool_resources(conf, pools[0], &nelem,
1592 pool_knl_elem_wrap(pool_conf_t *conf, pool_elem_class_t class,
1634 pe->pe_conf = conf;
1654 resource_by_sysid(conf, PS_NONE, "pset");
1662 if (dict_put(((pool_knl_connection_t *)conf->pc_prov)->pkc_leaks,
1676 pool_knl_elem_create(pool_conf_t *conf, pool_elem_class_t class,
1682 pool_knl_connection_t *prov = (pool_knl_connection_t *)conf->pc_prov;
1686 if ((elem = pool_knl_elem_wrap(conf, class, res_class, comp_class)) ==
2094 pool_knl_connection_alloc(pool_conf_t *conf, int oflags)
2128 conf->pc_prov = (pool_connection_t *)prov;
2141 conf->pc_prov = NULL;
2148 conf->pc_prov = NULL;
2160 conf->pc_prov = NULL;
2169 conf->pc_prov = NULL;
2177 if ((prov->pkc_log = log_alloc(conf)) == NULL) {
2184 conf->pc_prov = NULL;
2192 conf->pc_state = POF_VALID;
2196 if (pool_knl_update(conf, NULL) != PO_SUCCESS) {
2203 conf->pc_prov = NULL;
2204 conf->pc_state = POF_INVALID;
2233 pool_conf_t *conf = TO_CONF(TO_ELEM(pke));
2234 if (dict_remove(((pool_knl_connection_t *)conf->pc_prov)->pkc_leaks,
2622 pool_knl_result_set_alloc(const pool_conf_t *conf)
2637 rs->prs_conf = conf;
3019 pool_conf_t *conf = li->li_log->l_conf;
3128 if (pool_put_property(conf, proprm->pru_elem,