request 57 daemons/attrd/attrd_corosync.c pcmk__request_t request = { request 67 daemons/attrd/attrd_corosync.c request.op = crm_element_value_copy(request.xml, PCMK_XA_TASK); request 68 daemons/attrd/attrd_corosync.c CRM_CHECK(request.op != NULL, return); request 70 daemons/attrd/attrd_corosync.c attrd_handle_request(&request); request 76 daemons/attrd/attrd_corosync.c !pcmk__str_eq(request.op, PCMK__ATTRD_CMD_CONFIRM, pcmk__str_none)) { request 97 daemons/attrd/attrd_corosync.c pcmk__reset_request(&request); request 431 daemons/attrd/attrd_corosync.c attrd_peer_clear_failure(pcmk__request_t *request) request 433 daemons/attrd/attrd_corosync.c xmlNode *xml = request->xml; request 444 daemons/attrd/attrd_corosync.c crm_node_t *peer = pcmk__get_node(0, request->peer, NULL, request 88 daemons/attrd/attrd_ipc.c attrd_client_clear_failure(pcmk__request_t *request) request 90 daemons/attrd/attrd_ipc.c xmlNode *xml = request->xml; request 98 daemons/attrd/attrd_ipc.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 136 daemons/attrd/attrd_ipc.c return attrd_client_update(request); request 140 daemons/attrd/attrd_ipc.c attrd_client_peer_remove(pcmk__request_t *request) request 142 daemons/attrd/attrd_ipc.c xmlNode *xml = request->xml; request 148 daemons/attrd/attrd_ipc.c attrd_send_ack(request->ipc_client, request->ipc_id, request->ipc_flags); request 174 daemons/attrd/attrd_ipc.c pcmk__client_name(request->ipc_client), host); request 179 daemons/attrd/attrd_ipc.c pcmk__client_name(request->ipc_client)); request 182 daemons/attrd/attrd_ipc.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 187 daemons/attrd/attrd_ipc.c attrd_client_query(pcmk__request_t *request) request 189 daemons/attrd/attrd_ipc.c xmlNode *query = request->xml; request 193 daemons/attrd/attrd_ipc.c crm_debug("Query arrived from %s", pcmk__client_name(request->ipc_client)); request 198 daemons/attrd/attrd_ipc.c pcmk__format_result(&request->result, CRM_EX_ERROR, PCMK_EXEC_ERROR, request 200 daemons/attrd/attrd_ipc.c pcmk__client_name(request->ipc_client)); request 208 daemons/attrd/attrd_ipc.c pcmk__format_result(&request->result, CRM_EX_ERROR, PCMK_EXEC_ERROR, request 210 daemons/attrd/attrd_ipc.c pcmk__client_name(request->ipc_client)); request 213 daemons/attrd/attrd_ipc.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 216 daemons/attrd/attrd_ipc.c request->ipc_client->request_id = 0; request 221 daemons/attrd/attrd_ipc.c attrd_client_refresh(pcmk__request_t *request) request 225 daemons/attrd/attrd_ipc.c attrd_send_ack(request->ipc_client, request->ipc_id, request->ipc_flags); request 228 daemons/attrd/attrd_ipc.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 297 daemons/attrd/attrd_ipc.c handle_regexes(pcmk__request_t *request) request 299 daemons/attrd/attrd_ipc.c xmlNode *xml = request->xml; request 309 daemons/attrd/attrd_ipc.c pcmk__format_result(&request->result, CRM_EX_ERROR, PCMK_EXEC_ERROR, request 311 daemons/attrd/attrd_ipc.c pcmk__client_name(request->ipc_client)); request 315 daemons/attrd/attrd_ipc.c pcmk__format_result(&request->result, CRM_EX_ERROR, PCMK_EXEC_ERROR, request 317 daemons/attrd/attrd_ipc.c pcmk__client_name(request->ipc_client)); request 355 daemons/attrd/attrd_ipc.c send_update_msg_to_cluster(pcmk__request_t *request, xmlNode *xml) request 362 daemons/attrd/attrd_ipc.c attrd_expect_confirmations(request, attrd_cluster_sync_point_update); request 379 daemons/attrd/attrd_ipc.c pcmk__request_t *request = (pcmk__request_t *) data; request 384 daemons/attrd/attrd_ipc.c request->xml = child; request 385 daemons/attrd/attrd_ipc.c attrd_client_update(request); request 390 daemons/attrd/attrd_ipc.c attrd_client_update(pcmk__request_t *request) request 395 daemons/attrd/attrd_ipc.c CRM_CHECK((request != NULL) && (request->xml != NULL), return NULL); request 397 daemons/attrd/attrd_ipc.c xml = request->xml; request 419 daemons/attrd/attrd_ipc.c if (handle_value_expansion(&value, child, request->op, attr) == EINVAL) { request 420 daemons/attrd/attrd_ipc.c pcmk__format_result(&request->result, CRM_EX_NOSUCH, PCMK_EXEC_ERROR, request 426 daemons/attrd/attrd_ipc.c send_update_msg_to_cluster(request, xml); request 427 daemons/attrd/attrd_ipc.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 433 daemons/attrd/attrd_ipc.c xmlNode *orig_xml = request->xml; request 439 daemons/attrd/attrd_ipc.c pcmk__xe_foreach_child(xml, PCMK_XE_OP, send_child_update, request); request 440 daemons/attrd/attrd_ipc.c request->xml = orig_xml; request 450 daemons/attrd/attrd_ipc.c if (handle_regexes(request) != pcmk_rc_ok) { request 458 daemons/attrd/attrd_ipc.c return attrd_client_update(request); request 463 daemons/attrd/attrd_ipc.c if (handle_value_expansion(&value, xml, request->op, attr) == EINVAL) { request 464 daemons/attrd/attrd_ipc.c pcmk__format_result(&request->result, CRM_EX_NOSUCH, PCMK_EXEC_ERROR, request 473 daemons/attrd/attrd_ipc.c send_update_msg_to_cluster(request, xml); request 474 daemons/attrd/attrd_ipc.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 574 daemons/attrd/attrd_ipc.c pcmk__request_t request = { request 587 daemons/attrd/attrd_ipc.c request.op = crm_element_value_copy(request.xml, PCMK_XA_TASK); request 588 daemons/attrd/attrd_ipc.c CRM_CHECK(request.op != NULL, return 0); request 590 daemons/attrd/attrd_ipc.c attrd_handle_request(&request); request 591 daemons/attrd/attrd_ipc.c pcmk__reset_request(&request); request 44 daemons/attrd/attrd_messages.c remove_unsupported_sync_points(pcmk__request_t *request) request 46 daemons/attrd/attrd_messages.c if (request->xml->children != NULL && !ATTRD_SUPPORTS_MULTI_MESSAGE(minimum_protocol_version) && request 47 daemons/attrd/attrd_messages.c attrd_request_has_sync_point(request->xml)) { request 49 daemons/attrd/attrd_messages.c pcmk__request_origin(request)); request 50 daemons/attrd/attrd_messages.c remove_sync_point_attribute(request->xml, NULL); request 55 daemons/attrd/attrd_messages.c handle_unknown_request(pcmk__request_t *request) request 58 daemons/attrd/attrd_messages.c request->op, pcmk__request_origin_type(request), request 59 daemons/attrd/attrd_messages.c pcmk__request_origin(request)); request 60 daemons/attrd/attrd_messages.c pcmk__format_result(&request->result, CRM_EX_PROTOCOL, PCMK_EXEC_INVALID, request 61 daemons/attrd/attrd_messages.c "Unknown request type '%s' (bug?)", request->op); request 66 daemons/attrd/attrd_messages.c handle_clear_failure_request(pcmk__request_t *request) request 68 daemons/attrd/attrd_messages.c if (request->peer != NULL) { request 72 daemons/attrd/attrd_messages.c attrd_peer_clear_failure(request); request 73 daemons/attrd/attrd_messages.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 76 daemons/attrd/attrd_messages.c remove_unsupported_sync_points(request); request 78 daemons/attrd/attrd_messages.c if (attrd_request_has_sync_point(request->xml)) { request 86 daemons/attrd/attrd_messages.c attrd_add_client_to_waitlist(request); request 93 daemons/attrd/attrd_messages.c attrd_send_ack(request->ipc_client, request->ipc_id, request 94 daemons/attrd/attrd_messages.c request->ipc_flags); request 97 daemons/attrd/attrd_messages.c return attrd_client_clear_failure(request); request 102 daemons/attrd/attrd_messages.c handle_confirm_request(pcmk__request_t *request) request 104 daemons/attrd/attrd_messages.c if (request->peer != NULL) { request 107 daemons/attrd/attrd_messages.c crm_debug("Received confirmation from %s", request->peer); request 109 daemons/attrd/attrd_messages.c if (crm_element_value_int(request->xml, PCMK__XA_CALL_ID, request 111 daemons/attrd/attrd_messages.c pcmk__set_result(&request->result, CRM_EX_PROTOCOL, PCMK_EXEC_INVALID, request 114 daemons/attrd/attrd_messages.c attrd_handle_confirmation(callid, request->peer); request 117 daemons/attrd/attrd_messages.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 120 daemons/attrd/attrd_messages.c return handle_unknown_request(request); request 125 daemons/attrd/attrd_messages.c handle_flush_request(pcmk__request_t *request) request 127 daemons/attrd/attrd_messages.c if (request->peer != NULL) { request 131 daemons/attrd/attrd_messages.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 134 daemons/attrd/attrd_messages.c return handle_unknown_request(request); request 139 daemons/attrd/attrd_messages.c handle_query_request(pcmk__request_t *request) request 141 daemons/attrd/attrd_messages.c if (request->peer != NULL) { request 142 daemons/attrd/attrd_messages.c return handle_unknown_request(request); request 144 daemons/attrd/attrd_messages.c return attrd_client_query(request); request 149 daemons/attrd/attrd_messages.c handle_remove_request(pcmk__request_t *request) request 151 daemons/attrd/attrd_messages.c if (request->peer != NULL) { request 152 daemons/attrd/attrd_messages.c const char *host = crm_element_value(request->xml, PCMK__XA_ATTR_HOST); request 155 daemons/attrd/attrd_messages.c if (pcmk__xe_get_bool_attr(request->xml, PCMK__XA_REAP, request 159 daemons/attrd/attrd_messages.c attrd_peer_remove(host, reap, request->peer); request 160 daemons/attrd/attrd_messages.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 163 daemons/attrd/attrd_messages.c return attrd_client_peer_remove(request); request 168 daemons/attrd/attrd_messages.c handle_refresh_request(pcmk__request_t *request) request 170 daemons/attrd/attrd_messages.c if (request->peer != NULL) { request 171 daemons/attrd/attrd_messages.c return handle_unknown_request(request); request 173 daemons/attrd/attrd_messages.c return attrd_client_refresh(request); request 178 daemons/attrd/attrd_messages.c handle_sync_response_request(pcmk__request_t *request) request 180 daemons/attrd/attrd_messages.c if (request->ipc_client != NULL) { request 181 daemons/attrd/attrd_messages.c return handle_unknown_request(request); request 183 daemons/attrd/attrd_messages.c if (request->peer != NULL) { request 184 daemons/attrd/attrd_messages.c crm_node_t *peer = pcmk__get_node(0, request->peer, NULL, request 186 daemons/attrd/attrd_messages.c bool peer_won = attrd_check_for_new_writer(peer, request->xml); request 189 daemons/attrd/attrd_messages.c attrd_peer_sync_response(peer, peer_won, request->xml); request 193 daemons/attrd/attrd_messages.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 199 daemons/attrd/attrd_messages.c handle_update_request(pcmk__request_t *request) request 201 daemons/attrd/attrd_messages.c if (request->peer != NULL) { request 202 daemons/attrd/attrd_messages.c const char *host = crm_element_value(request->xml, PCMK__XA_ATTR_HOST); request 203 daemons/attrd/attrd_messages.c crm_node_t *peer = pcmk__get_node(0, request->peer, NULL, request 206 daemons/attrd/attrd_messages.c attrd_peer_update(peer, request->xml, host, false); request 207 daemons/attrd/attrd_messages.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 211 daemons/attrd/attrd_messages.c remove_unsupported_sync_points(request); request 213 daemons/attrd/attrd_messages.c if (attrd_request_has_sync_point(request->xml)) { request 221 daemons/attrd/attrd_messages.c attrd_add_client_to_waitlist(request); request 232 daemons/attrd/attrd_messages.c attrd_send_ack(request->ipc_client, request->ipc_id, request 233 daemons/attrd/attrd_messages.c request->flags|crm_ipc_client_response); request 236 daemons/attrd/attrd_messages.c return attrd_client_update(request); request 270 daemons/attrd/attrd_messages.c attrd_handle_request(pcmk__request_t *request) request 280 daemons/attrd/attrd_messages.c reply = pcmk__process_request(request, attrd_handlers); request 285 daemons/attrd/attrd_messages.c if (request->ipc_client != NULL) { request 286 daemons/attrd/attrd_messages.c pcmk__ipc_send_xml(request->ipc_client, request->ipc_id, reply, request 287 daemons/attrd/attrd_messages.c request->ipc_flags); request 295 daemons/attrd/attrd_messages.c reason = request->result.exit_reason; request 297 daemons/attrd/attrd_messages.c request->op, pcmk__request_origin_type(request), request 298 daemons/attrd/attrd_messages.c pcmk__request_origin(request), request 299 daemons/attrd/attrd_messages.c pcmk_exec_status_str(request->result.execution_status), request 304 daemons/attrd/attrd_messages.c if (!pcmk__result_ok(&request->result)) { request 311 daemons/attrd/attrd_messages.c pcmk__reset_request(request); request 135 daemons/attrd/attrd_sync.c attrd_add_client_to_waitlist(pcmk__request_t *request) request 137 daemons/attrd/attrd_sync.c const char *sync_point = attrd_request_sync_point(request->xml); request 159 daemons/attrd/attrd_sync.c wl->client_id = pcmk__str_copy(request->ipc_client->id); request 160 daemons/attrd/attrd_sync.c wl->ipc_id = request->ipc_id; request 161 daemons/attrd/attrd_sync.c wl->flags = request->flags; request 173 daemons/attrd/attrd_sync.c crm_xml_add_int(request->xml, PCMK__XA_CALL_ID, waitlist_client); request 475 daemons/attrd/attrd_sync.c attrd_expect_confirmations(pcmk__request_t *request, attrd_confirmation_action_fn fn) request 487 daemons/attrd/attrd_sync.c if (crm_element_value_int(request->xml, PCMK__XA_CALL_ID, &callid) == -1) { request 509 daemons/attrd/attrd_sync.c action->xml = pcmk__xml_copy(NULL, request->xml); request 510 daemons/attrd/attrd_sync.c action->client_id = pcmk__str_copy(request->ipc_client->id); request 511 daemons/attrd/attrd_sync.c action->ipc_id = request->ipc_id; request 512 daemons/attrd/attrd_sync.c action->flags = request->flags; request 191 daemons/attrd/pacemaker-attrd.h void attrd_peer_clear_failure(pcmk__request_t *request); request 196 daemons/attrd/pacemaker-attrd.h xmlNode *attrd_client_peer_remove(pcmk__request_t *request); request 197 daemons/attrd/pacemaker-attrd.h xmlNode *attrd_client_clear_failure(pcmk__request_t *request); request 198 daemons/attrd/pacemaker-attrd.h xmlNode *attrd_client_update(pcmk__request_t *request); request 199 daemons/attrd/pacemaker-attrd.h xmlNode *attrd_client_refresh(pcmk__request_t *request); request 200 daemons/attrd/pacemaker-attrd.h xmlNode *attrd_client_query(pcmk__request_t *request); request 228 daemons/attrd/pacemaker-attrd.h void attrd_handle_request(pcmk__request_t *request); request 237 daemons/attrd/pacemaker-attrd.h void attrd_add_client_to_waitlist(pcmk__request_t *request); request 242 daemons/attrd/pacemaker-attrd.h void attrd_expect_confirmations(pcmk__request_t *request, attrd_confirmation_action_fn fn); request 54 daemons/based/based_callbacks.c static int cib_process_command(xmlNode *request, request 669 daemons/based/based_callbacks.c parse_peer_options_v1(const cib__operation_t *operation, xmlNode *request, request 676 daemons/based/based_callbacks.c const char *originator = crm_element_value(request, PCMK__XA_SRC); request 677 daemons/based/based_callbacks.c const char *reply_to = crm_element_value(request, PCMK__XA_CIB_ISREPLYTO); request 681 daemons/based/based_callbacks.c if (pcmk__xe_attr_is_true(request, PCMK__XA_CIB_UPDATE)) { request 693 daemons/based/based_callbacks.c op = crm_element_value(request, PCMK__XA_CIB_OP); request 709 daemons/based/based_callbacks.c process_ping_reply(request); request 721 daemons/based/based_callbacks.c host = crm_element_value(request, PCMK__XA_CIB_HOST); request 737 daemons/based/based_callbacks.c delegated = crm_element_value(request, PCMK__XA_CIB_DELEGATED_FROM); request 761 daemons/based/based_callbacks.c crm_log_xml_err(request, "Peer[inbound]"); request 768 daemons/based/based_callbacks.c parse_peer_options_v2(const cib__operation_t *operation, xmlNode *request, request 773 daemons/based/based_callbacks.c const char *delegated = crm_element_value(request, request 775 daemons/based/based_callbacks.c const char *op = crm_element_value(request, PCMK__XA_CIB_OP); request 776 daemons/based/based_callbacks.c const char *originator = crm_element_value(request, PCMK__XA_SRC); request 777 daemons/based/based_callbacks.c const char *reply_to = crm_element_value(request, PCMK__XA_CIB_ISREPLYTO); request 797 daemons/based/based_callbacks.c process_ping_reply(request); request 811 daemons/based/based_callbacks.c const char *max = crm_element_value(request, PCMK__XA_CIB_SCHEMA_MAX); request 812 daemons/based/based_callbacks.c const char *upgrade_rc = crm_element_value(request, request 822 daemons/based/based_callbacks.c crm_xml_add(request, PCMK__XA_CIB_RC, upgrade_rc); request 837 daemons/based/based_callbacks.c } else if (pcmk__xe_attr_is_true(request, PCMK__XA_CIB_UPDATE)) { request 874 daemons/based/based_callbacks.c host = crm_element_value(request, PCMK__XA_CIB_HOST); request 891 daemons/based/based_callbacks.c pcmk__s(crm_element_value(request, PCMK__XA_CIB_CLIENTNAME), request 893 daemons/based/based_callbacks.c pcmk__s(crm_element_value(request, PCMK__XA_CIB_CALLID), request 900 daemons/based/based_callbacks.c parse_peer_options(const cib__operation_t *operation, xmlNode *request, request 909 daemons/based/based_callbacks.c return parse_peer_options_v1(operation, request, local_notify, request 912 daemons/based/based_callbacks.c return parse_peer_options_v2(operation, request, local_notify, request 924 daemons/based/based_callbacks.c forward_request(xmlNode *request) request 926 daemons/based/based_callbacks.c const char *op = crm_element_value(request, PCMK__XA_CIB_OP); request 927 daemons/based/based_callbacks.c const char *section = crm_element_value(request, PCMK__XA_CIB_SECTION); request 928 daemons/based/based_callbacks.c const char *host = crm_element_value(request, PCMK__XA_CIB_HOST); request 929 daemons/based/based_callbacks.c const char *originator = crm_element_value(request, PCMK__XA_SRC); request 930 daemons/based/based_callbacks.c const char *client_name = crm_element_value(request, request 932 daemons/based/based_callbacks.c const char *call_id = crm_element_value(request, PCMK__XA_CIB_CALLID); request 950 daemons/based/based_callbacks.c crm_xml_add(request, PCMK__XA_CIB_DELEGATED_FROM, OUR_NODENAME); request 955 daemons/based/based_callbacks.c pcmk__cluster_send_message(peer, crm_msg_cib, request); request 958 daemons/based/based_callbacks.c pcmk__xe_remove_attr(request, PCMK__XA_CIB_DELEGATED_FROM); request 1038 daemons/based/based_callbacks.c cib_process_request(xmlNode *request, gboolean privileged, request 1054 daemons/based/based_callbacks.c const char *op = crm_element_value(request, PCMK__XA_CIB_OP); request 1055 daemons/based/based_callbacks.c const char *originator = crm_element_value(request, PCMK__XA_SRC); request 1056 daemons/based/based_callbacks.c const char *host = crm_element_value(request, PCMK__XA_CIB_HOST); request 1058 daemons/based/based_callbacks.c const char *call_id = crm_element_value(request, PCMK__XA_CIB_CALLID); request 1059 daemons/based/based_callbacks.c const char *client_id = crm_element_value(request, PCMK__XA_CIB_CLIENTID); request 1060 daemons/based/based_callbacks.c const char *client_name = crm_element_value(request, request 1062 daemons/based/based_callbacks.c const char *reply_to = crm_element_value(request, PCMK__XA_CIB_ISREPLYTO); request 1067 daemons/based/based_callbacks.c crm_element_value_int(request, PCMK__XA_CIB_CALLOPT, &call_options); request 1088 daemons/based/based_callbacks.c crm_xml_add(request, PCMK__XA_SRC, OUR_NODENAME); request 1111 daemons/based/based_callbacks.c } else if (!parse_peer_options(operation, request, &local_notify, request 1143 daemons/based/based_callbacks.c forward_request(request); request 1159 daemons/based/based_callbacks.c const char *section = crm_element_value(request, PCMK__XA_CIB_SECTION); request 1164 daemons/based/based_callbacks.c rc = cib_process_command(request, operation, op_function, &op_reply, request 1170 daemons/based/based_callbacks.c } else if (pcmk__xe_attr_is_true(request, PCMK__XA_CIB_UPDATE)) { request 1210 daemons/based/based_callbacks.c crm_log_xml_err(request, "null reply"); request 1230 daemons/based/based_callbacks.c crm_xml_add_int(request, PCMK__XA_CIB_LOCAL_NOTIFY_ID, request 1232 daemons/based/based_callbacks.c broadcast = send_peer_reply(request, result_diff, originator, TRUE); request 1273 daemons/based/based_callbacks.c do_local_notify(request, client_id, request 1303 daemons/based/based_callbacks.c prepare_input(const xmlNode *request, enum cib__op_type type, request 1316 daemons/based/based_callbacks.c if (pcmk__xe_attr_is_true(request, PCMK__XA_CIB_UPDATE)) { request 1319 daemons/based/based_callbacks.c wrapper = pcmk__xe_first_child(request, wrapper_name, NULL, request 1326 daemons/based/based_callbacks.c wrapper = pcmk__xe_first_child(request, PCMK__XE_CIB_CALLDATA, NULL, request 1329 daemons/based/based_callbacks.c *section = crm_element_value(request, PCMK__XA_CIB_SECTION); request 1364 daemons/based/based_callbacks.c cib_process_command(xmlNode *request, const cib__operation_t *operation, request 1376 daemons/based/based_callbacks.c const char *call_id = crm_element_value(request, PCMK__XA_CIB_CALLID); request 1377 daemons/based/based_callbacks.c const char *client_id = crm_element_value(request, PCMK__XA_CIB_CLIENTID); request 1378 daemons/based/based_callbacks.c const char *client_name = crm_element_value(request, request 1380 daemons/based/based_callbacks.c const char *originator = crm_element_value(request, PCMK__XA_SRC); request 1399 daemons/based/based_callbacks.c op = crm_element_value(request, PCMK__XA_CIB_OP); request 1400 daemons/based/based_callbacks.c crm_element_value_int(request, PCMK__XA_CIB_CALLOPT, &call_options); request 1408 daemons/based/based_callbacks.c input = prepare_input(request, operation->type, §ion); request 1412 daemons/based/based_callbacks.c request, input, false, &config_changed, &the_cib, request 1426 daemons/based/based_callbacks.c if (pcmk__xe_attr_is_true(request, PCMK__XA_CIB_UPDATE)) { request 1445 daemons/based/based_callbacks.c request, input, manage_counters, &config_changed, request 1509 daemons/based/based_callbacks.c sync_our_cib(request, TRUE); request 418 daemons/based/based_messages.c sync_our_cib(xmlNode * request, gboolean all) request 422 daemons/based/based_messages.c const char *host = crm_element_value(request, PCMK__XA_SRC); request 423 daemons/based/based_messages.c const char *op = crm_element_value(request, PCMK__XA_CIB_OP); request 433 daemons/based/based_messages.c replace_request = cib_msg_copy(request); request 58 daemons/based/based_transaction.c for (xmlNode *request = pcmk__xe_first_child(transaction, request 61 daemons/based/based_transaction.c request != NULL; request = pcmk__xe_next_same(request)) { request 63 daemons/based/based_transaction.c const char *op = crm_element_value(request, PCMK__XA_CIB_OP); request 64 daemons/based/based_transaction.c const char *host = crm_element_value(request, PCMK__XA_CIB_HOST); request 77 daemons/based/based_transaction.c rc = cib_process_request(request, TRUE, client); request 86 daemons/based/based_transaction.c crm_log_xml_info(request, "Failed request"); request 92 daemons/based/based_transaction.c crm_log_xml_trace(request, "Successful request"); request 77 daemons/based/pacemaker-based.h int cib_process_request(xmlNode *request, gboolean privileged, request 130 daemons/based/pacemaker-based.h int sync_our_cib(xmlNode *request, gboolean all); request 967 daemons/controld/controld_execd.c ha_msg_input_t *request, bool unregister, bool from_cib) request 982 daemons/controld/controld_execd.c if (request) { request 984 daemons/controld/controld_execd.c char *ref = crm_element_value_copy(request->msg, PCMK_XA_REFERENCE); request 988 daemons/controld/controld_execd.c op->input = copy_ha_msg_input(request); request 998 daemons/controld/controld_execd.c delete_rsc_entry(lrm_state, request, id, iter, rc, user, from_cib); request 551 daemons/controld/controld_execd_state.c xmlNode *request = pcmk__xe_first_child(wrapper, NULL, NULL, NULL); request 553 daemons/controld/controld_execd_state.c CRM_CHECK(request != NULL, return); request 555 daemons/controld/controld_execd_state.c crm_xml_add(request, PCMK_XE_ACL_ROLE, "pacemaker-remote"); request 556 daemons/controld/controld_execd_state.c pcmk__update_acl_user(request, PCMK__XA_LRMD_IPC_USER, request 564 daemons/controld/controld_execd_state.c if (pcmk__str_eq(crm_element_value(request, PCMK__XA_CRM_TASK), request 568 daemons/controld/controld_execd_state.c crm_element_value_int(request, PCMK_XA_ID, &node_id); request 570 daemons/controld/controld_execd_state.c && (crm_element_value(request, PCMK_XA_UNAME) == NULL)) { request 571 daemons/controld/controld_execd_state.c crm_xml_add(request, PCMK_XA_UNAME, lrm_state->node_name); request 575 daemons/controld/controld_execd_state.c crmd_proxy_dispatch(session, request); request 855 daemons/controld/controld_messages.c handle_node_list(const xmlNode *request) request 874 daemons/controld/controld_messages.c reply = create_reply(request, reply_data); request 104 daemons/execd/execd_alerts.c process_lrmd_alert_exec(pcmk__client_t *client, uint32_t id, xmlNode *request) request 108 daemons/execd/execd_alerts.c xmlNode *alert_xml = get_xpath_object("//" PCMK__XE_LRMD_ALERT, request, request 140 daemons/execd/execd_alerts.c crm_element_value_int(request, PCMK__XA_LRMD_CALLID, &(cb_data->call_id)); request 689 daemons/execd/execd_commands.c send_generic_notify(int rc, xmlNode * request) request 694 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" PCMK__XE_LRMD_RSC, request, request 697 daemons/execd/execd_commands.c const char *op = crm_element_value(request, PCMK__XA_LRMD_OP); request 699 daemons/execd/execd_commands.c crm_element_value_int(request, PCMK__XA_LRMD_CALLID, &call_id); request 1485 daemons/execd/execd_commands.c process_lrmd_signon(pcmk__client_t *client, xmlNode *request, int call_id, request 1491 daemons/execd/execd_commands.c crm_element_value(request, PCMK__XA_LRMD_PROTOCOL_VERSION); request 1500 daemons/execd/execd_commands.c if (pcmk__xe_attr_is_true(request, PCMK__XA_LRMD_IS_IPC_PROVIDER)) { request 1505 daemons/execd/execd_commands.c const char *op = crm_element_value(request, PCMK__XA_LRMD_OP); request 1539 daemons/execd/execd_commands.c process_lrmd_rsc_register(pcmk__client_t *client, uint32_t id, xmlNode *request) request 1542 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = build_rsc_from_xml(request); request 1560 daemons/execd/execd_commands.c process_lrmd_get_rsc_info(xmlNode *request, int call_id) request 1563 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" PCMK__XE_LRMD_RSC, request, request 1591 daemons/execd/execd_commands.c xmlNode *request) request 1595 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" PCMK__XE_LRMD_RSC, request, request 1623 daemons/execd/execd_commands.c process_lrmd_rsc_exec(pcmk__client_t *client, uint32_t id, xmlNode *request) request 1627 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" PCMK__XE_LRMD_RSC, request, request 1641 daemons/execd/execd_commands.c cmd = create_lrmd_cmd(request, client); request 1749 daemons/execd/execd_commands.c process_lrmd_rsc_cancel(pcmk__client_t *client, uint32_t id, xmlNode *request) request 1751 daemons/execd/execd_commands.c xmlNode *rsc_xml = get_xpath_object("//" PCMK__XE_LRMD_RSC, request, request 1784 daemons/execd/execd_commands.c process_lrmd_get_recurring(xmlNode *request, int call_id) request 1793 daemons/execd/execd_commands.c rsc_xml = pcmk__xe_first_child(request, PCMK__XE_LRMD_CALLDATA, NULL, NULL); request 1830 daemons/execd/execd_commands.c process_lrmd_message(pcmk__client_t *client, uint32_t id, xmlNode *request) request 1834 daemons/execd/execd_commands.c const char *op = crm_element_value(request, PCMK__XA_LRMD_OP); request 1846 daemons/execd/execd_commands.c crm_element_value_int(request, PCMK__XA_LRMD_CALLID, &call_id); request 1851 daemons/execd/execd_commands.c ipc_proxy_forward_client(client, request); request 1860 daemons/execd/execd_commands.c rc = process_lrmd_signon(client, request, call_id, &reply); request 1864 daemons/execd/execd_commands.c rc = process_lrmd_rsc_register(client, id, request); request 1872 daemons/execd/execd_commands.c reply = process_lrmd_get_rsc_info(request, call_id); request 1879 daemons/execd/execd_commands.c rc = process_lrmd_rsc_unregister(client, id, request); request 1890 daemons/execd/execd_commands.c rc = process_lrmd_rsc_exec(client, id, request); request 1897 daemons/execd/execd_commands.c rc = process_lrmd_rsc_cancel(client, id, request); request 1907 daemons/execd/execd_commands.c xmlNode *wrapper = pcmk__xe_first_child(request, request 1922 daemons/execd/execd_commands.c rc = process_lrmd_alert_exec(client, id, request); request 1929 daemons/execd/execd_commands.c reply = process_lrmd_get_recurring(request, call_id); request 1964 daemons/execd/execd_commands.c send_generic_notify(rc, request); request 131 daemons/execd/pacemaker-execd.c xmlNode *request = pcmk__client_data2xml(client, data, &id, &flags); request 141 daemons/execd/pacemaker-execd.c if (!request) { request 146 daemons/execd/pacemaker-execd.c const char *value = crm_element_value(request, request 161 daemons/execd/pacemaker-execd.c crm_xml_add(request, PCMK__XA_LRMD_CLIENTID, client->id); request 162 daemons/execd/pacemaker-execd.c crm_xml_add(request, PCMK__XA_LRMD_CLIENTNAME, client->name); request 163 daemons/execd/pacemaker-execd.c crm_xml_add_int(request, PCMK__XA_LRMD_CALLID, lrmd_call_id); request 165 daemons/execd/pacemaker-execd.c process_lrmd_message(client, id, request); request 167 daemons/execd/pacemaker-execd.c free_xml(request); request 70 daemons/execd/pacemaker-execd.h xmlNode *request); request 108 daemons/execd/pacemaker-execd.h xmlNode *request); request 233 daemons/execd/remoted_proxy.c xmlNode *request = NULL; request 254 daemons/execd/remoted_proxy.c request = pcmk__client_data2xml(client, data, &id, &flags); request 256 daemons/execd/remoted_proxy.c if (!request) { request 261 daemons/execd/remoted_proxy.c free_xml(request); return FALSE); request 263 daemons/execd/remoted_proxy.c free_xml(request); return FALSE); request 281 daemons/execd/remoted_proxy.c pcmk__xml_copy(wrapper, request); request 285 daemons/execd/remoted_proxy.c free_xml(request); request 90 daemons/execd/remoted_tls.c xmlNode *request = NULL; request 110 daemons/execd/remoted_tls.c request = pcmk__remote_message_xml(client->remote); request 111 daemons/execd/remoted_tls.c while (request) { request 112 daemons/execd/remoted_tls.c crm_element_value_int(request, PCMK__XA_LRMD_REMOTE_MSG_ID, &id); request 115 daemons/execd/remoted_tls.c client->name = crm_element_value_copy(request, request 124 daemons/execd/remoted_tls.c crm_xml_add(request, PCMK__XA_LRMD_CLIENTID, client->id); request 125 daemons/execd/remoted_tls.c crm_xml_add(request, PCMK__XA_LRMD_CLIENTNAME, client->name); request 126 daemons/execd/remoted_tls.c crm_xml_add_int(request, PCMK__XA_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 2973 daemons/fenced/fenced_commands.c fenced_construct_reply(const xmlNode *request, xmlNode *data, request 2984 daemons/fenced/fenced_commands.c if (request == NULL) { request 3011 daemons/fenced/fenced_commands.c value = crm_element_value(request, name); request 3106 daemons/fenced/fenced_commands.c remove_relay_op(xmlNode * request) request 3108 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//@" PCMK__XE_ST_DEVICE_ACTION, request, request 3120 daemons/fenced/fenced_commands.c relay_op_id = crm_element_value(request, PCMK__XA_ST_REMOTE_OP_RELAY); request 3121 daemons/fenced/fenced_commands.c op_id = crm_element_value(request, PCMK__XA_ST_REMOTE_OP); request 3122 daemons/fenced/fenced_commands.c client_name = crm_element_value(request, PCMK__XA_ST_CLIENTNAME); request 3188 daemons/fenced/fenced_commands.c handle_register_request(pcmk__request_t *request) request 3192 daemons/fenced/fenced_commands.c CRM_ASSERT(request->ipc_client != NULL); request 3194 daemons/fenced/fenced_commands.c crm_xml_add(reply, PCMK__XA_ST_CLIENTID, request->ipc_client->id); request 3195 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 3196 daemons/fenced/fenced_commands.c pcmk__set_request_flags(request, pcmk__request_reuse_options); request 3202 daemons/fenced/fenced_commands.c handle_agent_request(pcmk__request_t *request) request 3204 daemons/fenced/fenced_commands.c execute_agent_action(request->xml, &request->result); request 3205 daemons/fenced/fenced_commands.c if (request->result.execution_status == PCMK_EXEC_PENDING) { request 3208 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); request 3213 daemons/fenced/fenced_commands.c handle_update_timeout_request(pcmk__request_t *request) request 3215 daemons/fenced/fenced_commands.c const char *call_id = crm_element_value(request->xml, PCMK__XA_ST_CALLID); request 3216 daemons/fenced/fenced_commands.c const char *client_id = crm_element_value(request->xml, request 3220 daemons/fenced/fenced_commands.c crm_element_value_int(request->xml, PCMK__XA_ST_TIMEOUT, &op_timeout); request 3222 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 3228 daemons/fenced/fenced_commands.c handle_query_request(pcmk__request_t *request) request 3234 daemons/fenced/fenced_commands.c const char *client_id = crm_element_value(request->xml, request 3238 daemons/fenced/fenced_commands.c if (request->peer != NULL) { request 3240 daemons/fenced/fenced_commands.c create_remote_stonith_op(client_id, request->xml, TRUE); request 3244 daemons/fenced/fenced_commands.c remove_relay_op(request->xml); request 3246 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 3248 daemons/fenced/fenced_commands.c dev = get_xpath_object("//@" PCMK__XE_ST_DEVICE_ACTION, request->xml, request 3260 daemons/fenced/fenced_commands.c crm_log_xml_trace(request->xml, "Query"); request 3264 daemons/fenced/fenced_commands.c query->reply = fenced_construct_reply(request->xml, NULL, &request->result); request 3265 daemons/fenced/fenced_commands.c query->remote_peer = pcmk__str_copy(request->peer); request 3269 daemons/fenced/fenced_commands.c query->call_options = request->call_options; request 3271 daemons/fenced/fenced_commands.c crm_element_value_int(request->xml, PCMK__XA_ST_TIMEOUT, &timeout); request 3280 daemons/fenced/fenced_commands.c handle_notify_request(pcmk__request_t *request) request 3284 daemons/fenced/fenced_commands.c CRM_ASSERT(request->ipc_client != NULL); request 3285 daemons/fenced/fenced_commands.c flag_name = crm_element_value(request->xml, PCMK__XA_ST_NOTIFY_ACTIVATE); request 3288 daemons/fenced/fenced_commands.c flag_name, pcmk__request_origin(request)); request 3289 daemons/fenced/fenced_commands.c pcmk__set_client_flags(request->ipc_client, get_stonith_flag(flag_name)); request 3292 daemons/fenced/fenced_commands.c flag_name = crm_element_value(request->xml, PCMK__XA_ST_NOTIFY_DEACTIVATE); request 3295 daemons/fenced/fenced_commands.c flag_name, pcmk__request_origin(request)); request 3296 daemons/fenced/fenced_commands.c pcmk__clear_client_flags(request->ipc_client, request 3300 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 3301 daemons/fenced/fenced_commands.c pcmk__set_request_flags(request, pcmk__request_reuse_options); request 3303 daemons/fenced/fenced_commands.c return pcmk__ipc_create_ack(request->ipc_flags, PCMK__XE_ACK, NULL, request 3309 daemons/fenced/fenced_commands.c handle_relay_request(pcmk__request_t *request) request 3311 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//@" PCMK__XA_ST_TARGET, request->xml, request 3316 daemons/fenced/fenced_commands.c pcmk__request_origin_type(request), request 3317 daemons/fenced/fenced_commands.c pcmk__request_origin(request), request 3321 daemons/fenced/fenced_commands.c if (initiate_remote_stonith_op(NULL, request->xml, FALSE) == NULL) { request 3322 daemons/fenced/fenced_commands.c fenced_set_protocol_error(&request->result); request 3323 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); request 3326 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_PENDING, NULL); request 3332 daemons/fenced/fenced_commands.c handle_fence_request(pcmk__request_t *request) request 3334 daemons/fenced/fenced_commands.c if ((request->peer != NULL) || stand_alone) { request 3335 daemons/fenced/fenced_commands.c fence_locally(request->xml, &request->result); request 3337 daemons/fenced/fenced_commands.c } else if (pcmk_is_set(request->call_options, st_opt_manual_ack)) { request 3338 daemons/fenced/fenced_commands.c switch (fenced_handle_manual_confirmation(request->ipc_client, request 3339 daemons/fenced/fenced_commands.c request->xml)) { request 3341 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, request 3345 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_PENDING, request 3349 daemons/fenced/fenced_commands.c fenced_set_protocol_error(&request->result); request 3355 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//@" PCMK__XA_ST_TARGET, request->xml, request 3361 daemons/fenced/fenced_commands.c if (request->ipc_client != NULL) { request 3365 daemons/fenced/fenced_commands.c pcmk__request_origin(request), action, request 3369 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, request 3371 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, request 3372 daemons/fenced/fenced_commands.c &request->result); request 3378 daemons/fenced/fenced_commands.c request->peer, action, target, request 3388 daemons/fenced/fenced_commands.c if (request->ipc_client->id == 0) { request 3389 daemons/fenced/fenced_commands.c client_id = crm_element_value(request->xml, request 3392 daemons/fenced/fenced_commands.c client_id = request->ipc_client->id; request 3399 daemons/fenced/fenced_commands.c op = create_remote_stonith_op(client_id, request->xml, FALSE); request 3401 daemons/fenced/fenced_commands.c crm_xml_add(request->xml, PCMK__XA_ST_OP, STONITH_OP_RELAY); request 3402 daemons/fenced/fenced_commands.c crm_xml_add(request->xml, PCMK__XA_ST_CLIENTID, request 3403 daemons/fenced/fenced_commands.c request->ipc_client->id); request 3404 daemons/fenced/fenced_commands.c crm_xml_add(request->xml, PCMK__XA_ST_REMOTE_OP, op->id); request 3405 daemons/fenced/fenced_commands.c pcmk__cluster_send_message(node, crm_msg_stonith_ng, request->xml); request 3406 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_PENDING, request 3409 daemons/fenced/fenced_commands.c } else if (initiate_remote_stonith_op(request->ipc_client, request->xml, request 3411 daemons/fenced/fenced_commands.c fenced_set_protocol_error(&request->result); request 3414 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_PENDING, request 3419 daemons/fenced/fenced_commands.c if (request->result.execution_status == PCMK_EXEC_PENDING) { request 3422 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); request 3427 daemons/fenced/fenced_commands.c handle_history_request(pcmk__request_t *request) request 3432 daemons/fenced/fenced_commands.c stonith_fence_history(request->xml, &data, request->peer, request 3433 daemons/fenced/fenced_commands.c request->call_options); request 3434 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 3435 daemons/fenced/fenced_commands.c if (!pcmk_is_set(request->call_options, st_opt_discard_reply)) { request 3439 daemons/fenced/fenced_commands.c reply = fenced_construct_reply(request->xml, data, &request->result); request 3447 daemons/fenced/fenced_commands.c handle_device_add_request(pcmk__request_t *request) request 3449 daemons/fenced/fenced_commands.c const char *op = crm_element_value(request->xml, PCMK__XA_ST_OP); request 3450 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//" PCMK__XE_ST_DEVICE_ID, request->xml, request 3453 daemons/fenced/fenced_commands.c if (is_privileged(request->ipc_client, op)) { request 3456 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, request 3461 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, CRM_EX_INSUFFICIENT_PRIV, request 3465 daemons/fenced/fenced_commands.c fenced_send_config_notification(op, &request->result, request 3467 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); request 3472 daemons/fenced/fenced_commands.c handle_device_delete_request(pcmk__request_t *request) request 3474 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//" PCMK__XE_ST_DEVICE_ID, request->xml, request 3477 daemons/fenced/fenced_commands.c const char *op = crm_element_value(request->xml, PCMK__XA_ST_OP); request 3479 daemons/fenced/fenced_commands.c if (is_privileged(request->ipc_client, op)) { request 3481 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 3483 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, CRM_EX_INSUFFICIENT_PRIV, request 3487 daemons/fenced/fenced_commands.c fenced_send_config_notification(op, &request->result, device_id); request 3488 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); request 3493 daemons/fenced/fenced_commands.c handle_level_add_request(pcmk__request_t *request) request 3496 daemons/fenced/fenced_commands.c const char *op = crm_element_value(request->xml, PCMK__XA_ST_OP); request 3498 daemons/fenced/fenced_commands.c if (is_privileged(request->ipc_client, op)) { request 3499 daemons/fenced/fenced_commands.c fenced_register_level(request->xml, &desc, &request->result); request 3501 daemons/fenced/fenced_commands.c unpack_level_request(request->xml, NULL, NULL, NULL, &desc); request 3502 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, CRM_EX_INSUFFICIENT_PRIV, request 3506 daemons/fenced/fenced_commands.c fenced_send_config_notification(op, &request->result, desc); request 3508 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); request 3513 daemons/fenced/fenced_commands.c handle_level_delete_request(pcmk__request_t *request) request 3516 daemons/fenced/fenced_commands.c const char *op = crm_element_value(request->xml, PCMK__XA_ST_OP); request 3518 daemons/fenced/fenced_commands.c if (is_privileged(request->ipc_client, op)) { request 3519 daemons/fenced/fenced_commands.c fenced_unregister_level(request->xml, &desc, &request->result); request 3521 daemons/fenced/fenced_commands.c unpack_level_request(request->xml, NULL, NULL, NULL, &desc); request 3522 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, CRM_EX_INSUFFICIENT_PRIV, request 3526 daemons/fenced/fenced_commands.c fenced_send_config_notification(op, &request->result, desc); request 3528 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); request 3533 daemons/fenced/fenced_commands.c handle_cache_request(pcmk__request_t *request) request 3538 daemons/fenced/fenced_commands.c crm_element_value_int(request->xml, PCMK_XA_ID, &node_id); request 3539 daemons/fenced/fenced_commands.c name = crm_element_value(request->xml, PCMK_XA_UNAME); request 3541 daemons/fenced/fenced_commands.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 3546 daemons/fenced/fenced_commands.c handle_unknown_request(pcmk__request_t *request) request 3549 daemons/fenced/fenced_commands.c request->op, pcmk__request_origin_type(request), request 3550 daemons/fenced/fenced_commands.c pcmk__request_origin(request)); request 3551 daemons/fenced/fenced_commands.c pcmk__format_result(&request->result, CRM_EX_PROTOCOL, PCMK_EXEC_INVALID, request 3552 daemons/fenced/fenced_commands.c "Unknown IPC request type '%s' (bug?)", request->op); request 3553 daemons/fenced/fenced_commands.c return fenced_construct_reply(request->xml, NULL, &request->result); request 3589 daemons/fenced/fenced_commands.c handle_request(pcmk__request_t *request) request 3597 daemons/fenced/fenced_commands.c reply = pcmk__process_request(request, fenced_handlers); request 3599 daemons/fenced/fenced_commands.c if (pcmk_is_set(request->flags, pcmk__request_reuse_options) request 3600 daemons/fenced/fenced_commands.c && (request->ipc_client != NULL)) { request 3605 daemons/fenced/fenced_commands.c pcmk__ipc_send_xml(request->ipc_client, request->ipc_id, reply, request 3606 daemons/fenced/fenced_commands.c request->ipc_flags); request 3607 daemons/fenced/fenced_commands.c request->ipc_client->request_id = 0; request 3609 daemons/fenced/fenced_commands.c stonith_send_reply(reply, request->call_options, request 3610 daemons/fenced/fenced_commands.c request->peer, request->ipc_client); request 3615 daemons/fenced/fenced_commands.c reason = request->result.exit_reason; request 3617 daemons/fenced/fenced_commands.c request->op, pcmk__request_origin_type(request), request 3618 daemons/fenced/fenced_commands.c pcmk__request_origin(request), request 3619 daemons/fenced/fenced_commands.c pcmk_exec_status_str(request->result.execution_status), request 3626 daemons/fenced/fenced_commands.c handle_reply(pcmk__client_t *client, xmlNode *request, const char *remote_peer) request 3629 daemons/fenced/fenced_commands.c char *op = crm_element_value_copy(request, PCMK__XA_ST_OP); request 3632 daemons/fenced/fenced_commands.c process_remote_stonith_query(request); request 3636 daemons/fenced/fenced_commands.c fenced_process_fencing_reply(request); request 3642 daemons/fenced/fenced_commands.c crm_log_xml_warn(request, "UnknownOp"); request 3689 daemons/fenced/fenced_commands.c pcmk__request_t request = { request 3699 daemons/fenced/fenced_commands.c request.op = crm_element_value_copy(request.xml, PCMK__XA_ST_OP); request 3700 daemons/fenced/fenced_commands.c CRM_CHECK(request.op != NULL, return); request 3702 daemons/fenced/fenced_commands.c if (pcmk_is_set(request.call_options, st_opt_sync_call)) { request 3703 daemons/fenced/fenced_commands.c pcmk__set_request_flags(&request, pcmk__request_sync); request 3706 daemons/fenced/fenced_commands.c handle_request(&request); request 3707 daemons/fenced/fenced_commands.c pcmk__reset_request(&request); request 245 daemons/fenced/fenced_remote.c crm_log_xml_debug(op->request, "Destroying"); request 260 daemons/fenced/fenced_remote.c if (op->request) { request 261 daemons/fenced/fenced_remote.c free_xml(op->request); request 262 daemons/fenced/fenced_remote.c op->request = NULL; request 455 daemons/fenced/fenced_remote.c reply = fenced_construct_reply(op->request, data, &op->result); request 634 daemons/fenced/fenced_remote.c if (op->request) { request 635 daemons/fenced/fenced_remote.c free_xml(op->request); request 636 daemons/fenced/fenced_remote.c op->request = NULL; request 1149 daemons/fenced/fenced_remote.c create_remote_stonith_op(const char *client, xmlNode *request, gboolean peer) request 1152 daemons/fenced/fenced_remote.c xmlNode *dev = get_xpath_object("//@" PCMK__XA_ST_TARGET, request, request 1176 daemons/fenced/fenced_remote.c crm_element_value_int(request, PCMK__XA_ST_TIMEOUT, &(op->base_timeout)); request 1178 daemons/fenced/fenced_remote.c crm_element_value_int(request, PCMK__XA_ST_DELAY, &(op->client_delay)); request 1212 daemons/fenced/fenced_remote.c operation = crm_element_value(request, PCMK__XA_ST_OP); request 1218 daemons/fenced/fenced_remote.c op->client_name = crm_element_value_copy(request, request 1225 daemons/fenced/fenced_remote.c op->request = pcmk__xml_copy(NULL, request); request 1226 daemons/fenced/fenced_remote.c crm_element_value_int(request, PCMK__XA_ST_CALLOPT, &call_options); request 1229 daemons/fenced/fenced_remote.c crm_element_value_int(request, PCMK__XA_ST_CALLID, &(op->client_callid)); request 1283 daemons/fenced/fenced_remote.c initiate_remote_stonith_op(const pcmk__client_t *client, xmlNode *request, request 1296 daemons/fenced/fenced_remote.c client_id = crm_element_value(request, PCMK__XA_ST_CLIENTID); request 1300 daemons/fenced/fenced_remote.c op = create_remote_stonith_op(client_id, request, FALSE); request 1346 daemons/fenced/fenced_remote.c operation = crm_element_value(request, PCMK__XA_ST_OP); request 1348 daemons/fenced/fenced_remote.c relay_op_id = crm_element_value(request, PCMK__XA_ST_REMOTE_OP); request 1715 daemons/fenced/fenced_remote.c } else if (!op->request) { request 1720 daemons/fenced/fenced_remote.c client_node = crm_element_value(op->request, PCMK__XA_ST_CLIENTNODE); request 1721 daemons/fenced/fenced_remote.c call_id = crm_element_value(op->request, PCMK__XA_ST_CALLID); request 1722 daemons/fenced/fenced_remote.c client_id = crm_element_value(op->request, PCMK__XA_ST_CLIENTID); request 93 daemons/fenced/pacemaker-fenced.c xmlNode *request = NULL; request 102 daemons/fenced/pacemaker-fenced.c request = pcmk__client_data2xml(c, data, &id, &flags); request 103 daemons/fenced/pacemaker-fenced.c if (request == NULL) { request 109 daemons/fenced/pacemaker-fenced.c op = crm_element_value(request, PCMK__XA_CRM_TASK); request 111 daemons/fenced/pacemaker-fenced.c crm_xml_add(request, PCMK__XA_T, PCMK__VALUE_STONITH_NG); request 112 daemons/fenced/pacemaker-fenced.c crm_xml_add(request, PCMK__XA_ST_OP, op); request 113 daemons/fenced/pacemaker-fenced.c crm_xml_add(request, PCMK__XA_ST_CLIENTID, c->id); request 114 daemons/fenced/pacemaker-fenced.c crm_xml_add(request, PCMK__XA_ST_CLIENTNAME, pcmk__client_name(c)); request 115 daemons/fenced/pacemaker-fenced.c crm_xml_add(request, PCMK__XA_ST_CLIENTNODE, stonith_our_uname); request 117 daemons/fenced/pacemaker-fenced.c pcmk__cluster_send_message(NULL, crm_msg_stonith_ng, request); request 118 daemons/fenced/pacemaker-fenced.c free_xml(request); request 123 daemons/fenced/pacemaker-fenced.c const char *value = crm_element_value(request, PCMK__XA_ST_CLIENTNAME); request 128 daemons/fenced/pacemaker-fenced.c crm_element_value_int(request, PCMK__XA_ST_CALLOPT, &call_options); request 138 daemons/fenced/pacemaker-fenced.c crm_xml_add(request, PCMK__XA_ST_CLIENTID, c->id); request 139 daemons/fenced/pacemaker-fenced.c crm_xml_add(request, PCMK__XA_ST_CLIENTNAME, pcmk__client_name(c)); request 140 daemons/fenced/pacemaker-fenced.c crm_xml_add(request, PCMK__XA_ST_CLIENTNODE, stonith_our_uname); request 142 daemons/fenced/pacemaker-fenced.c crm_log_xml_trace(request, "ipc-received"); request 143 daemons/fenced/pacemaker-fenced.c stonith_command(c, id, flags, request, NULL); request 145 daemons/fenced/pacemaker-fenced.c free_xml(request); request 143 daemons/fenced/pacemaker-fenced.h xmlNode *request; request 247 daemons/fenced/pacemaker-fenced.h xmlNode *fenced_construct_reply(const xmlNode *request, xmlNode *data, request 261 daemons/fenced/pacemaker-fenced.h xmlNode *request, request 268 daemons/fenced/pacemaker-fenced.h void *create_remote_stonith_op(const char *client, xmlNode * request, gboolean peer); request 26 daemons/pacemakerd/pcmkd_messages.c handle_node_cache_request(pcmk__request_t *request) request 30 daemons/pacemakerd/pcmkd_messages.c pcmk__client_name(request->ipc_client)); request 32 daemons/pacemakerd/pcmkd_messages.c pcmk__ipc_send_ack(request->ipc_client, request->ipc_id, request->ipc_flags, request 38 daemons/pacemakerd/pcmkd_messages.c handle_ping_request(pcmk__request_t *request) request 40 daemons/pacemakerd/pcmkd_messages.c xmlNode *msg = request->xml; request 53 daemons/pacemakerd/pcmkd_messages.c pcmk__ipc_send_ack(request->ipc_client, request->ipc_id, request->ipc_flags, request 68 daemons/pacemakerd/pcmkd_messages.c pcmk__format_result(&request->result, CRM_EX_ERROR, PCMK_EXEC_ERROR, request 70 daemons/pacemakerd/pcmkd_messages.c pcmk__client_name(request->ipc_client)); request 72 daemons/pacemakerd/pcmkd_messages.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 83 daemons/pacemakerd/pcmkd_messages.c shutdown_complete_state_reported_to = request->ipc_client->pid; request 97 daemons/pacemakerd/pcmkd_messages.c handle_shutdown_request(pcmk__request_t *request) request 99 daemons/pacemakerd/pcmkd_messages.c xmlNode *msg = request->xml; request 108 daemons/pacemakerd/pcmkd_messages.c bool allowed = pcmk_is_set(request->ipc_client->flags, pcmk__client_privileged); request 110 daemons/pacemakerd/pcmkd_messages.c pcmk__ipc_send_ack(request->ipc_client, request->ipc_id, request->ipc_flags, request 122 daemons/pacemakerd/pcmkd_messages.c pcmk__client_name(request->ipc_client)); request 130 daemons/pacemakerd/pcmkd_messages.c pcmk__format_result(&request->result, CRM_EX_ERROR, PCMK_EXEC_ERROR, request 132 daemons/pacemakerd/pcmkd_messages.c pcmk__client_name(request->ipc_client)); request 134 daemons/pacemakerd/pcmkd_messages.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 145 daemons/pacemakerd/pcmkd_messages.c handle_unknown_request(pcmk__request_t *request) request 147 daemons/pacemakerd/pcmkd_messages.c pcmk__ipc_send_ack(request->ipc_client, request->ipc_id, request->ipc_flags, request 150 daemons/pacemakerd/pcmkd_messages.c pcmk__format_result(&request->result, CRM_EX_PROTOCOL, PCMK_EXEC_INVALID, request 152 daemons/pacemakerd/pcmkd_messages.c pcmk__client_name(request->ipc_client)); request 231 daemons/pacemakerd/pcmkd_messages.c pcmk__request_t request = { request 241 daemons/pacemakerd/pcmkd_messages.c request.op = crm_element_value_copy(request.xml, PCMK__XA_CRM_TASK); request 242 daemons/pacemakerd/pcmkd_messages.c CRM_CHECK(request.op != NULL, return 0); request 244 daemons/pacemakerd/pcmkd_messages.c reply = pcmk__process_request(&request, pcmkd_handlers); request 251 daemons/pacemakerd/pcmkd_messages.c reason = request.result.exit_reason; request 254 daemons/pacemakerd/pcmkd_messages.c request.op, pcmk__request_origin_type(&request), request 255 daemons/pacemakerd/pcmkd_messages.c pcmk__request_origin(&request), request 256 daemons/pacemakerd/pcmkd_messages.c pcmk_exec_status_str(request.result.execution_status), request 261 daemons/pacemakerd/pcmkd_messages.c if (!pcmk__result_ok(&request.result)) { request 268 daemons/pacemakerd/pcmkd_messages.c pcmk__reset_request(&request); request 43 daemons/schedulerd/schedulerd_messages.c handle_pecalc_request(pcmk__request_t *request) request 59 daemons/schedulerd/schedulerd_messages.c xmlNode *msg = request->xml; request 78 daemons/schedulerd/schedulerd_messages.c pcmk__ipc_send_ack(request->ipc_client, request->ipc_id, request->ipc_flags, request 135 daemons/schedulerd/schedulerd_messages.c pcmk__format_result(&request->result, CRM_EX_ERROR, PCMK_EXEC_ERROR, request 137 daemons/schedulerd/schedulerd_messages.c pcmk__client_name(request->ipc_client)); request 174 daemons/schedulerd/schedulerd_messages.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 184 daemons/schedulerd/schedulerd_messages.c handle_unknown_request(pcmk__request_t *request) request 186 daemons/schedulerd/schedulerd_messages.c pcmk__ipc_send_ack(request->ipc_client, request->ipc_id, request->ipc_flags, request 189 daemons/schedulerd/schedulerd_messages.c pcmk__format_result(&request->result, CRM_EX_PROTOCOL, PCMK_EXEC_INVALID, request 191 daemons/schedulerd/schedulerd_messages.c pcmk__client_name(request->ipc_client)); request 196 daemons/schedulerd/schedulerd_messages.c handle_hello_request(pcmk__request_t *request) request 198 daemons/schedulerd/schedulerd_messages.c pcmk__ipc_send_ack(request->ipc_client, request->ipc_id, request->ipc_flags, request 201 daemons/schedulerd/schedulerd_messages.c crm_trace("Received IPC hello from %s", pcmk__client_name(request->ipc_client)); request 203 daemons/schedulerd/schedulerd_messages.c pcmk__set_result(&request->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL); request 269 daemons/schedulerd/schedulerd_messages.c pcmk__request_t request = { request 279 daemons/schedulerd/schedulerd_messages.c request.op = crm_element_value_copy(request.xml, PCMK__XA_CRM_TASK); request 280 daemons/schedulerd/schedulerd_messages.c CRM_CHECK(request.op != NULL, return 0); request 282 daemons/schedulerd/schedulerd_messages.c reply = pcmk__process_request(&request, schedulerd_handlers); request 289 daemons/schedulerd/schedulerd_messages.c reason = request.result.exit_reason; request 292 daemons/schedulerd/schedulerd_messages.c request.op, pcmk__request_origin_type(&request), request 293 daemons/schedulerd/schedulerd_messages.c pcmk__request_origin(&request), request 294 daemons/schedulerd/schedulerd_messages.c pcmk_exec_status_str(request.result.execution_status), request 299 daemons/schedulerd/schedulerd_messages.c if (!pcmk__result_ok(&request.result)) { request 306 daemons/schedulerd/schedulerd_messages.c pcmk__reset_request(&request); request 183 include/crm/cib/internal.h int cib__extend_transaction(cib_t *cib, xmlNode *request); request 21 include/crm/common/acl_internal.h const char *pcmk__update_acl_user(xmlNode *request, const char *field, request 39 include/crm/common/ipc.h #define create_reply(request, xml_response_data) \ request 40 include/crm/common/ipc.h create_reply_adv(request, xml_response_data, __func__) request 44 include/crm/common/ipc.h xmlNode *create_reply_adv(const xmlNode *request, xmlNode *xml_response_data, request 248 include/crm/common/ipc_internal.h uint32_t request, uint32_t flags, const char *tag, request 253 include/crm/common/ipc_internal.h int pcmk__ipc_prepare_iov(uint32_t request, const xmlNode *message, request 256 include/crm/common/ipc_internal.h int pcmk__ipc_send_xml(pcmk__client_t *c, uint32_t request, request 64 include/crm/common/messages_internal.h #define pcmk__set_request_flags(request, flags_to_set) do { \ request 65 include/crm/common/messages_internal.h (request)->flags = pcmk__set_flags_as(__func__, __LINE__, \ request 66 include/crm/common/messages_internal.h LOG_TRACE, "Request", "message", (request)->flags, \ request 73 include/crm/common/messages_internal.h xmlNode *(*handler)(pcmk__request_t *request); request 78 include/crm/common/messages_internal.h xmlNode *pcmk__process_request(pcmk__request_t *request, GHashTable *handlers); request 79 include/crm/common/messages_internal.h void pcmk__reset_request(pcmk__request_t *request); request 91 include/crm/common/messages_internal.h pcmk__request_origin_type(const pcmk__request_t *request) request 93 include/crm/common/messages_internal.h if ((request != NULL) && (request->ipc_client != NULL)) { request 95 include/crm/common/messages_internal.h } else if ((request != NULL) && (request->peer != NULL)) { request 112 include/crm/common/messages_internal.h pcmk__request_origin(const pcmk__request_t *request) request 114 include/crm/common/messages_internal.h if ((request != NULL) && (request->ipc_client != NULL)) { request 115 include/crm/common/messages_internal.h return pcmk__client_name(request->ipc_client); request 116 include/crm/common/messages_internal.h } else if ((request != NULL) && (request->peer != NULL)) { request 117 include/crm/common/messages_internal.h return request->peer; request 190 include/crm/common/output_internal.h gchar *request; request 213 lib/cib/cib_file.c cib_file_process_request(cib_t *cib, xmlNode *request, xmlNode **output) request 221 lib/cib/cib_file.c const char *op = crm_element_value(request, PCMK__XA_CIB_OP); request 222 lib/cib/cib_file.c const char *section = crm_element_value(request, PCMK__XA_CIB_SECTION); request 223 lib/cib/cib_file.c xmlNode *wrapper = pcmk__xe_first_child(request, PCMK__XE_CIB_CALLDATA, request 238 lib/cib/cib_file.c crm_element_value_int(request, PCMK__XA_CIB_CALLID, &call_id); request 239 lib/cib/cib_file.c crm_element_value_int(request, PCMK__XA_CIB_CALLOPT, &call_options); request 250 lib/cib/cib_file.c request, data, true, &changed, &private->cib_xml, request 294 lib/cib/cib_file.c xmlNode *request = NULL; request 328 lib/cib/cib_file.c NULL, &request); request 332 lib/cib/cib_file.c crm_xml_add(request, PCMK_XE_ACL_TARGET, user_name); request 333 lib/cib/cib_file.c crm_xml_add(request, PCMK__XA_CIB_CLIENTID, private->id); request 336 lib/cib/cib_file.c rc = cib__extend_transaction(cib, request); request 340 lib/cib/cib_file.c rc = cib_file_process_request(cib, request, &output); request 357 lib/cib/cib_file.c free_xml(request); request 1062 lib/cib/cib_file.c for (xmlNode *request = pcmk__xe_first_child(transaction, request 1065 lib/cib/cib_file.c request != NULL; request = pcmk__xe_next_same(request)) { request 1068 lib/cib/cib_file.c const char *op = crm_element_value(request, PCMK__XA_CIB_OP); request 1070 lib/cib/cib_file.c int rc = cib_file_process_request(cib, request, &output); request 1077 lib/cib/cib_file.c crm_log_xml_info(request, "Failed request"); request 1084 lib/cib/cib_file.c crm_log_xml_trace(request, "Successful request"); request 707 lib/cib/cib_utils.c validate_transaction_request(const xmlNode *request) request 709 lib/cib/cib_utils.c const char *op = crm_element_value(request, PCMK__XA_CIB_OP); request 710 lib/cib/cib_utils.c const char *host = crm_element_value(request, PCMK__XA_CIB_HOST); request 743 lib/cib/cib_utils.c cib__extend_transaction(cib_t *cib, xmlNode *request) request 747 lib/cib/cib_utils.c CRM_ASSERT((cib != NULL) && (request != NULL)); request 749 lib/cib/cib_utils.c rc = validate_transaction_request(request); request 756 lib/cib/cib_utils.c pcmk__xml_copy(cib->transaction, request); request 759 lib/cib/cib_utils.c const char *op = crm_element_value(request, PCMK__XA_CIB_OP); request 765 lib/cib/cib_utils.c crm_log_xml_info(request, "failed"); request 799 lib/common/acl.c pcmk__update_acl_user(xmlNode *request, const char *field, request 814 lib/common/acl.c requested_user = crm_element_value(request, PCMK_XE_ACL_TARGET); request 821 lib/common/acl.c requested_user = crm_element_value(request, field); request 856 lib/common/acl.c if (user != crm_element_value(request, PCMK_XE_ACL_TARGET)) { request 857 lib/common/acl.c crm_xml_add(request, PCMK_XE_ACL_TARGET, user); request 860 lib/common/acl.c if (field != NULL && user != crm_element_value(request, field)) { request 861 lib/common/acl.c crm_xml_add(request, field, user); request 218 lib/common/crmcommon_private.h bool (*reply_expected)(pcmk_ipc_api_t *api, const xmlNode *request); request 263 lib/common/crmcommon_private.h int pcmk__send_ipc_request(pcmk_ipc_api_t *api, const xmlNode *request); request 47 lib/common/ipc_attrd.c reply_expected(pcmk_ipc_api_t *api, const xmlNode *request) request 49 lib/common/ipc_attrd.c const char *command = crm_element_value(request, PCMK_XA_TASK); request 153 lib/common/ipc_attrd.c connect_and_send_attrd_request(pcmk_ipc_api_t *api, const xmlNode *request) request 168 lib/common/ipc_attrd.c rc = pcmk__send_ipc_request(api, request); request 184 lib/common/ipc_attrd.c xmlNode *request = create_attrd_op(user_name); request 204 lib/common/ipc_attrd.c crm_xml_add(request, PCMK_XA_TASK, PCMK__ATTRD_CMD_CLEAR_FAILURE); request 205 lib/common/ipc_attrd.c pcmk__xe_add_node(request, node, 0); request 206 lib/common/ipc_attrd.c crm_xml_add(request, PCMK__XA_ATTR_RESOURCE, resource); request 207 lib/common/ipc_attrd.c crm_xml_add(request, PCMK__XA_ATTR_CLEAR_OPERATION, operation); request 208 lib/common/ipc_attrd.c crm_xml_add(request, PCMK__XA_ATTR_CLEAR_INTERVAL, interval_spec); request 209 lib/common/ipc_attrd.c crm_xml_add_int(request, PCMK__XA_ATTR_IS_REMOTE, request 212 lib/common/ipc_attrd.c rc = connect_and_send_attrd_request(api, request); request 214 lib/common/ipc_attrd.c free_xml(request); request 245 lib/common/ipc_attrd.c xmlNode *request = NULL; request 257 lib/common/ipc_attrd.c request = create_attrd_op(NULL); request 259 lib/common/ipc_attrd.c crm_xml_add(request, PCMK_XA_TASK, PCMK__ATTRD_CMD_PEER_REMOVE); request 260 lib/common/ipc_attrd.c pcmk__xe_set_bool_attr(request, PCMK__XA_REAP, reap); request 261 lib/common/ipc_attrd.c pcmk__xe_add_node(request, node, 0); request 263 lib/common/ipc_attrd.c rc = connect_and_send_attrd_request(api, request); request 265 lib/common/ipc_attrd.c free_xml(request); request 274 lib/common/ipc_attrd.c xmlNode *request = NULL; request 295 lib/common/ipc_attrd.c request = create_attrd_op(NULL); request 297 lib/common/ipc_attrd.c crm_xml_add(request, PCMK__XA_ATTR_NAME, name); request 298 lib/common/ipc_attrd.c crm_xml_add(request, PCMK_XA_TASK, PCMK__ATTRD_CMD_QUERY); request 299 lib/common/ipc_attrd.c pcmk__xe_add_node(request, node, 0); request 301 lib/common/ipc_attrd.c rc = connect_and_send_attrd_request(api, request); request 302 lib/common/ipc_attrd.c free_xml(request); request 310 lib/common/ipc_attrd.c xmlNode *request = NULL; request 320 lib/common/ipc_attrd.c request = create_attrd_op(NULL); request 322 lib/common/ipc_attrd.c crm_xml_add(request, PCMK_XA_TASK, PCMK__ATTRD_CMD_REFRESH); request 323 lib/common/ipc_attrd.c pcmk__xe_add_node(request, node, 0); request 325 lib/common/ipc_attrd.c rc = connect_and_send_attrd_request(api, request); request 327 lib/common/ipc_attrd.c free_xml(request); request 383 lib/common/ipc_attrd.c xmlNode *request = NULL; request 400 lib/common/ipc_attrd.c request = create_attrd_op(user_name); request 401 lib/common/ipc_attrd.c populate_update_op(request, node, name, value, dampen, set, options); request 403 lib/common/ipc_attrd.c rc = connect_and_send_attrd_request(api, request); request 405 lib/common/ipc_attrd.c free_xml(request); request 415 lib/common/ipc_attrd.c xmlNode *request = NULL; request 451 lib/common/ipc_attrd.c if (request == NULL) { request 452 lib/common/ipc_attrd.c request = create_attrd_op(user_name); request 453 lib/common/ipc_attrd.c add_op_attr(request, options); request 461 lib/common/ipc_attrd.c child = pcmk__xe_create(request, PCMK_XE_OP); request 480 lib/common/ipc_attrd.c rc = connect_and_send_attrd_request(api, request); request 481 lib/common/ipc_attrd.c free_xml(request); request 668 lib/common/ipc_client.c pcmk__send_ipc_request(pcmk_ipc_api_t *api, const xmlNode *request) request 674 lib/common/ipc_client.c if ((api == NULL) || (api->ipc == NULL) || (request == NULL)) { request 677 lib/common/ipc_client.c crm_log_xml_trace(request, "ipc-sent"); request 683 lib/common/ipc_client.c && (api->cmds->reply_expected(api, request))) { request 688 lib/common/ipc_client.c rc = crm_ipc_send(api->ipc, request, flags, 0, &reply); request 753 lib/common/ipc_client.c xmlNode *request = NULL; request 758 lib/common/ipc_client.c request = pcmk__xe_create(NULL, __func__); request 759 lib/common/ipc_client.c crm_xml_add(request, PCMK__XA_T, PCMK__VALUE_ATTRD); request 760 lib/common/ipc_client.c crm_xml_add(request, PCMK__XA_SRC, crm_system_name); request 761 lib/common/ipc_client.c crm_xml_add(request, PCMK_XA_TASK, PCMK__ATTRD_CMD_PEER_REMOVE); request 762 lib/common/ipc_client.c pcmk__xe_set_bool_attr(request, PCMK__XA_REAP, true); request 763 lib/common/ipc_client.c pcmk__xe_add_node(request, node_name, nodeid); request 769 lib/common/ipc_client.c request = create_request(CRM_OP_RM_NODE_CACHE, NULL, NULL, request 772 lib/common/ipc_client.c crm_xml_add_ll(request, PCMK_XA_ID, (long long) nodeid); request 774 lib/common/ipc_client.c crm_xml_add(request, PCMK_XA_UNAME, node_name); request 782 lib/common/ipc_client.c return request; request 800 lib/common/ipc_client.c xmlNode *request = NULL; request 809 lib/common/ipc_client.c request = create_purge_node_request(api, node_name, nodeid); request 810 lib/common/ipc_client.c if (request == NULL) { request 813 lib/common/ipc_client.c rc = pcmk__send_ipc_request(api, request); request 814 lib/common/ipc_client.c free_xml(request); request 183 lib/common/ipc_controld.c reply_expected(pcmk_ipc_api_t *api, const xmlNode *request) request 186 lib/common/ipc_controld.c return pcmk__str_any_of(crm_element_value(request, PCMK__XA_CRM_TASK), request 340 lib/common/ipc_controld.c send_controller_request(pcmk_ipc_api_t *api, const xmlNode *request, request 343 lib/common/ipc_controld.c if (crm_element_value(request, PCMK_XA_REFERENCE) == NULL) { request 351 lib/common/ipc_controld.c return pcmk__send_ipc_request(api, request); request 381 lib/common/ipc_controld.c xmlNode *request; request 395 lib/common/ipc_controld.c request = create_controller_request(api, CRM_OP_REPROBE, router_node, request 397 lib/common/ipc_controld.c rc = send_controller_request(api, request, true); request 399 lib/common/ipc_controld.c free_xml(request); request 415 lib/common/ipc_controld.c xmlNode *request; request 418 lib/common/ipc_controld.c request = create_controller_request(api, CRM_OP_NODE_INFO, NULL, NULL); request 419 lib/common/ipc_controld.c if (request == NULL) { request 423 lib/common/ipc_controld.c crm_xml_add_ll(request, PCMK_XA_ID, nodeid); request 426 lib/common/ipc_controld.c rc = send_controller_request(api, request, true); request 427 lib/common/ipc_controld.c free_xml(request); request 443 lib/common/ipc_controld.c xmlNode *request; request 446 lib/common/ipc_controld.c request = create_controller_request(api, CRM_OP_PING, node_name, NULL); request 447 lib/common/ipc_controld.c if (request == NULL) { request 450 lib/common/ipc_controld.c rc = send_controller_request(api, request, true); request 451 lib/common/ipc_controld.c free_xml(request); request 466 lib/common/ipc_controld.c xmlNode *request; request 469 lib/common/ipc_controld.c request = create_controller_request(api, PCMK__CONTROLD_CMD_NODES, NULL, request 471 lib/common/ipc_controld.c if (request != NULL) { request 472 lib/common/ipc_controld.c rc = send_controller_request(api, request, true); request 473 lib/common/ipc_controld.c free_xml(request); request 488 lib/common/ipc_controld.c xmlNode *request, *msg_data, *xml_rsc, *params; request 533 lib/common/ipc_controld.c request = create_controller_request(api, op, router_node, msg_data); request 534 lib/common/ipc_controld.c rc = send_controller_request(api, request, true); request 536 lib/common/ipc_controld.c free_xml(request); request 180 lib/common/ipc_pacemakerd.c reply_expected(pcmk_ipc_api_t *api, const xmlNode *request) request 182 lib/common/ipc_pacemakerd.c const char *command = crm_element_value(request, PCMK__XA_CRM_TASK); request 64 lib/common/ipc_schedulerd.c reply_expected(pcmk_ipc_api_t *api, const xmlNode *request) request 66 lib/common/ipc_schedulerd.c const char *command = crm_element_value(request, PCMK__XA_CRM_TASK); request 575 lib/common/ipc_server.c pcmk__ipc_prepare_iov(uint32_t request, const xmlNode *message, request 653 lib/common/ipc_server.c header->qb.id = (int32_t)request; /* Replying to a specific request */ request 748 lib/common/ipc_server.c pcmk__ipc_send_xml(pcmk__client_t *c, uint32_t request, const xmlNode *message, request 757 lib/common/ipc_server.c rc = pcmk__ipc_prepare_iov(request, message, crm_ipc_default_buffer_size(), request 817 lib/common/ipc_server.c uint32_t request, uint32_t flags, const char *tag, request 828 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 = pcmk__xe_create(NULL, __func__); request 65 lib/common/messages.c crm_xml_add(request, PCMK_XA_ORIGIN, origin); request 66 lib/common/messages.c crm_xml_add(request, PCMK__XA_T, PCMK__VALUE_CRMD); request 67 lib/common/messages.c crm_xml_add(request, PCMK_XA_VERSION, CRM_FEATURE_SET); request 68 lib/common/messages.c crm_xml_add(request, PCMK__XA_SUBT, PCMK__VALUE_REQUEST); request 69 lib/common/messages.c crm_xml_add(request, PCMK_XA_REFERENCE, reference); request 70 lib/common/messages.c crm_xml_add(request, PCMK__XA_CRM_TASK, task); request 71 lib/common/messages.c crm_xml_add(request, PCMK__XA_CRM_SYS_TO, sys_to); request 72 lib/common/messages.c crm_xml_add(request, PCMK__XA_CRM_SYS_FROM, true_from); request 76 lib/common/messages.c crm_xml_add(request, PCMK__XA_CRM_HOST_TO, host_to); request 80 lib/common/messages.c xmlNode *wrapper = pcmk__xe_create(request, PCMK__XE_CRM_XML); request 87 lib/common/messages.c return request; request 242 lib/common/messages.c pcmk__process_request(pcmk__request_t *request, GHashTable *handlers) request 244 lib/common/messages.c xmlNode *(*handler)(pcmk__request_t *request) = NULL; request 246 lib/common/messages.c CRM_CHECK((request != NULL) && (request->op != NULL) && (handlers != NULL), request 249 lib/common/messages.c if (pcmk_is_set(request->flags, pcmk__request_sync) request 250 lib/common/messages.c && (request->ipc_client != NULL)) { request 251 lib/common/messages.c CRM_CHECK(request->ipc_client->request_id == request->ipc_id, request 255 lib/common/messages.c handler = g_hash_table_lookup(handlers, request->op); request 260 lib/common/messages.c request->op, pcmk__request_origin_type(request), request 261 lib/common/messages.c pcmk__request_origin(request)); request 266 lib/common/messages.c return (*handler)(request); request 276 lib/common/messages.c pcmk__reset_request(pcmk__request_t *request) request 278 lib/common/messages.c free(request->op); request 279 lib/common/messages.c request->op = NULL; request 281 lib/common/messages.c pcmk__reset_result(&(request->result)); request 41 lib/common/output.c g_free(out->request); request 165 lib/common/output_html.c } else if (out->request != NULL) { request 167 lib/common/output_html.c pcmk__xe_set_content(child_node, "%s", out->request); request 419 lib/common/output_html.c retval->request = pcmk__quote_cmdline(argv); request 323 lib/common/output_log.c retval->request = pcmk__quote_cmdline(argv); request 120 lib/common/output_none.c retval->request = pcmk__quote_cmdline(argv); request 333 lib/common/output_text.c retval->request = pcmk__quote_cmdline(argv); request 120 lib/common/output_xml.c pcmk__s(out->request, "libpacemaker")); request 447 lib/common/output_xml.c retval->request = pcmk__quote_cmdline(argv); request 243 lib/lrmd/proxy_common.c xmlNode *request = pcmk__xe_first_child(wrapper, NULL, NULL, NULL); request 245 lib/lrmd/proxy_common.c CRM_CHECK(request != NULL, return); request 263 lib/lrmd/proxy_common.c crm_xml_add(request, PCMK_XE_ACL_ROLE, "pacemaker-remote"); request 266 lib/lrmd/proxy_common.c pcmk__update_acl_user(request, PCMK__XA_LRMD_IPC_USER, node_name); request 269 lib/lrmd/proxy_common.c const char *type = crm_element_value(request, PCMK__XA_T); request 273 lib/lrmd/proxy_common.c && (crm_element_value(request, PCMK__XA_ATTR_HOST) == NULL) request 274 lib/lrmd/proxy_common.c && pcmk__str_any_of(crm_element_value(request, PCMK_XA_TASK), request 278 lib/lrmd/proxy_common.c pcmk__xe_add_node(request, proxy->node_name, 0); request 281 lib/lrmd/proxy_common.c rc = crm_ipc_send(proxy->ipc, request, flags, 5000, NULL); request 310 lib/lrmd/proxy_common.c rc = crm_ipc_send(proxy->ipc, request, flags, 10000, &op_reply); request 53 maint/gnulib/lib/fd-hook.c int fd, int request, void *arg) request 57 maint/gnulib/lib/fd-hook.c return primary (fd, request, arg); request 60 maint/gnulib/lib/fd-hook.c primary, fd, request, arg); request 65 maint/gnulib/lib/fd-hook.c int fd, int request, void *arg) request 67 maint/gnulib/lib/fd-hook.c return execute_ioctl_hooks (anchor.private_next, primary, fd, request, arg); request 35 maint/gnulib/lib/fd-hook.h typedef int (*gl_ioctl_fn) (int fd, int request, void *arg); request 57 maint/gnulib/lib/fd-hook.h int fd, int request, void *arg); request 88 maint/gnulib/lib/fd-hook.h int fd, int request, void *arg); request 94 maint/gnulib/lib/fd-hook.h int fd, int request, void *arg); request 99 maint/gnulib/lib/fd-hook.h int fd, int request, void *arg); request 31 maint/gnulib/lib/ioctl.c rpl_ioctl (int fd, int request, ... /* {void *,char *} arg */) request 36 maint/gnulib/lib/ioctl.c va_start (args, request); request 42 maint/gnulib/lib/ioctl.c return ioctl (fd, (unsigned int) request, buf); request 62 maint/gnulib/lib/ioctl.c primary_ioctl (int fd, int request, void *arg) request 76 maint/gnulib/lib/ioctl.c ioctl (int fd, int request, ... /* {void *,char *} arg */) request 81 maint/gnulib/lib/ioctl.c va_start (args, request); request 86 maint/gnulib/lib/ioctl.c return execute_all_ioctl_hooks (primary_ioctl, fd, request, arg); request 88 maint/gnulib/lib/ioctl.c return primary_ioctl (fd, request, arg); request 84 maint/gnulib/lib/sockets.c int fd, int request, void *arg) request 96 maint/gnulib/lib/sockets.c if (ioctlsocket (sock, request, arg) < 0) request 106 maint/gnulib/lib/sockets.c return execute_ioctl_hooks (remaining_list, primary, fd, request, arg); request 54 maint/gnulib/lib/sys_ioctl.in.h (int fd, int request, ... /* {void *,char *} arg */)); request 56 maint/gnulib/lib/sys_ioctl.in.h (int fd, int request, ... /* {void *,char *} arg */)); request 60 maint/gnulib/lib/sys_ioctl.in.h (int fd, int request, ... /* {void *,char *} arg */)); request 63 maint/gnulib/lib/sys_ioctl.in.h (int fd, int request, ... /* {void *,char *} arg */)); request 345 tools/crm_mon_curses.c retval->request = pcmk__quote_cmdline(argv);