cib_conn 34 daemons/controld/controld_cib.c CRM_LOG_ASSERT(user_data == controld_globals.cib_conn); cib_conn 37 daemons/controld/controld_cib.c controld_globals.cib_conn->state = cib_disconnected; cib_conn 101 daemons/controld/controld_cib.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 103 daemons/controld/controld_cib.c CRM_ASSERT(cib_conn != NULL); cib_conn 109 daemons/controld/controld_cib.c cib_conn->cmds->del_notify_callback(cib_conn, T_CIB_DIFF_NOTIFY, cib_conn 111 daemons/controld/controld_cib.c cib_free_callbacks(cib_conn); cib_conn 113 daemons/controld/controld_cib.c if (cib_conn->state != cib_disconnected) { cib_conn 114 daemons/controld/controld_cib.c cib_conn->cmds->set_secondary(cib_conn, cib_conn 116 daemons/controld/controld_cib.c cib_conn->cmds->signoff(cib_conn); cib_conn 129 daemons/controld/controld_cib.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 136 daemons/controld/controld_cib.c CRM_ASSERT(cib_conn != NULL); cib_conn 139 daemons/controld/controld_cib.c if ((cib_conn->state != cib_disconnected) cib_conn 160 daemons/controld/controld_cib.c rc = cib_conn->cmds->signon(cib_conn, CRM_SYSTEM_CRMD, cib_conn 166 daemons/controld/controld_cib.c rc = cib_conn->cmds->signon(cib_conn, CRM_SYSTEM_CRMD, cib_conn 173 daemons/controld/controld_cib.c } else if (cib_conn->cmds->set_connection_dnotify(cib_conn, cib_conn 177 daemons/controld/controld_cib.c } else if (cib_conn->cmds->add_notify_callback(cib_conn, cib_conn 238 daemons/controld/controld_cib.c if (controld_globals.cib_conn) { cib_conn 239 daemons/controld/controld_cib.c controld_globals.cib_conn->call_timeout = calculated_timeout; cib_conn 373 daemons/controld/controld_cib.c cib_t *cib = controld_globals.cib_conn; cib_conn 419 daemons/controld/controld_cib.c cib_t *cib = controld_globals.cib_conn; cib_conn 828 daemons/controld/controld_cib.c cib_t *cib = controld_globals.cib_conn; cib_conn 981 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, cib_conn 1039 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, xpath, cib_conn 1067 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, xpath, cib_conn 24 daemons/controld/controld_cib.h if (controld_globals.cib_conn == NULL) { cib_conn 27 daemons/controld/controld_cib.h controld_globals.cib_conn->cmds->modify(controld_globals.cib_conn, cib_conn 35 daemons/controld/controld_cib.h if (controld_globals.cib_conn == NULL) { cib_conn 38 daemons/controld/controld_cib.h controld_globals.cib_conn->cmds->modify(controld_globals.cib_conn, cib_conn 72 daemons/controld/controld_cib.h cib_t *cib_conn = controld_globals.cib_conn; \ cib_conn 74 daemons/controld/controld_cib.h CRM_ASSERT(cib_conn != NULL); \ cib_conn 75 daemons/controld/controld_cib.h cib_conn->cmds->register_callback_full(cib_conn, id, cib_op_timeout(), \ cib_conn 308 daemons/controld/controld_control.c cib_delete(controld_globals.cib_conn); cib_conn 309 daemons/controld/controld_control.c controld_globals.cib_conn = NULL; cib_conn 354 daemons/controld/controld_control.c controld_globals.cib_conn = cib_new(); cib_conn 810 daemons/controld/controld_control.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 811 daemons/controld/controld_control.c int call_id = cib_conn->cmds->query(cib_conn, cib_conn 167 daemons/controld/controld_election.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 170 daemons/controld/controld_election.c cib_conn->cmds->set_secondary(cib_conn, cib_scope_local); cib_conn 203 daemons/controld/controld_election.c controld_globals.cib_conn, cib_none, \ cib_conn 226 daemons/controld/controld_election.c controld_globals.cib_conn->cmds->set_primary(controld_globals.cib_conn, cib_conn 653 daemons/controld/controld_execd.c controld_globals.cib_conn, cib_none, cib_conn 505 daemons/controld/controld_execd_state.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 508 daemons/controld/controld_execd_state.c int rc = cib_conn->cmds->query(cib_conn, XML_CIB_TAG_CRMCONFIG, cib_conn 510 daemons/controld/controld_execd_state.c cib_conn->cmds->register_callback_full(cib_conn, rc, 10, FALSE, cib_conn 258 daemons/controld/controld_fencing.c rc = controld_globals.cib_conn->cmds->modify(controld_globals.cib_conn, cib_conn 647 daemons/controld/controld_fsa.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 648 daemons/controld/controld_fsa.c cib_conn->cmds->set_secondary(cib_conn, cib_scope_local); cib_conn 46 daemons/controld/controld_globals.h cib_t *cib_conn; cib_conn 107 daemons/controld/controld_join_client.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 135 daemons/controld/controld_join_client.c query_call_id = cib_conn->cmds->query(cib_conn, NULL, NULL, cib_conn 197 daemons/controld/controld_join_client.c controld_globals.cib_conn, cib_sync_call, cib_conn 206 daemons/controld/controld_join_client.c controld_globals.cib_conn, cib_sync_call, cib_conn 607 daemons/controld/controld_join_dc.c rc = controld_globals.cib_conn->cmds->sync_from(controld_globals.cib_conn, cib_conn 710 daemons/controld/controld_join_dc.c cib_t *cib = controld_globals.cib_conn; cib_conn 263 daemons/controld/controld_membership.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 270 daemons/controld/controld_membership.c delete_call_id = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_NODES, cib_conn 279 daemons/controld/controld_membership.c delete_call_id = cib_conn->cmds->remove(cib_conn, cib_conn 310 daemons/controld/controld_membership.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 351 daemons/controld/controld_membership.c call_id = cib_conn->cmds->query(cib_conn, cib_conn 107 daemons/controld/controld_schedulerd.c rc = controld_globals.cib_conn->cmds->query(controld_globals.cib_conn, cib_conn 328 daemons/controld/controld_schedulerd.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 363 daemons/controld/controld_schedulerd.c fsa_pe_query = cib_conn->cmds->query(cib_conn, NULL, NULL, cib_scope_local); cib_conn 248 daemons/controld/controld_te_actions.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 301 daemons/controld/controld_te_actions.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_STATUS, state, cib_conn 36 daemons/controld/controld_transition.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 43 daemons/controld/controld_transition.c if (cib_conn != NULL) { cib_conn 44 daemons/controld/controld_transition.c cib_conn->cmds->del_notify_callback(cib_conn, T_CIB_DIFF_NOTIFY, cib_conn 70 daemons/controld/controld_transition.c if (cib_conn == NULL) { cib_conn 75 daemons/controld/controld_transition.c if (cib_conn->cmds->add_notify_callback(cib_conn, T_CIB_DIFF_NOTIFY, cib_conn 1025 lib/cib/cib_utils.c cib_t *cib_conn = NULL; cib_conn 1030 lib/cib/cib_utils.c cib_conn = cib_new(); cib_conn 1035 lib/cib/cib_utils.c cib_conn = *cib; cib_conn 1038 lib/cib/cib_utils.c if (cib_conn == NULL) { cib_conn 1042 lib/cib/cib_utils.c if (cib_conn->state == cib_disconnected) { cib_conn 1043 lib/cib/cib_utils.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cib_conn 1056 lib/cib/cib_utils.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_object, cib_conn 1066 lib/cib/cib_utils.c cib__clean_up_connection(&cib_conn); cib_conn 1012 lib/pacemaker/libpacemaker_private.h xmlNode *pcmk__inject_node(cib_t *cib_conn, const char *node, const char *uuid); cib_conn 1015 lib/pacemaker/libpacemaker_private.h xmlNode *pcmk__inject_node_state_change(cib_t *cib_conn, const char *node, cib_conn 124 lib/pacemaker/pcmk_injections.c create_node_entry(cib_t *cib_conn, const char *node) cib_conn 129 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, cib_conn 137 lib/pacemaker/pcmk_injections.c cib_conn->cmds->create(cib_conn, XML_CIB_TAG_NODES, cib_object, cib_conn 223 lib/pacemaker/pcmk_injections.c pcmk__inject_node(cib_t *cib_conn, const char *node, const char *uuid) cib_conn 232 lib/pacemaker/pcmk_injections.c create_node_entry(cib_conn, node); cib_conn 235 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cib_conn 247 lib/pacemaker/pcmk_injections.c query_node_uuid(cib_conn, node, &found_uuid, NULL); cib_conn 257 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath_by_uuid, &cib_object, cib_conn 270 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_STATUS, cib_conn 283 lib/pacemaker/pcmk_injections.c cib_conn->cmds->create(cib_conn, XML_CIB_TAG_STATUS, cib_object, cib_conn 287 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cib_conn 317 lib/pacemaker/pcmk_injections.c pcmk__inject_node_state_change(cib_t *cib_conn, const char *node, bool up) cib_conn 319 lib/pacemaker/pcmk_injections.c xmlNode *cib_node = pcmk__inject_node(cib_conn, node, NULL); cib_conn 184 tools/crm_resource.c static cib_t *cib_conn = NULL; cib_conn 211 tools/crm_resource.c if (cib_conn != NULL) { cib_conn 212 tools/crm_resource.c cib_t *save_cib_conn = cib_conn; cib_conn 214 tools/crm_resource.c cib_conn = NULL; // Ensure we can't free this twice cib_conn 982 tools/crm_resource.c cib_conn, options.cib_options, options.promoted_role_only, cib_conn 1002 tools/crm_resource.c cib_conn, options.cib_options, options.promoted_role_only, cib_conn 1068 tools/crm_resource.c rc = cli_resource_clear_all_expired(scheduler->input, cib_conn, cib_conn 1083 tools/crm_resource.c cib_conn, options.cib_options, TRUE, options.force); cib_conn 1087 tools/crm_resource.c cib_conn, options.cib_options, TRUE, options.force); cib_conn 1091 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); cib_conn 1137 tools/crm_resource.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_RESOURCES, msg_data, cib_conn 1155 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); cib_conn 1275 tools/crm_resource.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_RESOURCES, msg_data, cib_conn 1638 tools/crm_resource.c cib_conn = cib_new(); cib_conn 1639 tools/crm_resource.c if ((cib_conn == NULL) || (cib_conn->cmds == NULL)) { cib_conn 1645 tools/crm_resource.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cib_conn 1776 tools/crm_resource.c options.timeout_ms, cib_conn, cib_conn 1782 tools/crm_resource.c rc = wait_till_stable(out, options.timeout_ms, cib_conn); cib_conn 1795 tools/crm_resource.c options.timeout_ms, cib_conn, scheduler, cib_conn 1875 tools/crm_resource.c options.move_lifetime, cib_conn, cib_conn 1895 tools/crm_resource.c options.move_lifetime, cib_conn, cib_conn 1984 tools/crm_resource.c options.recursive, cib_conn, cib_conn 1995 tools/crm_resource.c options.prop_name, cib_conn, cib_conn 57 tools/crm_resource.h const char *move_lifetime, cib_t * cib_conn, int cib_options, cib_conn 60 tools/crm_resource.h const char *move_lifetime, cib_t *cib_conn, int cib_options, cib_conn 63 tools/crm_resource.h cib_t * cib_conn, int cib_options, bool clear_ban_constraints, gboolean force); cib_conn 64 tools/crm_resource.h int cli_resource_clear_all_expired(xmlNode *root, cib_t *cib_conn, int cib_options, cib_conn 62 tools/crm_resource_ban.c const char *move_lifetime, cib_t * cib_conn, int cib_options, cib_conn 123 tools/crm_resource_ban.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_conn 132 tools/crm_resource_ban.c cib_conn, cib_options, promoted_role_only, cib_conn 145 tools/crm_resource_ban.c const char *move_lifetime, cib_t *cib_conn, int cib_options, cib_conn 157 tools/crm_resource_ban.c if(cib_conn == NULL) { cib_conn 200 tools/crm_resource_ban.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_conn 209 tools/crm_resource_ban.c cib_conn, cib_options, promoted_role_only, cib_conn 240 tools/crm_resource_ban.c resource_clear_node_in_expr(const char *rsc_id, const char *host, cib_t * cib_conn, cib_conn 257 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, xpath_string, NULL, cib_xpath | cib_options); cib_conn 270 tools/crm_resource_ban.c resource_clear_node_in_location(const char *rsc_id, const char *host, cib_t * cib_conn, cib_conn 291 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_options); cib_conn 304 tools/crm_resource_ban.c cli_resource_clear(const char *rsc_id, const char *host, GList *allnodes, cib_t * cib_conn, cib_conn 309 tools/crm_resource_ban.c if(cib_conn == NULL) { cib_conn 314 tools/crm_resource_ban.c rc = resource_clear_node_in_expr(rsc_id, host, cib_conn, cib_options); cib_conn 321 tools/crm_resource_ban.c rc = resource_clear_node_in_location(rsc_id, host, cib_conn, cib_conn 336 tools/crm_resource_ban.c cib_conn, cib_options, clear_ban_constraints, cib_conn 431 tools/crm_resource_ban.c cli_resource_clear_all_expired(xmlNode *root, cib_t *cib_conn, int cib_options, cib_conn 479 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_CONSTRAINTS, cib_conn 725 tools/crm_ticket.c cib_t *cib_conn = NULL; cib_conn 765 tools/crm_ticket.c cib_conn = cib_new(); cib_conn 766 tools/crm_ticket.c if (cib_conn == NULL) { cib_conn 772 tools/crm_ticket.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cib_conn 786 tools/crm_ticket.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cib_conn 839 tools/crm_ticket.c rc = dump_ticket_xml(cib_conn, options.ticket_id); cib_conn 848 tools/crm_ticket.c rc = dump_constraints(cib_conn, options.ticket_id); cib_conn 902 tools/crm_ticket.c rc = delete_ticket_state(options.ticket_id, cib_conn); cib_conn 941 tools/crm_ticket.c rc = modify_ticket_state(options.ticket_id, cib_conn, scheduler); cib_conn 995 tools/crm_ticket.c cib__clean_up_connection(&cib_conn);