command 410 daemons/based/based_remote.c cib_handle_remote_msg(pcmk__client_t *client, xmlNode *command) command 414 daemons/based/based_remote.c value = crm_element_name(command); command 416 daemons/based/based_remote.c crm_log_xml_trace(command, "Bad command: "); command 421 daemons/based/based_remote.c value = crm_element_value(command, F_CLIENTNAME); command 430 daemons/based/based_remote.c value = crm_element_value(command, F_CIB_CALLBACK_TOKEN); command 441 daemons/based/based_remote.c xml_remove_prop(command, F_ORIG); command 442 daemons/based/based_remote.c xml_remove_prop(command, F_CIB_HOST); command 443 daemons/based/based_remote.c xml_remove_prop(command, F_CIB_GLOBAL_UPDATE); command 445 daemons/based/based_remote.c crm_xml_add(command, F_TYPE, T_CIB); command 446 daemons/based/based_remote.c crm_xml_add(command, F_CIB_CLIENTID, client->id); command 447 daemons/based/based_remote.c crm_xml_add(command, F_CIB_CLIENTNAME, client->name); command 448 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 518 daemons/based/based_remote.c command = pcmk__remote_message_xml(client->remote); command 519 daemons/based/based_remote.c if (cib_remote_auth(command) == FALSE) { command 520 daemons/based/based_remote.c free_xml(command); command 528 daemons/based/based_remote.c client->name = crm_element_value_copy(command, "name"); command 530 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 32 daemons/pacemakerd/pcmkd_subdaemons.c const char *command; command 356 daemons/pacemakerd/pcmkd_subdaemons.c child->command); command 429 daemons/pacemakerd/pcmkd_subdaemons.c if (child->command == NULL) { command 484 daemons/pacemakerd/pcmkd_subdaemons.c opts_vgrind[3] = strdup(child->command); command 487 daemons/pacemakerd/pcmkd_subdaemons.c opts_vgrind[1] = strdup(child->command); command 492 daemons/pacemakerd/pcmkd_subdaemons.c opts_default[0] = strdup(child->command); command 534 daemons/pacemakerd/pcmkd_subdaemons.c (void)execvp(child->command, opts_default); command 536 daemons/pacemakerd/pcmkd_subdaemons.c crm_crit("Could not execute %s: %s", child->command, strerror(errno)); command 865 daemons/pacemakerd/pcmkd_subdaemons.c if (child->command == NULL || child->pid == PCMK__SPECIAL_PID) { command 71 include/crm/common/messages_internal.h const char *command; command 58 lib/cib/cib_remote.c pcmk__remote_t command; command 151 lib/cib/cib_remote.c if (private->command.tls_session) { command 152 lib/cib/cib_remote.c gnutls_bye(*(private->command.tls_session), GNUTLS_SHUT_RDWR); command 153 lib/cib/cib_remote.c gnutls_deinit(*(private->command.tls_session)); command 154 lib/cib/cib_remote.c gnutls_free(private->command.tls_session); command 162 lib/cib/cib_remote.c private->command.tls_session = NULL; command 172 lib/cib/cib_remote.c if (private->command.tcp_socket) { command 173 lib/cib/cib_remote.c shutdown(private->command.tcp_socket, SHUT_RDWR); /* no more receptions */ command 174 lib/cib/cib_remote.c close(private->command.tcp_socket); command 180 lib/cib/cib_remote.c private->command.tcp_socket = 0; command 183 lib/cib/cib_remote.c free(private->command.buffer); command 185 lib/cib/cib_remote.c private->command.buffer = NULL; command 321 lib/cib/cib_remote.c rc = pcmk__read_remote_message(&private->command, -1); command 323 lib/cib/cib_remote.c free(private->command.buffer); command 324 lib/cib/cib_remote.c private->command.buffer = NULL; command 395 lib/cib/cib_remote.c rc = cib_tls_signon(cib, &(private->command), FALSE); command 406 lib/cib/cib_remote.c pcmk__remote_send_xml(&private->command, hello); command 507 lib/cib/cib_remote.c pcmk__remote_send_xml(&private->command, op_msg); command 529 lib/cib/cib_remote.c rc = pcmk__read_remote_message(&private->command, command 531 lib/cib/cib_remote.c op_reply = pcmk__remote_message_xml(&private->command); command 49 lib/common/ipc_attrd.c const char *command = crm_element_value(request, PCMK__XA_TASK); command 51 lib/common/ipc_attrd.c return pcmk__str_any_of(command, command 146 lib/common/ipc_controld.c const char *command = crm_element_value(request, F_CRM_TASK); command 148 lib/common/ipc_controld.c if (command == NULL) { command 153 lib/common/ipc_controld.c return !strcmp(command, CRM_OP_REPROBE) command 154 lib/common/ipc_controld.c || !strcmp(command, CRM_OP_NODE_INFO) command 155 lib/common/ipc_controld.c || !strcmp(command, CRM_OP_PING) command 156 lib/common/ipc_controld.c || !strcmp(command, CRM_OP_LRM_FAIL) command 157 lib/common/ipc_controld.c || !strcmp(command, CRM_OP_LRM_DELETE); command 159 lib/common/ipc_pacemakerd.c const char *command = crm_element_value(request, F_CRM_TASK); command 161 lib/common/ipc_pacemakerd.c if (command == NULL) { command 166 lib/common/ipc_pacemakerd.c return pcmk__str_any_of(command, CRM_OP_PING, CRM_OP_QUIT, NULL); command 67 lib/common/ipc_schedulerd.c const char *command = crm_element_value(request, F_CRM_TASK); command 69 lib/common/ipc_schedulerd.c if (command == NULL) { command 74 lib/common/ipc_schedulerd.c return pcmk__str_any_of(command, CRM_OP_PECALC, NULL); command 229 lib/common/messages.c for (i = 0; handlers[i].command != NULL; ++i) { command 230 lib/common/messages.c g_hash_table_insert(commands, (gpointer) handlers[i].command, command 191 maint/gnulib/lib/csharpcomp.c char *command = shell_quote_argv (argv); command 192 maint/gnulib/lib/csharpcomp.c printf ("%s\n", command); command 193 maint/gnulib/lib/csharpcomp.c free (command); command 376 maint/gnulib/lib/csharpcomp.c char *command = shell_quote_argv (argv); command 377 maint/gnulib/lib/csharpcomp.c printf ("%s\n", command); command 378 maint/gnulib/lib/csharpcomp.c free (command); command 134 maint/gnulib/lib/csharpexec.c char *command = shell_quote_argv (argv); command 135 maint/gnulib/lib/csharpexec.c printf ("%s\n", command); command 136 maint/gnulib/lib/csharpexec.c free (command); command 197 maint/gnulib/lib/csharpexec.c char *command = shell_quote_argv (argv); command 198 maint/gnulib/lib/csharpexec.c printf ("%s\n", command); command 199 maint/gnulib/lib/csharpexec.c free (command); command 290 maint/gnulib/lib/javacomp.c char *command; command 307 maint/gnulib/lib/javacomp.c command = (char *) xmalloca (command_length); command 308 maint/gnulib/lib/javacomp.c p = command; command 336 maint/gnulib/lib/javacomp.c if (p - command > command_length) command 340 maint/gnulib/lib/javacomp.c printf ("%s\n", command); command 344 maint/gnulib/lib/javacomp.c argv[2] = command; command 351 maint/gnulib/lib/javacomp.c freea (command); command 424 maint/gnulib/lib/javacomp.c char *command = shell_quote_argv (argv); command 425 maint/gnulib/lib/javacomp.c printf ("%s\n", command); command 426 maint/gnulib/lib/javacomp.c free (command); command 496 maint/gnulib/lib/javacomp.c char *command = shell_quote_argv (argv); command 497 maint/gnulib/lib/javacomp.c printf ("%s\n", command); command 498 maint/gnulib/lib/javacomp.c free (command); command 552 maint/gnulib/lib/javacomp.c char *command = shell_quote_argv (argv); command 553 maint/gnulib/lib/javacomp.c printf ("%s\n", command); command 554 maint/gnulib/lib/javacomp.c free (command); command 637 maint/gnulib/lib/javacomp.c char *command; command 650 maint/gnulib/lib/javacomp.c command = (char *) xmalloca (command_length); command 651 maint/gnulib/lib/javacomp.c p = command; command 659 maint/gnulib/lib/javacomp.c if (p - command > command_length) command 665 maint/gnulib/lib/javacomp.c argv[2] = command; command 697 maint/gnulib/lib/javacomp.c freea (command); command 719 maint/gnulib/lib/javacomp.c char *command; command 732 maint/gnulib/lib/javacomp.c command = (char *) xmalloca (command_length); command 733 maint/gnulib/lib/javacomp.c p = command; command 741 maint/gnulib/lib/javacomp.c if (p - command > command_length) command 747 maint/gnulib/lib/javacomp.c argv[2] = command; command 782 maint/gnulib/lib/javacomp.c freea (command); command 114 maint/gnulib/lib/javaexec.c char *command = shell_quote_argv (argv); command 115 maint/gnulib/lib/javaexec.c printf ("%s\n", command); command 116 maint/gnulib/lib/javaexec.c free (command); command 139 maint/gnulib/lib/javaexec.c char *command; command 155 maint/gnulib/lib/javaexec.c command = (char *) xmalloca (command_length); command 156 maint/gnulib/lib/javaexec.c p = command; command 170 maint/gnulib/lib/javaexec.c if (p - command > command_length) command 174 maint/gnulib/lib/javaexec.c printf ("%s\n", command); command 178 maint/gnulib/lib/javaexec.c argv[2] = command; command 182 maint/gnulib/lib/javaexec.c freea (command); command 238 maint/gnulib/lib/javaexec.c char *command = shell_quote_argv (argv); command 239 maint/gnulib/lib/javaexec.c printf ("%s\n", command); command 240 maint/gnulib/lib/javaexec.c free (command); command 295 maint/gnulib/lib/javaexec.c char *command = shell_quote_argv (argv); command 296 maint/gnulib/lib/javaexec.c printf ("%s\n", command); command 297 maint/gnulib/lib/javaexec.c free (command); command 351 maint/gnulib/lib/javaexec.c char *command = shell_quote_argv (argv); command 352 maint/gnulib/lib/javaexec.c printf ("%s\n", command); command 353 maint/gnulib/lib/javaexec.c free (command); command 408 maint/gnulib/lib/javaexec.c char *command = shell_quote_argv (argv); command 409 maint/gnulib/lib/javaexec.c printf ("%s\n", command); command 410 maint/gnulib/lib/javaexec.c free (command); command 78 maint/gnulib/lib/sh-quote.c char *command; command 90 maint/gnulib/lib/sh-quote.c command = XNMALLOC (length, char); command 92 maint/gnulib/lib/sh-quote.c p = command; command 103 maint/gnulib/lib/sh-quote.c return command; command 526 maint/gnulib/lib/spawni.c char *command = compose_command (argv); command 527 maint/gnulib/lib/spawni.c if (command == NULL) command 542 maint/gnulib/lib/spawni.c free (command); command 656 maint/gnulib/lib/spawni.c if (!CreateProcess (prog_filename, command, NULL, NULL, TRUE, command 667 maint/gnulib/lib/spawni.c free (command); command 681 maint/gnulib/lib/spawni.c free (command); command 695 maint/gnulib/lib/spawni.c free (command); command 706 maint/gnulib/lib/spawni.c free (command); command 713 maint/gnulib/lib/spawni.c free (command); command 282 maint/gnulib/lib/system-quote.c char *command; command 294 maint/gnulib/lib/system-quote.c command = XNMALLOC (length, char); command 296 maint/gnulib/lib/system-quote.c p = command; command 307 maint/gnulib/lib/system-quote.c return command; command 210 maint/gnulib/lib/windows-spawn.c char *command; command 221 maint/gnulib/lib/windows-spawn.c command = (char *) malloc (command_size); command 222 maint/gnulib/lib/windows-spawn.c if (command == NULL) command 231 maint/gnulib/lib/windows-spawn.c char *cp = command; command 242 maint/gnulib/lib/windows-spawn.c *command = '\0'; command 244 maint/gnulib/lib/windows-spawn.c return command; command 594 maint/gnulib/lib/windows-spawn.c char *command = compose_command (argv); command 595 maint/gnulib/lib/windows-spawn.c if (command == NULL) command 616 maint/gnulib/lib/windows-spawn.c free (command); command 643 maint/gnulib/lib/windows-spawn.c free (command); command 651 maint/gnulib/lib/windows-spawn.c if (!CreateProcess (resolved_progname, command, NULL, NULL, TRUE, command 661 maint/gnulib/lib/windows-spawn.c free (command); command 675 maint/gnulib/lib/windows-spawn.c free (command); command 721 maint/gnulib/lib/windows-spawn.c free (command); command 48 maint/gnulib/tests/test-pthread_sigmask1.c char command[80]; command 62 maint/gnulib/tests/test-pthread_sigmask1.c sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, pid); command 63 maint/gnulib/tests/test-pthread_sigmask1.c ASSERT (system (command) == 0); command 48 maint/gnulib/tests/test-sigprocmask.c char command[80]; command 69 maint/gnulib/tests/test-sigprocmask.c sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, (int) pid); command 70 maint/gnulib/tests/test-sigprocmask.c ASSERT (system (command) == 0); command 81 maint/gnulib/tests/test-system-quote-main.c char command[1000]; command 83 maint/gnulib/tests/test-system-quote-main.c sprintf (command, "%s %s", prog, output); command 92 maint/gnulib/tests/test-system-quote-main.c int exitcode = system (command); command 96 maint/gnulib/tests/test-system-quote-main.c input, exitcode, command); command 101 maint/gnulib/tests/test-system-quote-main.c FILE *fp = popen (command, "r"); command 106 maint/gnulib/tests/test-system-quote-main.c input, exitcode, command); command 127 maint/gnulib/tests/test-system-quote-main.c if (CreateProcess (NULL, command, NULL, NULL, TRUE, 0, NULL, NULL, command 139 maint/gnulib/tests/test-system-quote-main.c input, exitcode, command); command 44 tools/attrd_updater.c char command; command 55 tools/attrd_updater.c .command = 'Q', command 63 tools/attrd_updater.c options.command = 'B'; command 65 tools/attrd_updater.c options.command = 'D'; command 67 tools/attrd_updater.c options.command = 'Q'; command 69 tools/attrd_updater.c options.command = 'R'; command 71 tools/attrd_updater.c options.command = 'U'; command 73 tools/attrd_updater.c options.command = 'Y'; command 199 tools/attrd_updater.c static int send_attrd_update(char command, const char *attr_node, const char *attr_name, command 255 tools/attrd_updater.c if (options.command != 'R' && options.attr_name == NULL) { command 259 tools/attrd_updater.c } else if ((options.command == 'B'|| options.command == 'Y') && options.attr_dampen == NULL) { command 260 tools/attrd_updater.c out->info(out, "Warning: '%c' command given without required --delay", options.command); command 265 tools/attrd_updater.c if (options.command == 'Q') { command 274 tools/attrd_updater.c int rc = send_attrd_update(options.command, options.attr_node, command 394 tools/attrd_updater.c send_attrd_update(char command, const char *attr_node, const char *attr_name, command 400 tools/attrd_updater.c switch (command) { command 88 tools/crm_attribute.c char command; command 102 tools/crm_attribute.c .command = 'G', command 110 tools/crm_attribute.c options.command = 'D'; command 138 tools/crm_attribute.c options.command = 'u'; command 156 tools/crm_attribute.c options.command = 'G'; command 378 tools/crm_attribute.c send_attrd_update(char command, const char *attr_node, const char *attr_name, command 389 tools/crm_attribute.c switch (command) { command 676 tools/crm_attribute.c return use_attrd() && (options.command == 'D' || options.command == 'u'); command 686 tools/crm_attribute.c return options.command == 'G' || command 687 tools/crm_attribute.c ((options.command == 'u' || options.command == 'D') && command 694 tools/crm_attribute.c return options.command != 'D' || options.attr_name != NULL || options.attr_pattern != NULL; command 880 tools/crm_attribute.c (send_attrd_update(options.command, options.dest_uname, options.attr_name, command 883 tools/crm_attribute.c options.attr_name, ((options.command == 'D')? "<none>" : options.attr_value)); command 885 tools/crm_attribute.c } else if (options.command == 'D') { command 888 tools/crm_attribute.c } else if (options.command == 'u') { command 33 tools/crm_node.c char command; command 37 tools/crm_node.c .command = '\0', command 97 tools/crm_node.c options.command = 'i'; command 99 tools/crm_node.c options.command = 'l'; command 101 tools/crm_node.c options.command = 'n'; command 103 tools/crm_node.c options.command = 'p'; command 105 tools/crm_node.c options.command = 'q'; command 116 tools/crm_node.c options.command = 'N'; command 129 tools/crm_node.c options.command = 'R'; command 174 tools/crm_node.c switch (options.command) { command 237 tools/crm_node.c if (options.command == 'l') { command 246 tools/crm_node.c if (options.command == 'p') { command 552 tools/crm_node.c if (options.command == 0) { command 569 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 312 tools/crm_shadow.c command = flag; command 355 tools/crm_shadow.c if (command == 'w') { command 374 tools/crm_shadow.c } else if (command != 's' && command != 'c') { command 398 tools/crm_shadow.c if (command == 'D') { command 408 tools/crm_shadow.c } else if (command == 'F') { command 413 tools/crm_shadow.c if (command == 'd' || command == 'r' || command == 'c' || command == 'C') { command 426 tools/crm_shadow.c if (command == 'e' || command == 'c') { command 440 tools/crm_shadow.c if (command == 'c' || command == 'e' || command == 'r') { command 444 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 535 tools/crm_shadow.c } else if (command == 'C') { command 32 tools/crmadmin.c } command = cmd_none; command 103 tools/crmadmin.c command = cmd_health; command 108 tools/crmadmin.c command = cmd_pacemakerd_health; command 112 tools/crmadmin.c command = cmd_whois_dc; command 116 tools/crmadmin.c command = cmd_list_nodes; command 222 tools/crmadmin.c if (command == cmd_none) { command 236 tools/crmadmin.c switch (command) { command 336 tools/stonith_admin.c request_fencing(stonith_t *st, const char *target, const char *command, command 340 tools/stonith_admin.c int rc = pcmk__request_fencing(st, target, command, name, command 347 tools/stonith_admin.c const char *what = (strcmp(command, "on") == 0)? "unfence" : "fence";