cib_conn 33 daemons/controld/controld_cib.c CRM_LOG_ASSERT(user_data == controld_globals.cib_conn); cib_conn 36 daemons/controld/controld_cib.c controld_globals.cib_conn->state = cib_disconnected; cib_conn 100 daemons/controld/controld_cib.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 102 daemons/controld/controld_cib.c pcmk__assert(cib_conn != NULL); cib_conn 108 daemons/controld/controld_cib.c cib_conn->cmds->del_notify_callback(cib_conn, PCMK__VALUE_CIB_DIFF_NOTIFY, cib_conn 110 daemons/controld/controld_cib.c cib_free_callbacks(cib_conn); cib_conn 112 daemons/controld/controld_cib.c if (cib_conn->state != cib_disconnected) { cib_conn 113 daemons/controld/controld_cib.c cib_conn->cmds->set_secondary(cib_conn, cib_conn 115 daemons/controld/controld_cib.c cib_conn->cmds->signoff(cib_conn); cib_conn 128 daemons/controld/controld_cib.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 135 daemons/controld/controld_cib.c pcmk__assert(cib_conn != NULL); cib_conn 138 daemons/controld/controld_cib.c if ((cib_conn->state != cib_disconnected) cib_conn 159 daemons/controld/controld_cib.c rc = cib_conn->cmds->signon(cib_conn, CRM_SYSTEM_CRMD, cib_conn 165 daemons/controld/controld_cib.c rc = cib_conn->cmds->signon(cib_conn, CRM_SYSTEM_CRMD, cib_conn 172 daemons/controld/controld_cib.c } else if (cib_conn->cmds->set_connection_dnotify(cib_conn, cib_conn 176 daemons/controld/controld_cib.c } else if (cib_conn->cmds->add_notify_callback(cib_conn, cib_conn 234 daemons/controld/controld_cib.c if (controld_globals.cib_conn) { cib_conn 235 daemons/controld/controld_cib.c controld_globals.cib_conn->call_timeout = calculated_timeout; cib_conn 369 daemons/controld/controld_cib.c cib_t *cib = controld_globals.cib_conn; cib_conn 415 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 980 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, cib_conn 1036 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, xpath, cib_conn 1064 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 pcmk__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 638 daemons/controld/controld_control.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 639 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 227 daemons/controld/controld_election.c controld_globals.cib_conn->cmds->set_primary(controld_globals.cib_conn, cib_conn 655 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 510 daemons/controld/controld_execd_state.c int rc = cib_conn->cmds->query(cib_conn, PCMK_XE_CRM_CONFIG, cib_conn 512 daemons/controld/controld_execd_state.c cib_conn->cmds->register_callback_full(cib_conn, rc, 10, FALSE, cib_conn 266 daemons/controld/controld_fencing.c rc = controld_globals.cib_conn->cmds->modify(controld_globals.cib_conn, cib_conn 646 daemons/controld/controld_fsa.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 647 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 199 daemons/controld/controld_join_client.c controld_globals.cib_conn, cib_sync_call, cib_conn 209 daemons/controld/controld_join_client.c controld_globals.cib_conn, cib_sync_call, cib_conn 630 daemons/controld/controld_join_dc.c rc = controld_globals.cib_conn->cmds->sync_from(controld_globals.cib_conn, cib_conn 733 daemons/controld/controld_join_dc.c cib_t *cib = controld_globals.cib_conn; cib_conn 259 daemons/controld/controld_membership.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 266 daemons/controld/controld_membership.c delete_call_id = cib_conn->cmds->remove(cib_conn, PCMK_XE_NODES, cib_conn 275 daemons/controld/controld_membership.c delete_call_id = cib_conn->cmds->remove(cib_conn, PCMK_XE_STATUS, cib_conn 305 daemons/controld/controld_membership.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 348 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 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 253 daemons/controld/controld_te_actions.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 309 daemons/controld/controld_te_actions.c rc = cib_conn->cmds->modify(cib_conn, PCMK_XE_STATUS, state, cib_conn 35 daemons/controld/controld_transition.c cib_t *cib_conn = controld_globals.cib_conn; cib_conn 42 daemons/controld/controld_transition.c if (cib_conn != NULL) { cib_conn 43 daemons/controld/controld_transition.c cib_conn->cmds->del_notify_callback(cib_conn, cib_conn 70 daemons/controld/controld_transition.c if (cib_conn == NULL) { cib_conn 74 daemons/controld/controld_transition.c } else if (cib_conn->cmds->add_notify_callback(cib_conn, cib_conn 973 lib/cib/cib_utils.c cib_t *cib_conn = NULL; cib_conn 978 lib/cib/cib_utils.c cib_conn = cib_new(); cib_conn 983 lib/cib/cib_utils.c cib_conn = *cib; cib_conn 986 lib/cib/cib_utils.c if (cib_conn == NULL) { cib_conn 990 lib/cib/cib_utils.c if (cib_conn->state == cib_disconnected) { cib_conn 991 lib/cib/cib_utils.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cib_conn 1004 lib/cib/cib_utils.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_object, cib_conn 1014 lib/cib/cib_utils.c cib__clean_up_connection(&cib_conn); cib_conn 977 lib/pacemaker/libpacemaker_private.h xmlNode *pcmk__inject_node(cib_t *cib_conn, const char *node, const char *uuid); cib_conn 980 lib/pacemaker/libpacemaker_private.h xmlNode *pcmk__inject_node_state_change(cib_t *cib_conn, const char *node, cib_conn 992 lib/pacemaker/libpacemaker_private.h void pcmk__inject_failcount(pcmk__output_t *out, cib_t *cib_conn, cib_conn 94 lib/pacemaker/pcmk_injections.c pcmk__inject_failcount(pcmk__output_t *out, cib_t *cib_conn, xmlNode *cib_node, cib_conn 104 lib/pacemaker/pcmk_injections.c CRM_CHECK((out != NULL) && (cib_conn != NULL) && (cib_node != NULL) cib_conn 115 lib/pacemaker/pcmk_injections.c if (cib__get_node_attrs(out, cib_conn, PCMK_XE_STATUS, cib_conn 146 lib/pacemaker/pcmk_injections.c create_node_entry(cib_t *cib_conn, const char *node) cib_conn 151 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, cib_conn 159 lib/pacemaker/pcmk_injections.c cib_conn->cmds->create(cib_conn, PCMK_XE_NODES, cib_object, cib_conn 246 lib/pacemaker/pcmk_injections.c pcmk__inject_node(cib_t *cib_conn, const char *node, const char *uuid) cib_conn 255 lib/pacemaker/pcmk_injections.c create_node_entry(cib_conn, node); cib_conn 258 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cib_conn 271 lib/pacemaker/pcmk_injections.c query_node_uuid(cib_conn, node, &found_uuid, NULL); cib_conn 283 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath_by_uuid, &cib_object, cib_conn 296 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->modify(cib_conn, PCMK_XE_STATUS, cib_conn 309 lib/pacemaker/pcmk_injections.c cib_conn->cmds->create(cib_conn, PCMK_XE_STATUS, cib_object, cib_conn 313 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cib_conn 343 lib/pacemaker/pcmk_injections.c pcmk__inject_node_state_change(cib_t *cib_conn, const char *node, bool up) cib_conn 345 lib/pacemaker/pcmk_injections.c xmlNode *cib_node = pcmk__inject_node(cib_conn, node, NULL); cib_conn 130 tools/crm_resource.c static cib_t *cib_conn = NULL; cib_conn 157 tools/crm_resource.c if (cib_conn != NULL) { cib_conn 158 tools/crm_resource.c cib_t *save_cib_conn = cib_conn; cib_conn 160 tools/crm_resource.c cib_conn = NULL; // Ensure we can't free this twice cib_conn 864 tools/crm_resource.c cib_conn, cib_sync_call, cib_conn 884 tools/crm_resource.c cib_conn, cib_sync_call, cib_conn 951 tools/crm_resource.c rc = cli_resource_clear_all_expired(scheduler->input, cib_conn, cib_conn 966 tools/crm_resource.c cib_conn, cib_sync_call, true, options.force); cib_conn 970 tools/crm_resource.c cib_conn, cib_sync_call, true, options.force); cib_conn 974 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); cib_conn 1015 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); cib_conn 1155 tools/crm_resource.c rc = cib_conn->cmds->modify(cib_conn, PCMK_XE_RESOURCES, msg_data, cib_conn 1704 tools/crm_resource.c cib_conn = cib_new(); cib_conn 1705 tools/crm_resource.c if ((cib_conn == NULL) || (cib_conn->cmds == NULL)) { cib_conn 1711 tools/crm_resource.c rc = cib__signon_attempts(cib_conn, crm_system_name, cib_command, 5); cib_conn 1849 tools/crm_resource.c options.timeout_ms, cib_conn, cib_conn 1855 tools/crm_resource.c rc = wait_till_stable(out, options.timeout_ms, cib_conn); cib_conn 1868 tools/crm_resource.c options.timeout_ms, cib_conn, scheduler, cib_conn 1948 tools/crm_resource.c options.move_lifetime, cib_conn, cib_conn 1968 tools/crm_resource.c options.move_lifetime, cib_conn, cib_conn 2063 tools/crm_resource.c options.recursive, cib_conn, cib_conn 2073 tools/crm_resource.c options.prop_name, cib_conn, cib_conn 2108 tools/crm_resource.c rc = pcmk__resource_delete(cib_conn, cib_sync_call, cib_conn 66 tools/crm_resource.h const char *move_lifetime, cib_t * cib_conn, int cib_options, cib_conn 69 tools/crm_resource.h const char *move_lifetime, cib_t *cib_conn, int cib_options, cib_conn 72 tools/crm_resource.h cib_t * cib_conn, int cib_options, bool clear_ban_constraints, gboolean force); cib_conn 73 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 124 tools/crm_resource_ban.c rc = cib_conn->cmds->modify(cib_conn, PCMK_XE_CONSTRAINTS, fragment, cib_conn 136 tools/crm_resource_ban.c cib_conn, cib_options, promoted_role_only, cib_conn 149 tools/crm_resource_ban.c const char *move_lifetime, cib_t *cib_conn, int cib_options, cib_conn 161 tools/crm_resource_ban.c if(cib_conn == NULL) { cib_conn 204 tools/crm_resource_ban.c rc = cib_conn->cmds->modify(cib_conn, PCMK_XE_CONSTRAINTS, fragment, cib_conn 216 tools/crm_resource_ban.c cib_conn, cib_options, promoted_role_only, cib_conn 248 tools/crm_resource_ban.c resource_clear_node_in_expr(const char *rsc_id, const char *host, cib_t * cib_conn, cib_conn 265 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, xpath_string, NULL, cib_xpath | cib_options); cib_conn 278 tools/crm_resource_ban.c resource_clear_node_in_location(const char *rsc_id, const char *host, cib_t * cib_conn, cib_conn 299 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, PCMK_XE_CONSTRAINTS, fragment, cib_conn 313 tools/crm_resource_ban.c cli_resource_clear(const char *rsc_id, const char *host, GList *allnodes, cib_t * cib_conn, cib_conn 318 tools/crm_resource_ban.c if(cib_conn == NULL) { cib_conn 323 tools/crm_resource_ban.c rc = resource_clear_node_in_expr(rsc_id, host, cib_conn, cib_options); cib_conn 330 tools/crm_resource_ban.c rc = resource_clear_node_in_location(rsc_id, host, cib_conn, cib_conn 345 tools/crm_resource_ban.c cib_conn, cib_options, clear_ban_constraints, cib_conn 439 tools/crm_resource_ban.c cli_resource_clear_all_expired(xmlNode *root, cib_t *cib_conn, int cib_options, cib_conn 493 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, PCMK_XE_CONSTRAINTS, fragment, cib_conn 349 tools/crm_ticket.c cib_t *cib_conn = NULL; cib_conn 401 tools/crm_ticket.c cib_conn = cib_new(); cib_conn 402 tools/crm_ticket.c if (cib_conn == NULL) { cib_conn 408 tools/crm_ticket.c rc = cib__signon_attempts(cib_conn, crm_system_name, cib_command, 5); cib_conn 422 tools/crm_ticket.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cib_conn 473 tools/crm_ticket.c rc = pcmk__ticket_state(out, cib_conn, options.ticket_id); cib_conn 484 tools/crm_ticket.c rc = pcmk__ticket_constraints(out, cib_conn, options.ticket_id); cib_conn 512 tools/crm_ticket.c rc = pcmk__ticket_delete(out, cib_conn, scheduler, options.ticket_id, cib_conn 561 tools/crm_ticket.c rc = pcmk__ticket_remove_attr(out, cib_conn, scheduler, options.ticket_id, cib_conn 571 tools/crm_ticket.c rc = pcmk__ticket_set_attr(out, cib_conn, scheduler, options.ticket_id, cib_conn 643 tools/crm_ticket.c cib__clean_up_connection(&cib_conn);