cib_conn 793 lib/cib/cib_utils.c cib_t *cib_conn = NULL; cib_conn 796 lib/cib/cib_utils.c cib_conn = cib_new(); cib_conn 799 lib/cib/cib_utils.c cib_conn = *cib; cib_conn 802 lib/cib/cib_utils.c if (cib_conn == NULL) { cib_conn 806 lib/cib/cib_utils.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cib_conn 810 lib/cib/cib_utils.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_object, cib_scope_local | cib_sync_call); cib_conn 815 lib/cib/cib_utils.c cib_conn->cmds->signoff(cib_conn); cib_conn 816 lib/cib/cib_utils.c cib_delete(cib_conn); cib_conn 817 lib/cib/cib_utils.c cib_conn = NULL; cib_conn 94 lib/pacemaker/pcmk_sched_transition.c create_node_entry(cib_t * cib_conn, const char *node) cib_conn 99 lib/pacemaker/pcmk_sched_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, cib_xpath | cib_sync_call | cib_scope_local); cib_conn 106 lib/pacemaker/pcmk_sched_transition.c cib_conn->cmds->create(cib_conn, XML_CIB_TAG_NODES, cib_object, cib_conn 155 lib/pacemaker/pcmk_sched_transition.c inject_node_state(cib_t * cib_conn, const char *node, const char *uuid) cib_conn 162 lib/pacemaker/pcmk_sched_transition.c create_node_entry(cib_conn, node); cib_conn 165 lib/pacemaker/pcmk_sched_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cib_conn 180 lib/pacemaker/pcmk_sched_transition.c query_node_uuid(cib_conn, node, &found_uuid, NULL); cib_conn 188 lib/pacemaker/pcmk_sched_transition.c cib_conn->cmds->create(cib_conn, XML_CIB_TAG_STATUS, cib_object, cib_conn 193 lib/pacemaker/pcmk_sched_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cib_conn 204 lib/pacemaker/pcmk_sched_transition.c modify_node(cib_t * cib_conn, char *node, gboolean up) cib_conn 206 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_node = inject_node_state(cib_conn, node, NULL); cib_conn 179 tools/crm_resource.c static cib_t *cib_conn = NULL; cib_conn 205 tools/crm_resource.c if (cib_conn != NULL) { cib_conn 206 tools/crm_resource.c cib_t *save_cib_conn = cib_conn; cib_conn 208 tools/crm_resource.c cib_conn = NULL; // Ensure we can't free this twice cib_conn 972 tools/crm_resource.c cib_conn, options.cib_options, options.promoted_role_only); cib_conn 991 tools/crm_resource.c cib_conn, options.cib_options, options.promoted_role_only); cib_conn 1032 tools/crm_resource.c cli_resource_check(out, cib_conn, rsc); cib_conn 1055 tools/crm_resource.c rc = cli_resource_clear_all_expired(data_set->input, cib_conn, options.cib_options, cib_conn 1069 tools/crm_resource.c cib_conn, options.cib_options, TRUE, options.force); cib_conn 1073 tools/crm_resource.c cib_conn, options.cib_options, TRUE, options.force); cib_conn 1077 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); cib_conn 1123 tools/crm_resource.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_RESOURCES, msg_data, cib_conn 1253 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); cib_conn 1340 tools/crm_resource.c cli_resource_check(out, cib_conn, rsc); cib_conn 1373 tools/crm_resource.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_RESOURCES, msg_data, cib_conn 1736 tools/crm_resource.c cib_conn = cib_new(); cib_conn 1737 tools/crm_resource.c if ((cib_conn == NULL) || (cib_conn->cmds == NULL)) { cib_conn 1743 tools/crm_resource.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cib_conn 1849 tools/crm_resource.c cib_conn, options.cib_options, 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, data_set, cib_conn 1936 tools/crm_resource.c rc = out->message(out, "resource-reasons-list", cib_conn, cib_conn 1950 tools/crm_resource.c options.move_lifetime, cib_conn, cib_conn 1970 tools/crm_resource.c options.move_lifetime, NULL, cib_conn, cib_conn 2044 tools/crm_resource.c options.recursive, cib_conn, cib_conn 2055 tools/crm_resource.c options.prop_name, cib_conn, cib_conn 47 tools/crm_resource.h const char *move_lifetime, cib_t * cib_conn, int cib_options, cib_conn 50 tools/crm_resource.h const char *move_lifetime, GList *allnodes, cib_t * cib_conn, cib_conn 53 tools/crm_resource.h cib_t * cib_conn, int cib_options, bool clear_ban_constraints, gboolean force); cib_conn 54 tools/crm_resource.h int cli_resource_clear_all_expired(xmlNode *root, cib_t *cib_conn, int cib_options, cib_conn 78 tools/crm_resource_ban.c const char *move_lifetime, GList *allnodes, cib_t * cib_conn, cib_conn 92 tools/crm_resource_ban.c NULL, cib_conn, cib_options, promoted_role_only); cib_conn 150 tools/crm_resource_ban.c rc = cib_conn->cmds->update(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_options); cib_conn 161 tools/crm_resource_ban.c const char *move_lifetime, cib_t * cib_conn, int cib_options, cib_conn 173 tools/crm_resource_ban.c if(cib_conn == NULL) { cib_conn 216 tools/crm_resource_ban.c rc = cib_conn->cmds->update(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_options); 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 254 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, xpath_string, NULL, cib_xpath | cib_options); cib_conn 267 tools/crm_resource_ban.c resource_clear_node_in_location(const char *rsc_id, const char *host, cib_t * cib_conn, cib_conn 288 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_options); cib_conn 301 tools/crm_resource_ban.c cli_resource_clear(const char *rsc_id, const char *host, GList *allnodes, cib_t * cib_conn, cib_conn 306 tools/crm_resource_ban.c if(cib_conn == NULL) { cib_conn 311 tools/crm_resource_ban.c rc = resource_clear_node_in_expr(rsc_id, host, cib_conn, cib_options); cib_conn 318 tools/crm_resource_ban.c rc = resource_clear_node_in_location(rsc_id, host, cib_conn, cib_conn 333 tools/crm_resource_ban.c cib_conn, cib_options, clear_ban_constraints, cib_conn 418 tools/crm_resource_ban.c cli_resource_clear_all_expired(xmlNode *root, cib_t *cib_conn, int cib_options, cib_conn 461 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_CONSTRAINTS, cib_conn 591 tools/crm_resource_print.c cib_t *cib_conn = va_arg(args, cib_t *); cib_conn 614 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); cib_conn 628 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); cib_conn 641 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); cib_conn 648 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); cib_conn 661 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); cib_conn 674 tools/crm_resource_print.c cib_t *cib_conn = va_arg(args, cib_t *); cib_conn 699 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); cib_conn 712 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); cib_conn 732 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); cib_conn 745 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); cib_conn 759 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); cib_conn 897 tools/crm_resource_runtime.c cli_resource_check(pcmk__output_t *out, cib_t * cib_conn, pe_resource_t *rsc) cib_conn 905 tools/crm_resource_runtime.c find_resource_attr(out, cib_conn, XML_NVPAIR_ATTR_VALUE, parent->id, cib_conn 908 tools/crm_resource_runtime.c find_resource_attr(out, cib_conn, XML_NVPAIR_ATTR_VALUE, parent->id, cib_conn 716 tools/crm_ticket.c cib_t *cib_conn = NULL; cib_conn 856 tools/crm_ticket.c cib_conn = cib_new(); cib_conn 857 tools/crm_ticket.c if (cib_conn == NULL) { cib_conn 863 tools/crm_ticket.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cib_conn 874 tools/crm_ticket.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cib_conn 926 tools/crm_ticket.c rc = dump_ticket_xml(cib_conn, ticket_id); cib_conn 933 tools/crm_ticket.c rc = dump_constraints(cib_conn, ticket_id); cib_conn 981 tools/crm_ticket.c rc = delete_ticket_state(ticket_id, cib_conn); cib_conn 1014 tools/crm_ticket.c rc = modify_ticket_state(ticket_id, attr_delete, attr_set, cib_conn, data_set); cib_conn 1063 tools/crm_ticket.c if (cib_conn != NULL) { cib_conn 1064 tools/crm_ticket.c cib_conn->cmds->signoff(cib_conn); cib_conn 1065 tools/crm_ticket.c cib_delete(cib_conn);