input 1189 cib/callbacks.c xmlNode *input = NULL; input 1230 cib/callbacks.c rc2 = cib_op_prepare(call_type, request, &input, §ion); input 1241 cib/callbacks.c section, request, input, FALSE, &config_changed, input 1277 cib/callbacks.c section, request, input, manage_counters, &config_changed, input 1360 cib/callbacks.c cib_diff_notify(call_options, client, call_id, op, input, rc, *cib_diff); input 1398 cib/callbacks.c cib_op_cleanup(call_type, call_options, &input, &output); input 25 cib/cibmessages.h xmlNode * req, xmlNode * input, input 30 cib/cibmessages.h xmlNode * req, xmlNode * input, xmlNode * existing_cib, input 34 cib/cibmessages.h xmlNode * req, xmlNode * input, xmlNode * existing_cib, input 38 cib/cibmessages.h xmlNode * req, xmlNode * input, xmlNode * existing_cib, input 42 cib/cibmessages.h xmlNode * req, xmlNode * input, xmlNode * existing_cib, input 46 cib/cibmessages.h xmlNode * req, xmlNode * input, input 51 cib/cibmessages.h xmlNode * req, xmlNode * input, input 56 cib/cibmessages.h xmlNode * req, xmlNode * input, xmlNode * existing_cib, input 60 cib/cibmessages.h xmlNode * req, xmlNode * input, xmlNode * existing_cib, input 64 cib/cibmessages.h xmlNode * req, xmlNode * input, input 69 cib/cibmessages.h xmlNode * req, xmlNode * input, input 338 cib/common.c cib_op_prepare(int call_type, xmlNode * request, xmlNode ** input, const char **section) input 341 cib/common.c return cib_server_ops[call_type].prepare(request, input, section); input 345 cib/common.c cib_op_cleanup(int call_type, int options, xmlNode ** input, xmlNode ** output) input 348 cib/common.c return cib_server_ops[call_type].cleanup(options, input, output); input 28 cib/common.h extern int cib_op_prepare(int call_type, xmlNode * request, xmlNode ** input, const char **section); input 29 cib/common.h extern int cib_op_cleanup(int call_type, int options, xmlNode ** input, xmlNode ** output); input 69 cib/messages.c xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 96 cib/messages.c xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 119 cib/messages.c cib_process_quit(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, input 133 cib/messages.c xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 187 cib/messages.c cib_process_ping(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, input 234 cib/messages.c cib_process_sync(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, input 241 cib/messages.c cib_process_upgrade_server(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, input 250 cib/messages.c op, options, section, req, input, existing_cib, result_cib, answer); input 281 cib/messages.c op, options, section, up, input, existing_cib, result_cib, answer); input 300 cib/messages.c xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 308 cib/messages.c xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 330 cib/messages.c cib_diff_version_details(input, input 341 cib/messages.c rc = cib_process_diff(op, options, section, req, input, existing_cib, result_cib, answer); input 358 cib/messages.c xml_log_patchset(LOG_INFO, __FUNCTION__, input); input 369 cib/messages.c xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 372 cib/messages.c const char *tag = crm_element_name(input); input 374 cib/messages.c cib_process_replace(op, options, section, req, input, existing_cib, result_cib, answer); input 440 cib/messages.c xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 454 cib/messages.c } else if (safe_str_eq(crm_element_name(input), XML_TAG_CIB)) { input 460 cib/messages.c if (input == NULL) { input 468 cib/messages.c result = delete_cib_object(update_section, input); input 469 cib/messages.c update_results(failed, input, op, result); input 77 crmd/crmd_lrm.h ha_msg_input_t *input; input 41 crmd/crmd_messages.h extern void register_fsa_error_adv(enum crmd_fsa_cause cause, enum crmd_fsa_input input, input 44 crmd/crmd_messages.h # define register_fsa_error(cause, input, new_data) register_fsa_error_adv(cause, input, msg_data, new_data, __FUNCTION__) input 46 crmd/crmd_messages.h extern int register_fsa_input_adv(enum crmd_fsa_cause cause, enum crmd_fsa_input input, input 51 crmd/crmd_messages.h extern void route_message(enum crmd_fsa_cause cause, xmlNode * input); input 65 crmd/crmd_messages.h # define register_fsa_input(cause, input, data) register_fsa_input_adv(cause, input, data, A_NOTHING, FALSE, __FUNCTION__) input 76 crmd/crmd_messages.h # define register_fsa_input_before(cause, input, data) register_fsa_input_adv(cause, input, data, A_NOTHING, TRUE, __FUNCTION__) input 78 crmd/crmd_messages.h # define register_fsa_input_later(cause, input, data) register_fsa_input_adv(cause, input, data, A_NOTHING, FALSE, __FUNCTION__) input 487 crmd/fsa.c const char *input = fsa_input2string(current_input); input 492 crmd/fsa.c state_from, state_to, input, fsa_cause2string(cause), msg_data->origin); input 508 crmd/fsa.c state_from, state_to, input, fsa_cause2string(cause), input 493 crmd/fsa_defines.h extern const char *fsa_input2string(enum crmd_fsa_input input); input 122 crmd/join_client.c ha_msg_input_t *input = fsa_typed_data(fsa_dt_ha_msg); input 123 crmd/join_client.c const char *welcome_from = crm_element_value(input->msg, F_CRM_HOST_FROM); input 124 crmd/join_client.c const char *join_id = crm_element_value(input->msg, F_CRM_JOIN_ID); input 136 crmd/join_client.c welcome_from, crm_element_value(input->msg, F_CRM_JOIN_ID)); input 145 crmd/join_client.c if (update_dc(input->msg) == FALSE) { input 151 crmd/join_client.c update_dc_expected(input->msg); input 153 crmd/join_client.c CRM_LOG_ASSERT(input != NULL); input 237 crmd/join_client.c ha_msg_input_t *input = fsa_typed_data(fsa_dt_ha_msg); input 241 crmd/join_client.c const char *op = crm_element_value(input->msg, F_CRM_TASK); input 242 crmd/join_client.c const char *ack_nack = crm_element_value(input->msg, CRM_OP_JOIN_ACKNAK); input 243 crmd/join_client.c const char *welcome_from = crm_element_value(input->msg, F_CRM_HOST_FROM); input 255 crmd/join_client.c crm_element_value_int(input->msg, F_CRM_JOIN_ID, &join_id); input 269 crmd/join_client.c if (update_dc(input->msg) == FALSE) { input 275 crmd/join_client.c update_dc_expected(input->msg); input 292 crmd/lrm.c send_task_ok_ack(lrm_state_t *lrm_state, ha_msg_input_t *input, input 296 crmd/lrm.c lrmd_event_data_t *op = construct_op(lrm_state, input->xml, rsc_id, task); input 878 crmd/lrm.c notify_deleted(lrm_state_t * lrm_state, ha_msg_input_t * input, const char *rsc_id, int rc) input 881 crmd/lrm.c const char *from_sys = crm_element_value(input->msg, F_CRM_SYS_FROM); input 882 crmd/lrm.c const char *from_host = crm_element_value(input->msg, F_CRM_HOST_FROM); input 888 crmd/lrm.c op = construct_op(lrm_state, input->xml, rsc_id, CRMD_ACTION_DELETE); input 923 crmd/lrm.c notify_deleted(event->lrm_state, op->input, event->rsc, event->rc); input 972 crmd/lrm.c delete_rsc_entry(lrm_state_t * lrm_state, ha_msg_input_t * input, const char *rsc_id, input 993 crmd/lrm.c if (input) { input 994 crmd/lrm.c notify_deleted(lrm_state, input, rsc_id, rc); input 1333 crmd/lrm.c op->input = copy_ha_msg_input(request); input 1480 crmd/lrm.c ha_msg_input_t *input = fsa_typed_data(fsa_dt_ha_msg); input 1486 crmd/lrm.c if (input->xml != NULL) { input 1488 crmd/lrm.c target_node = crm_element_value(input->xml, XML_LRM_ATTR_TARGET); input 1503 crmd/lrm.c synthesize_lrmd_failure(NULL, input->xml, PCMK_OCF_CONNECTION_DIED); input 1510 crmd/lrm.c user_name = crm_acl_get_set_user(input->msg, F_CRM_USER, NULL); input 1514 crmd/lrm.c crm_op = crm_element_value(input->msg, F_CRM_TASK); input 1515 crmd/lrm.c from_sys = crm_element_value(input->msg, F_CRM_SYS_FROM); input 1517 crmd/lrm.c from_host = crm_element_value(input->msg, F_CRM_HOST_FROM); input 1533 crmd/lrm.c xmlNode *xml_rsc = find_xml_node(input->xml, XML_CIB_TAG_RESOURCE, TRUE); input 1546 crmd/lrm.c op = construct_op(lrm_state, input->xml, ID(xml_rsc), "asyncmon"); input 1567 crmd/lrm.c rsc = get_lrm_resource(lrm_state, xml_rsc, input->xml, create_rsc); input 1576 crmd/lrm.c crm_log_xml_warn(input->msg, "bad input"); input 1583 crmd/lrm.c } else if (input->xml != NULL) { input 1584 crmd/lrm.c operation = crm_element_value(input->xml, XML_LRM_ATTR_TASK); input 1611 crmd/lrm.c xmlNode *reply = create_reply(input->msg, data); input 1646 crmd/lrm.c xmlNode *xml_rsc = find_xml_node(input->xml, XML_CIB_TAG_RESOURCE, TRUE); input 1650 crmd/lrm.c params = find_xml_node(input->xml, XML_TAG_ATTRS, TRUE); input 1657 crmd/lrm.c synthesize_lrmd_failure(lrm_state, input->xml, PCMK_OCF_CONNECTION_DIED); input 1661 crmd/lrm.c rsc = get_lrm_resource(lrm_state, xml_rsc, input->xml, create_rsc); input 1664 crmd/lrm.c crm_log_xml_warn(input->msg, "bad input"); input 1668 crmd/lrm.c synthesize_lrmd_failure(lrm_state, input->xml, PCMK_OCF_NOT_CONFIGURED); input 1671 crmd/lrm.c crm_notice("Not creating resource for a %s event: %s", operation, ID(input->xml)); input 1672 crmd/lrm.c delete_rsc_entry(lrm_state, input, ID(xml_rsc), NULL, pcmk_ok, user_name); input 1675 crmd/lrm.c send_task_ok_ack(lrm_state, input, ID(xml_rsc), NULL, operation, input 1687 crmd/lrm.c CRM_CHECK(params != NULL, crm_log_xml_warn(input->xml, "Bad command"); input 1702 crmd/lrm.c CRM_CHECK(op_task != NULL, crm_log_xml_warn(input->xml, "Bad command"); input 1704 crmd/lrm.c CRM_CHECK(op_interval != NULL, crm_log_xml_warn(input->xml, "Bad command"); input 1729 crmd/lrm.c send_task_ok_ack(lrm_state, input, rsc->id, rsc, op_task, input 1749 crmd/lrm.c send_task_ok_ack(lrm_state, input, rsc->id, rsc, op_task, input 1769 crmd/lrm.c op = construct_op(lrm_state, input->xml, rsc->id, operation); input 1787 crmd/lrm.c delete_resource(lrm_state, rsc->id, rsc, NULL, from_sys, from_host, user_name, input, unregister); input 1790 crmd/lrm.c do_lrm_rsc_op(lrm_state, rsc, operation, input->xml, input->msg); input 54 crmd/lrm_state.c delete_ha_msg_input(op->input); input 54 crmd/messages.c register_fsa_error_adv(enum crmd_fsa_cause cause, enum crmd_fsa_input input, input 70 crmd/messages.c register_fsa_input_adv(cause, input, new_data, A_NOTHING, TRUE, raised_from); input 74 crmd/messages.c register_fsa_input_adv(enum crmd_fsa_cause cause, enum crmd_fsa_input input, input 83 crmd/messages.c if (input == I_NULL && with_actions == A_NOTHING /* && data == NULL */ ) { input 89 crmd/messages.c if (input == I_WAIT_FOR_EVENT) { input 113 crmd/messages.c fsa_input2string(input), fsa_cause2string(cause), data ? "with" : "without"); input 117 crmd/messages.c fsa_data->fsa_input = input; input 183 crmd/messages.c if (fsa_source && input != I_WAIT_FOR_EVENT) { input 315 crmd/messages.c ha_msg_input_t *input = fsa_typed_data(fsa_dt_ha_msg); input 317 crmd/messages.c route_message(msg_data->fsa_cause, input->msg); input 321 crmd/messages.c route_message(enum crmd_fsa_cause cause, xmlNode * input) input 326 crmd/messages.c fsa_input.msg = input; input 330 crmd/messages.c if (relay_message(input, cause == C_IPC_MESSAGE)) { input 335 crmd/messages.c result = handle_message(input, cause); input 49 crmd/misc.c ha_msg_input_t *input = fsa_typed_data(msg_data->data_type); input 51 crmd/misc.c crm_log_xml_debug(input->msg, __FUNCTION__); input 54 crmd/misc.c xmlNode *input = fsa_typed_data(msg_data->data_type); input 56 crmd/misc.c crm_log_xml_debug(input, __FUNCTION__); input 59 crmd/misc.c lrmd_event_data_t *input = fsa_typed_data(msg_data->data_type); input 64 crmd/misc.c input->rsc_id, input->call_id, input->rc, input 65 crmd/misc.c input->op_status, (char *)input->user_data); input 158 crmd/tengine.c ha_msg_input_t *input = fsa_typed_data(fsa_dt_ha_msg); input 159 crmd/tengine.c const char *ref = crm_element_value(input->msg, XML_ATTR_REFERENCE); input 160 crmd/tengine.c const char *graph_file = crm_element_value(input->msg, F_CRM_TGRAPH); input 161 crmd/tengine.c const char *graph_input = crm_element_value(input->msg, F_CRM_TGRAPH_INPUT); input 163 crmd/tengine.c if (graph_file == NULL && input->xml == NULL) { input 164 crmd/tengine.c crm_log_xml_err(input->msg, "Bad command"); input 180 crmd/tengine.c graph_data = input->xml; input 193 crmd/tengine.c crm_log_xml_err(input->msg, "Bad command"); input 218 crmd/tengine.c if (graph_data != input->xml) { input 224 crmd/utils.c fsa_input2string(enum crmd_fsa_input input) input 228 crmd/utils.c switch (input) { input 334 crmd/utils.c crm_err("Input %d is unknown", input); input 730 fencing/main.c data_set.input = local_cib; input 741 fencing/main.c data_set.input = NULL; /* Wasn't a copy */ input 125 include/crm/cib/internal.h const char *section, xmlNode * req, xmlNode * input, input 149 include/crm/cib/internal.h xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 153 include/crm/cib/internal.h xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 157 include/crm/cib/internal.h xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 161 include/crm/cib/internal.h xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 165 include/crm/cib/internal.h xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 169 include/crm/cib/internal.h xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 173 include/crm/cib/internal.h xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 177 include/crm/cib/internal.h xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 181 include/crm/cib/internal.h xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 204 include/crm/cib/internal.h xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 68 include/crm/cib/util.h int cib_apply_patch_event(xmlNode * event, xmlNode * input, xmlNode ** output, int level); input 115 include/crm/common/util.h long long crm_get_msec(const char *input); input 116 include/crm/common/util.h unsigned long long crm_get_interval(const char *input); input 158 include/crm/common/xml.h xmlNode *string2xml(const char *input); input 240 include/crm/common/xml.h char *calculate_xml_versioned_digest(xmlNode * input, gboolean sort, gboolean do_filter, input 356 include/crm/common/xml.h xmlNode *sorted_xml(xmlNode * input, xmlNode * parent, gboolean recursive); input 360 include/crm/common/xml.h xmlNode *expand_idref(xmlNode * input, xmlNode * top); input 232 include/crm/compatibility.h calculate_xml_digest(xmlNode * input, gboolean sort, gboolean do_filter) input 234 include/crm/compatibility.h return calculate_xml_digest_v1(input, sort, do_filter); input 229 include/crm/pengine/internal.h extern action_t *find_first_action(GListPtr input, const char *uuid, const char *task, input 234 include/crm/pengine/internal.h extern GListPtr find_actions(GListPtr input, const char *key, const node_t *on_node); input 235 include/crm/pengine/internal.h extern GListPtr find_actions_exact(GListPtr input, const char *key, node_t * on_node); input 236 include/crm/pengine/internal.h extern GListPtr find_recurring_actions(GListPtr input, node_t * not_on_node); input 86 include/crm/pengine/status.h xmlNode *input; input 356 include/crm_internal.h gboolean crm_digest_verify(xmlNode *input, const char *expected); input 38 lib/cib/cib_ops.c cib_process_query(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, input 47 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, input 83 lib/cib/cib_ops.c cib_process_erase(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, input 101 lib/cib/cib_ops.c xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 134 lib/cib/cib_ops.c cib_process_bump(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, input 177 lib/cib/cib_ops.c xmlNode * input, xmlNode * existing_cib, xmlNode ** result_cib, input 186 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, input 192 lib/cib/cib_ops.c if (input == NULL) { input 196 lib/cib/cib_ops.c tag = crm_element_name(input); input 220 lib/cib/cib_ops.c char *digest_verify = calculate_xml_versioned_digest(input, FALSE, TRUE, input 239 lib/cib/cib_ops.c cib_version_details(input, &replace_admin_epoch, &replace_epoch, &replace_updates); input 270 lib/cib/cib_ops.c *result_cib = copy_xml(input); input 277 lib/cib/cib_ops.c ok = replace_xml_child(NULL, obj_root, input, FALSE); input 288 lib/cib/cib_ops.c cib_process_delete(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, input 296 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, input 300 lib/cib/cib_ops.c if (input == NULL) { input 306 lib/cib/cib_ops.c if(safe_str_eq(crm_element_name(input), section)) { input 308 lib/cib/cib_ops.c for(child = __xml_first_child(input); child; child = __xml_next(child)) { input 314 lib/cib/cib_ops.c } else if (replace_xml_child(NULL, obj_root, input, TRUE) == FALSE) { input 315 lib/cib/cib_ops.c crm_trace("No matching object to delete: %s=%s", input->name, ID(input)); input 322 lib/cib/cib_ops.c cib_process_modify(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, input 330 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, input 334 lib/cib/cib_ops.c if (input == NULL) { input 357 lib/cib/cib_ops.c if (update_xml_child(obj_root, input) == FALSE) { input 359 lib/cib/cib_ops.c add_node_copy(obj_root, input); input 526 lib/cib/cib_ops.c cib_process_create(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, input 540 lib/cib/cib_ops.c } else if (safe_str_eq(crm_element_name(input), XML_TAG_CIB)) { input 546 lib/cib/cib_ops.c if (input == NULL) { input 552 lib/cib/cib_ops.c return cib_process_modify(op, options, section, req, input, existing_cib, result_cib, input 559 lib/cib/cib_ops.c if (safe_str_eq(crm_element_name(input), section)) { input 562 lib/cib/cib_ops.c for (a_child = __xml_first_child(input); a_child != NULL; a_child = __xml_next(a_child)) { input 570 lib/cib/cib_ops.c result = add_cib_object(update_section, input); input 571 lib/cib/cib_ops.c update_results(failed, input, op, result); input 590 lib/cib/cib_ops.c cib_process_diff(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, input 604 lib/cib/cib_ops.c return xml_apply_patchset(*result_cib, input, TRUE); input 680 lib/cib/cib_ops.c cib_process_xpath(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, input 743 lib/cib/cib_ops.c if (update_xml_child(match, input) == FALSE) { input 750 lib/cib/cib_ops.c add_node_copy(match, input); input 817 lib/cib/cib_ops.c if (input != NULL) { input 818 lib/cib/cib_ops.c add_node_copy(parent, input); input 292 lib/cib/cib_utils.c const char *section, xmlNode * req, xmlNode * input, input 339 lib/cib/cib_utils.c rc = (*fn) (op, call_options, section, req, input, cib_ro, result_cib, output); input 375 lib/cib/cib_utils.c rc = (*fn) (op, call_options, section, req, input, scratch, &scratch, output); input 380 lib/cib/cib_utils.c rc = (*fn) (op, call_options, section, req, input, current_cib, &scratch, output); input 427 lib/cib/cib_utils.c crm_log_xml_warn(input, "Bad Data"); input 437 lib/cib/cib_utils.c crm_log_xml_warn(input, "Bad Data"); input 773 lib/cib/cib_utils.c cib_apply_patch_event(xmlNode * event, xmlNode * input, xmlNode ** output, int level) input 780 lib/cib/cib_utils.c CRM_ASSERT(input); input 794 lib/cib/cib_utils.c if (input != NULL) { input 795 lib/cib/cib_utils.c rc = cib_process_diff(NULL, cib_none, NULL, event, diff, input, output, NULL); input 64 lib/common/digest.c calculate_xml_digest_v1(xmlNode * input, gboolean sort, gboolean ignored) input 72 lib/common/digest.c copy = sorted_xml(input, NULL, TRUE); input 74 lib/common/digest.c input = copy; input 77 lib/common/digest.c buffer = dump_xml_for_digest(input); input 83 lib/common/digest.c crm_log_xml_trace(input, "digest:source"); input 156 lib/common/digest.c calculate_on_disk_digest(xmlNode * input) input 163 lib/common/digest.c return calculate_xml_digest_v1(input, FALSE, FALSE); input 175 lib/common/digest.c calculate_operation_digest(xmlNode *input, const char *version) input 178 lib/common/digest.c return calculate_xml_digest_v1(input, TRUE, FALSE); input 192 lib/common/digest.c calculate_xml_versioned_digest(xmlNode * input, gboolean sort, gboolean do_filter, input 206 lib/common/digest.c return calculate_xml_digest_v1(input, sort, do_filter); input 209 lib/common/digest.c return calculate_xml_digest_v2(input, do_filter); input 222 lib/common/digest.c crm_digest_verify(xmlNode *input, const char *expected) input 227 lib/common/digest.c if (input != NULL) { input 228 lib/common/digest.c calculated = calculate_on_disk_digest(input); input 234 lib/common/strings.c null2emptystr(const char *input) input 236 lib/common/strings.c return (input == NULL) ? "" : input; input 573 lib/common/utils.c crm_get_interval(const char *input) input 577 lib/common/utils.c if (input == NULL) { input 580 lib/common/utils.c } else if (input[0] != 'P') { input 581 lib/common/utils.c long long tmp = crm_get_msec(input); input 588 lib/common/utils.c crm_time_t *interval = crm_time_parse_duration(input); input 598 lib/common/utils.c crm_get_msec(const char *input) input 600 lib/common/utils.c const char *cp = input; input 609 lib/common/utils.c if (input == NULL) { input 244 lib/common/xml.c int get_tag_name(const char *input, size_t offset, size_t max); input 245 lib/common/xml.c int get_attr_name(const char *input, size_t offset, size_t max); input 246 lib/common/xml.c int get_attr_value(const char *input, size_t offset, size_t max); input 2750 lib/common/xml.c string2xml(const char *input) input 2757 lib/common/xml.c if (input == NULL) { input 2772 lib/common/xml.c xmlCtxtReadDoc(ctxt, (const xmlChar *)input, NULL, NULL, input 2791 lib/common/xml.c crm_err("Couldn't%s parse %d chars: %s", xml ? " fully" : "", (int)strlen(input), input 2792 lib/common/xml.c input); input 2798 lib/common/xml.c int len = strlen(input); input 2802 lib/common/xml.c crm_warn("Parse error[+%.3d]: %.80s", lpc, input+lpc); input 2861 lib/common/xml.c FILE *input = fopen(filename, "r"); input 2863 lib/common/xml.c if (input == NULL) { input 2868 lib/common/xml.c bz_file = BZ2_bzReadOpen(&rc, input, 0, 0, NULL, 0); input 2896 lib/common/xml.c fclose(input); input 2965 lib/common/xml.c char *input = decompress_file(filename); input 2967 lib/common/xml.c output = xmlCtxtReadDoc(ctxt, (const xmlChar *)input, NULL, NULL, xml_options); input 2968 lib/common/xml.c free(input); input 5009 lib/common/xml.c sorted_xml(xmlNode * input, xmlNode * parent, gboolean recursive) input 5019 lib/common/xml.c CRM_CHECK(input != NULL, return NULL); input 5021 lib/common/xml.c name = crm_element_name(input); input 5026 lib/common/xml.c for (pIter = crm_first_attr(input); pIter != NULL; pIter = pIter->next) { input 5041 lib/common/xml.c for (child = __xml_first_child(input); child != NULL; child = __xml_next(child)) { input 5125 lib/common/xml.c expand_idref(xmlNode * input, xmlNode * top) input 5129 lib/common/xml.c xmlNode *result = input; input 5136 lib/common/xml.c top = input; input 135 lib/pengine/complex.c const char *version = crm_element_value(data_set->input, XML_ATTR_CRM_VERSION); input 152 lib/pengine/complex.c unpack_instance_attributes(data_set->input, rsc->xml, XML_TAG_META_SETS, node_hash, input 159 lib/pengine/complex.c unpack_instance_attributes(data_set->input, rsc->xml, XML_TAG_ATTR_SETS, node_hash, input 169 lib/pengine/complex.c unpack_instance_attributes(data_set->input, data_set->rsc_defaults, XML_TAG_META_SETS, input 183 lib/pengine/complex.c unpack_instance_attributes(data_set->input, rsc->xml, XML_TAG_ATTR_SETS, node_hash, input 192 lib/pengine/complex.c unpack_instance_attributes(data_set->input, data_set->rsc_defaults, XML_TAG_ATTR_SETS, input 208 lib/pengine/complex.c pe_unpack_versioned_attributes(data_set->input, rsc->xml, XML_TAG_ATTR_SETS, node_hash, input 217 lib/pengine/complex.c pe_unpack_versioned_attributes(data_set->input, data_set->rsc_defaults, XML_TAG_ATTR_SETS, input 273 lib/pengine/complex.c cib_resources = get_xpath_object("//"XML_CIB_TAG_RESOURCES, data_set->input, LOG_TRACE); input 513 lib/pengine/complex.c (*rsc)->ops_xml = expand_idref(ops, data_set->input); input 844 lib/pengine/complex.c unpack_instance_attributes(data_set->input, (*rsc)->xml, XML_TAG_UTILIZATION, NULL, input 119 lib/pengine/failcounts.c lrm_op_xpathObj = xpath_search(data_set->input, lrm_op_xpath); input 224 lib/pengine/failcounts.c const char *version = crm_element_value(data_set->input, XML_ATTR_CRM_VERSION); input 53 lib/pengine/status.c xmlNode *config = get_xpath_object("//"XML_CIB_TAG_CRMCONFIG, data_set->input, LOG_TRACE); input 54 lib/pengine/status.c xmlNode *cib_nodes = get_xpath_object("//"XML_CIB_TAG_NODES, data_set->input, LOG_TRACE); input 55 lib/pengine/status.c xmlNode *cib_resources = get_xpath_object("//"XML_CIB_TAG_RESOURCES, data_set->input, LOG_TRACE); input 56 lib/pengine/status.c xmlNode *cib_status = get_xpath_object("//"XML_CIB_TAG_STATUS, data_set->input, LOG_TRACE); input 57 lib/pengine/status.c xmlNode *cib_tags = get_xpath_object("//"XML_CIB_TAG_TAGS, data_set->input, LOG_TRACE); input 58 lib/pengine/status.c const char *value = crm_element_value(data_set->input, XML_ATTR_HAVE_QUORUM); input 66 lib/pengine/status.c if (data_set->input == NULL) { input 75 lib/pengine/status.c data_set->dc_uuid = crm_element_value_copy(data_set->input, input 84 lib/pengine/status.c data_set->op_defaults = get_xpath_object("//"XML_CIB_TAG_OPCONFIG, data_set->input, LOG_TRACE); input 85 lib/pengine/status.c data_set->rsc_defaults = get_xpath_object("//"XML_CIB_TAG_RSCCONFIG, data_set->input, LOG_TRACE); input 220 lib/pengine/status.c free_xml(data_set->input); input 167 lib/pengine/unpack.c result = xpath_search(data_set->input, xpath); input 183 lib/pengine/unpack.c unpack_instance_attributes(data_set->input, config, XML_CIB_TAG_PROPSET, NULL, config_hash, input 250 lib/pengine/unpack.c crm_element_value_int(data_set->input, XML_ATTR_QUORUM_PANIC, input 563 lib/pengine/unpack.c unpack_instance_attributes(data_set->input, xml_obj, XML_TAG_UTILIZATION, NULL, input 1181 lib/pengine/unpack.c unpack_instance_attributes(data_set->input, xml_tickets, XML_TAG_ATTR_SETS, NULL, input 2406 lib/pengine/unpack.c return get_xpath_object(xpath, data_set->input, LOG_DEBUG); input 3335 lib/pengine/unpack.c unpack_instance_attributes(data_set->input, xml_obj, XML_TAG_ATTR_SETS, NULL, input 3425 lib/pengine/unpack.c xmlNode *status = find_xml_node(data_set->input, XML_CIB_TAG_STATUS, TRUE); input 540 lib/pengine/utils.c unpack_instance_attributes(data_set->input, action->op_entry, XML_TAG_ATTR_SETS, input 861 lib/pengine/utils.c unpack_instance_attributes(data_set->input, data_set->op_defaults, XML_TAG_META_SETS, input 928 lib/pengine/utils.c unpack_instance_attributes(data_set->input, data_set->op_defaults, XML_TAG_META_SETS, NULL, input 942 lib/pengine/utils.c unpack_instance_attributes(data_set->input, xml_obj, XML_TAG_META_SETS, input 945 lib/pengine/utils.c unpack_instance_attributes(data_set->input, xml_obj, XML_TAG_ATTR_SETS, input 950 lib/pengine/utils.c pe_unpack_versioned_attributes(data_set->input, xml_obj, XML_TAG_ATTR_SETS, NULL, input 952 lib/pengine/utils.c pe_unpack_versioned_attributes(data_set->input, xml_obj, XML_TAG_META_SETS, NULL, input 1327 lib/pengine/utils.c find_recurring_actions(GListPtr input, node_t * not_on_node) input 1331 lib/pengine/utils.c GListPtr gIter = input; input 1333 lib/pengine/utils.c CRM_CHECK(input != NULL, return NULL); input 1385 lib/pengine/utils.c find_first_action(GListPtr input, const char *uuid, const char *task, node_t * on_node) input 1391 lib/pengine/utils.c for (gIter = input; gIter != NULL; gIter = gIter->next) { input 1415 lib/pengine/utils.c find_actions(GListPtr input, const char *key, const node_t *on_node) input 1417 lib/pengine/utils.c GListPtr gIter = input; input 1455 lib/pengine/utils.c find_actions_exact(GListPtr input, const char *key, node_t * on_node) input 1457 lib/pengine/utils.c GListPtr gIter = input; input 113 lib/services/upstart.c fix(char *input, const char *search, char replace) input 121 lib/services/upstart.c match = strstr(input, search); input 135 lib/services/upstart.c fix_upstart_name(const char *input) input 137 lib/services/upstart.c char *output = strdup(input); input 149 lib/transition/unpack.c xmlNode *input = NULL; input 151 lib/transition/unpack.c for (input = __xml_first_child(trigger); input != NULL; input = __xml_next(input)) { input 152 lib/transition/unpack.c crm_action_t *new_input = unpack_action(new_synapse, input); input 165 lib/transition/utils.c crm_action_t *input = (crm_action_t *) lpc->data; input 166 lib/transition/utils.c const char *id_string = crm_element_value(input->xml, XML_ATTR_ID); input 168 lib/transition/utils.c if (input->failed) { input 171 lib/transition/utils.c } else if (input->confirmed) { input 174 lib/transition/utils.c } else if (find_action(graph, input->id)) { input 197 lib/transition/utils.c crm_action_t *input = (crm_action_t *) lpc->data; input 198 lib/transition/utils.c const char *key = crm_element_value(input->xml, XML_LRM_ATTR_TASK_KEY); input 199 lib/transition/utils.c const char *host = crm_element_value(input->xml, XML_LRM_ATTR_TARGET); input 201 lib/transition/utils.c if (find_action(graph, input->id) == NULL) { input 204 lib/transition/utils.c input->id, actiontype2text(input->type), key); input 207 lib/transition/utils.c input->id, actiontype2text(input->type), key, host); input 390 lrmd/test.c data_set.input = cib_xml_copy; input 548 pengine/allocate.c xmlNode *status = get_object_root(XML_CIB_TAG_STATUS, data_set->input); input 874 pengine/allocate.c xmlNode *cib_constraints = get_object_root(XML_CIB_TAG_CONSTRAINTS, data_set->input); input 876 pengine/allocate.c if (data_set->input == NULL) { input 936 pengine/constraints.c set = expand_idref(set, data_set->input); input 1005 pengine/constraints.c rule_xml = expand_idref(rule_xml, data_set->input); input 2079 pengine/constraints.c set = expand_idref(set, data_set->input); input 2542 pengine/constraints.c set = expand_idref(set, data_set->input); input 2890 pengine/constraints.c set = expand_idref(set, data_set->input); input 970 pengine/graph.c action_t *input; input 974 pengine/graph.c input = ((action_wrapper_t *) iter->data)->action; input 975 pengine/graph.c if (input->rsc && safe_str_eq(action->rsc->id, input->rsc->id) input 976 pengine/graph.c && safe_str_eq(input->task, CRMD_ACTION_MIGRATED)) { input 1705 pengine/graph.c xmlNode *input = NULL; input 1747 pengine/graph.c input = create_xml_node(in, "trigger"); input 1750 pengine/graph.c add_node_nocopy(input, crm_element_name(xml_action), xml_action); input 150 pengine/pengine.c data_set.input = NULL; input 234 pengine/pengine.c data_set->input = xml_input; input 454 tools/cib_shadow.c xmlNode *input = filename2xml(shadow_file); input 457 tools/cib_shadow.c rc = real_cib->cmds->replace(real_cib, NULL, input, command_options); input 459 tools/cib_shadow.c xmlNode *config = first_named_child(input, XML_CIB_TAG_CONFIGURATION); input 471 tools/cib_shadow.c free_xml(input); input 48 tools/cibadmin.c int do_work(xmlNode * input, int command_options, xmlNode ** output); input 211 tools/cibadmin.c xmlNode *input = NULL; input 395 tools/cibadmin.c input = filename2xml(admin_input_file); input 400 tools/cibadmin.c input = string2xml(admin_input_xml); input 404 tools/cibadmin.c input = stdin2xml(); input 407 tools/cibadmin.c if (input != NULL) { input 408 tools/cibadmin.c crm_log_xml_debug(input, "[admin input]"); input 419 tools/cibadmin.c if (input == NULL) { input 425 tools/cibadmin.c digest = calculate_on_disk_digest(input); input 435 tools/cibadmin.c if (input == NULL) { input 441 tools/cibadmin.c version = crm_element_value(input, XML_ATTR_CRM_VERSION); input 442 tools/cibadmin.c digest = calculate_xml_versioned_digest(input, FALSE, TRUE, version); input 456 tools/cibadmin.c exit_code = do_work(input, command_options, &output); input 501 tools/cibadmin.c free_xml(input); input 513 tools/cibadmin.c do_work(xmlNode * input, int call_options, xmlNode ** output) input 518 tools/cibadmin.c && safe_str_eq(crm_element_name(input), XML_TAG_CIB)) { input 519 tools/cibadmin.c xmlNode *status = get_object_root(XML_CIB_TAG_STATUS, input); input 522 tools/cibadmin.c create_xml_node(input, XML_CIB_TAG_STATUS); input 528 tools/cibadmin.c return cib_internal_op(the_cib, cib_action, host, obj_type, input, output, call_options, cib_user); input 82 tools/crm_diff.c apply_patch(xmlNode *input, xmlNode *patch, gboolean as_cib) input 85 tools/crm_diff.c xmlNode *output = copy_xml(input); input 1786 tools/crm_mon.c xmlNode *cib_status = get_object_root(XML_CIB_TAG_STATUS, data_set->input); input 2312 tools/crm_mon.c const char *last_written = crm_element_value(data_set->input, XML_CIB_ATTR_WRITTEN); input 2313 tools/crm_mon.c const char *user = crm_element_value(data_set->input, XML_ATTR_UPDATE_USER); input 2314 tools/crm_mon.c const char *client = crm_element_value(data_set->input, XML_ATTR_UPDATE_CLIENT); input 2315 tools/crm_mon.c const char *origin = crm_element_value(data_set->input, XML_ATTR_UPDATE_ORIG); input 2405 tools/crm_mon.c data_set->input, LOG_DEBUG); input 2409 tools/crm_mon.c const char *quorum = crm_element_value(data_set->input, XML_ATTR_HAVE_QUORUM); input 2471 tools/crm_mon.c data_set->input, LOG_DEBUG); input 2659 tools/crm_mon.c data_set->input, LOG_DEBUG); input 4146 tools/crm_mon.c data_set.input = cib_copy; input 4153 tools/crm_mon.c xmlNode *cib_constraints = get_object_root(XML_CIB_TAG_CONSTRAINTS, data_set.input); input 373 tools/crm_node.c FILE *input = fopen(UUID_FILE, "r"); input 375 tools/crm_node.c if (input == NULL) { input 381 tools/crm_node.c start = ftell(input); input 382 tools/crm_node.c fseek(input, 0L, SEEK_END); input 383 tools/crm_node.c if (UUID_LEN != ftell(input)) { input 388 tools/crm_node.c fseek(input, 0L, start); input 389 tools/crm_node.c if (start != ftell(input)) { input 390 tools/crm_node.c fprintf(stderr, "fseek not behaving: %ld vs. %ld\n", start, ftell(input)); input 395 tools/crm_node.c read_len = fread(uuid.uuid, 1, UUID_LEN, input); input 396 tools/crm_node.c fclose(input); input 803 tools/crm_resource.c data_set.input = NULL; /* make clean-up easier */ input 914 tools/crm_resource.c xmlNode *cib_constraints = get_object_root(XML_CIB_TAG_CONSTRAINTS, data_set.input); input 1241 tools/crm_resource.c if (data_set.input != NULL) { input 24 tools/crm_resource_ban.c parse_cli_lifetime(const char *input) input 31 tools/crm_resource_ban.c if (input == NULL) { input 30 tools/crm_resource_print.c xmlNode *cib_constraints = get_object_root(XML_CIB_TAG_CONSTRAINTS, data_set->input); input 340 tools/crm_resource_print.c unpack_instance_attributes(data_set->input, rsc->xml, input 354 tools/crm_resource_runtime.c xmlNode *cib_constraints = get_object_root(XML_CIB_TAG_CONSTRAINTS, data_set->input); input 910 tools/crm_resource_runtime.c data_set->input = *xml; input 971 tools/crm_resource_runtime.c rc = write_xml_file(data_set->input, shadow_file, FALSE); input 984 tools/crm_resource_runtime.c do_calculations(data_set, data_set->input, NULL); input 1451 tools/crm_resource_runtime.c do_calculations(&data_set, data_set.input, NULL); input 65 tools/crm_simulate.c crm_element_value_int(data_set->input, "execution-date", &value); input 384 tools/crm_simulate.c setup_input(const char *input, const char *output) input 391 tools/crm_simulate.c if (input == NULL) { input 413 tools/crm_simulate.c } else if (safe_str_eq(input, "-")) { input 417 tools/crm_simulate.c cib_object = filename2xml(input); input 540 tools/crm_simulate.c data_set.input = cib_object; input 642 tools/crm_simulate.c xmlNode *input = NULL; input 808 tools/crm_simulate.c rc = global_cib->cmds->query(global_cib, NULL, &input, cib_sync_call | cib_scope_local); input 811 tools/crm_simulate.c data_set.input = input; input 841 tools/crm_simulate.c rc = global_cib->cmds->query(global_cib, NULL, &input, cib_sync_call); input 848 tools/crm_simulate.c data_set.input = input; input 858 tools/crm_simulate.c rc = write_xml_file(input, input_file, FALSE); input 877 tools/crm_simulate.c do_calculations(&data_set, input, local_date); input 878 tools/crm_simulate.c input = NULL; /* Don't try and free it twice */ input 869 tools/crm_ticket.c data_set.input = cib_xml_copy; input 876 tools/crm_ticket.c cib_constraints = get_object_root(XML_CIB_TAG_CONSTRAINTS, data_set.input); input 112 tools/crm_uuid.c FILE *input = fopen(UUID_FILE, "r"); input 114 tools/crm_uuid.c if (input == NULL) { input 120 tools/crm_uuid.c start = ftell(input); input 121 tools/crm_uuid.c fseek(input, 0L, SEEK_END); input 122 tools/crm_uuid.c if (UUID_LEN != ftell(input)) { input 127 tools/crm_uuid.c fseek(input, 0L, start); input 129 tools/crm_uuid.c if (start != ftell(input)) { input 130 tools/crm_uuid.c fprintf(stderr, "fseek not behaving: %ld vs. %ld\n", start, ftell(input)); input 138 tools/crm_uuid.c read_len = fread(uuid.uuid, 1, UUID_LEN, input); input 155 tools/crm_uuid.c fclose(input); input 250 tools/crm_verify.c data_set.input = cib_object; input 846 tools/fake_transition.c data_set->input = cib_object;