cib 422 daemons/based/pacemaker-based.c xmlNode *cib = readCibXmlFile(cib_root, filename, !preserve_status); cib 424 daemons/based/pacemaker-based.c if (activateCibXml(cib, TRUE, "start") == 0) { cib 429 daemons/based/pacemaker-based.c cib_read_config(config_hash, cib); cib 431 daemons/based/pacemaker-based.c pcmk__scan_port(crm_element_value(cib, "remote-tls-port"), &port); cib 436 daemons/based/pacemaker-based.c pcmk__scan_port(crm_element_value(cib, "remote-clear-port"), &port); cib 215 daemons/controld/controld_election.c xmlNode *cib = NULL; cib 229 daemons/controld/controld_election.c cib = create_xml_node(NULL, XML_TAG_CIB); cib 230 daemons/controld/controld_election.c crm_xml_add(cib, XML_ATTR_CRM_VERSION, CRM_FEATURE_SET); cib 231 daemons/controld/controld_election.c controld_update_cib(XML_TAG_CIB, cib, cib_none, feature_update_callback); cib 249 daemons/controld/controld_election.c free_xml(cib); cib 385 daemons/controld/controld_te_callbacks.c process_cib_diff(xmlNode *cib, xmlNode *change, const char *op, cib 388 daemons/controld/controld_te_callbacks.c xmlNode *status = first_named_child(cib, XML_CIB_TAG_STATUS); cib 389 daemons/controld/controld_te_callbacks.c xmlNode *config = first_named_child(cib, XML_CIB_TAG_CONFIGURATION); cib 662 daemons/fenced/pacemaker-fenced.c update_stonith_watchdog_timeout_ms(xmlNode *cib) cib 669 daemons/fenced/pacemaker-fenced.c cib, LOG_NEVER); cib 46 include/crm/cib.h void cib_free_notify(cib_t *cib); cib 47 include/crm/cib.h void cib_free_callbacks(cib_t *cib); cib 48 include/crm/cib.h void cib_delete(cib_t * cib); cib 84 include/crm/cib/cib_types.h int (*signon) (cib_t *cib, const char *name, enum cib_conn_type type); cib 85 include/crm/cib/cib_types.h int (*signon_raw) (cib_t *cib, const char *name, enum cib_conn_type type, cib 87 include/crm/cib/cib_types.h int (*signoff) (cib_t *cib); cib 88 include/crm/cib/cib_types.h int (*free) (cib_t *cib); cib 89 include/crm/cib/cib_types.h int (*set_op_callback) (cib_t *cib, void (*callback) (const xmlNode *msg, cib 92 include/crm/cib/cib_types.h int (*add_notify_callback) (cib_t *cib, const char *event, cib 95 include/crm/cib/cib_types.h int (*del_notify_callback) (cib_t *cib, const char *event, cib 98 include/crm/cib/cib_types.h int (*set_connection_dnotify) (cib_t *cib, cib 100 include/crm/cib/cib_types.h int (*inputfd) (cib_t *cib); cib 101 include/crm/cib/cib_types.h int (*noop) (cib_t *cib, int call_options); cib 102 include/crm/cib/cib_types.h int (*ping) (cib_t *cib, xmlNode **output_data, int call_options); cib 103 include/crm/cib/cib_types.h int (*query) (cib_t *cib, const char *section, xmlNode **output_data, cib 105 include/crm/cib/cib_types.h int (*query_from) (cib_t *cib, const char *host, const char *section, cib 109 include/crm/cib/cib_types.h int (*is_master) (cib_t *cib); cib 112 include/crm/cib/cib_types.h int (*set_master) (cib_t *cib, int call_options); cib 115 include/crm/cib/cib_types.h int (*set_slave) (cib_t *cib, int call_options); cib 118 include/crm/cib/cib_types.h int (*set_slave_all) (cib_t *cib, int call_options); cib 120 include/crm/cib/cib_types.h int (*sync) (cib_t *cib, const char *section, int call_options); cib 121 include/crm/cib/cib_types.h int (*sync_from) (cib_t *cib, const char *host, const char *section, cib 123 include/crm/cib/cib_types.h int (*upgrade) (cib_t *cib, int call_options); cib 124 include/crm/cib/cib_types.h int (*bump_epoch) (cib_t *cib, int call_options); cib 125 include/crm/cib/cib_types.h int (*create) (cib_t *cib, const char *section, xmlNode *data, cib 127 include/crm/cib/cib_types.h int (*modify) (cib_t *cib, const char *section, xmlNode *data, cib 131 include/crm/cib/cib_types.h int (*update) (cib_t *cib, const char *section, xmlNode *data, cib 134 include/crm/cib/cib_types.h int (*replace) (cib_t *cib, const char *section, xmlNode *data, cib 136 include/crm/cib/cib_types.h int (*remove) (cib_t *cib, const char *section, xmlNode *data, cib 138 include/crm/cib/cib_types.h int (*erase) (cib_t *cib, xmlNode **output_data, int call_options); cib 141 include/crm/cib/cib_types.h int (*delete_absolute) (cib_t *cib, const char *section, xmlNode *data, cib 144 include/crm/cib/cib_types.h int (*quit) (cib_t *cib, int call_options); cib 145 include/crm/cib/cib_types.h int (*register_notification) (cib_t *cib, const char *callback, cib 147 include/crm/cib/cib_types.h gboolean (*register_callback) (cib_t *cib, int call_id, int timeout, cib 152 include/crm/cib/cib_types.h gboolean (*register_callback_full)(cib_t *cib, int call_id, int timeout, cib 167 include/crm/cib/cib_types.h int (*set_primary)(cib_t *cib, int call_options); cib 177 include/crm/cib/cib_types.h int (*set_secondary)(cib_t *cib, int call_options); cib 199 include/crm/cib/cib_types.h int (*client_id)(const cib_t *cib, const char **async_id, cib 112 include/crm/cib/internal.h cib_t *cib; cib 142 include/crm/cib/internal.h void cib_native_callback(cib_t * cib, xmlNode * msg, int call_id, int rc); cib 209 include/crm/cib/internal.h int cib_internal_op(cib_t * cib, const char *op, const char *host, cib 219 include/crm/cib/internal.h void cib__set_output(cib_t *cib, pcmk__output_t *out); cib 244 include/crm/cib/internal.h int cib__signon_query(pcmk__output_t *out, cib_t **cib, xmlNode **cib_object); cib 246 include/crm/cib/internal.h int cib__clean_up_connection(cib_t **cib); cib 248 include/crm/cib/internal.h int cib__update_node_attr(pcmk__output_t *out, cib_t *cib, int call_options, cib 254 include/crm/cib/internal.h int cib__get_node_attrs(pcmk__output_t *out, cib_t *cib, const char *section, cib 259 include/crm/cib/internal.h int cib__delete_node_attr(pcmk__output_t *out, cib_t *cib, int options, cib 24 include/crm/cib/util.h gboolean cib_version_details(xmlNode * cib, int *admin_epoch, int *epoch, int *updates); cib 57 include/crm/cib/util.h xmlNode *cib_get_generation(cib_t * cib); cib 142 include/crm/cluster.h void crm_remote_peer_cache_refresh(xmlNode *cib); cib 129 include/crm/cluster/internal.h void pcmk__refresh_node_caches_from_cib(xmlNode *cib); cib 21 include/crm/common/cib.h xmlNode *pcmk_find_cib_element(xmlNode *cib, const char *element_name); cib 58 include/crm/common/ipc_schedulerd.h int pcmk_schedulerd_api_graph(pcmk_ipc_api_t *api, xmlNode *cib, char **ref); cib 172 include/crm/compatibility.h #define add_cib_op_callback(cib, id, flag, data, fn) do { \ cib 173 include/crm/compatibility.h cib->cmds->register_callback(cib, id, 120, flag, data, #fn, fn); \ cib 37 include/pcmki/pcmki_scheduler.h void pcmk__schedule_actions(xmlNode *cib, unsigned long long flags, cib 49 include/pcmki/pcmki_simulate.h cib_t *cib, cib 45 include/pcmki/pcmki_status.h cib_t *cib, xmlNode *current_cib, cib 53 include/pcmki/pcmki_status.h int pcmk__status(pcmk__output_t *out, cib_t *cib, cib 54 lib/cib/cib_attrs.c find_attr(cib_t *cib, const char *section, const char *node_uuid, cib 133 lib/cib/cib_attrs.c rc = cib_internal_op(cib, PCMK__CIB_REQUEST_QUERY, NULL, cib 173 lib/cib/cib_attrs.c cib__update_node_attr(pcmk__output_t *out, cib_t *cib, int call_options, const char *section, cib 191 lib/cib/cib_attrs.c rc = find_attr(cib, section, node_uuid, set_type, set_name, attr_id, cib 323 lib/cib/cib_attrs.c rc = cib_internal_op(cib, PCMK__CIB_REQUEST_MODIFY, NULL, section, xml_top, cib 344 lib/cib/cib_attrs.c cib__get_node_attrs(pcmk__output_t *out, cib_t *cib, const char *section, cib 356 lib/cib/cib_attrs.c rc = find_attr(cib, section, node_uuid, set_type, set_name, attr_id, attr_name, cib 370 lib/cib/cib_attrs.c cib__delete_node_attr(pcmk__output_t *out, cib_t *cib, int options, const char *section, cib 384 lib/cib/cib_attrs.c rc = find_attr(cib, section, node_uuid, set_type, set_name, attr_id, cib 399 lib/cib/cib_attrs.c rc = cib_internal_op(cib, PCMK__CIB_REQUEST_DELETE, NULL, section, xml_obj, cib 417 lib/cib/cib_attrs.c find_nvpair_attr_delegate(cib_t *cib, const char *attr, const char *section, cib 431 lib/cib/cib_attrs.c rc = find_attr(cib, section, node_uuid, attr_set_type, set_name, attr_id, cib 449 lib/cib/cib_attrs.c update_attr_delegate(cib_t *cib, int call_options, const char *section, cib 462 lib/cib/cib_attrs.c rc = cib__update_node_attr(out, cib, call_options, section, node_uuid, set_type, cib 472 lib/cib/cib_attrs.c read_attr_delegate(cib_t *cib, const char *section, const char *node_uuid, cib 486 lib/cib/cib_attrs.c rc = cib__get_node_attrs(out, cib, section, node_uuid, set_type, set_name, cib 504 lib/cib/cib_attrs.c delete_attr_delegate(cib_t *cib, int options, const char *section, const char *node_uuid, cib 517 lib/cib/cib_attrs.c rc = cib__delete_node_attr(out, cib, options, section, node_uuid, set_type, cib 30 lib/cib/cib_client.c #define op_common(cib) do { \ cib 31 lib/cib/cib_client.c if(cib == NULL) { \ cib 33 lib/cib/cib_client.c } else if(cib->delegate_fn == NULL) { \ cib 39 lib/cib/cib_client.c cib_client_set_op_callback(cib_t *cib, cib 49 lib/cib/cib_client.c cib->op_callback = callback; cib 78 lib/cib/cib_client.c cib_client_add_notify_callback(cib_t * cib, const char *event, cib 85 lib/cib/cib_client.c if ((cib->variant != cib_native) && (cib->variant != cib_remote)) { cib 90 lib/cib/cib_client.c event, g_list_length(cib->notify_list)); cib 96 lib/cib/cib_client.c list_item = g_list_find_custom(cib->notify_list, new_client, cib 105 lib/cib/cib_client.c cib->notify_list = g_list_append(cib->notify_list, new_client); cib 107 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 1); cib 109 lib/cib/cib_client.c crm_trace("Callback added (%d)", g_list_length(cib->notify_list)); cib 115 lib/cib/cib_client.c get_notify_list_event_count(cib_t *cib, const char *event) cib 119 lib/cib/cib_client.c for (GList *iter = g_list_first(cib->notify_list); iter != NULL; cib 132 lib/cib/cib_client.c cib_client_del_notify_callback(cib_t *cib, const char *event, cib 139 lib/cib/cib_client.c if (cib->variant != cib_native && cib->variant != cib_remote) { cib 143 lib/cib/cib_client.c if (get_notify_list_event_count(cib, event) == 0) { cib 154 lib/cib/cib_client.c list_item = g_list_find_custom(cib->notify_list, new_client, ciblib_GCompareFunc); cib 159 lib/cib/cib_client.c cib->notify_list = g_list_remove(cib->notify_list, list_client); cib 168 lib/cib/cib_client.c if (get_notify_list_event_count(cib, event) == 0) { cib 170 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 0); cib 184 lib/cib/cib_client.c cib_native_callback(timer->cib, NULL, timer->call_id, -ETIME); cib 191 lib/cib/cib_client.c cib_client_register_callback_full(cib_t *cib, int call_id, int timeout, cib 225 lib/cib/cib_client.c async_timer->cib = cib; cib 240 lib/cib/cib_client.c cib_client_register_callback(cib_t *cib, int call_id, int timeout, cib 246 lib/cib/cib_client.c return cib_client_register_callback_full(cib, call_id, timeout, cib 252 lib/cib/cib_client.c cib_client_noop(cib_t * cib, int call_options) cib 254 lib/cib/cib_client.c op_common(cib); cib 255 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_NOOP, NULL, NULL, NULL, NULL, cib 260 lib/cib/cib_client.c cib_client_ping(cib_t * cib, xmlNode ** output_data, int call_options) cib 262 lib/cib/cib_client.c op_common(cib); cib 263 lib/cib/cib_client.c return cib_internal_op(cib, CRM_OP_PING, NULL, NULL, NULL, output_data, call_options, NULL); cib 267 lib/cib/cib_client.c cib_client_query(cib_t * cib, const char *section, xmlNode ** output_data, int call_options) cib 269 lib/cib/cib_client.c return cib->cmds->query_from(cib, NULL, section, output_data, call_options); cib 273 lib/cib/cib_client.c cib_client_query_from(cib_t * cib, const char *host, const char *section, cib 276 lib/cib/cib_client.c op_common(cib); cib 277 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_QUERY, host, section, NULL, cib 282 lib/cib/cib_client.c is_primary(cib_t *cib) cib 284 lib/cib/cib_client.c op_common(cib); cib 285 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_IS_PRIMARY, NULL, NULL, NULL, cib 290 lib/cib/cib_client.c set_secondary(cib_t *cib, int call_options) cib 292 lib/cib/cib_client.c op_common(cib); cib 293 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_SECONDARY, NULL, NULL, NULL, cib 298 lib/cib/cib_client.c set_all_secondary(cib_t * cib, int call_options) cib 304 lib/cib/cib_client.c set_primary(cib_t *cib, int call_options) cib 306 lib/cib/cib_client.c op_common(cib); cib 308 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_PRIMARY, NULL, NULL, NULL, cib 313 lib/cib/cib_client.c cib_client_bump_epoch(cib_t * cib, int call_options) cib 315 lib/cib/cib_client.c op_common(cib); cib 316 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_BUMP, NULL, NULL, NULL, NULL, cib 321 lib/cib/cib_client.c cib_client_upgrade(cib_t * cib, int call_options) cib 323 lib/cib/cib_client.c op_common(cib); cib 324 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_UPGRADE, NULL, NULL, NULL, cib 329 lib/cib/cib_client.c cib_client_sync(cib_t * cib, const char *section, int call_options) cib 331 lib/cib/cib_client.c return cib->cmds->sync_from(cib, NULL, section, call_options); cib 335 lib/cib/cib_client.c cib_client_sync_from(cib_t * cib, const char *host, const char *section, int call_options) cib 337 lib/cib/cib_client.c op_common(cib); cib 338 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_SYNC_TO_ALL, host, section, cib 343 lib/cib/cib_client.c cib_client_create(cib_t * cib, const char *section, xmlNode * data, int call_options) cib 345 lib/cib/cib_client.c op_common(cib); cib 346 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_CREATE, NULL, section, data, cib 351 lib/cib/cib_client.c cib_client_modify(cib_t * cib, const char *section, xmlNode * data, int call_options) cib 353 lib/cib/cib_client.c op_common(cib); cib 354 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_MODIFY, NULL, section, data, cib 359 lib/cib/cib_client.c cib_client_replace(cib_t * cib, const char *section, xmlNode * data, int call_options) cib 361 lib/cib/cib_client.c op_common(cib); cib 362 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_REPLACE, NULL, section, data, cib 367 lib/cib/cib_client.c cib_client_delete(cib_t * cib, const char *section, xmlNode * data, int call_options) cib 369 lib/cib/cib_client.c op_common(cib); cib 370 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_DELETE, NULL, section, data, cib 375 lib/cib/cib_client.c cib_client_delete_absolute(cib_t * cib, const char *section, xmlNode * data, int call_options) cib 377 lib/cib/cib_client.c op_common(cib); cib 378 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_ABS_DELETE, NULL, section, cib 383 lib/cib/cib_client.c cib_client_erase(cib_t * cib, xmlNode ** output_data, int call_options) cib 385 lib/cib/cib_client.c op_common(cib); cib 386 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_ERASE, NULL, NULL, NULL, cib 507 lib/cib/cib_client.c cib_t *cib = NULL; cib 510 lib/cib/cib_client.c cib = cib_new(); cib 515 lib/cib/cib_client.c return cib; cib 665 lib/cib/cib_client.c cib_free_notify(cib_t *cib) cib 668 lib/cib/cib_client.c if (cib) { cib 669 lib/cib/cib_client.c GList *list = cib->notify_list; cib 677 lib/cib/cib_client.c cib->notify_list = NULL; cib 687 lib/cib/cib_client.c cib_free_callbacks(cib_t *cib) cib 689 lib/cib/cib_client.c cib_free_notify(cib); cib 700 lib/cib/cib_client.c cib_delete(cib_t *cib) cib 702 lib/cib/cib_client.c cib_free_callbacks(cib); cib 703 lib/cib/cib_client.c if (cib) { cib 704 lib/cib/cib_client.c cib->cmds->free(cib); cib 128 lib/cib/cib_file.c cib_file_perform_op_delegate(cib_t *cib, const char *op, const char *host, cib 144 lib/cib/cib_file.c cib_file_opaque_t *private = cib->variant_opaque; cib 153 lib/cib/cib_file.c if (cib->state == cib_disconnected) { cib 177 lib/cib/cib_file.c cib->call_id++; cib 178 lib/cib/cib_file.c request = cib_create_op(cib->call_id, op, host, section, data, call_options, cib 218 lib/cib/cib_file.c if (cib->op_callback != NULL) { cib 219 lib/cib/cib_file.c cib->op_callback(NULL, cib->call_id, rc, output); cib 290 lib/cib/cib_file.c cib_file_signon(cib_t *cib, const char *name, enum cib_conn_type type) cib 293 lib/cib/cib_file.c cib_file_opaque_t *private = cib->variant_opaque; cib 304 lib/cib/cib_file.c cib->state = cib_connected_command; cib 305 lib/cib/cib_file.c cib->type = cib_command; cib 405 lib/cib/cib_file.c cib_file_signoff(cib_t *cib) cib 408 lib/cib/cib_file.c cib_file_opaque_t *private = cib->variant_opaque; cib 411 lib/cib/cib_file.c cib->state = cib_disconnected; cib 412 lib/cib/cib_file.c cib->type = cib_no_connection; cib 447 lib/cib/cib_file.c cib_file_free(cib_t *cib) cib 451 lib/cib/cib_file.c if (cib->state != cib_disconnected) { cib 452 lib/cib/cib_file.c rc = cib_file_signoff(cib); cib 456 lib/cib/cib_file.c cib_file_opaque_t *private = cib->variant_opaque; cib 459 lib/cib/cib_file.c free(cib->cmds); cib 461 lib/cib/cib_file.c free(cib); cib 471 lib/cib/cib_file.c cib_file_inputfd(cib_t *cib) cib 477 lib/cib/cib_file.c cib_file_register_notification(cib_t *cib, const char *callback, int enabled) cib 483 lib/cib/cib_file.c cib_file_set_connection_dnotify(cib_t *cib, cib 505 lib/cib/cib_file.c cib_file_client_id(const cib_t *cib, const char **async_id, cib 521 lib/cib/cib_file.c cib_t *cib = cib_new_variant(); cib 523 lib/cib/cib_file.c if (cib == NULL) { cib 530 lib/cib/cib_file.c free(cib); cib 534 lib/cib/cib_file.c cib->variant = cib_file; cib 535 lib/cib/cib_file.c cib->variant_opaque = private; cib 549 lib/cib/cib_file.c cib->delegate_fn = cib_file_perform_op_delegate; cib 550 lib/cib/cib_file.c cib->cmds->signon = cib_file_signon; cib 551 lib/cib/cib_file.c cib->cmds->signoff = cib_file_signoff; cib 552 lib/cib/cib_file.c cib->cmds->free = cib_file_free; cib 553 lib/cib/cib_file.c cib->cmds->inputfd = cib_file_inputfd; cib 555 lib/cib/cib_file.c cib->cmds->register_notification = cib_file_register_notification; cib 556 lib/cib/cib_file.c cib->cmds->set_connection_dnotify = cib_file_set_connection_dnotify; cib 558 lib/cib/cib_file.c cib->cmds->client_id = cib_file_client_id; cib 560 lib/cib/cib_file.c return cib; cib 41 lib/cib/cib_native.c cib_native_perform_op_delegate(cib_t *cib, const char *op, const char *host, cib 53 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 55 lib/cib/cib_native.c if (cib->state == cib_disconnected) { cib 72 lib/cib/cib_native.c cib->call_id++; cib 73 lib/cib/cib_native.c if (cib->call_id < 1) { cib 74 lib/cib/cib_native.c cib->call_id = 1; cib 77 lib/cib/cib_native.c op_msg = cib_create_op(cib->call_id, op, host, section, data, call_options, cib 83 lib/cib/cib_native.c crm_trace("Sending %s message to the CIB manager (timeout=%ds)", op, cib->call_timeout); cib 84 lib/cib/cib_native.c rc = crm_ipc_send(native->ipc, op_msg, ipc_flags, cib->call_timeout * 1000, &op_reply); cib 89 lib/cib/cib_native.c cib->call_timeout, pcmk_strerror(rc), rc); cib 97 lib/cib/cib_native.c crm_trace("Async call, returning %d", cib->call_id); cib 98 lib/cib/cib_native.c CRM_CHECK(cib->call_id != 0, return -ENOMSG); cib 100 lib/cib/cib_native.c return cib->call_id; cib 105 lib/cib/cib_native.c if (reply_id == cib->call_id) { cib 127 lib/cib/cib_native.c crm_err("Received bad reply: %d (wanted %d)", reply_id, cib->call_id); cib 133 lib/cib/cib_native.c if (op_reply == NULL && cib->state == cib_disconnected) { cib 168 lib/cib/cib_native.c cib->state = cib_disconnected; cib 182 lib/cib/cib_native.c cib_t *cib = userdata; cib 186 lib/cib/cib_native.c if (cib == NULL) { cib 204 lib/cib/cib_native.c cib_native_callback(cib, msg, 0, 0); cib 207 lib/cib/cib_native.c g_list_foreach(cib->notify_list, cib_native_notify, msg); cib 220 lib/cib/cib_native.c cib_t *cib = userdata; cib 221 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 224 lib/cib/cib_native.c cib->state = cib_disconnected; cib 234 lib/cib/cib_native.c cib_native_signoff(cib_t *cib) cib 236 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 240 lib/cib/cib_native.c cib_free_notify(cib); cib 258 lib/cib/cib_native.c cib->state = cib_disconnected; cib 259 lib/cib/cib_native.c cib->type = cib_no_connection; cib 265 lib/cib/cib_native.c cib_native_signon_raw(cib_t *cib, const char *name, enum cib_conn_type type, cib 270 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 277 lib/cib/cib_native.c cib->call_timeout = PCMK__IPC_TIMEOUT; cib 280 lib/cib/cib_native.c cib->state = cib_connected_command; cib 284 lib/cib/cib_native.c cib->state = cib_connected_command; cib 288 lib/cib/cib_native.c cib->state = cib_connected_query; cib 309 lib/cib/cib_native.c mainloop_add_ipc_client(channel, G_PRIORITY_HIGH, 512 * 1024 /* 512k */ , cib, cib 361 lib/cib/cib_native.c cib_native_signoff(cib); cib 366 lib/cib/cib_native.c cib_native_signon(cib_t *cib, const char *name, enum cib_conn_type type) cib 368 lib/cib/cib_native.c return cib_native_signon_raw(cib, name, type, NULL); cib 372 lib/cib/cib_native.c cib_native_free(cib_t *cib) cib 376 lib/cib/cib_native.c if (cib->state != cib_disconnected) { cib 377 lib/cib/cib_native.c rc = cib_native_signoff(cib); cib 380 lib/cib/cib_native.c if (cib->state == cib_disconnected) { cib 381 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 384 lib/cib/cib_native.c free(cib->variant_opaque); cib 385 lib/cib/cib_native.c free(cib->cmds); cib 386 lib/cib/cib_native.c free(cib); cib 393 lib/cib/cib_native.c cib_native_register_notification(cib_t *cib, const char *callback, int enabled) cib 397 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 399 lib/cib/cib_native.c if (cib->state != cib_disconnected) { cib 404 lib/cib/cib_native.c 1000 * cib->call_timeout, NULL); cib 416 lib/cib/cib_native.c cib_native_set_connection_dnotify(cib_t *cib, cib 421 lib/cib/cib_native.c if (cib == NULL) { cib 426 lib/cib/cib_native.c native = cib->variant_opaque; cib 451 lib/cib/cib_native.c cib_native_client_id(const cib_t *cib, const char **async_id, cib 454 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 469 lib/cib/cib_native.c cib_t *cib = cib_new_variant(); cib 471 lib/cib/cib_native.c if (cib == NULL) { cib 478 lib/cib/cib_native.c free(cib); cib 482 lib/cib/cib_native.c cib->variant = cib_native; cib 483 lib/cib/cib_native.c cib->variant_opaque = native; cib 490 lib/cib/cib_native.c cib->delegate_fn = cib_native_perform_op_delegate; cib 491 lib/cib/cib_native.c cib->cmds->signon = cib_native_signon; cib 492 lib/cib/cib_native.c cib->cmds->signon_raw = cib_native_signon_raw; cib 493 lib/cib/cib_native.c cib->cmds->signoff = cib_native_signoff; cib 494 lib/cib/cib_native.c cib->cmds->free = cib_native_free; cib 496 lib/cib/cib_native.c cib->cmds->register_notification = cib_native_register_notification; cib 497 lib/cib/cib_native.c cib->cmds->set_connection_dnotify = cib_native_set_connection_dnotify; cib 499 lib/cib/cib_native.c cib->cmds->client_id = cib_native_client_id; cib 501 lib/cib/cib_native.c return cib; cib 56 lib/cib/cib_remote.c cib_remote_perform_op(cib_t *cib, const char *op, const char *host, cib 67 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 69 lib/cib/cib_remote.c if (cib->state == cib_disconnected) { cib 82 lib/cib/cib_remote.c cib->call_id++; cib 83 lib/cib/cib_remote.c if (cib->call_id < 1) { cib 84 lib/cib/cib_remote.c cib->call_id = 1; cib 87 lib/cib/cib_remote.c op_msg = cib_create_op(cib->call_id, op, host, section, data, call_options, cib 106 lib/cib/cib_remote.c return cib->call_id; cib 112 lib/cib/cib_remote.c remaining_time = cib->call_timeout ? cib->call_timeout : 60; cib 117 lib/cib/cib_remote.c int msg_id = cib->call_id; cib 193 lib/cib/cib_remote.c crm_trace("No output in reply to \"%s\" command %d", op, cib->call_id - 1); cib 208 lib/cib/cib_remote.c cib_t *cib = user_data; cib 209 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 224 lib/cib/cib_remote.c cib_native_callback(cib, msg, 0, 0); cib 227 lib/cib/cib_remote.c g_list_foreach(cib->notify_list, cib_native_notify, msg); cib 248 lib/cib/cib_remote.c cib_t *cib = user_data; cib 249 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 264 lib/cib/cib_remote.c cib_tls_close(cib_t *cib) cib 266 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 320 lib/cib/cib_remote.c cib_tls_signon(cib_t *cib, pcmk__remote_t *connection, gboolean event_channel) cib 322 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 361 lib/cib/cib_remote.c cib_tls_close(cib); cib 372 lib/cib/cib_remote.c cib_tls_close(cib); cib 421 lib/cib/cib_remote.c cib_tls_close(cib); cib 427 lib/cib/cib_remote.c connection->tcp_socket, cib, cib 433 lib/cib/cib_remote.c cib_remote_signon(cib_t *cib, const char *name, enum cib_conn_type type) cib 436 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 454 lib/cib/cib_remote.c rc = cib_tls_signon(cib, &(private->command), FALSE); cib 458 lib/cib/cib_remote.c rc = cib_tls_signon(cib, &(private->callback), TRUE); cib 472 lib/cib/cib_remote.c cib->state = cib_connected_command; cib 473 lib/cib/cib_remote.c cib->type = cib_command; cib 484 lib/cib/cib_remote.c cib_remote_signoff(cib_t *cib) cib 490 lib/cib/cib_remote.c cib_tls_close(cib); cib 493 lib/cib/cib_remote.c cib->state = cib_disconnected; cib 494 lib/cib/cib_remote.c cib->type = cib_no_connection; cib 500 lib/cib/cib_remote.c cib_remote_free(cib_t *cib) cib 505 lib/cib/cib_remote.c if (cib->state != cib_disconnected) { cib 506 lib/cib/cib_remote.c rc = cib_remote_signoff(cib); cib 508 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 513 lib/cib/cib_remote.c free(cib->cmds); cib 515 lib/cib/cib_remote.c free(cib); cib 523 lib/cib/cib_remote.c cib_remote_inputfd(cib_t * cib) cib 525 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 531 lib/cib/cib_remote.c cib_remote_register_notification(cib_t * cib, const char *callback, int enabled) cib 534 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 545 lib/cib/cib_remote.c cib_remote_set_connection_dnotify(cib_t * cib, void (*dnotify) (gpointer user_data)) cib 568 lib/cib/cib_remote.c cib_remote_client_id(const cib_t *cib, const char **async_id, cib 571 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 589 lib/cib/cib_remote.c cib_t *cib = cib_new_variant(); cib 591 lib/cib/cib_remote.c if (cib == NULL) { cib 598 lib/cib/cib_remote.c free(cib); cib 602 lib/cib/cib_remote.c cib->variant = cib_remote; cib 603 lib/cib/cib_remote.c cib->variant_opaque = private; cib 613 lib/cib/cib_remote.c cib->delegate_fn = cib_remote_perform_op; cib 614 lib/cib/cib_remote.c cib->cmds->signon = cib_remote_signon; cib 615 lib/cib/cib_remote.c cib->cmds->signoff = cib_remote_signoff; cib 616 lib/cib/cib_remote.c cib->cmds->free = cib_remote_free; cib 617 lib/cib/cib_remote.c cib->cmds->inputfd = cib_remote_inputfd; cib 619 lib/cib/cib_remote.c cib->cmds->register_notification = cib_remote_register_notification; cib 620 lib/cib/cib_remote.c cib->cmds->set_connection_dnotify = cib_remote_set_connection_dnotify; cib 622 lib/cib/cib_remote.c cib->cmds->client_id = cib_remote_client_id; cib 624 lib/cib/cib_remote.c return cib; cib 628 lib/cib/cib_remote.c cib__set_output(cib_t *cib, pcmk__output_t *out) cib 632 lib/cib/cib_remote.c if (cib->variant != cib_remote) { cib 636 lib/cib/cib_remote.c private = cib->variant_opaque; cib 28 lib/cib/cib_utils.c cib_get_generation(cib_t * cib) cib 33 lib/cib/cib_utils.c cib->cmds->query(cib, NULL, &the_cib, cib_scope_local | cib_sync_call); cib 43 lib/cib/cib_utils.c cib_version_details(xmlNode * cib, int *admin_epoch, int *epoch, int *updates) cib 49 lib/cib/cib_utils.c if (cib == NULL) { cib 53 lib/cib/cib_utils.c crm_element_value_int(cib, XML_ATTR_GENERATION, epoch); cib 54 lib/cib/cib_utils.c crm_element_value_int(cib, XML_ATTR_NUMUPDATES, updates); cib 55 lib/cib/cib_utils.c crm_element_value_int(cib, XML_ATTR_GENERATION_ADMIN, admin_epoch); cib 500 lib/cib/cib_utils.c cib_native_callback(cib_t * cib, xmlNode * msg, int call_id, int rc) cib 517 lib/cib/cib_utils.c if (cib == NULL) { cib 531 lib/cib/cib_utils.c } else if (cib && cib->op_callback == NULL && rc != pcmk_ok) { cib 541 lib/cib/cib_utils.c if (cib && cib->op_callback != NULL) { cib 543 lib/cib/cib_utils.c cib->op_callback(msg, call_id, rc, output); cib 657 lib/cib/cib_utils.c cib_internal_op(cib_t * cib, const char *op, const char *host, cib 661 lib/cib/cib_utils.c int (*delegate) (cib_t * cib, const char *op, const char *host, cib 664 lib/cib/cib_utils.c cib->delegate_fn; cib 670 lib/cib/cib_utils.c return delegate(cib, op, host, section, data, output_data, call_options, user_name); cib 745 lib/cib/cib_utils.c cib__signon_query(pcmk__output_t *out, cib_t **cib, xmlNode **cib_object) cib 752 lib/cib/cib_utils.c if (cib == NULL) { cib 755 lib/cib/cib_utils.c if (*cib == NULL) { cib 756 lib/cib/cib_utils.c *cib = cib_new(); cib 758 lib/cib/cib_utils.c cib_conn = *cib; cib 788 lib/cib/cib_utils.c if (cib == NULL) { cib 799 lib/cib/cib_utils.c cib__clean_up_connection(cib_t **cib) cib 803 lib/cib/cib_utils.c if (*cib == NULL) { cib 807 lib/cib/cib_utils.c rc = (*cib)->cmds->signoff(*cib); cib 808 lib/cib/cib_utils.c cib_delete(*cib); cib 809 lib/cib/cib_utils.c *cib = NULL; cib 243 lib/cluster/membership.c crm_remote_peer_cache_refresh(xmlNode *cib) cib 258 lib/cluster/membership.c crm_foreach_xpath_result(cib, PCMK__XP_REMOTE_NODE_STATUS, cib 269 lib/cluster/membership.c crm_foreach_xpath_result(cib, PCMK__XP_GUEST_NODE_CONFIG, cib 273 lib/cluster/membership.c crm_foreach_xpath_result(cib, PCMK__XP_REMOTE_NODE_CONFIG, cib 1227 lib/cluster/membership.c refresh_known_node_cache(xmlNode *cib) cib 1233 lib/cluster/membership.c crm_foreach_xpath_result(cib, PCMK__XP_MEMBER_NODE_CONFIG, cib 1241 lib/cluster/membership.c pcmk__refresh_node_caches_from_cib(xmlNode *cib) cib 1243 lib/cluster/membership.c crm_remote_peer_cache_refresh(cib); cib 1244 lib/cluster/membership.c refresh_known_node_cache(cib); cib 153 lib/common/cib.c pcmk_find_cib_element(xmlNode *cib, const char *element_name) cib 155 lib/common/cib.c return get_xpath_object(pcmk_cib_xpath_for(element_name), cib, LOG_TRACE); cib 143 lib/common/ipc_schedulerd.c do_schedulerd_api_call(pcmk_ipc_api_t *api, const char *task, xmlNode *cib, char **ref) cib 156 lib/common/ipc_schedulerd.c cmd = create_request(task, cib, NULL, CRM_SYSTEM_PENGINE, cib 177 lib/common/ipc_schedulerd.c pcmk_schedulerd_api_graph(pcmk_ipc_api_t *api, xmlNode *cib, char **ref) cib 179 lib/common/ipc_schedulerd.c return do_schedulerd_api_call(api, CRM_OP_PECALC, cib, ref); cib 176 lib/common/patchset.c xmlNode *cib = NULL; cib 199 lib/common/patchset.c cib = find_xml_node(diff_child, tag, FALSE); cib 200 lib/common/patchset.c if (cib == NULL) { cib 201 lib/common/patchset.c cib = create_xml_node(diff_child, tag); cib 209 lib/common/patchset.c crm_xml_add(cib, vfields[lpc], value); cib 220 lib/common/patchset.c cib = find_xml_node(diff_child, tag, FALSE); cib 221 lib/common/patchset.c if (cib == NULL) { cib 222 lib/common/patchset.c cib = create_xml_node(diff_child, tag); cib 234 lib/common/patchset.c xmlSetProp(cib, a->name, (pcmkXmlStr) p_value); cib 391 lib/pacemaker/libpacemaker_private.h void pcmk__inject_scheduler_input(pe_working_set_t *data_set, cib_t *cib, cib 504 lib/pacemaker/pcmk_injections.c const char *attr_name, bool attr_value, cib_t *cib) cib 511 lib/pacemaker/pcmk_injections.c rc = find_ticket_state(out, cib, ticket_id, &ticket_state_xml); cib 536 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, xml_top, cib 554 lib/pacemaker/pcmk_injections.c inject_action(pcmk__output_t *out, const char *spec, cib_t *cib, cib 599 lib/pacemaker/pcmk_injections.c cib_node = pcmk__inject_node(cib, node, NULL); cib 616 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cib 635 lib/pacemaker/pcmk_injections.c pcmk__inject_scheduler_input(pe_working_set_t *data_set, cib_t *cib, cib 651 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, NULL, top, cib_sync_call|cib_scope_local); cib 656 lib/pacemaker/pcmk_injections.c rc = cib__update_node_attr(out, cib, cib_sync_call|cib_scope_local, cib 668 lib/pacemaker/pcmk_injections.c cib_node = pcmk__inject_node_state_change(cib, node, true); cib 671 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cib 683 lib/pacemaker/pcmk_injections.c cib_node = pcmk__inject_node_state_change(cib, node, false); cib 686 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cib 693 lib/pacemaker/pcmk_injections.c cib->cmds->remove(cib, xpath, NULL, cib 699 lib/pacemaker/pcmk_injections.c cib->cmds->remove(cib, xpath, NULL, cib 709 lib/pacemaker/pcmk_injections.c cib_node = pcmk__inject_node_state_change(cib, node, true); cib 713 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cib 724 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "granted", true, cib); cib 733 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "granted", false, cib); cib 742 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "standby", true, cib); cib 751 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "standby", false, cib); cib 756 lib/pacemaker/pcmk_injections.c inject_action(out, (const char *) iter->data, cib, data_set); cib 729 lib/pacemaker/pcmk_scheduler.c unpack_cib(xmlNode *cib, unsigned long long flags, pe_working_set_t *data_set) cib 743 lib/pacemaker/pcmk_scheduler.c CRM_ASSERT(cib != NULL); cib 758 lib/pacemaker/pcmk_scheduler.c data_set->input = cib; cib 771 lib/pacemaker/pcmk_scheduler.c pcmk__schedule_actions(xmlNode *cib, unsigned long long flags, cib 774 lib/pacemaker/pcmk_scheduler.c unpack_cib(cib, flags, data_set); cib 728 lib/pacemaker/pcmk_simulate.c pcmk__simulate_transition(pe_working_set_t *data_set, cib_t *cib, cib 743 lib/pacemaker/pcmk_simulate.c fake_cib = cib; cib 792 lib/pacemaker/pcmk_simulate.c cib_t *cib = NULL; cib 794 lib/pacemaker/pcmk_simulate.c rc = cib__signon_query(out, &cib, &input); cib 802 lib/pacemaker/pcmk_simulate.c if ((cib->variant == cib_native) cib 848 lib/pacemaker/pcmk_simulate.c pcmk__inject_scheduler_input(data_set, cib, injections); cib 851 lib/pacemaker/pcmk_simulate.c rc = cib->cmds->query(cib, NULL, &input, cib_sync_call); cib 950 lib/pacemaker/pcmk_simulate.c if (pcmk__simulate_transition(data_set, cib, cib 973 lib/pacemaker/pcmk_simulate.c cib__clean_up_connection(&cib); cib 71 lib/pacemaker/pcmk_status.c pcmk__output_cluster_status(pcmk__output_t *out, stonith_t *stonith, cib_t *cib, cib 89 lib/pacemaker/pcmk_status.c cib__clean_up_connection(&cib); cib 110 lib/pacemaker/pcmk_status.c if ((cib->variant == cib_native) && pcmk_is_set(show, pcmk_section_times)) { cib 154 lib/pacemaker/pcmk_status.c cib_t *cib = NULL; cib 160 lib/pacemaker/pcmk_status.c cib = cib_new(); cib 162 lib/pacemaker/pcmk_status.c if (cib == NULL) { cib 168 lib/pacemaker/pcmk_status.c cib_delete(cib); cib 176 lib/pacemaker/pcmk_status.c rc = pcmk__status(out, cib, pcmk__fence_history_full, pcmk_section_all, cib 180 lib/pacemaker/pcmk_status.c cib_delete(cib); cib 220 lib/pacemaker/pcmk_status.c pcmk__status(pcmk__output_t *out, cib_t *cib, cib 232 lib/pacemaker/pcmk_status.c if (cib == NULL) { cib 236 lib/pacemaker/pcmk_status.c if (cib->variant == cib_native) { cib 265 lib/pacemaker/pcmk_status.c rc = cib__signon_query(out, &cib, ¤t_cib); cib 275 lib/pacemaker/pcmk_status.c rc = pcmk__output_cluster_status(out, stonith, cib, current_cib, cib 359 tools/crm_attribute.c cib_t *cib; cib 374 tools/crm_attribute.c rc = cib__delete_node_attr(dd->out, dd->cib, cib_opts, options.type, cib 387 tools/crm_attribute.c command_delete(pcmk__output_t *out, cib_t *cib) cib 396 tools/crm_attribute.c struct delete_data_s dd = { out, cib }; cib 398 tools/crm_attribute.c rc = cib__get_node_attrs(out, cib, options.type, options.dest_node, cib 413 tools/crm_attribute.c rc = cib__delete_node_attr(out, cib, cib_opts, options.type, options.dest_node, cib 434 tools/crm_attribute.c cib_t *cib; cib 449 tools/crm_attribute.c return cib__update_node_attr(ud->out, ud->cib, cib_opts, options.type, cib 457 tools/crm_attribute.c command_update(pcmk__output_t *out, cib_t *cib, int is_remote_node) cib 470 tools/crm_attribute.c struct update_data_s ud = { out, cib, is_remote_node }; cib 472 tools/crm_attribute.c rc = cib__get_node_attrs(out, cib, options.type, options.dest_node, cib 487 tools/crm_attribute.c rc = cib__update_node_attr(out, cib, cib_opts, options.type, cib 531 tools/crm_attribute.c command_query(pcmk__output_t *out, cib_t *cib) cib 544 tools/crm_attribute.c rc = cib__get_node_attrs(out, cib, options.type, options.dest_node, cib 548 tools/crm_attribute.c rc = cib__get_node_attrs(out, cib, options.type, options.dest_node, cib 75 tools/crm_mon.c static cib_t *cib = NULL; cib 860 tools/crm_mon.c if (cib) { cib 861 tools/crm_mon.c cib->cmds->signoff(cib); cib 942 tools/crm_mon.c CRM_CHECK(cib != NULL, return EINVAL); cib 944 tools/crm_mon.c if (cib->state != cib_disconnected) { cib 949 tools/crm_mon.c rc = cib__signon_query(out, &cib, ¤t_cib); cib 952 tools/crm_mon.c rc = pcmk_legacy2rc(cib->cmds->set_connection_dnotify(cib, cib 963 tools/crm_mon.c cib->cmds->del_notify_callback(cib, T_CIB_DIFF_NOTIFY, cib 965 tools/crm_mon.c rc = pcmk_legacy2rc(cib->cmds->add_notify_callback(cib, cib 979 tools/crm_mon.c cib__clean_up_connection(&cib); cib 1028 tools/crm_mon.c CRM_CHECK(cib != NULL, return EINVAL); cib 1030 tools/crm_mon.c if (cib->state != cib_disconnected) { cib 1034 tools/crm_mon.c if (cib->variant == cib_native) { cib 1459 tools/crm_mon.c int rc = pcmk__status(out, cib, fence_history, show, show_opts, cib 1474 tools/crm_mon.c if (cib != NULL) { cib 1540 tools/crm_mon.c cib = cib_new(); cib 1544 tools/crm_mon.c switch (cib->variant) { cib 1607 tools/crm_mon.c cib_delete(cib); cib 1608 tools/crm_mon.c cib = NULL; cib 1610 tools/crm_mon.c cib = cib_new(); cib 1657 tools/crm_mon.c if (cib->variant == cib_file) { cib 1686 tools/crm_mon.c cib__set_output(cib, out); cib 2049 tools/crm_mon.c cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); cib 2097 tools/crm_mon.c if (cib->variant == cib_native) { cib 2106 tools/crm_mon.c rc = pcmk__output_cluster_status(out, st, cib, current_cib, pcmkd_state, cib 2221 tools/crm_mon.c cib__clean_up_connection(&cib); cib 336 tools/crm_node.c cib_t *cib = NULL; cib 356 tools/crm_node.c cib = cib_new(); cib 357 tools/crm_node.c cib->cmds->signon(cib, crm_system_name, cib_command); cib 359 tools/crm_node.c rc = cib->cmds->remove(cib, XML_CIB_TAG_NODES, node, cib_sync_call); cib 364 tools/crm_node.c rc = cib->cmds->remove(cib, XML_CIB_TAG_STATUS, node_state, cib_sync_call); cib 370 tools/crm_node.c cib__clean_up_connection(&cib); cib 89 tools/crm_resource.h int timeout_ms, cib_t *cib, int cib_options, cib 93 tools/crm_resource.h cib_t *cib, int cib_options, pe_working_set_t *data_set, cib 103 tools/crm_resource.h int timeout_ms, cib_t *cib, pe_working_set_t *data_set, cib 110 tools/crm_resource.h cib_t *cib, int cib_options, gboolean force); cib 114 tools/crm_resource.h cib_t *cib, int cib_options, gboolean force); cib 117 tools/crm_resource.h int wait_till_stable(pcmk__output_t *out, int timeout_ms, cib_t * cib); cib 166 tools/crm_resource_runtime.c cib_t * cib, const char * cmd, int depth) cib 176 tools/crm_resource_runtime.c attr_id, attr_name, cib, cmd, depth+1); cib 183 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, XML_ATTR_ID, lookup_id, attr_set_type, cib 202 tools/crm_resource_runtime.c const char * attr_name, cib_t * cib, const char * cmd, cib 218 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, XML_ATTR_ID, rsc_id, attr_set_type, cib 233 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, XML_ATTR_ID, lookup_id, attr_set_type, cib 250 tools/crm_resource_runtime.c cib, cmd, 0); cib 260 tools/crm_resource_runtime.c cib_t *cib, int cib_options, gboolean force) cib 271 tools/crm_resource_runtime.c find_resource_attr(out, cib, XML_ATTR_ID, top_id, NULL, NULL, NULL, cib 277 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, XML_ATTR_ID, top_id, cib 298 tools/crm_resource_runtime.c CRM_ASSERT(cib != NULL); cib 299 tools/crm_resource_runtime.c rc = cib->cmds->replace(cib, XML_CIB_TAG_RESOURCES, rsc->xml, cib 311 tools/crm_resource_runtime.c attr_id, attr_name, cib, cib 339 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, XML_ATTR_ID, lookup_id, attr_set_type, cib 383 tools/crm_resource_runtime.c rc = cib->cmds->modify(cib, XML_CIB_TAG_RESOURCES, xml_top, cib 431 tools/crm_resource_runtime.c recursive, cib, cib_options, cib 446 tools/crm_resource_runtime.c cib_t *cib, int cib_options, gboolean force) cib 453 tools/crm_resource_runtime.c find_resource_attr(out, cib, XML_ATTR_ID, cib 461 tools/crm_resource_runtime.c attr_id, attr_name, cib, cib 466 tools/crm_resource_runtime.c CRM_ASSERT(cib != NULL); cib 467 tools/crm_resource_runtime.c rc = cib->cmds->replace(cib, XML_CIB_TAG_RESOURCES, rsc->xml, cib 488 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, XML_ATTR_ID, lookup_id, attr_set_type, cib 512 tools/crm_resource_runtime.c CRM_ASSERT(cib); cib 513 tools/crm_resource_runtime.c rc = cib->cmds->remove(cib, XML_CIB_TAG_RESOURCES, xml_obj, cib 1211 tools/crm_resource_runtime.c cib_t *cib) cib 1216 tools/crm_resource_runtime.c rc = cib->cmds->query(cib, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cib 1235 tools/crm_resource_runtime.c update_dataset(cib_t *cib, pe_working_set_t * data_set, bool simulate) cib 1246 tools/crm_resource_runtime.c rc = update_working_set_from_cib(out, data_set, cib); cib 1395 tools/crm_resource_runtime.c int timeout_ms, cib_t *cib, int cib_options, cib 1496 tools/crm_resource_runtime.c rc = update_dataset(cib, data_set, false); cib 1511 tools/crm_resource_runtime.c rc = cli_resource_ban(out, lookup_id, host, move_lifetime, NULL, cib, cib 1520 tools/crm_resource_runtime.c find_resource_attr(out, cib, XML_NVPAIR_ATTR_VALUE, lookup_id, NULL, NULL, cib 1524 tools/crm_resource_runtime.c RSC_STOPPED, FALSE, cib, cib_options, cib 1540 tools/crm_resource_runtime.c rc = update_dataset(cib, data_set, true); cib 1567 tools/crm_resource_runtime.c rc = update_dataset(cib, data_set, FALSE); cib 1597 tools/crm_resource_runtime.c rc = cli_resource_clear(lookup_id, host, NULL, cib, cib_options, true, force); cib 1602 tools/crm_resource_runtime.c orig_target_role, FALSE, cib, cib 1608 tools/crm_resource_runtime.c NULL, XML_RSC_ATTR_TARGET_ROLE, cib, cib 1642 tools/crm_resource_runtime.c rc = update_dataset(cib, data_set, false); cib 1678 tools/crm_resource_runtime.c cli_resource_clear(lookup_id, host, NULL, cib, cib_options, true, force); cib 1682 tools/crm_resource_runtime.c FALSE, cib, cib_options, force); cib 1686 tools/crm_resource_runtime.c NULL, XML_RSC_ATTR_TARGET_ROLE, cib, cib 1787 tools/crm_resource_runtime.c wait_till_stable(pcmk__output_t *out, int timeout_ms, cib_t * cib) cib 1818 tools/crm_resource_runtime.c rc = update_working_set_from_cib(out, data_set, cib); cib 2005 tools/crm_resource_runtime.c int timeout_ms, cib_t * cib, pe_working_set_t *data_set, cib 2067 tools/crm_resource_runtime.c const char *host_name, const char *move_lifetime, cib_t *cib, cib 2140 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, NULL, data_set->nodes, cib, cib_options, false, force); cib 2143 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, dest->details->uname, data_set->nodes, cib, cib 2148 tools/crm_resource_runtime.c cib, cib_options, promoted_role_only); cib 2161 tools/crm_resource_runtime.c NULL, cib, cib_options, promoted_role_only); cib 567 tools/crm_ticket.c modify_ticket_state(gchar * ticket_id, cib_t * cib, pe_working_set_t * data_set) cib 582 tools/crm_ticket.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); cib 627 tools/crm_ticket.c rc = cib->cmds->replace(cib, XML_CIB_TAG_STATUS, ticket_state_xml, cib_options); cib 632 tools/crm_ticket.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, xml_top, cib_options); cib 641 tools/crm_ticket.c delete_ticket_state(gchar *ticket_id, cib_t * cib) cib 647 tools/crm_ticket.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); cib 658 tools/crm_ticket.c rc = cib->cmds->remove(cib, XML_CIB_TAG_STATUS, ticket_state_xml, cib_options);