cib_conn 118 daemons/controld/controld_cib.c CRM_LOG_ASSERT(user_data == controld_globals.cib_conn); cib_conn 121 daemons/controld/controld_cib.c controld_globals.cib_conn->state = cib_disconnected; cib_conn 185 daemons/controld/controld_cib.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 187 daemons/controld/controld_cib.c CRM_ASSERT(cib_conn != NULL); cib_conn 193 daemons/controld/controld_cib.c cib_conn->cmds->del_notify_callback(cib_conn, T_CIB_REPLACE_NOTIFY, cib_conn 195 daemons/controld/controld_cib.c cib_conn->cmds->del_notify_callback(cib_conn, T_CIB_DIFF_NOTIFY, cib_conn 197 daemons/controld/controld_cib.c cib_free_callbacks(cib_conn); cib_conn 199 daemons/controld/controld_cib.c if (cib_conn->state != cib_disconnected) { cib_conn 200 daemons/controld/controld_cib.c cib_conn->cmds->set_secondary(cib_conn, cib_conn 202 daemons/controld/controld_cib.c cib_conn->cmds->signoff(cib_conn); cib_conn 217 daemons/controld/controld_cib.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 225 daemons/controld/controld_cib.c CRM_ASSERT(cib_conn != NULL); cib_conn 228 daemons/controld/controld_cib.c if ((cib_conn->state != cib_disconnected) cib_conn 249 daemons/controld/controld_cib.c rc = cib_conn->cmds->signon(cib_conn, CRM_SYSTEM_CRMD, cib_conn 255 daemons/controld/controld_cib.c rc = cib_conn->cmds->signon(cib_conn, CRM_SYSTEM_CRMD, cib_conn 262 daemons/controld/controld_cib.c } else if (cib_conn->cmds->set_connection_dnotify(cib_conn, cib_conn 266 daemons/controld/controld_cib.c } else if (cib_conn->cmds->add_notify_callback(cib_conn, cib_conn 271 daemons/controld/controld_cib.c } else if (cib_conn->cmds->add_notify_callback(cib_conn, cib_conn 279 daemons/controld/controld_cib.c cib_conn->cmds->client_id(cib_conn, &controld_globals.cib_client_id, cib_conn 333 daemons/controld/controld_cib.c if (controld_globals.cib_conn) { cib_conn 334 daemons/controld/controld_cib.c controld_globals.cib_conn->call_timeout = calculated_timeout; cib_conn 414 daemons/controld/controld_cib.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 451 daemons/controld/controld_cib.c if (cib_conn == NULL) { cib_conn 459 daemons/controld/controld_cib.c call_id = cib_conn->cmds->remove(cib_conn, xpath, NULL, options); cib_conn 498 daemons/controld/controld_cib.c if (controld_globals.cib_conn == NULL) { cib_conn 506 daemons/controld/controld_cib.c rc = cib_internal_op(controld_globals.cib_conn, PCMK__CIB_REQUEST_DELETE, cib_conn 897 daemons/controld/controld_cib.c if (controld_globals.cib_conn != NULL) { cib_conn 898 daemons/controld/controld_cib.c cib_rc = cib_internal_op(controld_globals.cib_conn, cib_conn 1047 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, cib_conn 1107 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, xpath, cib_conn 1135 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 74 daemons/controld/controld_cib.h cib_t *cib_conn = controld_globals.cib_conn; \ cib_conn 76 daemons/controld/controld_cib.h CRM_ASSERT(cib_conn != NULL); \ cib_conn 77 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 362 daemons/controld/controld_control.c controld_globals.cib_conn = cib_new(); cib_conn 803 daemons/controld/controld_control.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 804 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 654 daemons/controld/controld_execd.c controld_globals.cib_conn, cib_none, cib_conn 506 daemons/controld/controld_execd_state.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 509 daemons/controld/controld_execd_state.c int rc = cib_conn->cmds->query(cib_conn, XML_CIB_TAG_CRMCONFIG, cib_conn 511 daemons/controld/controld_execd_state.c cib_conn->cmds->register_callback_full(cib_conn, rc, 10, FALSE, cib_conn 255 daemons/controld/controld_fencing.c rc = controld_globals.cib_conn->cmds->modify(controld_globals.cib_conn, cib_conn 654 daemons/controld/controld_fsa.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 655 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 144 daemons/controld/controld_join_client.c query_call_id = cib_conn->cmds->query(cib_conn, NULL, NULL, cib_conn 205 daemons/controld/controld_join_client.c controld_globals.cib_conn, cib_sync_call, cib_conn 213 daemons/controld/controld_join_client.c controld_globals.cib_conn, cib_sync_call, cib_conn 608 daemons/controld/controld_join_dc.c rc = controld_globals.cib_conn->cmds->sync_from(controld_globals.cib_conn, cib_conn 251 daemons/controld/controld_membership.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 258 daemons/controld/controld_membership.c delete_call_id = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_NODES, cib_conn 267 daemons/controld/controld_membership.c delete_call_id = cib_conn->cmds->remove(cib_conn, cib_conn 298 daemons/controld/controld_membership.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 339 daemons/controld/controld_membership.c call_id = cib_conn->cmds->query(cib_conn, cib_conn 106 daemons/controld/controld_schedulerd.c rc = controld_globals.cib_conn->cmds->query(controld_globals.cib_conn, cib_conn 329 daemons/controld/controld_schedulerd.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 364 daemons/controld/controld_schedulerd.c fsa_pe_query = cib_conn->cmds->query(cib_conn, NULL, NULL, cib_scope_local); cib_conn 247 daemons/controld/controld_te_actions.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 300 daemons/controld/controld_te_actions.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_STATUS, state, cib_conn 41 daemons/controld/controld_transition.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 48 daemons/controld/controld_transition.c if (cib_conn != NULL) { cib_conn 49 daemons/controld/controld_transition.c cib_conn->cmds->del_notify_callback(cib_conn, T_CIB_DIFF_NOTIFY, cib_conn 75 daemons/controld/controld_transition.c if (cib_conn == NULL) { cib_conn 80 daemons/controld/controld_transition.c if (cib_conn->cmds->add_notify_callback(cib_conn, T_CIB_DIFF_NOTIFY, cib_conn 86 daemons/controld/controld_transition.c if (cib_conn->cmds->set_op_callback(cib_conn, cib_conn 748 lib/cib/cib_utils.c cib_t *cib_conn = NULL; cib_conn 753 lib/cib/cib_utils.c cib_conn = cib_new(); cib_conn 758 lib/cib/cib_utils.c cib_conn = *cib; cib_conn 761 lib/cib/cib_utils.c if (cib_conn == NULL) { cib_conn 765 lib/cib/cib_utils.c if (cib_conn->state == cib_disconnected) { cib_conn 766 lib/cib/cib_utils.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cib_conn 779 lib/cib/cib_utils.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_object, cib_conn 789 lib/cib/cib_utils.c cib__clean_up_connection(&cib_conn); cib_conn 841 lib/pacemaker/libpacemaker_private.h xmlNode *pcmk__inject_node(cib_t *cib_conn, const char *node, const char *uuid); cib_conn 844 lib/pacemaker/libpacemaker_private.h xmlNode *pcmk__inject_node_state_change(cib_t *cib_conn, const char *node, cib_conn 123 lib/pacemaker/pcmk_injections.c create_node_entry(cib_t *cib_conn, const char *node) cib_conn 128 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, cib_conn 136 lib/pacemaker/pcmk_injections.c cib_conn->cmds->create(cib_conn, XML_CIB_TAG_NODES, cib_object, cib_conn 222 lib/pacemaker/pcmk_injections.c pcmk__inject_node(cib_t *cib_conn, const char *node, const char *uuid) cib_conn 231 lib/pacemaker/pcmk_injections.c create_node_entry(cib_conn, node); cib_conn 234 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cib_conn 246 lib/pacemaker/pcmk_injections.c query_node_uuid(cib_conn, node, &found_uuid, NULL); cib_conn 256 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath_by_uuid, &cib_object, cib_conn 269 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_STATUS, cib_object, cib_conn 281 lib/pacemaker/pcmk_injections.c cib_conn->cmds->create(cib_conn, XML_CIB_TAG_STATUS, cib_object, cib_conn 285 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cib_conn 315 lib/pacemaker/pcmk_injections.c pcmk__inject_node_state_change(cib_t *cib_conn, const char *node, bool up) cib_conn 317 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 975 tools/crm_resource.c cib_conn, options.cib_options, options.promoted_role_only); cib_conn 994 tools/crm_resource.c cib_conn, options.cib_options, options.promoted_role_only); cib_conn 1058 tools/crm_resource.c rc = cli_resource_clear_all_expired(data_set->input, cib_conn, options.cib_options, cib_conn 1072 tools/crm_resource.c cib_conn, options.cib_options, TRUE, options.force); cib_conn 1076 tools/crm_resource.c cib_conn, options.cib_options, TRUE, options.force); cib_conn 1080 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); cib_conn 1126 tools/crm_resource.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_RESOURCES, msg_data, cib_conn 1256 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); cib_conn 1375 tools/crm_resource.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_RESOURCES, msg_data, cib_conn 1738 tools/crm_resource.c cib_conn = cib_new(); cib_conn 1739 tools/crm_resource.c if ((cib_conn == NULL) || (cib_conn->cmds == NULL)) { cib_conn 1745 tools/crm_resource.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cib_conn 1869 tools/crm_resource.c options.timeout_ms, cib_conn, cib_conn 1875 tools/crm_resource.c rc = wait_till_stable(out, options.timeout_ms, cib_conn); cib_conn 1888 tools/crm_resource.c options.timeout_ms, cib_conn, data_set, cib_conn 1967 tools/crm_resource.c options.move_lifetime, cib_conn, cib_conn 1987 tools/crm_resource.c options.move_lifetime, NULL, cib_conn, cib_conn 2075 tools/crm_resource.c options.recursive, cib_conn, cib_conn 2086 tools/crm_resource.c options.prop_name, cib_conn, cib_conn 55 tools/crm_resource.h const char *move_lifetime, cib_t * cib_conn, int cib_options, cib_conn 58 tools/crm_resource.h const char *move_lifetime, GList *allnodes, cib_t * cib_conn, cib_conn 61 tools/crm_resource.h cib_t * cib_conn, int cib_options, bool clear_ban_constraints, gboolean force); cib_conn 62 tools/crm_resource.h int cli_resource_clear_all_expired(xmlNode *root, cib_t *cib_conn, int cib_options, cib_conn 76 tools/crm_resource_ban.c const char *move_lifetime, GList *allnodes, cib_t * cib_conn, cib_conn 90 tools/crm_resource_ban.c NULL, cib_conn, cib_options, promoted_role_only); cib_conn 148 tools/crm_resource_ban.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_conn 160 tools/crm_resource_ban.c const char *move_lifetime, cib_t * cib_conn, int cib_options, cib_conn 172 tools/crm_resource_ban.c if(cib_conn == NULL) { cib_conn 215 tools/crm_resource_ban.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_conn 245 tools/crm_resource_ban.c resource_clear_node_in_expr(const char *rsc_id, const char *host, cib_t * cib_conn, cib_conn 262 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, xpath_string, NULL, cib_xpath | cib_options); cib_conn 275 tools/crm_resource_ban.c resource_clear_node_in_location(const char *rsc_id, const char *host, cib_t * cib_conn, cib_conn 296 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_options); cib_conn 309 tools/crm_resource_ban.c cli_resource_clear(const char *rsc_id, const char *host, GList *allnodes, cib_t * cib_conn, cib_conn 314 tools/crm_resource_ban.c if(cib_conn == NULL) { cib_conn 319 tools/crm_resource_ban.c rc = resource_clear_node_in_expr(rsc_id, host, cib_conn, cib_options); cib_conn 326 tools/crm_resource_ban.c rc = resource_clear_node_in_location(rsc_id, host, cib_conn, cib_conn 341 tools/crm_resource_ban.c cib_conn, cib_options, clear_ban_constraints, cib_conn 436 tools/crm_resource_ban.c cli_resource_clear_all_expired(xmlNode *root, cib_t *cib_conn, int cib_options, cib_conn 484 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 762 tools/crm_ticket.c cib_conn = cib_new(); cib_conn 763 tools/crm_ticket.c if (cib_conn == NULL) { cib_conn 769 tools/crm_ticket.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cib_conn 783 tools/crm_ticket.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cib_conn 836 tools/crm_ticket.c rc = dump_ticket_xml(cib_conn, options.ticket_id); cib_conn 845 tools/crm_ticket.c rc = dump_constraints(cib_conn, options.ticket_id); cib_conn 898 tools/crm_ticket.c rc = delete_ticket_state(options.ticket_id, cib_conn); cib_conn 937 tools/crm_ticket.c rc = modify_ticket_state(options.ticket_id, cib_conn, data_set); cib_conn 991 tools/crm_ticket.c cib__clean_up_connection(&cib_conn);