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                91 daemons/based/pacemaker-based.h gboolean verifyCibXml(xmlNode *cib);
cib               193 daemons/controld/controld_election.c     xmlNode *cib = NULL;
cib               206 daemons/controld/controld_election.c     cib = create_xml_node(NULL, XML_TAG_CIB);
cib               207 daemons/controld/controld_election.c     crm_xml_add(cib, XML_ATTR_CRM_VERSION, CRM_FEATURE_SET);
cib               208 daemons/controld/controld_election.c     fsa_cib_update(XML_TAG_CIB, cib, cib_quorum_override, rc, NULL);
cib               237 daemons/controld/controld_election.c     free_xml(cib);
cib               377 daemons/controld/controld_te_callbacks.c process_cib_diff(xmlNode *cib, xmlNode *change, const char *op,
cib               380 daemons/controld/controld_te_callbacks.c     xmlNode *status = first_named_child(cib, XML_CIB_TAG_STATUS);
cib               381 daemons/controld/controld_te_callbacks.c     xmlNode *config = first_named_child(cib, XML_CIB_TAG_CONFIGURATION);
cib               644 daemons/fenced/pacemaker-fenced.c update_stonith_watchdog_timeout_ms(xmlNode *cib)
cib               652 daemons/fenced/pacemaker-fenced.c                                            cib, LOG_NEVER);
cib               660 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               107 include/crm/cib/internal.h     cib_t *cib;
cib               137 include/crm/cib/internal.h void cib_native_callback(cib_t * cib, xmlNode * msg, int call_id, int rc);
cib               139 include/crm/cib/internal.h int cib_native_register_notification(cib_t * cib, const char *callback, int enabled);
cib               140 include/crm/cib/internal.h gboolean cib_client_register_callback(cib_t * cib, int call_id, int timeout, gboolean only_success,
cib               143 include/crm/cib/internal.h gboolean cib_client_register_callback_full(cib_t *cib, int call_id,
cib               214 include/crm/cib/internal.h int cib_internal_op(cib_t * cib, const char *op, const char *host,
cib               224 include/crm/cib/internal.h void cib__set_output(cib_t *cib, pcmk__output_t *out);
cib               240 include/crm/cib/internal.h int cib__signon_query(cib_t **cib, xmlNode **cib_object);
cib               242 include/crm/cib/internal.h int cib__clean_up_connection(cib_t **cib);
cib               244 include/crm/cib/internal.h int cib__update_node_attr(pcmk__output_t *out, cib_t *cib, int call_options,
cib               250 include/crm/cib/internal.h int cib__read_node_attr(pcmk__output_t *out, cib_t *cib, const char *section,
cib               255 include/crm/cib/internal.h int cib__delete_node_attr(pcmk__output_t *out, cib_t *cib, int options,
cib                25 include/crm/cib/util.h gboolean verifyCibXml(xmlNode * cib);
cib                27 include/crm/cib/util.h gboolean cib_version_details(xmlNode * cib, int *admin_epoch, int *epoch, int *updates);
cib                60 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                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               151 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                64 include/pcmki/pcmki_scheduler.h void pcmk__schedule_actions(xmlNode *cib, unsigned long long flags,
cib                50 include/pcmki/pcmki_simulate.h                                                  cib_t *cib,
cib                41 include/pcmki/pcmki_status.h int pcmk__output_cluster_status(pcmk__output_t *out, stonith_t *st, cib_t *cib,
cib                47 include/pcmki/pcmki_status.h int pcmk__status(pcmk__output_t *out, cib_t *cib, enum pcmk__fence_history fence_history,
cib                63 lib/cib/cib_attrs.c find_attr(pcmk__output_t *out, cib_t *cib, const char *attr, const char *section,
cib               152 lib/cib/cib_attrs.c     rc = cib_internal_op(cib, CIB_OP_QUERY, NULL, xpath_string, NULL, &xml_search,
cib               188 lib/cib/cib_attrs.c cib__update_node_attr(pcmk__output_t *out, cib_t *cib, int call_options, const char *section,
cib               205 lib/cib/cib_attrs.c     rc = find_attr(out, cib, XML_ATTR_ID, section, node_uuid, set_type, set_name,
cib               327 lib/cib/cib_attrs.c     rc = cib_internal_op(cib, CIB_OP_MODIFY, NULL, section, xml_top, NULL,
cib               347 lib/cib/cib_attrs.c cib__read_node_attr(pcmk__output_t *out, cib_t *cib, const char *section,
cib               360 lib/cib/cib_attrs.c     rc = find_attr(out, cib, XML_NVPAIR_ATTR_VALUE, section, node_uuid, set_type,
cib               371 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(out, cib, XML_ATTR_ID, section, node_uuid, set_type,
cib               395 lib/cib/cib_attrs.c     rc = cib_internal_op(cib, CIB_OP_DELETE, NULL, section, xml_obj, NULL,
cib               413 lib/cib/cib_attrs.c find_nvpair_attr_delegate(cib_t *cib, const char *attr, const char *section,
cib               426 lib/cib/cib_attrs.c     rc = find_attr(out, cib, attr, section, node_uuid, attr_set_type,
cib               435 lib/cib/cib_attrs.c update_attr_delegate(cib_t *cib, int call_options, const char *section,
cib               448 lib/cib/cib_attrs.c     rc = cib__update_node_attr(out, cib, call_options, section, node_uuid, set_type,
cib               458 lib/cib/cib_attrs.c read_attr_delegate(cib_t *cib, const char *section, const char *node_uuid,
cib               471 lib/cib/cib_attrs.c     rc = cib__read_node_attr(out, cib, section, node_uuid, set_type, set_name,
cib               480 lib/cib/cib_attrs.c delete_attr_delegate(cib_t *cib, int options, const char *section, const char *node_uuid,
cib               493 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 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                67 lib/cib/cib_remote.c int cib_remote_signon(cib_t * cib, const char *name, enum cib_conn_type type);
cib                68 lib/cib/cib_remote.c int cib_remote_signoff(cib_t * cib);
cib                69 lib/cib/cib_remote.c int cib_remote_free(cib_t * cib);
cib                71 lib/cib/cib_remote.c int cib_remote_perform_op(cib_t * cib, const char *op, const char *host, const char *section,
cib                76 lib/cib/cib_remote.c cib_remote_inputfd(cib_t * cib)
cib                78 lib/cib/cib_remote.c     cib_remote_opaque_t *private = cib->variant_opaque;
cib                84 lib/cib/cib_remote.c cib_remote_set_connection_dnotify(cib_t * cib, void (*dnotify) (gpointer user_data))
cib                90 lib/cib/cib_remote.c cib_remote_register_notification(cib_t * cib, const char *callback, int enabled)
cib                93 lib/cib/cib_remote.c     cib_remote_opaque_t *private = cib->variant_opaque;
cib               108 lib/cib/cib_remote.c     cib_t *cib = cib_new_variant();
cib               110 lib/cib/cib_remote.c     if (cib == NULL) {
cib               117 lib/cib/cib_remote.c         free(cib);
cib               121 lib/cib/cib_remote.c     cib->variant = cib_remote;
cib               122 lib/cib/cib_remote.c     cib->variant_opaque = private;
cib               132 lib/cib/cib_remote.c     cib->delegate_fn = cib_remote_perform_op;
cib               133 lib/cib/cib_remote.c     cib->cmds->signon = cib_remote_signon;
cib               134 lib/cib/cib_remote.c     cib->cmds->signoff = cib_remote_signoff;
cib               135 lib/cib/cib_remote.c     cib->cmds->free = cib_remote_free;
cib               136 lib/cib/cib_remote.c     cib->cmds->inputfd = cib_remote_inputfd;
cib               138 lib/cib/cib_remote.c     cib->cmds->register_notification = cib_remote_register_notification;
cib               139 lib/cib/cib_remote.c     cib->cmds->set_connection_dnotify = cib_remote_set_connection_dnotify;
cib               141 lib/cib/cib_remote.c     return cib;
cib               145 lib/cib/cib_remote.c cib_tls_close(cib_t * cib)
cib               147 lib/cib/cib_remote.c     cib_remote_opaque_t *private = cib->variant_opaque;
cib               192 lib/cib/cib_remote.c cib_tls_signon(cib_t *cib, pcmk__remote_t *connection, gboolean event_channel)
cib               194 lib/cib/cib_remote.c     cib_remote_opaque_t *private = cib->variant_opaque;
cib               233 lib/cib/cib_remote.c             cib_tls_close(cib);
cib               244 lib/cib/cib_remote.c             cib_tls_close(cib);
cib               293 lib/cib/cib_remote.c         cib_tls_close(cib);
cib               299 lib/cib/cib_remote.c                                          connection->tcp_socket, cib,
cib               318 lib/cib/cib_remote.c     cib_t *cib = user_data;
cib               319 lib/cib/cib_remote.c     cib_remote_opaque_t *private = cib->variant_opaque;
cib               337 lib/cib/cib_remote.c     cib_t *cib = user_data;
cib               338 lib/cib/cib_remote.c     cib_remote_opaque_t *private = cib->variant_opaque;
cib               353 lib/cib/cib_remote.c             cib_native_callback(cib, msg, 0, 0);
cib               356 lib/cib/cib_remote.c             g_list_foreach(cib->notify_list, cib_native_notify, msg);
cib               374 lib/cib/cib_remote.c cib_remote_signon(cib_t * cib, const char *name, enum cib_conn_type type)
cib               377 lib/cib/cib_remote.c     cib_remote_opaque_t *private = cib->variant_opaque;
cib               395 lib/cib/cib_remote.c         rc = cib_tls_signon(cib, &(private->command), FALSE);
cib               399 lib/cib/cib_remote.c         rc = cib_tls_signon(cib, &(private->callback), TRUE);
cib               413 lib/cib/cib_remote.c         cib->state = cib_connected_command;
cib               414 lib/cib/cib_remote.c         cib->type = cib_command;
cib               425 lib/cib/cib_remote.c cib_remote_signoff(cib_t * cib)
cib               433 lib/cib/cib_remote.c     cib_tls_close(cib);
cib               436 lib/cib/cib_remote.c     cib->state = cib_disconnected;
cib               437 lib/cib/cib_remote.c     cib->type = cib_no_connection;
cib               443 lib/cib/cib_remote.c cib_remote_free(cib_t * cib)
cib               448 lib/cib/cib_remote.c     if (cib->state != cib_disconnected) {
cib               449 lib/cib/cib_remote.c         rc = cib_remote_signoff(cib);
cib               451 lib/cib/cib_remote.c             cib_remote_opaque_t *private = cib->variant_opaque;
cib               456 lib/cib/cib_remote.c             free(cib->cmds);
cib               458 lib/cib/cib_remote.c             free(cib);
cib               466 lib/cib/cib_remote.c cib_remote_perform_op(cib_t * cib, const char *op, const char *host, const char *section,
cib               476 lib/cib/cib_remote.c     cib_remote_opaque_t *private = cib->variant_opaque;
cib               478 lib/cib/cib_remote.c     if (cib->state == cib_disconnected) {
cib               491 lib/cib/cib_remote.c     cib->call_id++;
cib               492 lib/cib/cib_remote.c     if (cib->call_id < 1) {
cib               493 lib/cib/cib_remote.c         cib->call_id = 1;
cib               497 lib/cib/cib_remote.c         cib_create_op(cib->call_id, private->callback.token, op, host, section, data, call_options,
cib               516 lib/cib/cib_remote.c         return cib->call_id;
cib               522 lib/cib/cib_remote.c     remaining_time = cib->call_timeout ? cib->call_timeout : 60;
cib               527 lib/cib/cib_remote.c         int msg_id = cib->call_id;
cib               603 lib/cib/cib_remote.c             crm_trace("No output in reply to \"%s\" command %d", op, cib->call_id - 1);
cib               615 lib/cib/cib_remote.c cib__set_output(cib_t *cib, pcmk__output_t *out)
cib               619 lib/cib/cib_remote.c     if (cib->variant != cib_remote) {
cib               623 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               470 lib/cib/cib_utils.c cib_native_callback(cib_t * cib, xmlNode * msg, int call_id, int rc)
cib               487 lib/cib/cib_utils.c     if (cib == NULL) {
cib               500 lib/cib/cib_utils.c     } else if (cib && cib->op_callback == NULL && rc != pcmk_ok) {
cib               510 lib/cib/cib_utils.c     if (cib && cib->op_callback != NULL) {
cib               512 lib/cib/cib_utils.c         cib->op_callback(msg, call_id, rc, output);
cib               645 lib/cib/cib_utils.c cib_internal_op(cib_t * cib, const char *op, const char *host,
cib               649 lib/cib/cib_utils.c     int (*delegate) (cib_t * cib, const char *op, const char *host,
cib               652 lib/cib/cib_utils.c         cib->delegate_fn;
cib               658 lib/cib/cib_utils.c     return delegate(cib, op, host, section, data, output_data, call_options, user_name);
cib               716 lib/cib/cib_utils.c cib__signon_query(cib_t **cib, xmlNode **cib_object)
cib               721 lib/cib/cib_utils.c     if (cib == NULL) {
cib               724 lib/cib/cib_utils.c         *cib = cib_new();
cib               725 lib/cib/cib_utils.c         cib_conn = *cib;
cib               740 lib/cib/cib_utils.c     if (cib == NULL) {
cib               752 lib/cib/cib_utils.c cib__clean_up_connection(cib_t **cib)
cib               756 lib/cib/cib_utils.c     if (*cib == NULL) {
cib               760 lib/cib/cib_utils.c     rc = (*cib)->cmds->signoff(*cib);
cib               761 lib/cib/cib_utils.c     cib_delete(*cib);
cib               762 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              1226 lib/cluster/membership.c refresh_known_node_cache(xmlNode *cib)
cib              1232 lib/cluster/membership.c     crm_foreach_xpath_result(cib, PCMK__XP_MEMBER_NODE_CONFIG,
cib              1240 lib/cluster/membership.c pcmk__refresh_node_caches_from_cib(xmlNode *cib)
cib              1242 lib/cluster/membership.c     crm_remote_peer_cache_refresh(cib);
cib              1243 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               141 lib/common/ipc_schedulerd.c do_schedulerd_api_call(pcmk_ipc_api_t *api, const char *task, xmlNode *cib, char **ref)
cib               154 lib/common/ipc_schedulerd.c     cmd = create_request(task, cib, NULL, CRM_SYSTEM_PENGINE,
cib               175 lib/common/ipc_schedulerd.c pcmk_schedulerd_api_graph(pcmk_ipc_api_t *api, xmlNode *cib, char **ref)
cib               177 lib/common/ipc_schedulerd.c     return do_schedulerd_api_call(api, CRM_OP_PECALC, cib, ref);
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                92 lib/pacemaker/libpacemaker_private.h void pcmk__inject_scheduler_input(pe_working_set_t *data_set, cib_t *cib,
cib               478 lib/pacemaker/pcmk_injections.c                       const char *attr_name, bool attr_value, cib_t *cib)
cib               485 lib/pacemaker/pcmk_injections.c     rc = find_ticket_state(out, cib, ticket_id, &ticket_state_xml);
cib               510 lib/pacemaker/pcmk_injections.c     rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, xml_top,
cib               528 lib/pacemaker/pcmk_injections.c inject_action(pcmk__output_t *out, const char *spec, cib_t *cib,
cib               573 lib/pacemaker/pcmk_injections.c     cib_node = pcmk__inject_node(cib, node, NULL);
cib               590 lib/pacemaker/pcmk_injections.c     rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node,
cib               609 lib/pacemaker/pcmk_injections.c pcmk__inject_scheduler_input(pe_working_set_t *data_set, cib_t *cib,
cib               625 lib/pacemaker/pcmk_injections.c         rc = cib->cmds->modify(cib, NULL, top, cib_sync_call|cib_scope_local);
cib               630 lib/pacemaker/pcmk_injections.c         rc = cib__update_node_attr(out, cib, cib_sync_call|cib_scope_local,
cib               642 lib/pacemaker/pcmk_injections.c         cib_node = pcmk__inject_node_state_change(cib, node, true);
cib               645 lib/pacemaker/pcmk_injections.c         rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node,
cib               657 lib/pacemaker/pcmk_injections.c         cib_node = pcmk__inject_node_state_change(cib, node, false);
cib               660 lib/pacemaker/pcmk_injections.c         rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node,
cib               667 lib/pacemaker/pcmk_injections.c         cib->cmds->remove(cib, xpath, NULL,
cib               673 lib/pacemaker/pcmk_injections.c         cib->cmds->remove(cib, xpath, NULL,
cib               683 lib/pacemaker/pcmk_injections.c         cib_node = pcmk__inject_node_state_change(cib, node, true);
cib               687 lib/pacemaker/pcmk_injections.c         rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node,
cib               698 lib/pacemaker/pcmk_injections.c         rc = set_ticket_state_attr(out, ticket_id, "granted", true, cib);
cib               707 lib/pacemaker/pcmk_injections.c         rc = set_ticket_state_attr(out, ticket_id, "granted", false, cib);
cib               716 lib/pacemaker/pcmk_injections.c         rc = set_ticket_state_attr(out, ticket_id, "standby", true, cib);
cib               725 lib/pacemaker/pcmk_injections.c         rc = set_ticket_state_attr(out, ticket_id, "standby", false, cib);
cib               730 lib/pacemaker/pcmk_injections.c         inject_action(out, (char *) iter->data, cib, data_set);
cib               723 lib/pacemaker/pcmk_sched_allocate.c unpack_cib(xmlNode *cib, unsigned long long flags, pe_working_set_t *data_set)
cib               731 lib/pacemaker/pcmk_sched_allocate.c     CRM_ASSERT(cib != NULL);
cib               742 lib/pacemaker/pcmk_sched_allocate.c     data_set->input = cib;
cib               755 lib/pacemaker/pcmk_sched_allocate.c pcmk__schedule_actions(xmlNode *cib, unsigned long long flags,
cib               758 lib/pacemaker/pcmk_sched_allocate.c     unpack_cib(cib, flags, data_set);
cib               722 lib/pacemaker/pcmk_simulate.c pcmk__simulate_transition(pe_working_set_t *data_set, cib_t *cib,
cib               737 lib/pacemaker/pcmk_simulate.c     fake_cib = cib;
cib               785 lib/pacemaker/pcmk_simulate.c     cib_t *cib = NULL;
cib               787 lib/pacemaker/pcmk_simulate.c     rc = cib__signon_query(&cib, &input);
cib               832 lib/pacemaker/pcmk_simulate.c         pcmk__inject_scheduler_input(data_set, cib, injections);
cib               835 lib/pacemaker/pcmk_simulate.c         rc = cib->cmds->query(cib, NULL, &input, cib_sync_call);
cib               933 lib/pacemaker/pcmk_simulate.c     if (pcmk__simulate_transition(data_set, cib,
cib               956 lib/pacemaker/pcmk_simulate.c     cib__clean_up_connection(&cib);
cib                25 lib/pacemaker/pcmk_status.c cib_connect(pcmk__output_t *out, cib_t *cib, xmlNode **current_cib)
cib                29 lib/pacemaker/pcmk_status.c     CRM_CHECK(cib != NULL, return EINVAL);
cib                31 lib/pacemaker/pcmk_status.c     if (cib->state == cib_connected_query ||
cib                32 lib/pacemaker/pcmk_status.c         cib->state == cib_connected_command) {
cib                38 lib/pacemaker/pcmk_status.c     rc = cib->cmds->signon(cib, crm_system_name, cib_query);
cib                47 lib/pacemaker/pcmk_status.c     rc = cib->cmds->query(cib, NULL, current_cib,
cib               139 lib/pacemaker/pcmk_status.c pcmk__output_cluster_status(pcmk__output_t *out, stonith_t *st, cib_t *cib,
cib               154 lib/pacemaker/pcmk_status.c         cib__clean_up_connection(&cib);
cib               208 lib/pacemaker/pcmk_status.c     cib_t *cib = NULL;
cib               214 lib/pacemaker/pcmk_status.c     cib = cib_new();
cib               216 lib/pacemaker/pcmk_status.c     if (cib == NULL) {
cib               222 lib/pacemaker/pcmk_status.c         cib_delete(cib);
cib               230 lib/pacemaker/pcmk_status.c     rc = pcmk__status(out, cib, pcmk__fence_history_full, pcmk_section_all,
cib               234 lib/pacemaker/pcmk_status.c     cib_delete(cib);
cib               239 lib/pacemaker/pcmk_status.c pcmk__status(pcmk__output_t *out, cib_t *cib, enum pcmk__fence_history fence_history,
cib               247 lib/pacemaker/pcmk_status.c     if (cib == NULL) {
cib               251 lib/pacemaker/pcmk_status.c     if (cib->variant == cib_native) {
cib               252 lib/pacemaker/pcmk_status.c         if (cib->state == cib_connected_query || cib->state == cib_connected_command) {
cib               263 lib/pacemaker/pcmk_status.c     if (fence_history != pcmk__fence_history_none && cib->variant == cib_native) {
cib               271 lib/pacemaker/pcmk_status.c     rc = cib_connect(out, cib, &current_cib);
cib               276 lib/pacemaker/pcmk_status.c     rc = pcmk__output_cluster_status(out, st, cib, current_cib, fence_history, show, show_opts,
cib                74 tools/crm_mon.c static cib_t *cib = NULL;
cib               695 tools/crm_mon.c     if (cib) {
cib               696 tools/crm_mon.c         cib->cmds->signoff(cib);
cib               777 tools/crm_mon.c     CRM_CHECK(cib != NULL, return EINVAL);
cib               779 tools/crm_mon.c     if (cib->state == cib_connected_query ||
cib               780 tools/crm_mon.c         cib->state == cib_connected_command) {
cib               786 tools/crm_mon.c     rc = pcmk_legacy2rc(cib->cmds->signon(cib, crm_system_name, cib_query));
cib               798 tools/crm_mon.c     rc = pcmk_legacy2rc(cib->cmds->query(cib, NULL, &current_cib,
cib               802 tools/crm_mon.c         rc = pcmk_legacy2rc(cib->cmds->set_connection_dnotify(cib,
cib               815 tools/crm_mon.c             cib->cmds->del_notify_callback(cib, T_CIB_DIFF_NOTIFY,
cib               817 tools/crm_mon.c             rc = pcmk_legacy2rc(cib->cmds->add_notify_callback(cib,
cib               823 tools/crm_mon.c             cib__clean_up_connection(&cib);
cib               921 tools/crm_mon.c     if (cib != NULL &&
cib               922 tools/crm_mon.c         (cib->state == cib_connected_query ||
cib               923 tools/crm_mon.c          cib->state == cib_connected_command)) {
cib              1330 tools/crm_mon.c     int rc = pcmk__status(out, cib, fence_history, show, show_opts,
cib              1345 tools/crm_mon.c     if (cib != NULL) {
cib              1411 tools/crm_mon.c         cib = cib_new();
cib              1415 tools/crm_mon.c         switch (cib->variant) {
cib              1502 tools/crm_mon.c         cib_delete(cib);
cib              1503 tools/crm_mon.c         cib = NULL;
cib              1505 tools/crm_mon.c         cib = cib_new();
cib              1549 tools/crm_mon.c         if (cib->variant == cib_file) {
cib              1582 tools/crm_mon.c     cib__set_output(cib, out);
cib              1958 tools/crm_mon.c         cib->cmds->query(cib, NULL, &current_cib, cib_scope_local | cib_sync_call);
cib              2009 tools/crm_mon.c     rc = pcmk__output_cluster_status(out, st, cib, current_cib, fence_history,
cib              2139 tools/crm_mon.c     cib__clean_up_connection(&cib);
cib               333 tools/crm_node.c     cib_t *cib = NULL;
cib               353 tools/crm_node.c     cib = cib_new();
cib               354 tools/crm_node.c     cib->cmds->signon(cib, crm_system_name, cib_command);
cib               356 tools/crm_node.c     rc = cib->cmds->remove(cib, XML_CIB_TAG_NODES, node, cib_sync_call);
cib               361 tools/crm_node.c     rc = cib->cmds->remove(cib, XML_CIB_TAG_STATUS, node_state, cib_sync_call);
cib               367 tools/crm_node.c     cib__clean_up_connection(&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               195 tools/crm_resource_runtime.c                                        cib_t * cib, const char * cmd, int depth)
cib               205 tools/crm_resource_runtime.c                                                attr_id, attr_name, cib, cmd, depth+1);
cib               212 tools/crm_resource_runtime.c     rc = find_resource_attr(out, cib, XML_ATTR_ID, lookup_id, attr_set_type,
cib               231 tools/crm_resource_runtime.c                              const char * attr_name, cib_t * cib, const char * cmd,
cib               247 tools/crm_resource_runtime.c         rc = find_resource_attr(out, cib, XML_ATTR_ID, rsc_id, attr_set_type,
cib               262 tools/crm_resource_runtime.c             rc = find_resource_attr(out, cib, XML_ATTR_ID, lookup_id, attr_set_type,
cib               279 tools/crm_resource_runtime.c                                            cib, cmd, 0);
cib               289 tools/crm_resource_runtime.c                               cib_t *cib, int cib_options,
cib               303 tools/crm_resource_runtime.c         find_resource_attr (out, cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL,
cib               309 tools/crm_resource_runtime.c             rc = find_resource_attr(out, cib, XML_ATTR_ID, uber_parent(rsc)->id,
cib               327 tools/crm_resource_runtime.c                                                  attr_id, attr_name, cib, "update", force);
cib               346 tools/crm_resource_runtime.c         rc = find_resource_attr(out, cib, XML_ATTR_ID, lookup_id, attr_set_type,
cib               386 tools/crm_resource_runtime.c         rc = cib->cmds->modify(cib, XML_CIB_TAG_RESOURCES, xml_top, cib_options);
cib               425 tools/crm_resource_runtime.c                                                   recursive, cib, cib_options,
cib               440 tools/crm_resource_runtime.c                               cib_t *cib, int cib_options,
cib               448 tools/crm_resource_runtime.c         find_resource_attr(out, cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL,
cib               454 tools/crm_resource_runtime.c                                                  attr_id, attr_name, cib, "delete", force);
cib               467 tools/crm_resource_runtime.c         rc = find_resource_attr(out, cib, XML_ATTR_ID, lookup_id, attr_set_type,
cib               488 tools/crm_resource_runtime.c         CRM_ASSERT(cib);
cib               489 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              1132 tools/crm_resource_runtime.c     rc = update_working_set_from_cib(out, data_set, cib);
cib              1271 tools/crm_resource_runtime.c                      const char *move_lifetime, int timeout_ms, cib_t *cib,
cib              1372 tools/crm_resource_runtime.c     rc = update_dataset(cib, data_set, false);
cib              1387 tools/crm_resource_runtime.c         rc = cli_resource_ban(out, lookup_id, host, move_lifetime, NULL, cib,
cib              1396 tools/crm_resource_runtime.c         find_resource_attr(out, cib, XML_NVPAIR_ATTR_VALUE, lookup_id, NULL, NULL,
cib              1400 tools/crm_resource_runtime.c                                            RSC_STOPPED, FALSE, cib, cib_options,
cib              1416 tools/crm_resource_runtime.c     rc = update_dataset(cib, data_set, true);
cib              1443 tools/crm_resource_runtime.c             rc = update_dataset(cib, data_set, FALSE);
cib              1473 tools/crm_resource_runtime.c         rc = cli_resource_clear(lookup_id, host, NULL, cib, cib_options, true, force);
cib              1478 tools/crm_resource_runtime.c                                            orig_target_role, FALSE, cib,
cib              1484 tools/crm_resource_runtime.c                                            NULL, XML_RSC_ATTR_TARGET_ROLE, cib,
cib              1518 tools/crm_resource_runtime.c             rc = update_dataset(cib, data_set, false);
cib              1554 tools/crm_resource_runtime.c         cli_resource_clear(lookup_id, host, NULL, cib, cib_options, true, force);
cib              1558 tools/crm_resource_runtime.c                                       FALSE, cib, cib_options, data_set, force);
cib              1562 tools/crm_resource_runtime.c                                       XML_RSC_ATTR_TARGET_ROLE, cib, cib_options,
cib              1660 tools/crm_resource_runtime.c wait_till_stable(pcmk__output_t *out, int timeout_ms, cib_t * cib)
cib              1691 tools/crm_resource_runtime.c         rc = update_working_set_from_cib(out, data_set, cib);
cib              1878 tools/crm_resource_runtime.c                      int timeout_ms, cib_t * cib, pe_working_set_t *data_set,
cib              1940 tools/crm_resource_runtime.c                   const char *move_lifetime, cib_t *cib, int cib_options,
cib              2012 tools/crm_resource_runtime.c     cli_resource_clear(rsc_id, NULL, data_set->nodes, cib, cib_options, false, force);
cib              2015 tools/crm_resource_runtime.c     cli_resource_clear(rsc_id, dest->details->uname, data_set->nodes, cib,
cib              2020 tools/crm_resource_runtime.c                              cib, cib_options, promoted_role_only);
cib              2033 tools/crm_resource_runtime.c                                    NULL, cib, cib_options, promoted_role_only);
cib               577 tools/crm_ticket.c modify_ticket_state(gchar * ticket_id, cib_t * cib, pe_working_set_t * data_set)
cib               592 tools/crm_ticket.c     rc = find_ticket_state(cib, ticket_id, &ticket_state_xml);
cib               637 tools/crm_ticket.c         rc = cib->cmds->replace(cib, XML_CIB_TAG_STATUS, ticket_state_xml, cib_options);
cib               642 tools/crm_ticket.c         rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, xml_top, cib_options);
cib               651 tools/crm_ticket.c delete_ticket_state(gchar *ticket_id, cib_t * cib)
cib               657 tools/crm_ticket.c     rc = find_ticket_state(cib, ticket_id, &ticket_state_xml);
cib               668 tools/crm_ticket.c     rc = cib->cmds->remove(cib, XML_CIB_TAG_STATUS, ticket_state_xml, cib_options);