cib 352 daemons/based/pacemaker-based.c xmlNode *cib = readCibXmlFile(cib_root, filename, !preserve_status); cib 354 daemons/based/pacemaker-based.c if (activateCibXml(cib, TRUE, "start") == 0) { cib 359 daemons/based/pacemaker-based.c cib_read_config(config_hash, cib); cib 361 daemons/based/pacemaker-based.c pcmk__scan_port(crm_element_value(cib, "remote-tls-port"), &port); cib 366 daemons/based/pacemaker-based.c pcmk__scan_port(crm_element_value(cib, "remote-clear-port"), &port); cib 92 daemons/based/pacemaker-based.h gboolean verifyCibXml(xmlNode *cib); cib 191 daemons/controld/controld_election.c xmlNode *cib = NULL; cib 204 daemons/controld/controld_election.c cib = create_xml_node(NULL, XML_TAG_CIB); cib 205 daemons/controld/controld_election.c crm_xml_add(cib, XML_ATTR_CRM_VERSION, CRM_FEATURE_SET); cib 206 daemons/controld/controld_election.c fsa_cib_update(XML_TAG_CIB, cib, cib_quorum_override, rc, NULL); cib 232 daemons/controld/controld_election.c free_xml(cib); cib 402 daemons/controld/controld_te_callbacks.c process_cib_diff(xmlNode *cib, xmlNode *change, const char *op, cib 405 daemons/controld/controld_te_callbacks.c xmlNode *status = first_named_child(cib, XML_CIB_TAG_STATUS); cib 406 daemons/controld/controld_te_callbacks.c xmlNode *config = first_named_child(cib, XML_CIB_TAG_CONFIGURATION); cib 619 daemons/fenced/pacemaker-fenced.c update_stonith_watchdog_timeout_ms(xmlNode *cib) cib 626 daemons/fenced/pacemaker-fenced.c cib, LOG_NEVER); cib 636 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 73 include/crm/cib/cib_types.h int (*signon) (cib_t *cib, const char *name, enum cib_conn_type type); cib 74 include/crm/cib/cib_types.h int (*signon_raw) (cib_t *cib, const char *name, enum cib_conn_type type, cib 76 include/crm/cib/cib_types.h int (*signoff) (cib_t *cib); cib 77 include/crm/cib/cib_types.h int (*free) (cib_t *cib); cib 78 include/crm/cib/cib_types.h int (*set_op_callback) (cib_t *cib, void (*callback) (const xmlNode *msg, cib 81 include/crm/cib/cib_types.h int (*add_notify_callback) (cib_t *cib, const char *event, cib 84 include/crm/cib/cib_types.h int (*del_notify_callback) (cib_t *cib, const char *event, cib 87 include/crm/cib/cib_types.h int (*set_connection_dnotify) (cib_t *cib, cib 89 include/crm/cib/cib_types.h int (*inputfd) (cib_t *cib); cib 90 include/crm/cib/cib_types.h int (*noop) (cib_t *cib, int call_options); cib 91 include/crm/cib/cib_types.h int (*ping) (cib_t *cib, xmlNode **output_data, int call_options); cib 92 include/crm/cib/cib_types.h int (*query) (cib_t *cib, const char *section, xmlNode **output_data, cib 94 include/crm/cib/cib_types.h int (*query_from) (cib_t *cib, const char *host, const char *section, cib 96 include/crm/cib/cib_types.h int (*is_master) (cib_t *cib); cib 97 include/crm/cib/cib_types.h int (*set_master) (cib_t *cib, int call_options); cib 98 include/crm/cib/cib_types.h int (*set_slave) (cib_t *cib, int call_options); cib 99 include/crm/cib/cib_types.h int (*set_slave_all) (cib_t *cib, int call_options); cib 100 include/crm/cib/cib_types.h int (*sync) (cib_t *cib, const char *section, int call_options); cib 101 include/crm/cib/cib_types.h int (*sync_from) (cib_t *cib, const char *host, const char *section, cib 103 include/crm/cib/cib_types.h int (*upgrade) (cib_t *cib, int call_options); cib 104 include/crm/cib/cib_types.h int (*bump_epoch) (cib_t *cib, int call_options); cib 105 include/crm/cib/cib_types.h int (*create) (cib_t *cib, const char *section, xmlNode *data, cib 107 include/crm/cib/cib_types.h int (*modify) (cib_t *cib, const char *section, xmlNode *data, cib 109 include/crm/cib/cib_types.h int (*update) (cib_t *cib, const char *section, xmlNode *data, cib 111 include/crm/cib/cib_types.h int (*replace) (cib_t *cib, const char *section, xmlNode *data, cib 113 include/crm/cib/cib_types.h int (*remove) (cib_t *cib, const char *section, xmlNode *data, cib 115 include/crm/cib/cib_types.h int (*erase) (cib_t *cib, xmlNode **output_data, int call_options); cib 116 include/crm/cib/cib_types.h int (*delete_absolute) (cib_t *cib, const char *section, xmlNode *data, cib 118 include/crm/cib/cib_types.h int (*quit) (cib_t *cib, int call_options); cib 119 include/crm/cib/cib_types.h int (*register_notification) (cib_t *cib, const char *callback, cib 121 include/crm/cib/cib_types.h gboolean (*register_callback) (cib_t *cib, int call_id, int timeout, cib 126 include/crm/cib/cib_types.h gboolean (*register_callback_full)(cib_t *cib, int call_id, int timeout, cib 98 include/crm/cib/internal.h cib_t *cib; cib 128 include/crm/cib/internal.h void cib_native_callback(cib_t * cib, xmlNode * msg, int call_id, int rc); cib 130 include/crm/cib/internal.h int cib_native_register_notification(cib_t * cib, const char *callback, int enabled); cib 131 include/crm/cib/internal.h gboolean cib_client_register_callback(cib_t * cib, int call_id, int timeout, gboolean only_success, cib 134 include/crm/cib/internal.h gboolean cib_client_register_callback_full(cib_t *cib, int call_id, cib 205 include/crm/cib/internal.h int cib_internal_op(cib_t * cib, const char *op, const char *host, cib 215 include/crm/cib/internal.h void cib__set_output(cib_t *cib, pcmk__output_t *out); cib 231 include/crm/cib/internal.h int cib__signon_query(cib_t **cib, xmlNode **cib_object); cib 28 include/crm/cib/util.h gboolean verifyCibXml(xmlNode * cib); cib 30 include/crm/cib/util.h gboolean cib_version_details(xmlNode * cib, int *admin_epoch, int *epoch, int *updates); cib 63 include/crm/cib/util.h xmlNode *cib_get_generation(cib_t * cib); cib 129 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 150 include/crm/common/xml.h xmlNode *find_xml_node(xmlNode * cib, const char *node_path, gboolean must_find); 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 72 include/pcmki/pcmki_sched_utils.h void modify_configuration(pe_working_set_t *data_set, cib_t *cib, cib 75 include/pcmki/pcmki_sched_utils.h enum transition_status run_simulation(pe_working_set_t * data_set, cib_t *cib, GList *op_fail_list); cib 30 lib/cib/cib_client.c int cib_client_set_op_callback(cib_t * cib, void (*callback) (const xmlNode * msg, int call_id, cib 33 lib/cib/cib_client.c int cib_client_add_notify_callback(cib_t * cib, const char *event, cib 36 lib/cib/cib_client.c int cib_client_del_notify_callback(cib_t * cib, const char *event, cib 41 lib/cib/cib_client.c #define op_common(cib) do { \ cib 42 lib/cib/cib_client.c if(cib == NULL) { \ cib 44 lib/cib/cib_client.c } else if(cib->delegate_fn == NULL) { \ cib 50 lib/cib/cib_client.c cib_client_noop(cib_t * cib, int call_options) cib 52 lib/cib/cib_client.c op_common(cib); cib 53 lib/cib/cib_client.c return cib_internal_op(cib, CRM_OP_NOOP, NULL, NULL, NULL, NULL, call_options, NULL); cib 57 lib/cib/cib_client.c cib_client_ping(cib_t * cib, xmlNode ** output_data, int call_options) cib 59 lib/cib/cib_client.c op_common(cib); cib 60 lib/cib/cib_client.c return cib_internal_op(cib, CRM_OP_PING, NULL, NULL, NULL, output_data, call_options, NULL); cib 64 lib/cib/cib_client.c cib_client_query(cib_t * cib, const char *section, xmlNode ** output_data, int call_options) cib 66 lib/cib/cib_client.c return cib->cmds->query_from(cib, NULL, section, output_data, call_options); cib 70 lib/cib/cib_client.c cib_client_query_from(cib_t * cib, const char *host, const char *section, cib 73 lib/cib/cib_client.c op_common(cib); cib 74 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_QUERY, host, section, NULL, output_data, call_options, NULL); cib 78 lib/cib/cib_client.c cib_client_is_master(cib_t * cib) cib 80 lib/cib/cib_client.c op_common(cib); cib 81 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_ISMASTER, NULL, NULL, NULL, NULL, cib 86 lib/cib/cib_client.c cib_client_set_slave(cib_t * cib, int call_options) cib 88 lib/cib/cib_client.c op_common(cib); cib 89 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_SLAVE, NULL, NULL, NULL, NULL, call_options, NULL); cib 93 lib/cib/cib_client.c cib_client_set_slave_all(cib_t * cib, int call_options) cib 99 lib/cib/cib_client.c cib_client_set_master(cib_t * cib, int call_options) cib 101 lib/cib/cib_client.c op_common(cib); cib 103 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_MASTER, NULL, NULL, NULL, NULL, cib 108 lib/cib/cib_client.c cib_client_bump_epoch(cib_t * cib, int call_options) cib 110 lib/cib/cib_client.c op_common(cib); cib 111 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_BUMP, NULL, NULL, NULL, NULL, call_options, NULL); cib 115 lib/cib/cib_client.c cib_client_upgrade(cib_t * cib, int call_options) cib 117 lib/cib/cib_client.c op_common(cib); cib 118 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_UPGRADE, NULL, NULL, NULL, NULL, call_options, NULL); cib 122 lib/cib/cib_client.c cib_client_sync(cib_t * cib, const char *section, int call_options) cib 124 lib/cib/cib_client.c return cib->cmds->sync_from(cib, NULL, section, call_options); cib 128 lib/cib/cib_client.c cib_client_sync_from(cib_t * cib, const char *host, const char *section, int call_options) cib 130 lib/cib/cib_client.c op_common(cib); cib 131 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_SYNC, host, section, NULL, NULL, call_options, NULL); cib 135 lib/cib/cib_client.c cib_client_create(cib_t * cib, const char *section, xmlNode * data, int call_options) cib 137 lib/cib/cib_client.c op_common(cib); cib 138 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_CREATE, NULL, section, data, NULL, call_options, NULL); cib 142 lib/cib/cib_client.c cib_client_modify(cib_t * cib, const char *section, xmlNode * data, int call_options) cib 144 lib/cib/cib_client.c op_common(cib); cib 145 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_MODIFY, NULL, section, data, NULL, call_options, NULL); cib 149 lib/cib/cib_client.c cib_client_update(cib_t * cib, const char *section, xmlNode * data, int call_options) cib 151 lib/cib/cib_client.c op_common(cib); cib 152 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_MODIFY, NULL, section, data, NULL, call_options, NULL); cib 156 lib/cib/cib_client.c cib_client_replace(cib_t * cib, const char *section, xmlNode * data, int call_options) cib 158 lib/cib/cib_client.c op_common(cib); cib 159 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_REPLACE, NULL, section, data, NULL, call_options, NULL); cib 163 lib/cib/cib_client.c cib_client_delete(cib_t * cib, const char *section, xmlNode * data, int call_options) cib 165 lib/cib/cib_client.c op_common(cib); cib 166 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_DELETE, NULL, section, data, NULL, call_options, NULL); cib 170 lib/cib/cib_client.c cib_client_delete_absolute(cib_t * cib, const char *section, xmlNode * data, int call_options) cib 172 lib/cib/cib_client.c op_common(cib); cib 173 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_DELETE_ALT, NULL, section, data, NULL, call_options, NULL); cib 177 lib/cib/cib_client.c cib_client_erase(cib_t * cib, xmlNode ** output_data, int call_options) cib 179 lib/cib/cib_client.c op_common(cib); cib 180 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_ERASE, NULL, NULL, NULL, output_data, call_options, NULL); cib 417 lib/cib/cib_client.c cib_free_notify(cib_t *cib) cib 420 lib/cib/cib_client.c if (cib) { cib 421 lib/cib/cib_client.c GList *list = cib->notify_list; cib 429 lib/cib/cib_client.c cib->notify_list = NULL; cib 438 lib/cib/cib_client.c cib_free_callbacks(cib_t *cib) cib 440 lib/cib/cib_client.c cib_free_notify(cib); cib 451 lib/cib/cib_client.c cib_delete(cib_t *cib) cib 453 lib/cib/cib_client.c cib_free_callbacks(cib); cib 454 lib/cib/cib_client.c if (cib) { cib 455 lib/cib/cib_client.c cib->cmds->free(cib); cib 460 lib/cib/cib_client.c cib_client_set_op_callback(cib_t * cib, void (*callback) (const xmlNode * msg, int call_id, cib 469 lib/cib/cib_client.c cib->op_callback = callback; cib 474 lib/cib/cib_client.c cib_client_add_notify_callback(cib_t * cib, const char *event, cib 480 lib/cib/cib_client.c if (cib->variant != cib_native && cib->variant != cib_remote) { cib 484 lib/cib/cib_client.c crm_trace("Adding callback for %s events (%d)", event, g_list_length(cib->notify_list)); cib 490 lib/cib/cib_client.c list_item = g_list_find_custom(cib->notify_list, new_client, ciblib_GCompareFunc); cib 498 lib/cib/cib_client.c cib->notify_list = g_list_append(cib->notify_list, new_client); cib 500 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 1); cib 502 lib/cib/cib_client.c crm_trace("Callback added (%d)", g_list_length(cib->notify_list)); cib 508 lib/cib/cib_client.c get_notify_list_event_count(cib_t * cib, const char *event) cib 513 lib/cib/cib_client.c for (l = g_list_first(cib->notify_list); l; l = g_list_next(l)) { cib 525 lib/cib/cib_client.c cib_client_del_notify_callback(cib_t * cib, const char *event, cib 531 lib/cib/cib_client.c if (cib->variant != cib_native && cib->variant != cib_remote) { cib 535 lib/cib/cib_client.c if (get_notify_list_event_count(cib, event) == 0) { cib 546 lib/cib/cib_client.c list_item = g_list_find_custom(cib->notify_list, new_client, ciblib_GCompareFunc); cib 551 lib/cib/cib_client.c cib->notify_list = g_list_remove(cib->notify_list, list_client); cib 560 lib/cib/cib_client.c if (get_notify_list_event_count(cib, event) == 0) { cib 562 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 0); cib 599 lib/cib/cib_client.c cib_native_callback(timer->cib, NULL, timer->call_id, -ETIME); cib 608 lib/cib/cib_client.c cib_client_register_callback(cib_t * cib, int call_id, int timeout, gboolean only_success, cib 612 lib/cib/cib_client.c return cib_client_register_callback_full(cib, call_id, timeout, cib 618 lib/cib/cib_client.c cib_client_register_callback_full(cib_t *cib, int call_id, int timeout, cib 652 lib/cib/cib_client.c async_timer->cib = cib; cib 60 lib/cib/cib_file.c int cib_file_perform_op(cib_t * cib, const char *op, const char *host, const char *section, cib 63 lib/cib/cib_file.c int cib_file_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, cib 67 lib/cib/cib_file.c int cib_file_signon(cib_t * cib, const char *name, enum cib_conn_type type); cib 68 lib/cib/cib_file.c int cib_file_signoff(cib_t * cib); cib 69 lib/cib/cib_file.c int cib_file_free(cib_t * cib); cib 72 lib/cib/cib_file.c cib_file_inputfd(cib_t * cib) cib 78 lib/cib/cib_file.c cib_file_set_connection_dnotify(cib_t * cib, void (*dnotify) (gpointer user_data)) cib 84 lib/cib/cib_file.c cib_file_register_notification(cib_t * cib, const char *callback, int enabled) cib 498 lib/cib/cib_file.c cib_t *cib = cib_new_variant(); cib 500 lib/cib/cib_file.c if (cib == NULL) { cib 507 lib/cib/cib_file.c free(cib); cib 511 lib/cib/cib_file.c cib->variant = cib_file; cib 512 lib/cib/cib_file.c cib->variant_opaque = private; cib 525 lib/cib/cib_file.c cib->delegate_fn = cib_file_perform_op_delegate; cib 526 lib/cib/cib_file.c cib->cmds->signon = cib_file_signon; cib 527 lib/cib/cib_file.c cib->cmds->signoff = cib_file_signoff; cib 528 lib/cib/cib_file.c cib->cmds->free = cib_file_free; cib 529 lib/cib/cib_file.c cib->cmds->inputfd = cib_file_inputfd; cib 531 lib/cib/cib_file.c cib->cmds->register_notification = cib_file_register_notification; cib 532 lib/cib/cib_file.c cib->cmds->set_connection_dnotify = cib_file_set_connection_dnotify; cib 534 lib/cib/cib_file.c return cib; cib 590 lib/cib/cib_file.c cib_file_signon(cib_t * cib, const char *name, enum cib_conn_type type) cib 593 lib/cib/cib_file.c cib_file_opaque_t *private = cib->variant_opaque; cib 604 lib/cib/cib_file.c cib->state = cib_connected_command; cib 605 lib/cib/cib_file.c cib->type = cib_command; cib 705 lib/cib/cib_file.c cib_file_signoff(cib_t * cib) cib 708 lib/cib/cib_file.c cib_file_opaque_t *private = cib->variant_opaque; cib 711 lib/cib/cib_file.c cib->state = cib_disconnected; cib 712 lib/cib/cib_file.c cib->type = cib_no_connection; cib 747 lib/cib/cib_file.c cib_file_free(cib_t * cib) cib 751 lib/cib/cib_file.c if (cib->state != cib_disconnected) { cib 752 lib/cib/cib_file.c rc = cib_file_signoff(cib); cib 756 lib/cib/cib_file.c cib_file_opaque_t *private = cib->variant_opaque; cib 759 lib/cib/cib_file.c free(cib->cmds); cib 761 lib/cib/cib_file.c free(cib); cib 791 lib/cib/cib_file.c cib_file_perform_op(cib_t * cib, const char *op, const char *host, const char *section, cib 794 lib/cib/cib_file.c return cib_file_perform_op_delegate(cib, op, host, section, data, output_data, call_options, cib 799 lib/cib/cib_file.c cib_file_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, cib 814 lib/cib/cib_file.c cib_file_opaque_t *private = cib->variant_opaque; cib 823 lib/cib/cib_file.c if (cib->state == cib_disconnected) { cib 847 lib/cib/cib_file.c cib->call_id++; cib 848 lib/cib/cib_file.c request = cib_create_op(cib->call_id, "dummy-token", op, host, section, data, call_options, user_name); cib 879 lib/cib/cib_file.c if (cib->op_callback != NULL) { cib 880 lib/cib/cib_file.c cib->op_callback(NULL, cib->call_id, rc, output); cib 41 lib/cib/cib_native.c int cib_native_perform_op(cib_t * cib, const char *op, const char *host, const char *section, cib 44 lib/cib/cib_native.c int cib_native_perform_op_delegate(cib_t * cib, const char *op, const char *host, cib 48 lib/cib/cib_native.c int cib_native_free(cib_t * cib); cib 49 lib/cib/cib_native.c int cib_native_signoff(cib_t * cib); cib 50 lib/cib/cib_native.c int cib_native_signon(cib_t * cib, const char *name, enum cib_conn_type type); cib 51 lib/cib/cib_native.c int cib_native_signon_raw(cib_t * cib, const char *name, enum cib_conn_type type, int *event_fd); cib 53 lib/cib/cib_native.c int cib_native_set_connection_dnotify(cib_t * cib, void (*dnotify) (gpointer user_data)); cib 59 lib/cib/cib_native.c cib_t *cib = cib_new_variant(); cib 61 lib/cib/cib_native.c if (cib == NULL) { cib 68 lib/cib/cib_native.c free(cib); cib 72 lib/cib/cib_native.c cib->variant = cib_native; cib 73 lib/cib/cib_native.c cib->variant_opaque = native; cib 80 lib/cib/cib_native.c cib->delegate_fn = cib_native_perform_op_delegate; cib 81 lib/cib/cib_native.c cib->cmds->signon = cib_native_signon; cib 82 lib/cib/cib_native.c cib->cmds->signon_raw = cib_native_signon_raw; cib 83 lib/cib/cib_native.c cib->cmds->signoff = cib_native_signoff; cib 84 lib/cib/cib_native.c cib->cmds->free = cib_native_free; cib 86 lib/cib/cib_native.c cib->cmds->register_notification = cib_native_register_notification; cib 87 lib/cib/cib_native.c cib->cmds->set_connection_dnotify = cib_native_set_connection_dnotify; cib 89 lib/cib/cib_native.c return cib; cib 93 lib/cib/cib_native.c cib_native_signon(cib_t * cib, const char *name, enum cib_conn_type type) cib 95 lib/cib/cib_native.c return cib_native_signon_raw(cib, name, type, NULL); cib 104 lib/cib/cib_native.c cib_t *cib = userdata; cib 108 lib/cib/cib_native.c if (cib == NULL) { cib 126 lib/cib/cib_native.c cib_native_callback(cib, msg, 0, 0); cib 129 lib/cib/cib_native.c g_list_foreach(cib->notify_list, cib_native_notify, msg); cib 142 lib/cib/cib_native.c cib_t *cib = userdata; cib 143 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 146 lib/cib/cib_native.c cib->state = cib_disconnected; cib 156 lib/cib/cib_native.c cib_native_signon_raw(cib_t * cib, const char *name, enum cib_conn_type type, int *async_fd) cib 160 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 167 lib/cib/cib_native.c cib->call_timeout = PCMK__IPC_TIMEOUT; cib 170 lib/cib/cib_native.c cib->state = cib_connected_command; cib 174 lib/cib/cib_native.c cib->state = cib_connected_command; cib 178 lib/cib/cib_native.c cib->state = cib_connected_query; cib 199 lib/cib/cib_native.c mainloop_add_ipc_client(channel, G_PRIORITY_HIGH, 512 * 1024 /* 512k */ , cib, cib 251 lib/cib/cib_native.c cib_native_signoff(cib); cib 256 lib/cib/cib_native.c cib_native_signoff(cib_t * cib) cib 258 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 262 lib/cib/cib_native.c cib_free_notify(cib); cib 280 lib/cib/cib_native.c cib->state = cib_disconnected; cib 281 lib/cib/cib_native.c cib->type = cib_no_connection; cib 287 lib/cib/cib_native.c cib_native_free(cib_t * cib) cib 291 lib/cib/cib_native.c if (cib->state != cib_disconnected) { cib 292 lib/cib/cib_native.c rc = cib_native_signoff(cib); cib 295 lib/cib/cib_native.c if (cib->state == cib_disconnected) { cib 296 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 299 lib/cib/cib_native.c free(cib->variant_opaque); cib 300 lib/cib/cib_native.c free(cib->cmds); cib 301 lib/cib/cib_native.c free(cib); cib 308 lib/cib/cib_native.c cib_native_perform_op(cib_t * cib, const char *op, const char *host, const char *section, cib 311 lib/cib/cib_native.c return cib_native_perform_op_delegate(cib, op, host, section, cib 316 lib/cib/cib_native.c cib_native_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, cib 327 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 329 lib/cib/cib_native.c if (cib->state == cib_disconnected) { cib 346 lib/cib/cib_native.c cib->call_id++; cib 347 lib/cib/cib_native.c if (cib->call_id < 1) { cib 348 lib/cib/cib_native.c cib->call_id = 1; cib 354 lib/cib/cib_native.c cib_create_op(cib->call_id, native->token, op, host, section, data, call_options, cib 360 lib/cib/cib_native.c crm_trace("Sending %s message to the CIB manager (timeout=%ds)", op, cib->call_timeout); cib 361 lib/cib/cib_native.c rc = crm_ipc_send(native->ipc, op_msg, ipc_flags, cib->call_timeout * 1000, &op_reply); cib 366 lib/cib/cib_native.c cib->call_timeout, pcmk_strerror(rc), rc); cib 374 lib/cib/cib_native.c crm_trace("Async call, returning %d", cib->call_id); cib 375 lib/cib/cib_native.c CRM_CHECK(cib->call_id != 0, return -ENOMSG); cib 377 lib/cib/cib_native.c return cib->call_id; cib 382 lib/cib/cib_native.c if (reply_id == cib->call_id) { cib 404 lib/cib/cib_native.c crm_err("Received bad reply: %d (wanted %d)", reply_id, cib->call_id); cib 410 lib/cib/cib_native.c if (op_reply == NULL && cib->state == cib_disconnected) { cib 445 lib/cib/cib_native.c cib->state = cib_disconnected; cib 453 lib/cib/cib_native.c cib_native_set_connection_dnotify(cib_t * cib, void (*dnotify) (gpointer user_data)) cib 457 lib/cib/cib_native.c if (cib == NULL) { cib 462 lib/cib/cib_native.c native = cib->variant_opaque; cib 469 lib/cib/cib_native.c cib_native_register_notification(cib_t * cib, const char *callback, int enabled) cib 473 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 475 lib/cib/cib_native.c if (cib->state != cib_disconnected) { cib 480 lib/cib/cib_native.c 1000 * cib->call_timeout, NULL); cib 69 lib/cib/cib_remote.c int cib_remote_signon(cib_t * cib, const char *name, enum cib_conn_type type); cib 70 lib/cib/cib_remote.c int cib_remote_signoff(cib_t * cib); cib 71 lib/cib/cib_remote.c int cib_remote_free(cib_t * cib); cib 73 lib/cib/cib_remote.c int cib_remote_perform_op(cib_t * cib, const char *op, const char *host, const char *section, cib 78 lib/cib/cib_remote.c cib_remote_inputfd(cib_t * cib) cib 80 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 86 lib/cib/cib_remote.c cib_remote_set_connection_dnotify(cib_t * cib, void (*dnotify) (gpointer user_data)) cib 92 lib/cib/cib_remote.c cib_remote_register_notification(cib_t * cib, const char *callback, int enabled) cib 95 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 110 lib/cib/cib_remote.c cib_t *cib = cib_new_variant(); cib 112 lib/cib/cib_remote.c if (cib == NULL) { cib 119 lib/cib/cib_remote.c free(cib); cib 123 lib/cib/cib_remote.c cib->variant = cib_remote; cib 124 lib/cib/cib_remote.c cib->variant_opaque = private; cib 142 lib/cib/cib_remote.c cib->delegate_fn = cib_remote_perform_op; cib 143 lib/cib/cib_remote.c cib->cmds->signon = cib_remote_signon; cib 144 lib/cib/cib_remote.c cib->cmds->signoff = cib_remote_signoff; cib 145 lib/cib/cib_remote.c cib->cmds->free = cib_remote_free; cib 146 lib/cib/cib_remote.c cib->cmds->inputfd = cib_remote_inputfd; cib 148 lib/cib/cib_remote.c cib->cmds->register_notification = cib_remote_register_notification; cib 149 lib/cib/cib_remote.c cib->cmds->set_connection_dnotify = cib_remote_set_connection_dnotify; cib 151 lib/cib/cib_remote.c return cib; cib 155 lib/cib/cib_remote.c cib_tls_close(cib_t * cib) cib 157 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 202 lib/cib/cib_remote.c cib_tls_signon(cib_t *cib, pcmk__remote_t *connection, gboolean event_channel) cib 204 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 243 lib/cib/cib_remote.c cib_tls_close(cib); cib 254 lib/cib/cib_remote.c cib_tls_close(cib); cib 303 lib/cib/cib_remote.c cib_tls_close(cib); cib 309 lib/cib/cib_remote.c connection->tcp_socket, cib, cib 328 lib/cib/cib_remote.c cib_t *cib = user_data; cib 329 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 347 lib/cib/cib_remote.c cib_t *cib = user_data; cib 348 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 363 lib/cib/cib_remote.c cib_native_callback(cib, msg, 0, 0); cib 366 lib/cib/cib_remote.c g_list_foreach(cib->notify_list, cib_native_notify, msg); cib 384 lib/cib/cib_remote.c cib_remote_signon(cib_t * cib, const char *name, enum cib_conn_type type) cib 387 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 405 lib/cib/cib_remote.c rc = cib_tls_signon(cib, &(private->command), FALSE); cib 409 lib/cib/cib_remote.c rc = cib_tls_signon(cib, &(private->callback), TRUE); cib 423 lib/cib/cib_remote.c cib->state = cib_connected_command; cib 424 lib/cib/cib_remote.c cib->type = cib_command; cib 435 lib/cib/cib_remote.c cib_remote_signoff(cib_t * cib) cib 443 lib/cib/cib_remote.c cib_tls_close(cib); cib 446 lib/cib/cib_remote.c cib->state = cib_disconnected; cib 447 lib/cib/cib_remote.c cib->type = cib_no_connection; cib 453 lib/cib/cib_remote.c cib_remote_free(cib_t * cib) cib 458 lib/cib/cib_remote.c if (cib->state != cib_disconnected) { cib 459 lib/cib/cib_remote.c rc = cib_remote_signoff(cib); cib 461 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 466 lib/cib/cib_remote.c free(cib->cmds); cib 468 lib/cib/cib_remote.c free(cib); cib 476 lib/cib/cib_remote.c cib_remote_perform_op(cib_t * cib, const char *op, const char *host, const char *section, cib 486 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 488 lib/cib/cib_remote.c if (cib->state == cib_disconnected) { cib 501 lib/cib/cib_remote.c cib->call_id++; cib 502 lib/cib/cib_remote.c if (cib->call_id < 1) { cib 503 lib/cib/cib_remote.c cib->call_id = 1; cib 507 lib/cib/cib_remote.c cib_create_op(cib->call_id, private->callback.token, op, host, section, data, call_options, cib 526 lib/cib/cib_remote.c return cib->call_id; cib 532 lib/cib/cib_remote.c remaining_time = cib->call_timeout ? cib->call_timeout : 60; cib 537 lib/cib/cib_remote.c int msg_id = cib->call_id; cib 613 lib/cib/cib_remote.c crm_trace("No output in reply to \"%s\" command %d", op, cib->call_id - 1); cib 625 lib/cib/cib_remote.c cib__set_output(cib_t *cib, pcmk__output_t *out) cib 629 lib/cib/cib_remote.c if (cib->variant != cib_remote) { cib 633 lib/cib/cib_remote.c private = cib->variant_opaque; cib 59 lib/cib/cib_utils.c cib_get_generation(cib_t * cib) cib 64 lib/cib/cib_utils.c cib->cmds->query(cib, NULL, &the_cib, cib_scope_local | cib_sync_call); cib 74 lib/cib/cib_utils.c cib_version_details(xmlNode * cib, int *admin_epoch, int *epoch, int *updates) cib 80 lib/cib/cib_utils.c if (cib == NULL) { cib 84 lib/cib/cib_utils.c crm_element_value_int(cib, XML_ATTR_GENERATION, epoch); cib 85 lib/cib/cib_utils.c crm_element_value_int(cib, XML_ATTR_NUMUPDATES, updates); cib 86 lib/cib/cib_utils.c crm_element_value_int(cib, XML_ATTR_GENERATION_ADMIN, admin_epoch); cib 546 lib/cib/cib_utils.c cib_native_callback(cib_t * cib, xmlNode * msg, int call_id, int rc) cib 563 lib/cib/cib_utils.c if (cib == NULL) { cib 576 lib/cib/cib_utils.c } else if (cib && cib->op_callback == NULL && rc != pcmk_ok) { cib 586 lib/cib/cib_utils.c if (cib && cib->op_callback != NULL) { cib 588 lib/cib/cib_utils.c cib->op_callback(msg, call_id, rc, output); cib 719 lib/cib/cib_utils.c cib_internal_op(cib_t * cib, const char *op, const char *host, cib 723 lib/cib/cib_utils.c int (*delegate) (cib_t * cib, const char *op, const char *host, cib 726 lib/cib/cib_utils.c cib->delegate_fn; cib 732 lib/cib/cib_utils.c return delegate(cib, op, host, section, data, output_data, call_options, user_name); cib 790 lib/cib/cib_utils.c cib__signon_query(cib_t **cib, xmlNode **cib_object) cib 795 lib/cib/cib_utils.c if (cib == NULL) { cib 798 lib/cib/cib_utils.c *cib = cib_new(); cib 799 lib/cib/cib_utils.c cib_conn = *cib; cib 814 lib/cib/cib_utils.c if (cib == NULL) { cib 245 lib/cluster/membership.c crm_remote_peer_cache_refresh(xmlNode *cib) cib 260 lib/cluster/membership.c crm_foreach_xpath_result(cib, PCMK__XP_REMOTE_NODE_STATUS, cib 271 lib/cluster/membership.c crm_foreach_xpath_result(cib, PCMK__XP_GUEST_NODE_CONFIG, cib 275 lib/cluster/membership.c crm_foreach_xpath_result(cib, PCMK__XP_REMOTE_NODE_CONFIG, cib 1234 lib/cluster/membership.c refresh_known_node_cache(xmlNode *cib) cib 1240 lib/cluster/membership.c crm_foreach_xpath_result(cib, PCMK__XP_MEMBER_NODE_CONFIG, cib 1248 lib/cluster/membership.c pcmk__refresh_node_caches_from_cib(xmlNode *cib) cib 1250 lib/cluster/membership.c crm_remote_peer_cache_refresh(cib); cib 1251 lib/cluster/membership.c refresh_known_node_cache(cib); cib 226 lib/common/patchset.c xmlNode *cib = NULL; cib 249 lib/common/patchset.c cib = find_xml_node(diff_child, tag, FALSE); cib 250 lib/common/patchset.c if (cib == NULL) { cib 251 lib/common/patchset.c cib = create_xml_node(diff_child, tag); cib 259 lib/common/patchset.c crm_xml_add(cib, vfields[lpc], value); cib 270 lib/common/patchset.c cib = find_xml_node(diff_child, tag, FALSE); cib 271 lib/common/patchset.c if (cib == NULL) { cib 272 lib/common/patchset.c cib = create_xml_node(diff_child, tag); cib 284 lib/common/patchset.c xmlSetProp(cib, a->name, (pcmkXmlStr) p_value); cib 357 lib/pacemaker/pcmk_sched_transition.c const char *attr_value, cib_t * cib, int cib_options) cib 363 lib/pacemaker/pcmk_sched_transition.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); cib 384 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, xml_top, cib_options); cib 392 lib/pacemaker/pcmk_sched_transition.c modify_configuration(pe_working_set_t * data_set, cib_t *cib, pcmk_injections_t *injections) cib 413 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, NULL, top, cib_sync_call | cib_scope_local); cib 418 lib/pacemaker/pcmk_sched_transition.c rc = update_attr_delegate(cib, cib_sync_call | cib_scope_local, cib 430 lib/pacemaker/pcmk_sched_transition.c cib_node = modify_node(cib, node, TRUE); cib 433 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cib 445 lib/pacemaker/pcmk_sched_transition.c cib_node = modify_node(cib, node, FALSE); cib 448 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cib 454 lib/pacemaker/pcmk_sched_transition.c cib->cmds->remove(cib, xpath, NULL, cib 459 lib/pacemaker/pcmk_sched_transition.c cib->cmds->remove(cib, xpath, NULL, cib 469 lib/pacemaker/pcmk_sched_transition.c cib_node = modify_node(cib, node, TRUE); cib 473 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cib 485 lib/pacemaker/pcmk_sched_transition.c cib, cib_sync_call | cib_scope_local); cib 496 lib/pacemaker/pcmk_sched_transition.c cib, cib_sync_call | cib_scope_local); cib 507 lib/pacemaker/pcmk_sched_transition.c cib, cib_sync_call | cib_scope_local); cib 518 lib/pacemaker/pcmk_sched_transition.c cib, cib_sync_call | cib_scope_local); cib 563 lib/pacemaker/pcmk_sched_transition.c cib_node = inject_node_state(cib, node, NULL); cib 579 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cib 796 lib/pacemaker/pcmk_sched_transition.c run_simulation(pe_working_set_t * data_set, cib_t *cib, GList *op_fail_list) cib 810 lib/pacemaker/pcmk_sched_transition.c fake_cib = cib; cib 365 lib/pacemaker/pcmk_simulate.c cib_t *cib = NULL; cib 368 lib/pacemaker/pcmk_simulate.c rc = cib__signon_query(&cib, &input); cib 405 lib/pacemaker/pcmk_simulate.c modify_configuration(data_set, cib, injections); cib 408 lib/pacemaker/pcmk_simulate.c rc = cib->cmds->query(cib, NULL, &input, cib_sync_call); cib 492 lib/pacemaker/pcmk_simulate.c if (run_simulation(data_set, cib, injections->op_fail) != transition_complete) { cib 512 lib/pacemaker/pcmk_simulate.c if (cib) { cib 513 lib/pacemaker/pcmk_simulate.c cib->cmds->signoff(cib); cib 514 lib/pacemaker/pcmk_simulate.c cib_delete(cib); cib 73 tools/crm_mon.c static cib_t *cib = NULL; cib 719 tools/crm_mon.c if (cib) { cib 720 tools/crm_mon.c cib->cmds->signoff(cib); cib 801 tools/crm_mon.c CRM_CHECK(cib != NULL, return EINVAL); cib 803 tools/crm_mon.c if (cib->state == cib_connected_query || cib 804 tools/crm_mon.c cib->state == cib_connected_command) { cib 810 tools/crm_mon.c rc = pcmk_legacy2rc(cib->cmds->signon(cib, crm_system_name, cib_query)); cib 824 tools/crm_mon.c rc = pcmk_legacy2rc(cib->cmds->query(cib, NULL, ¤t_cib, cib 828 tools/crm_mon.c rc = pcmk_legacy2rc(cib->cmds->set_connection_dnotify(cib, cib 841 tools/crm_mon.c cib->cmds->del_notify_callback(cib, T_CIB_DIFF_NOTIFY, cib 843 tools/crm_mon.c rc = pcmk_legacy2rc(cib->cmds->add_notify_callback(cib, cib 947 tools/crm_mon.c if (cib != NULL && cib 948 tools/crm_mon.c (cib->state == cib_connected_query || cib 949 tools/crm_mon.c cib->state == cib_connected_command)) { cib 1446 tools/crm_mon.c cib = cib_new(); cib 1448 tools/crm_mon.c if (cib == NULL) { cib 1451 tools/crm_mon.c switch (cib->variant) { cib 1499 tools/crm_mon.c if (cib) { cib 1503 tools/crm_mon.c cib_delete(cib); cib 1504 tools/crm_mon.c cib = NULL; cib 1506 tools/crm_mon.c cib = cib_new(); cib 1507 tools/crm_mon.c if (cib == NULL) { cib 1595 tools/crm_mon.c if (cib->variant == cib_file) { cib 1628 tools/crm_mon.c cib__set_output(cib, out); cib 2080 tools/crm_mon.c cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); cib 2315 tools/crm_mon.c if (cib == NULL) { cib 2319 tools/crm_mon.c cib->cmds->signoff(cib); cib 2320 tools/crm_mon.c cib_delete(cib); cib 2321 tools/crm_mon.c cib = NULL; cib 332 tools/crm_node.c cib_t *cib = NULL; cib 352 tools/crm_node.c cib = cib_new(); cib 353 tools/crm_node.c cib->cmds->signon(cib, crm_system_name, cib_command); cib 355 tools/crm_node.c rc = cib->cmds->remove(cib, XML_CIB_TAG_NODES, node, cib_sync_call); cib 360 tools/crm_node.c rc = cib->cmds->remove(cib, XML_CIB_TAG_STATUS, node_state, cib_sync_call); cib 366 tools/crm_node.c cib->cmds->signoff(cib); cib 367 tools/crm_node.c cib_delete(cib); cib 66 tools/crm_resource.h int cli_resource_check(pcmk__output_t *out, cib_t * cib, pe_resource_t *rsc); cib 79 tools/crm_resource.h const char *move_lifetime, int timeout_ms, cib_t *cib, cib 82 tools/crm_resource.h const char *move_lifetime, cib_t *cib, int cib_options, cib 93 tools/crm_resource.h int timeout_ms, cib_t *cib, pe_working_set_t *data_set, cib 100 tools/crm_resource.h cib_t *cib, int cib_options, cib 105 tools/crm_resource.h cib_t *cib, int cib_options, cib 109 tools/crm_resource.h int wait_till_stable(pcmk__output_t *out, int timeout_ms, cib_t * cib); cib 192 tools/crm_resource_runtime.c cib_t * cib, const char * cmd, int depth) cib 202 tools/crm_resource_runtime.c attr_id, attr_name, cib, cmd, depth+1); cib 209 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, XML_ATTR_ID, lookup_id, attr_set_type, cib 228 tools/crm_resource_runtime.c const char * attr_name, cib_t * cib, const char * cmd, cib 244 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, XML_ATTR_ID, rsc_id, attr_set_type, cib 259 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, XML_ATTR_ID, lookup_id, attr_set_type, cib 276 tools/crm_resource_runtime.c cib, cmd, 0); cib 286 tools/crm_resource_runtime.c cib_t *cib, int cib_options, cib 300 tools/crm_resource_runtime.c find_resource_attr (out, cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, cib 306 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, XML_ATTR_ID, uber_parent(rsc)->id, cib 324 tools/crm_resource_runtime.c attr_id, attr_name, cib, "update", force); cib 343 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_options); cib 422 tools/crm_resource_runtime.c recursive, cib, cib_options, cib 437 tools/crm_resource_runtime.c cib_t *cib, int cib_options, cib 445 tools/crm_resource_runtime.c find_resource_attr(out, cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, cib 451 tools/crm_resource_runtime.c attr_id, attr_name, cib, "delete", force); cib 464 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, XML_ATTR_ID, lookup_id, attr_set_type, cib 485 tools/crm_resource_runtime.c CRM_ASSERT(cib); cib 486 tools/crm_resource_runtime.c rc = cib->cmds->remove(cib, XML_CIB_TAG_RESOURCES, xml_obj, cib_options); cib 1097 tools/crm_resource_runtime.c cib_t *cib) cib 1102 tools/crm_resource_runtime.c rc = cib->cmds->query(cib, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cib 1121 tools/crm_resource_runtime.c update_dataset(cib_t *cib, pe_working_set_t * data_set, bool simulate) cib 1131 tools/crm_resource_runtime.c rc = update_working_set_from_cib(out, data_set, cib); cib 1269 tools/crm_resource_runtime.c const char *move_lifetime, int timeout_ms, cib_t *cib, cib 1332 tools/crm_resource_runtime.c rc = update_dataset(cib, data_set, FALSE); cib 1347 tools/crm_resource_runtime.c rc = cli_resource_ban(out, rsc_id, host, move_lifetime, NULL, cib, cib 1357 tools/crm_resource_runtime.c find_resource_attr(out, cib, XML_NVPAIR_ATTR_VALUE, lookup_id, NULL, NULL, cib 1362 tools/crm_resource_runtime.c RSC_STOPPED, FALSE, cib, cib_options, cib 1376 tools/crm_resource_runtime.c rc = update_dataset(cib, data_set, TRUE); cib 1403 tools/crm_resource_runtime.c rc = update_dataset(cib, data_set, FALSE); cib 1431 tools/crm_resource_runtime.c rc = cli_resource_clear(rsc_id, host, NULL, cib, cib_options, TRUE, force); cib 1436 tools/crm_resource_runtime.c orig_target_role, FALSE, cib, cib 1442 tools/crm_resource_runtime.c NULL, XML_RSC_ATTR_TARGET_ROLE, cib, cib 1475 tools/crm_resource_runtime.c rc = update_dataset(cib, data_set, FALSE); cib 1510 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, host, NULL, cib, cib_options, TRUE, force); cib 1514 tools/crm_resource_runtime.c FALSE, cib, cib_options, data_set, force); cib 1518 tools/crm_resource_runtime.c XML_RSC_ATTR_TARGET_ROLE, cib, cib_options, cib 1615 tools/crm_resource_runtime.c wait_till_stable(pcmk__output_t *out, int timeout_ms, cib_t * cib) cib 1647 tools/crm_resource_runtime.c rc = update_working_set_from_cib(out, data_set, cib); cib 1832 tools/crm_resource_runtime.c int timeout_ms, cib_t * cib, pe_working_set_t *data_set, cib 1894 tools/crm_resource_runtime.c const char *move_lifetime, cib_t *cib, int cib_options, cib 1966 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, NULL, data_set->nodes, cib, cib_options, FALSE, force); cib 1969 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, dest->details->uname, data_set->nodes, cib, cib 1974 tools/crm_resource_runtime.c cib, cib_options, promoted_role_only); cib 1987 tools/crm_resource_runtime.c NULL, cib, cib_options, promoted_role_only); cib 371 tools/crm_ticket.c cib_t * cib, pe_working_set_t * data_set) cib 386 tools/crm_ticket.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); cib 431 tools/crm_ticket.c rc = cib->cmds->replace(cib, XML_CIB_TAG_STATUS, ticket_state_xml, cib_options); cib 435 tools/crm_ticket.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, xml_top, cib_options); cib 443 tools/crm_ticket.c delete_ticket_state(const char *ticket_id, cib_t * cib) cib 449 tools/crm_ticket.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); cib 460 tools/crm_ticket.c rc = cib->cmds->remove(cib, XML_CIB_TAG_STATUS, ticket_state_xml, cib_options);