request 53 daemons/based/based_callbacks.c static void cib_process_request(xmlNode *request, gboolean privileged, request 57 daemons/based/based_callbacks.c static int cib_process_command(xmlNode *request, xmlNode **reply, request 274 daemons/based/based_callbacks.c int sync_our_cib(xmlNode * request, gboolean all); request 597 daemons/based/based_callbacks.c parse_peer_options_v1(int call_type, xmlNode * request, request 604 daemons/based/based_callbacks.c const char *originator = crm_element_value(request, F_ORIG); request 605 daemons/based/based_callbacks.c const char *reply_to = crm_element_value(request, F_CIB_ISREPLY); request 606 daemons/based/based_callbacks.c const char *update = crm_element_value(request, F_CIB_GLOBAL_UPDATE); request 622 daemons/based/based_callbacks.c op = crm_element_value(request, F_CIB_OPERATION); request 637 daemons/based/based_callbacks.c process_ping_reply(request); request 649 daemons/based/based_callbacks.c host = crm_element_value(request, F_CIB_HOST); request 664 daemons/based/based_callbacks.c delegated = crm_element_value(request, F_CIB_DELEGATED); request 688 daemons/based/based_callbacks.c crm_log_xml_err(request, "Peer[inbound]"); request 695 daemons/based/based_callbacks.c parse_peer_options_v2(int call_type, xmlNode * request, request 700 daemons/based/based_callbacks.c const char *delegated = crm_element_value(request, F_CIB_DELEGATED); request 701 daemons/based/based_callbacks.c const char *op = crm_element_value(request, F_CIB_OPERATION); request 702 daemons/based/based_callbacks.c const char *originator = crm_element_value(request, F_ORIG); request 703 daemons/based/based_callbacks.c const char *reply_to = crm_element_value(request, F_CIB_ISREPLY); request 704 daemons/based/based_callbacks.c const char *update = crm_element_value(request, F_CIB_GLOBAL_UPDATE); request 718 daemons/based/based_callbacks.c process_ping_reply(request); request 732 daemons/based/based_callbacks.c const char *max = crm_element_value(request, F_CIB_SCHEMA_MAX); request 733 daemons/based/based_callbacks.c const char *upgrade_rc = crm_element_value(request, F_CIB_UPGRADE_RC); request 742 daemons/based/based_callbacks.c crm_xml_add(request, F_CIB_RC, upgrade_rc); request 795 daemons/based/based_callbacks.c host = crm_element_value(request, F_CIB_HOST); request 811 daemons/based/based_callbacks.c crm_element_value(request, F_CIB_CLIENTNAME), request 812 daemons/based/based_callbacks.c crm_element_value(request, F_CIB_CALLID), request 818 daemons/based/based_callbacks.c parse_peer_options(int call_type, xmlNode * request, request 828 daemons/based/based_callbacks.c call_type, request, local_notify, needs_reply, process, needs_forward); request 831 daemons/based/based_callbacks.c call_type, request, local_notify, needs_reply, process, needs_forward); request 836 daemons/based/based_callbacks.c forward_request(xmlNode * request, pcmk__client_t *cib_client, int call_options) request 838 daemons/based/based_callbacks.c const char *op = crm_element_value(request, F_CIB_OPERATION); request 839 daemons/based/based_callbacks.c const char *host = crm_element_value(request, F_CIB_HOST); request 841 daemons/based/based_callbacks.c crm_xml_add(request, F_CIB_DELEGATED, cib_our_uname); request 845 daemons/based/based_callbacks.c send_cluster_message(crm_get_peer(0, host), crm_msg_cib, request, FALSE); request 849 daemons/based/based_callbacks.c send_cluster_message(NULL, crm_msg_cib, request, FALSE); request 853 daemons/based/based_callbacks.c xml_remove_prop(request, F_CIB_DELEGATED); request 926 daemons/based/based_callbacks.c cib_process_request(xmlNode *request, gboolean privileged, request 937 daemons/based/based_callbacks.c gboolean global_update = crm_is_true(crm_element_value(request, F_CIB_GLOBAL_UPDATE)); request 943 daemons/based/based_callbacks.c const char *op = crm_element_value(request, F_CIB_OPERATION); request 944 daemons/based/based_callbacks.c const char *originator = crm_element_value(request, F_ORIG); request 945 daemons/based/based_callbacks.c const char *host = crm_element_value(request, F_CIB_HOST); request 947 daemons/based/based_callbacks.c const char *call_id = crm_element_value(request, F_CIB_CALLID); request 948 daemons/based/based_callbacks.c const char *client_id = crm_element_value(request, F_CIB_CLIENTID); request 949 daemons/based/based_callbacks.c const char *client_name = crm_element_value(request, F_CIB_CLIENTNAME); request 950 daemons/based/based_callbacks.c const char *reply_to = crm_element_value(request, F_CIB_ISREPLY); request 952 daemons/based/based_callbacks.c crm_element_value_int(request, F_CIB_CALLOPTS, &call_options); request 972 daemons/based/based_callbacks.c crm_xml_add(request, F_ORIG, cib_our_uname); request 987 daemons/based/based_callbacks.c } else if (parse_peer_options(call_type, request, &local_notify, request 1004 daemons/based/based_callbacks.c const char *section = crm_element_value(request, F_CIB_SECTION); request 1019 daemons/based/based_callbacks.c forward_request(request, cib_client, call_options); request 1024 daemons/based/based_callbacks.c const char *call = crm_element_value(request, F_CIB_CALLID); request 1047 daemons/based/based_callbacks.c const char *section = crm_element_value(request, F_CIB_SECTION); request 1049 daemons/based/based_callbacks.c rc = cib_process_command(request, &op_reply, &result_diff, privileged); request 1088 daemons/based/based_callbacks.c crm_log_xml_err(request, "null reply"); request 1108 daemons/based/based_callbacks.c crm_xml_add_int(request, F_CIB_LOCAL_NOTIFY_ID, cib_local_bcast_num); request 1109 daemons/based/based_callbacks.c broadcast = send_peer_reply(request, result_diff, originator, TRUE); request 1151 daemons/based/based_callbacks.c do_local_notify(request, client_id, request 1168 daemons/based/based_callbacks.c cib_process_command(xmlNode * request, xmlNode ** reply, xmlNode ** cib_diff, gboolean privileged) request 1180 daemons/based/based_callbacks.c const char *call_id = crm_element_value(request, F_CIB_CALLID); request 1203 daemons/based/based_callbacks.c op = crm_element_value(request, F_CIB_OPERATION); request 1204 daemons/based/based_callbacks.c crm_element_value_int(request, F_CIB_CALLOPTS, &call_options); request 1211 daemons/based/based_callbacks.c rc2 = cib_op_prepare(call_type, request, &input, §ion); request 1222 daemons/based/based_callbacks.c section, request, input, FALSE, &config_changed, request 1230 daemons/based/based_callbacks.c global_update = crm_is_true(crm_element_value(request, F_CIB_GLOBAL_UPDATE)); request 1238 daemons/based/based_callbacks.c crm_log_xml_err(request, "bad op")); request 1259 daemons/based/based_callbacks.c section, request, input, manage_counters, &config_changed, request 1344 daemons/based/based_callbacks.c const char *client = crm_element_value(request, F_CIB_CLIENTNAME); request 1352 daemons/based/based_callbacks.c const char *origin = crm_element_value(request, F_ORIG); request 1360 daemons/based/based_callbacks.c const char *caller = crm_element_value(request, F_CIB_CLIENTID); request 33 daemons/based/based_common.c extern int cib_perform_command(xmlNode * request, xmlNode ** reply, xmlNode ** cib_diff, request 63 daemons/based/based_common.c cib_prepare_none(xmlNode * request, xmlNode ** data, const char **section) request 66 daemons/based/based_common.c *section = crm_element_value(request, F_CIB_SECTION); request 71 daemons/based/based_common.c cib_prepare_data(xmlNode * request, xmlNode ** data, const char **section) request 73 daemons/based/based_common.c xmlNode *input_fragment = get_message_xml(request, F_CIB_CALLDATA); request 75 daemons/based/based_common.c *section = crm_element_value(request, F_CIB_SECTION); request 82 daemons/based/based_common.c cib_prepare_sync(xmlNode * request, xmlNode ** data, const char **section) request 85 daemons/based/based_common.c *section = crm_element_value(request, F_CIB_SECTION); request 90 daemons/based/based_common.c cib_prepare_diff(xmlNode * request, xmlNode ** data, const char **section) request 93 daemons/based/based_common.c const char *update = crm_element_value(request, F_CIB_GLOBAL_UPDATE); request 99 daemons/based/based_common.c input_fragment = get_message_xml(request, F_CIB_UPDATE_DIFF); request 102 daemons/based/based_common.c input_fragment = get_message_xml(request, F_CIB_CALLDATA); request 105 daemons/based/based_common.c CRM_CHECK(input_fragment != NULL, crm_log_xml_warn(request, "no input")); request 293 daemons/based/based_common.c cib_op_prepare(int call_type, xmlNode * request, xmlNode ** input, const char **section) request 296 daemons/based/based_common.c return cib_server_ops[call_type].prepare(request, input, section); request 49 daemons/based/based_messages.c int sync_our_cib(xmlNode * request, gboolean all); request 492 daemons/based/based_messages.c sync_our_cib(xmlNode * request, gboolean all) request 496 daemons/based/based_messages.c const char *host = crm_element_value(request, F_ORIG); request 497 daemons/based/based_messages.c const char *op = crm_element_value(request, F_CIB_OPERATION); request 499 daemons/based/based_messages.c xmlNode *replace_request = cib_msg_copy(request, FALSE); request 506 daemons/based/based_messages.c crm_log_xml_err(request, "bad sync"); request 137 daemons/based/pacemaker-based.h xmlNode *cib_construct_reply(xmlNode *request, xmlNode *output, int rc); request 141 daemons/based/pacemaker-based.h int cib_op_prepare(int call_type, xmlNode *request, xmlNode **input, request 1314 daemons/controld/controld_execd.c ha_msg_input_t * request, request 1330 daemons/controld/controld_execd.c if (request) { request 1332 daemons/controld/controld_execd.c char *ref = crm_element_value_copy(request->msg, XML_ATTR_REFERENCE); request 1336 daemons/controld/controld_execd.c op->input = copy_ha_msg_input(request); request 1346 daemons/controld/controld_execd.c delete_rsc_entry(lrm_state, request, id, gIter, rc, user); request 514 daemons/controld/controld_execd_state.c xmlNode *request = get_message_xml(msg, F_LRMD_IPC_MSG); request 516 daemons/controld/controld_execd_state.c CRM_CHECK(request != NULL, return); request 518 daemons/controld/controld_execd_state.c crm_xml_add(request, XML_ACL_TAG_ROLE, "pacemaker-remote"); request 519 daemons/controld/controld_execd_state.c pcmk__update_acl_user(request, F_LRMD_IPC_USER, lrm_state->node_name); request 526 daemons/controld/controld_execd_state.c if (pcmk__str_eq(crm_element_value(request, F_CRM_TASK), CRM_OP_NODE_INFO, pcmk__str_casei)) { request 529 daemons/controld/controld_execd_state.c crm_element_value_int(request, XML_ATTR_ID, &node_id); request 531 daemons/controld/controld_execd_state.c && (crm_element_value(request, XML_ATTR_UNAME) == NULL)) { request 532 daemons/controld/controld_execd_state.c crm_xml_add(request, XML_ATTR_UNAME, lrm_state->node_name); request 536 daemons/controld/controld_execd_state.c crmd_proxy_dispatch(session, request); request 785 daemons/controld/controld_messages.c handle_node_list(xmlNode *request) request 804 daemons/controld/controld_messages.c reply = create_reply(request, reply_data); request 83 daemons/execd/execd_alerts.c process_lrmd_alert_exec(pcmk__client_t *client, uint32_t id, xmlNode *request) request 87 daemons/execd/execd_alerts.c xmlNode *alert_xml = get_xpath_object("//" F_LRMD_ALERT, request, LOG_ERR); request 121 daemons/execd/execd_alerts.c crm_element_value_int(request, F_LRMD_CALLID, &(cb_data->call_id)); request 651 daemons/execd/execd_commands.c send_generic_notify(int rc, xmlNode * request) request 656 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" F_LRMD_RSC, request, LOG_ERR); request 658 daemons/execd/execd_commands.c const char *op = crm_element_value(request, F_LRMD_OPERATION); request 660 daemons/execd/execd_commands.c crm_element_value_int(request, F_LRMD_CALLID, &call_id); request 1543 daemons/execd/execd_commands.c process_lrmd_signon(pcmk__client_t *client, xmlNode *request, int call_id, request 1547 daemons/execd/execd_commands.c const char *is_ipc_provider = crm_element_value(request, F_LRMD_IS_IPC_PROVIDER); request 1548 daemons/execd/execd_commands.c const char *protocol_version = crm_element_value(request, F_LRMD_PROTOCOL_VERSION); request 1578 daemons/execd/execd_commands.c process_lrmd_rsc_register(pcmk__client_t *client, uint32_t id, xmlNode *request) request 1581 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = build_rsc_from_xml(request); request 1599 daemons/execd/execd_commands.c process_lrmd_get_rsc_info(xmlNode *request, int call_id) request 1602 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" F_LRMD_RSC, request, LOG_ERR); request 1629 daemons/execd/execd_commands.c xmlNode *request) request 1633 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" F_LRMD_RSC, request, LOG_ERR); request 1660 daemons/execd/execd_commands.c process_lrmd_rsc_exec(pcmk__client_t *client, uint32_t id, xmlNode *request) request 1664 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" F_LRMD_RSC, request, LOG_ERR); request 1677 daemons/execd/execd_commands.c cmd = create_lrmd_cmd(request, client); request 1785 daemons/execd/execd_commands.c process_lrmd_rsc_cancel(pcmk__client_t *client, uint32_t id, xmlNode *request) request 1787 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" F_LRMD_RSC, request, LOG_ERR); request 1819 daemons/execd/execd_commands.c process_lrmd_get_recurring(xmlNode *request, int call_id) request 1828 daemons/execd/execd_commands.c rsc_xml = first_named_child(request, F_LRMD_CALLDATA); request 1865 daemons/execd/execd_commands.c process_lrmd_message(pcmk__client_t *client, uint32_t id, xmlNode *request) request 1869 daemons/execd/execd_commands.c const char *op = crm_element_value(request, F_LRMD_OPERATION); request 1881 daemons/execd/execd_commands.c crm_element_value_int(request, F_LRMD_CALLID, &call_id); request 1886 daemons/execd/execd_commands.c ipc_proxy_forward_client(client, request); request 1895 daemons/execd/execd_commands.c rc = process_lrmd_signon(client, request, call_id, &reply); request 1899 daemons/execd/execd_commands.c rc = process_lrmd_rsc_register(client, id, request); request 1907 daemons/execd/execd_commands.c reply = process_lrmd_get_rsc_info(request, call_id); request 1914 daemons/execd/execd_commands.c rc = process_lrmd_rsc_unregister(client, id, request); request 1925 daemons/execd/execd_commands.c rc = process_lrmd_rsc_exec(client, id, request); request 1932 daemons/execd/execd_commands.c rc = process_lrmd_rsc_cancel(client, id, request); request 1942 daemons/execd/execd_commands.c xmlNode *data = get_message_xml(request, F_LRMD_CALLDATA); request 1951 daemons/execd/execd_commands.c rc = process_lrmd_alert_exec(client, id, request); request 1958 daemons/execd/execd_commands.c reply = process_lrmd_get_recurring(request, call_id); request 1993 daemons/execd/execd_commands.c send_generic_notify(rc, request); request 110 daemons/execd/pacemaker-execd.c xmlNode *request = pcmk__client_data2xml(client, data, &id, &flags); request 120 daemons/execd/pacemaker-execd.c if (!request) { request 125 daemons/execd/pacemaker-execd.c const char *value = crm_element_value(request, F_LRMD_CLIENTNAME); request 139 daemons/execd/pacemaker-execd.c crm_xml_add(request, F_LRMD_CLIENTID, client->id); request 140 daemons/execd/pacemaker-execd.c crm_xml_add(request, F_LRMD_CLIENTNAME, client->name); request 141 daemons/execd/pacemaker-execd.c crm_xml_add_int(request, F_LRMD_CALLID, lrmd_call_id); request 143 daemons/execd/pacemaker-execd.c process_lrmd_message(client, id, request); request 145 daemons/execd/pacemaker-execd.c free_xml(request); request 63 daemons/execd/pacemaker-execd.h xmlNode *request); request 100 daemons/execd/pacemaker-execd.h xmlNode *request); request 228 daemons/execd/remoted_proxy.c xmlNode *request = NULL; request 249 daemons/execd/remoted_proxy.c request = pcmk__client_data2xml(client, data, &id, &flags); request 251 daemons/execd/remoted_proxy.c if (!request) { request 256 daemons/execd/remoted_proxy.c free_xml(request); return FALSE); request 258 daemons/execd/remoted_proxy.c free_xml(request); return FALSE); request 273 daemons/execd/remoted_proxy.c add_message_xml(msg, F_LRMD_IPC_MSG, request); request 275 daemons/execd/remoted_proxy.c free_xml(request); request 88 daemons/execd/remoted_tls.c xmlNode *request = NULL; request 107 daemons/execd/remoted_tls.c request = pcmk__remote_message_xml(client->remote); request 108 daemons/execd/remoted_tls.c while (request) { request 109 daemons/execd/remoted_tls.c crm_element_value_int(request, F_LRMD_REMOTE_MSG_ID, &id); request 112 daemons/execd/remoted_tls.c const char *value = crm_element_value(request, F_LRMD_CLIENTNAME); request 124 daemons/execd/remoted_tls.c crm_xml_add(request, F_LRMD_CLIENTID, client->id); request 125 daemons/execd/remoted_tls.c crm_xml_add(request, F_LRMD_CLIENTNAME, client->name); request 126 daemons/execd/remoted_tls.c crm_xml_add_int(request, F_LRMD_CALLID, lrmd_call_id); request 128 daemons/execd/remoted_tls.c process_lrmd_message(client, id, request); request 129 daemons/execd/remoted_tls.c free_xml(request); request 132 daemons/execd/remoted_tls.c request = pcmk__remote_message_xml(client->remote); request 2415 daemons/fenced/fenced_commands.c stonith_construct_reply(xmlNode * request, const char *output, xmlNode * data, int rc) request 2426 daemons/fenced/fenced_commands.c if (request == NULL) { request 2453 daemons/fenced/fenced_commands.c value = crm_element_value(request, name); request 2562 daemons/fenced/fenced_commands.c remove_relay_op(xmlNode * request) request 2564 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//@" F_STONITH_ACTION, request, LOG_TRACE); request 2575 daemons/fenced/fenced_commands.c relay_op_id = crm_element_value(request, F_STONITH_REMOTE_OP_ID_RELAY); request 2576 daemons/fenced/fenced_commands.c op_id = crm_element_value(request, F_STONITH_REMOTE_OP_ID); request 2577 daemons/fenced/fenced_commands.c client_name = crm_element_value(request, F_STONITH_CLIENTNAME); request 2614 daemons/fenced/fenced_commands.c xmlNode *request, const char *remote_peer) request 2623 daemons/fenced/fenced_commands.c const char *op = crm_element_value(request, F_STONITH_OPERATION); request 2624 daemons/fenced/fenced_commands.c const char *client_id = crm_element_value(request, F_STONITH_CLIENTID); request 2635 daemons/fenced/fenced_commands.c crm_element_value_int(request, F_STONITH_CALLOPTS, &call_options); request 2653 daemons/fenced/fenced_commands.c rc = stonith_device_action(request, &output); request 2656 daemons/fenced/fenced_commands.c const char *call_id = crm_element_value(request, F_STONITH_CALLID); request 2657 daemons/fenced/fenced_commands.c const char *client_id = crm_element_value(request, F_STONITH_CLIENTID); request 2660 daemons/fenced/fenced_commands.c crm_element_value_int(request, F_STONITH_TIMEOUT, &op_timeout); request 2666 daemons/fenced/fenced_commands.c create_remote_stonith_op(client_id, request, TRUE); /* Record it for the future notification */ request 2670 daemons/fenced/fenced_commands.c remove_relay_op(request); request 2672 daemons/fenced/fenced_commands.c stonith_query(request, remote_peer, client_id, call_options); request 2679 daemons/fenced/fenced_commands.c flag_name = crm_element_value(request, F_STONITH_NOTIFY_ACTIVATE); request 2686 daemons/fenced/fenced_commands.c flag_name = crm_element_value(request, F_STONITH_NOTIFY_DEACTIVATE); request 2697 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//@" F_STONITH_TARGET, request, LOG_TRACE); request 2706 daemons/fenced/fenced_commands.c if (initiate_remote_stonith_op(NULL, request, FALSE) != NULL) { request 2713 daemons/fenced/fenced_commands.c rc = stonith_fence(request); request 2717 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//@" F_STONITH_TARGET, request, LOG_TRACE); request 2721 daemons/fenced/fenced_commands.c rop = initiate_remote_stonith_op(client, request, TRUE); request 2722 daemons/fenced/fenced_commands.c rc = stonith_manual_ack(request, rop); request 2726 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//@" F_STONITH_TARGET, request, LOG_TRACE); request 2762 daemons/fenced/fenced_commands.c client_id = crm_element_value(request, F_STONITH_CLIENTID); request 2767 daemons/fenced/fenced_commands.c op = create_remote_stonith_op(client_id, request, FALSE); request 2769 daemons/fenced/fenced_commands.c crm_xml_add(request, F_STONITH_OPERATION, STONITH_OP_RELAY); request 2770 daemons/fenced/fenced_commands.c crm_xml_add(request, F_STONITH_CLIENTID, client->id); request 2771 daemons/fenced/fenced_commands.c crm_xml_add(request, F_STONITH_REMOTE_OP_ID, op->id); request 2772 daemons/fenced/fenced_commands.c send_cluster_message(crm_get_peer(0, alternate_host), crm_msg_stonith_ng, request, request 2776 daemons/fenced/fenced_commands.c } else if (initiate_remote_stonith_op(client, request, FALSE) != NULL) { request 2782 daemons/fenced/fenced_commands.c rc = stonith_fence_history(request, &data, remote_peer, call_options); request 2795 daemons/fenced/fenced_commands.c rc = stonith_device_register(request, &device_id, FALSE); request 2802 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//" F_STONITH_DEVICE, request, LOG_ERR); request 2816 daemons/fenced/fenced_commands.c rc = stonith_level_register(request, &device_id); request 2827 daemons/fenced/fenced_commands.c rc = stonith_level_remove(request, &device_id); request 2837 daemons/fenced/fenced_commands.c crm_element_value_int(request, XML_ATTR_ID, &node_id); request 2838 daemons/fenced/fenced_commands.c name = crm_element_value(request, XML_ATTR_UNAME); request 2862 daemons/fenced/fenced_commands.c crm_element_value(request, F_STONITH_CALLOPTS)); request 2867 daemons/fenced/fenced_commands.c reply = stonith_construct_reply(request, output, data, rc); request 2879 daemons/fenced/fenced_commands.c handle_reply(pcmk__client_t *client, xmlNode *request, const char *remote_peer) request 2881 daemons/fenced/fenced_commands.c const char *op = crm_element_value(request, F_STONITH_OPERATION); request 2884 daemons/fenced/fenced_commands.c process_remote_stonith_query(request); request 2886 daemons/fenced/fenced_commands.c process_remote_stonith_exec(request); request 2889 daemons/fenced/fenced_commands.c process_remote_stonith_exec(request); request 2894 daemons/fenced/fenced_commands.c crm_log_xml_warn(request, "UnknownOp"); request 2900 daemons/fenced/fenced_commands.c xmlNode *request, const char *remote_peer) request 2915 daemons/fenced/fenced_commands.c char *op = crm_element_value_copy(request, F_STONITH_OPERATION); request 2917 daemons/fenced/fenced_commands.c if (get_xpath_object("//" T_STONITH_REPLY, request, LOG_NEVER)) { request 2921 daemons/fenced/fenced_commands.c crm_element_value_int(request, F_STONITH_CALLOPTS, &call_options); request 2933 daemons/fenced/fenced_commands.c handle_reply(client, request, remote_peer); request 2935 daemons/fenced/fenced_commands.c rc = handle_request(client, id, flags, request, remote_peer); request 236 daemons/fenced/fenced_remote.c crm_log_xml_debug(op->request, "Destroying"); request 251 daemons/fenced/fenced_remote.c if (op->request) { request 252 daemons/fenced/fenced_remote.c free_xml(op->request); request 253 daemons/fenced/fenced_remote.c op->request = NULL; request 418 daemons/fenced/fenced_remote.c reply = stonith_construct_reply(op->request, NULL, data, rc); request 565 daemons/fenced/fenced_remote.c if (op->request) { request 566 daemons/fenced/fenced_remote.c free_xml(op->request); request 567 daemons/fenced/fenced_remote.c op->request = NULL; request 1003 daemons/fenced/fenced_remote.c create_remote_stonith_op(const char *client, xmlNode * request, gboolean peer) request 1006 daemons/fenced/fenced_remote.c xmlNode *dev = get_xpath_object("//@" F_STONITH_TARGET, request, LOG_NEVER); request 1030 daemons/fenced/fenced_remote.c crm_element_value_int(request, F_STONITH_TIMEOUT, &(op->base_timeout)); request 1032 daemons/fenced/fenced_remote.c crm_element_value_int(request, F_STONITH_DELAY, &(op->delay)); request 1061 daemons/fenced/fenced_remote.c operation = crm_element_value(request, F_STONITH_OPERATION); request 1067 daemons/fenced/fenced_remote.c op->client_name = crm_element_value_copy(request, F_STONITH_CLIENTNAME); request 1071 daemons/fenced/fenced_remote.c op->request = copy_xml(request); /* TODO: Figure out how to avoid this */ request 1072 daemons/fenced/fenced_remote.c crm_element_value_int(request, F_STONITH_CALLOPTS, &call_options); request 1075 daemons/fenced/fenced_remote.c crm_element_value_int(request, F_STONITH_CALLID, &(op->client_callid)); request 1118 daemons/fenced/fenced_remote.c initiate_remote_stonith_op(pcmk__client_t *client, xmlNode *request, request 1131 daemons/fenced/fenced_remote.c client_id = crm_element_value(request, F_STONITH_CLIENTID); request 1135 daemons/fenced/fenced_remote.c op = create_remote_stonith_op(client_id, request, FALSE); request 1180 daemons/fenced/fenced_remote.c operation = crm_element_value(request, F_STONITH_OPERATION); request 1182 daemons/fenced/fenced_remote.c relay_op_id = crm_element_value(request, F_STONITH_REMOTE_OP_ID); request 1428 daemons/fenced/fenced_remote.c } else if (!op->request) { request 1433 daemons/fenced/fenced_remote.c client_node = crm_element_value(op->request, F_STONITH_CLIENTNODE); request 1434 daemons/fenced/fenced_remote.c call_id = crm_element_value(op->request, F_STONITH_CALLID); request 1435 daemons/fenced/fenced_remote.c client_id = crm_element_value(op->request, F_STONITH_CLIENTID); request 92 daemons/fenced/pacemaker-fenced.c xmlNode *request = NULL; request 101 daemons/fenced/pacemaker-fenced.c request = pcmk__client_data2xml(c, data, &id, &flags); request 102 daemons/fenced/pacemaker-fenced.c if (request == NULL) { request 108 daemons/fenced/pacemaker-fenced.c op = crm_element_value(request, F_CRM_TASK); request 110 daemons/fenced/pacemaker-fenced.c crm_xml_add(request, F_TYPE, T_STONITH_NG); request 111 daemons/fenced/pacemaker-fenced.c crm_xml_add(request, F_STONITH_OPERATION, op); request 112 daemons/fenced/pacemaker-fenced.c crm_xml_add(request, F_STONITH_CLIENTID, c->id); request 113 daemons/fenced/pacemaker-fenced.c crm_xml_add(request, F_STONITH_CLIENTNAME, pcmk__client_name(c)); request 114 daemons/fenced/pacemaker-fenced.c crm_xml_add(request, F_STONITH_CLIENTNODE, stonith_our_uname); request 116 daemons/fenced/pacemaker-fenced.c send_cluster_message(NULL, crm_msg_stonith_ng, request, FALSE); request 117 daemons/fenced/pacemaker-fenced.c free_xml(request); request 122 daemons/fenced/pacemaker-fenced.c const char *value = crm_element_value(request, F_STONITH_CLIENTNAME); request 130 daemons/fenced/pacemaker-fenced.c crm_element_value_int(request, F_STONITH_CALLOPTS, &call_options); request 140 daemons/fenced/pacemaker-fenced.c crm_xml_add(request, F_STONITH_CLIENTID, c->id); request 141 daemons/fenced/pacemaker-fenced.c crm_xml_add(request, F_STONITH_CLIENTNAME, pcmk__client_name(c)); request 142 daemons/fenced/pacemaker-fenced.c crm_xml_add(request, F_STONITH_CLIENTNODE, stonith_our_uname); request 144 daemons/fenced/pacemaker-fenced.c stonith_command(c, id, flags, request, NULL); request 146 daemons/fenced/pacemaker-fenced.c free_xml(request); request 140 daemons/fenced/pacemaker-fenced.h xmlNode *request; request 234 daemons/fenced/pacemaker-fenced.h xmlNode *stonith_construct_reply(xmlNode * request, const char *output, xmlNode * data, request 245 daemons/fenced/pacemaker-fenced.h xmlNode *request, request 252 daemons/fenced/pacemaker-fenced.h void *create_remote_stonith_op(const char *client, xmlNode * request, gboolean peer); request 1120 daemons/pacemakerd/pacemakerd.c xmlNode *request = NULL; request 1125 daemons/pacemakerd/pacemakerd.c request = create_request(CRM_OP_QUIT, NULL, NULL, CRM_SYSTEM_MCP, request 1127 daemons/pacemakerd/pacemakerd.c if (request == NULL) { request 1134 daemons/pacemakerd/pacemakerd.c rc = crm_ipc_send(ipc, request, crm_ipc_client_response, 0, &reply); request 1165 daemons/pacemakerd/pacemakerd.c free_xml(request); request 43 include/crm/common/internal.h const char *pcmk__update_acl_user(xmlNode *request, const char *field, request 36 include/crm/common/ipc.h #define create_reply(request, xml_response_data) \ request 37 include/crm/common/ipc.h create_reply_adv(request, xml_response_data, __func__) request 39 include/crm/common/ipc.h xmlNode *create_reply_adv(xmlNode *request, xmlNode *xml_response_data, request 207 include/crm/common/ipc_internal.h uint32_t request, uint32_t flags, const char *tag, request 212 include/crm/common/ipc_internal.h int pcmk__ipc_prepare_iov(uint32_t request, xmlNode *message, request 215 include/crm/common/ipc_internal.h int pcmk__ipc_send_xml(pcmk__client_t *c, uint32_t request, xmlNode *message, request 191 include/crm/common/output_internal.h gchar *request; request 799 lib/cib/cib_file.c xmlNode *request = NULL; request 840 lib/cib/cib_file.c request = cib_create_op(cib->call_id, "dummy-token", op, host, section, data, call_options, user_name); request 842 lib/cib/cib_file.c crm_xml_add(request, XML_ACL_TAG_USER, user_name); request 851 lib/cib/cib_file.c section, request, data, TRUE, &changed, in_mem_cib, &result_cib, &cib_diff, request 854 lib/cib/cib_file.c free_xml(request); request 716 lib/common/acl.c pcmk__update_acl_user(xmlNode *request, const char *field, request 732 lib/common/acl.c requested_user = crm_element_value(request, XML_ACL_TAG_USER); request 739 lib/common/acl.c requested_user = crm_element_value(request, field); request 774 lib/common/acl.c if (user != crm_element_value(request, XML_ACL_TAG_USER)) { request 775 lib/common/acl.c crm_xml_add(request, XML_ACL_TAG_USER, user); request 778 lib/common/acl.c if (field != NULL && user != crm_element_value(request, field)) { request 779 lib/common/acl.c crm_xml_add(request, field, user); request 205 lib/common/crmcommon_private.h bool (*reply_expected)(pcmk_ipc_api_t *api, xmlNode *request); request 248 lib/common/crmcommon_private.h int pcmk__send_ipc_request(pcmk_ipc_api_t *api, xmlNode *request); request 584 lib/common/ipc_client.c pcmk__send_ipc_request(pcmk_ipc_api_t *api, xmlNode *request) request 590 lib/common/ipc_client.c if ((api == NULL) || (api->ipc == NULL) || (request == NULL)) { request 593 lib/common/ipc_client.c crm_log_xml_trace(request, "ipc-sent"); request 599 lib/common/ipc_client.c && (api->cmds->reply_expected(api, request))) { request 604 lib/common/ipc_client.c rc = crm_ipc_send(api->ipc, request, flags, 0, &reply); request 646 lib/common/ipc_client.c xmlNode *request = NULL; request 651 lib/common/ipc_client.c request = create_xml_node(NULL, __func__); request 652 lib/common/ipc_client.c crm_xml_add(request, F_TYPE, T_ATTRD); request 653 lib/common/ipc_client.c crm_xml_add(request, F_ORIG, crm_system_name); request 654 lib/common/ipc_client.c crm_xml_add(request, PCMK__XA_TASK, PCMK__ATTRD_CMD_PEER_REMOVE); request 655 lib/common/ipc_client.c crm_xml_add(request, PCMK__XA_ATTR_NODE_NAME, node_name); request 657 lib/common/ipc_client.c crm_xml_add_int(request, PCMK__XA_ATTR_NODE_ID, (int) nodeid); request 664 lib/common/ipc_client.c request = create_request(CRM_OP_RM_NODE_CACHE, NULL, NULL, request 667 lib/common/ipc_client.c crm_xml_set_id(request, "%lu", (unsigned long) nodeid); request 669 lib/common/ipc_client.c crm_xml_add(request, XML_ATTR_UNAME, node_name); request 677 lib/common/ipc_client.c return request; request 695 lib/common/ipc_client.c xmlNode *request = NULL; request 704 lib/common/ipc_client.c request = create_purge_node_request(api, node_name, nodeid); request 705 lib/common/ipc_client.c if (request == NULL) { request 708 lib/common/ipc_client.c rc = pcmk__send_ipc_request(api, request); request 709 lib/common/ipc_client.c free_xml(request); request 146 lib/common/ipc_controld.c reply_expected(pcmk_ipc_api_t *api, xmlNode *request) request 148 lib/common/ipc_controld.c const char *command = crm_element_value(request, F_CRM_TASK); request 292 lib/common/ipc_controld.c send_controller_request(pcmk_ipc_api_t *api, xmlNode *request, request 297 lib/common/ipc_controld.c if (crm_element_value(request, XML_ATTR_REFERENCE) == NULL) { request 300 lib/common/ipc_controld.c rc = pcmk__send_ipc_request(api, request); request 336 lib/common/ipc_controld.c xmlNode *request; request 350 lib/common/ipc_controld.c request = create_controller_request(api, CRM_OP_REPROBE, router_node, request 352 lib/common/ipc_controld.c rc = send_controller_request(api, request, true); request 354 lib/common/ipc_controld.c free_xml(request); request 370 lib/common/ipc_controld.c xmlNode *request; request 373 lib/common/ipc_controld.c request = create_controller_request(api, CRM_OP_NODE_INFO, NULL, NULL); request 374 lib/common/ipc_controld.c if (request == NULL) { request 378 lib/common/ipc_controld.c crm_xml_set_id(request, "%lu", (unsigned long) nodeid); request 381 lib/common/ipc_controld.c rc = send_controller_request(api, request, true); request 382 lib/common/ipc_controld.c free_xml(request); request 398 lib/common/ipc_controld.c xmlNode *request; request 401 lib/common/ipc_controld.c request = create_controller_request(api, CRM_OP_PING, node_name, NULL); request 402 lib/common/ipc_controld.c if (request == NULL) { request 405 lib/common/ipc_controld.c rc = send_controller_request(api, request, true); request 406 lib/common/ipc_controld.c free_xml(request); request 421 lib/common/ipc_controld.c xmlNode *request; request 424 lib/common/ipc_controld.c request = create_controller_request(api, PCMK__CONTROLD_CMD_NODES, NULL, request 426 lib/common/ipc_controld.c if (request != NULL) { request 427 lib/common/ipc_controld.c rc = send_controller_request(api, request, true); request 428 lib/common/ipc_controld.c free_xml(request); request 449 lib/common/ipc_controld.c xmlNode *request; request 452 lib/common/ipc_controld.c request = create_controller_request(api, CRM_OP_SHUTDOWN, NULL, NULL); request 453 lib/common/ipc_controld.c if (request == NULL) { request 456 lib/common/ipc_controld.c rc = send_controller_request(api, request, false); request 457 lib/common/ipc_controld.c free_xml(request); request 476 lib/common/ipc_controld.c xmlNode *request; request 479 lib/common/ipc_controld.c request = create_controller_request(api, CRM_OP_VOTE, NULL, NULL); request 480 lib/common/ipc_controld.c if (request == NULL) { request 483 lib/common/ipc_controld.c rc = send_controller_request(api, request, false); request 484 lib/common/ipc_controld.c free_xml(request); request 498 lib/common/ipc_controld.c xmlNode *request, *msg_data, *xml_rsc, *params; request 543 lib/common/ipc_controld.c request = create_controller_request(api, op, router_node, msg_data); request 544 lib/common/ipc_controld.c rc = send_controller_request(api, request, true); request 546 lib/common/ipc_controld.c free_xml(request); request 124 lib/common/ipc_pacemakerd.c reply_expected(pcmk_ipc_api_t *api, xmlNode *request) request 126 lib/common/ipc_pacemakerd.c const char *command = crm_element_value(request, F_CRM_TASK); request 586 lib/common/ipc_server.c pcmk__ipc_prepare_iov(uint32_t request, xmlNode *message, request 660 lib/common/ipc_server.c header->qb.id = (int32_t)request; /* Replying to a specific request */ request 750 lib/common/ipc_server.c pcmk__ipc_send_xml(pcmk__client_t *c, uint32_t request, xmlNode *message, request 759 lib/common/ipc_server.c rc = pcmk__ipc_prepare_iov(request, message, crm_ipc_default_buffer_size(), request 789 lib/common/ipc_server.c uint32_t request, uint32_t flags, const char *tag, request 803 lib/common/ipc_server.c rc = pcmk__ipc_send_xml(c, request, ack, flags); request 48 lib/common/messages.c xmlNode *request = NULL; request 64 lib/common/messages.c request = create_xml_node(NULL, __func__); request 65 lib/common/messages.c crm_xml_add(request, F_CRM_ORIGIN, origin); request 66 lib/common/messages.c crm_xml_add(request, F_TYPE, T_CRM); request 67 lib/common/messages.c crm_xml_add(request, F_CRM_VERSION, CRM_FEATURE_SET); request 68 lib/common/messages.c crm_xml_add(request, F_CRM_MSG_TYPE, XML_ATTR_REQUEST); request 69 lib/common/messages.c crm_xml_add(request, F_CRM_REFERENCE, reference); request 70 lib/common/messages.c crm_xml_add(request, F_CRM_TASK, task); request 71 lib/common/messages.c crm_xml_add(request, F_CRM_SYS_TO, sys_to); request 72 lib/common/messages.c crm_xml_add(request, F_CRM_SYS_FROM, true_from); request 76 lib/common/messages.c crm_xml_add(request, F_CRM_HOST_TO, host_to); request 80 lib/common/messages.c add_message_xml(request, F_CRM_DATA, msg_data); request 85 lib/common/messages.c return request; request 26 lib/common/output.c g_free(out->request); request 145 lib/common/output_html.c } else if (out->request != NULL) { request 146 lib/common/output_html.c pcmk_create_xml_text_node(head_node, "title", out->request); request 387 lib/common/output_html.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv); request 274 lib/common/output_log.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv); request 123 lib/common/output_none.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv); request 295 lib/common/output_text.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv); request 120 lib/common/output_xml.c if (out->request != NULL) { request 121 lib/common/output_xml.c crm_xml_add(priv->root, "request", out->request); request 402 lib/common/output_xml.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv); request 228 lib/lrmd/proxy_common.c xmlNode *request = get_message_xml(msg, F_LRMD_IPC_MSG); request 231 lib/lrmd/proxy_common.c CRM_CHECK(request != NULL, return); request 249 lib/lrmd/proxy_common.c crm_xml_add(request, XML_ACL_TAG_ROLE, "pacemaker-remote"); request 252 lib/lrmd/proxy_common.c pcmk__update_acl_user(request, F_LRMD_IPC_USER, node_name); request 255 lib/lrmd/proxy_common.c const char *type = crm_element_value(request, F_TYPE); request 259 lib/lrmd/proxy_common.c && crm_element_value(request, request 261 lib/lrmd/proxy_common.c && pcmk__str_any_of(crm_element_value(request, PCMK__XA_TASK), request 265 lib/lrmd/proxy_common.c crm_xml_add(request, PCMK__XA_ATTR_NODE_NAME, proxy->node_name); request 268 lib/lrmd/proxy_common.c rc = crm_ipc_send(proxy->ipc, request, flags, 5000, NULL); request 297 lib/lrmd/proxy_common.c rc = crm_ipc_send(proxy->ipc, request, flags, 10000, &op_reply); request 334 tools/crm_mon_curses.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv);