command 408 daemons/based/based_remote.c cib_handle_remote_msg(pcmk__client_t *client, xmlNode *command) command 412 daemons/based/based_remote.c value = crm_element_name(command); command 414 daemons/based/based_remote.c crm_log_xml_trace(command, "Bad command: "); command 419 daemons/based/based_remote.c value = crm_element_value(command, F_CLIENTNAME); command 428 daemons/based/based_remote.c value = crm_element_value(command, F_CIB_CALLBACK_TOKEN); command 439 daemons/based/based_remote.c xml_remove_prop(command, F_ORIG); command 440 daemons/based/based_remote.c xml_remove_prop(command, F_CIB_HOST); command 441 daemons/based/based_remote.c xml_remove_prop(command, F_CIB_GLOBAL_UPDATE); command 443 daemons/based/based_remote.c crm_xml_add(command, F_TYPE, T_CIB); command 444 daemons/based/based_remote.c crm_xml_add(command, F_CIB_CLIENTID, client->id); command 445 daemons/based/based_remote.c crm_xml_add(command, F_CIB_CLIENTNAME, client->name); command 447 daemons/based/based_remote.c crm_xml_add(command, F_CIB_USER, client->user); command 450 daemons/based/based_remote.c if (crm_element_value(command, F_CIB_CALLID) == NULL) { command 454 daemons/based/based_remote.c crm_xml_add(command, F_CIB_CALLID, call_uuid); command 458 daemons/based/based_remote.c if (crm_element_value(command, F_CIB_CALLOPTS) == NULL) { command 459 daemons/based/based_remote.c crm_xml_add_int(command, F_CIB_CALLOPTS, 0); command 462 daemons/based/based_remote.c crm_log_xml_trace(command, "Remote command: "); command 463 daemons/based/based_remote.c cib_common_callback_worker(0, 0, command, client, TRUE); command 469 daemons/based/based_remote.c xmlNode *command = NULL; command 516 daemons/based/based_remote.c command = pcmk__remote_message_xml(client->remote); command 517 daemons/based/based_remote.c if (cib_remote_auth(command) == FALSE) { command 518 daemons/based/based_remote.c free_xml(command); command 526 daemons/based/based_remote.c client->name = crm_element_value_copy(command, "name"); command 529 daemons/based/based_remote.c user = crm_element_value(command, "user"); command 541 daemons/based/based_remote.c free_xml(command); command 544 daemons/based/based_remote.c command = pcmk__remote_message_xml(client->remote); command 545 daemons/based/based_remote.c while (command) { command 547 daemons/based/based_remote.c cib_handle_remote_msg(client, command); command 548 daemons/based/based_remote.c free_xml(command); command 549 daemons/based/based_remote.c command = pcmk__remote_message_xml(client->remote); command 33 daemons/controld/controld_attrd.c gboolean is_remote, char command, int rc) command 39 daemons/controld/controld_attrd.c switch (command) { command 81 daemons/controld/controld_attrd.c gboolean is_remote_node, char command) command 111 daemons/controld/controld_attrd.c if (command) { command 112 daemons/controld/controld_attrd.c rc = pcmk__node_attr_request(attrd_ipc, command, host, name, command 148 daemons/controld/controld_attrd.c log_attrd_error(host, name, value, is_remote_node, command, rc); command 70 daemons/pacemakerd/pacemakerd.c const char *command; command 216 daemons/pacemakerd/pacemakerd.c if (child->command == NULL || child->pid == PCMK__SPECIAL_PID) { command 260 daemons/pacemakerd/pacemakerd.c if (child->command == NULL) { command 315 daemons/pacemakerd/pacemakerd.c opts_vgrind[3] = strdup(child->command); command 318 daemons/pacemakerd/pacemakerd.c opts_vgrind[1] = strdup(child->command); command 323 daemons/pacemakerd/pacemakerd.c opts_default[0] = strdup(child->command); command 364 daemons/pacemakerd/pacemakerd.c (void)execvp(child->command, opts_default); command 366 daemons/pacemakerd/pacemakerd.c crm_crit("Could not execute %s: %s", child->command, strerror(errno)); command 428 daemons/pacemakerd/pacemakerd.c child->command); command 32 include/crm/common/attrd_internal.h int pcmk__node_attr_request(crm_ipc_t * ipc, char command, const char *host, command 62 lib/cib/cib_remote.c pcmk__remote_t command; command 153 lib/cib/cib_remote.c if (private->command.tls_session) { command 154 lib/cib/cib_remote.c gnutls_bye(*(private->command.tls_session), GNUTLS_SHUT_RDWR); command 155 lib/cib/cib_remote.c gnutls_deinit(*(private->command.tls_session)); command 156 lib/cib/cib_remote.c gnutls_free(private->command.tls_session); command 164 lib/cib/cib_remote.c private->command.tls_session = NULL; command 174 lib/cib/cib_remote.c if (private->command.tcp_socket) { command 175 lib/cib/cib_remote.c shutdown(private->command.tcp_socket, SHUT_RDWR); /* no more receptions */ command 176 lib/cib/cib_remote.c close(private->command.tcp_socket); command 182 lib/cib/cib_remote.c private->command.tcp_socket = 0; command 185 lib/cib/cib_remote.c free(private->command.buffer); command 187 lib/cib/cib_remote.c private->command.buffer = NULL; command 332 lib/cib/cib_remote.c rc = pcmk__read_remote_message(&private->command, -1); command 334 lib/cib/cib_remote.c free(private->command.buffer); command 335 lib/cib/cib_remote.c private->command.buffer = NULL; command 419 lib/cib/cib_remote.c rc = cib_tls_signon(cib, &(private->command), FALSE); command 430 lib/cib/cib_remote.c pcmk__remote_send_xml(&private->command, hello); command 531 lib/cib/cib_remote.c pcmk__remote_send_xml(&private->command, op_msg); command 553 lib/cib/cib_remote.c rc = pcmk__read_remote_message(&private->command, command 555 lib/cib/cib_remote.c op_reply = pcmk__remote_message_xml(&private->command); command 135 lib/common/attrd_client.c pcmk__node_attr_request(crm_ipc_t *ipc, char command, const char *host, command 155 lib/common/attrd_client.c if (name == NULL && command == 'U') { command 156 lib/common/attrd_client.c command = 'R'; command 159 lib/common/attrd_client.c switch (command) { command 148 lib/common/ipc_controld.c const char *command = crm_element_value(request, F_CRM_TASK); command 150 lib/common/ipc_controld.c if (command == NULL) { command 155 lib/common/ipc_controld.c return !strcmp(command, CRM_OP_REPROBE) command 156 lib/common/ipc_controld.c || !strcmp(command, CRM_OP_NODE_INFO) command 157 lib/common/ipc_controld.c || !strcmp(command, CRM_OP_PING) command 158 lib/common/ipc_controld.c || !strcmp(command, CRM_OP_LRM_FAIL) command 159 lib/common/ipc_controld.c || !strcmp(command, CRM_OP_LRM_DELETE); command 126 lib/common/ipc_pacemakerd.c const char *command = crm_element_value(request, F_CRM_TASK); command 128 lib/common/ipc_pacemakerd.c if (command == NULL) { command 133 lib/common/ipc_pacemakerd.c return !strcmp(command, CRM_OP_PING); command 147 tools/attrd_updater.c static int do_update(char command, const char *attr_node, const char *attr_name, command 179 tools/attrd_updater.c char command = 'Q'; command 231 tools/attrd_updater.c command = flag; command 240 tools/attrd_updater.c command = flag; command 254 tools/attrd_updater.c if (command != 'R' && attr_name == NULL) { command 263 tools/attrd_updater.c if (command == 'Q') { command 271 tools/attrd_updater.c exit_code = pcmk_rc2exitc(do_update(command, command 459 tools/attrd_updater.c do_update(char command, const char *attr_node, const char *attr_name, command 463 tools/attrd_updater.c int rc = pcmk__node_attr_request(NULL, command, attr_node, attr_name, command 36 tools/crm_attribute.c char command = 'G'; command 285 tools/crm_attribute.c command = flag; command 290 tools/crm_attribute.c command = flag; command 399 tools/crm_attribute.c if ((command == 'D') && (attr_name == NULL) && (attr_pattern == NULL)) { command 405 tools/crm_attribute.c if (((command != 'v') && (command != 'D')) command 411 tools/crm_attribute.c command = 'u'; command 427 tools/crm_attribute.c if (((command == 'v') || (command == 'D') || (command == 'u')) && try_attrd command 428 tools/crm_attribute.c && (pcmk__node_attr_request(NULL, command, dest_uname, attr_name, command 432 tools/crm_attribute.c attr_name, ((command == 'D')? "<none>" : attr_value)); command 434 tools/crm_attribute.c } else if (command == 'D') { command 446 tools/crm_attribute.c } else if (command == 'v') { command 31 tools/crm_node.c char command; command 35 tools/crm_node.c .command = '\0', command 95 tools/crm_node.c options.command = 'i'; command 97 tools/crm_node.c options.command = 'l'; command 99 tools/crm_node.c options.command = 'n'; command 101 tools/crm_node.c options.command = 'p'; command 103 tools/crm_node.c options.command = 'q'; command 114 tools/crm_node.c options.command = 'N'; command 127 tools/crm_node.c options.command = 'R'; command 172 tools/crm_node.c switch (options.command) { command 235 tools/crm_node.c if (options.command == 'l') { command 244 tools/crm_node.c if (options.command == 'p') { command 561 tools/crm_node.c if (optind > argc || options.command == 0) { command 578 tools/crm_node.c switch (options.command) { command 251 tools/crm_shadow.c static int command = '?'; command 287 tools/crm_shadow.c command = flag; command 307 tools/crm_shadow.c command = flag; command 313 tools/crm_shadow.c command = flag; command 357 tools/crm_shadow.c if (command == 'w') { command 376 tools/crm_shadow.c } else if (command != 's' && command != 'c') { command 400 tools/crm_shadow.c if (command == 'D') { command 410 tools/crm_shadow.c } else if (command == 'F') { command 415 tools/crm_shadow.c if (command == 'd' || command == 'r' || command == 'c' || command == 'C') { command 428 tools/crm_shadow.c if (command == 'e' || command == 'c') { command 442 tools/crm_shadow.c if (command == 'c' || command == 'e' || command == 'r') { command 446 tools/crm_shadow.c if (command == 'c' || command == 'r') { command 469 tools/crm_shadow.c command == 'r' ? "reset" : "create", command 476 tools/crm_shadow.c } else if (command == 'E') { command 491 tools/crm_shadow.c } else if (command == 's') { command 495 tools/crm_shadow.c } else if (command == 'p') { command 506 tools/crm_shadow.c } else if (command == 'd') { command 534 tools/crm_shadow.c } else if (command == 'C') { command 54 tools/crmadmin.c } command = cmd_none; command 133 tools/crmadmin.c command = cmd_health; command 138 tools/crmadmin.c command = cmd_pacemakerd_health; command 144 tools/crmadmin.c command = cmd_whois_dc; command 148 tools/crmadmin.c command = cmd_list_nodes; command 153 tools/crmadmin.c command = cmd_elect_dc; command 157 tools/crmadmin.c command = cmd_shutdown; command 225 tools/crmadmin.c switch (command) { command 297 tools/crmadmin.c switch (command) { command 449 tools/crmadmin.c if (command == cmd_none) { command 542 tools/crmadmin.c switch (command) { command 16 tools/iso8601.c char command = 0;