host_uname         91 tools/crm_resource.c     gchar *host_uname;            // Value of --node
host_uname        576 tools/crm_resource.c     { "node", 'N', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.host_uname,
host_uname        640 tools/crm_resource.c     { "host-uname", 'H', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.host_uname,
host_uname       1038 tools/crm_resource.c               rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes"));
host_uname       1039 tools/crm_resource.c     rc = cli_resource_delete(controld_api, options.host_uname, rsc,
host_uname       1070 tools/crm_resource.c                                             options.host_uname,
host_uname       1073 tools/crm_resource.c     } else if (options.host_uname) {
host_uname       1074 tools/crm_resource.c         dest = pe_find_node(scheduler->nodes, options.host_uname);
host_uname       1186 tools/crm_resource.c     const char *router_node = options.host_uname;
host_uname       1189 tools/crm_resource.c     if (options.host_uname) {
host_uname       1190 tools/crm_resource.c         pcmk_node_t *node = pe_find_node(scheduler->nodes, options.host_uname);
host_uname       1198 tools/crm_resource.c                             options.host_uname);
host_uname       1208 tools/crm_resource.c                   options.host_uname? options.host_uname : "all nodes");
host_uname       1213 tools/crm_resource.c     crm_debug("Re-checking the state of all resources on %s", options.host_uname?options.host_uname:"all nodes");
host_uname       1215 tools/crm_resource.c     rc = pcmk__attrd_api_clear_failures(NULL, options.host_uname, NULL,
host_uname       1218 tools/crm_resource.c     if (pcmk_controld_api_reprobe(controld_api, options.host_uname,
host_uname       1236 tools/crm_resource.c               rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes"));
host_uname       1237 tools/crm_resource.c     rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL, 0,
host_uname       1621 tools/crm_resource.c     if (options.require_node && (options.host_uname == NULL)) {
host_uname       1689 tools/crm_resource.c     if ((options.host_uname != NULL) && (scheduler != NULL)) {
host_uname       1690 tools/crm_resource.c         node = pe_find_node(scheduler->nodes, options.host_uname);
host_uname       1695 tools/crm_resource.c                         _("Node '%s' not found"), options.host_uname);
host_uname       1801 tools/crm_resource.c             node = pe_find_node(scheduler->nodes, options.host_uname);
host_uname       1823 tools/crm_resource.c             rc = cli_resource_fail(controld_api, options.host_uname,
host_uname       1832 tools/crm_resource.c                                                options.host_uname, TRUE,
host_uname       1838 tools/crm_resource.c                                                options.host_uname, FALSE,
host_uname       1858 tools/crm_resource.c             if ((options.host_uname != NULL) && (node == NULL)) {
host_uname       1871 tools/crm_resource.c             if (options.host_uname == NULL) {
host_uname       1874 tools/crm_resource.c                 rc = cli_resource_move(rsc, options.rsc_id, options.host_uname,
host_uname       1889 tools/crm_resource.c             if (options.host_uname == NULL) {
host_uname       2002 tools/crm_resource.c                 rc = cli_cleanup_all(controld_api, options.host_uname,
host_uname       2062 tools/crm_resource.c     g_free(options.host_uname);
host_uname         73 tools/crm_resource.h int cli_resource_print_operations(const char *rsc_id, const char *host_uname,
host_uname         79 tools/crm_resource.h int cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname,
host_uname         83 tools/crm_resource.h int cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname,
host_uname         93 tools/crm_resource_print.c cli_resource_print_operations(const char *rsc_id, const char *host_uname,
host_uname         98 tools/crm_resource_print.c     GList *ops = find_operations(rsc_id, host_uname, active, scheduler);
host_uname        604 tools/crm_resource_print.c     const char *host_uname = (node == NULL)? NULL : node->details->uname;
host_uname        608 tools/crm_resource_print.c     if ((rsc == NULL) && (host_uname == NULL)) {
host_uname        627 tools/crm_resource_print.c     } else if ((rsc != NULL) && (host_uname != NULL)) {
host_uname        628 tools/crm_resource_print.c         if (resource_is_running_on(rsc, host_uname)) {
host_uname        630 tools/crm_resource_print.c                            rsc->id, host_uname);
host_uname        633 tools/crm_resource_print.c                            rsc->id, host_uname);
host_uname        638 tools/crm_resource_print.c     } else if ((rsc == NULL) && (host_uname != NULL)) {
host_uname        639 tools/crm_resource_print.c         const char* host_uname =  node->details->uname;
host_uname        648 tools/crm_resource_print.c                            rsc->id, host_uname);
host_uname        655 tools/crm_resource_print.c                            rsc->id, host_uname);
host_uname        663 tools/crm_resource_print.c     } else if ((rsc != NULL) && (host_uname == NULL)) {
host_uname        686 tools/crm_resource_print.c     const char *host_uname = (node == NULL)? NULL : node->details->uname;
host_uname        690 tools/crm_resource_print.c     if ((rsc == NULL) && (host_uname == NULL)) {
host_uname        714 tools/crm_resource_print.c     } else if ((rsc != NULL) && (host_uname != NULL)) {
host_uname        715 tools/crm_resource_print.c         if (resource_is_running_on(rsc, host_uname)) {
host_uname        716 tools/crm_resource_print.c             crm_xml_add(xml_node, "running_on", host_uname);
host_uname        721 tools/crm_resource_print.c     } else if ((rsc == NULL) && (host_uname != NULL)) {
host_uname        722 tools/crm_resource_print.c         const char* host_uname =  node->details->uname;
host_uname        736 tools/crm_resource_print.c                                            "host", host_uname,
host_uname        749 tools/crm_resource_print.c                                            "host", host_uname,
host_uname        761 tools/crm_resource_print.c     } else if ((rsc != NULL) && (host_uname == NULL)) {
host_uname        542 tools/crm_resource_runtime.c                 const char *host_uname, const char *rsc_id,
host_uname        546 tools/crm_resource_runtime.c     const char *router_node = host_uname;
host_uname        573 tools/crm_resource_runtime.c         pcmk_node_t *node = pe_find_node(scheduler->nodes, host_uname);
host_uname        576 tools/crm_resource_runtime.c             out->err(out, "Node %s not found", host_uname);
host_uname        582 tools/crm_resource_runtime.c                 out->err(out, "Node %s is not online", host_uname);
host_uname        592 tools/crm_resource_runtime.c                          host_uname);
host_uname        606 tools/crm_resource_runtime.c         return pcmk_controld_api_fail(controld_api, host_uname, router_node,
host_uname        610 tools/crm_resource_runtime.c         return pcmk_controld_api_refresh(controld_api, host_uname, router_node,
host_uname        638 tools/crm_resource_runtime.c clear_rsc_history(pcmk_ipc_api_t *controld_api, const char *host_uname,
host_uname        648 tools/crm_resource_runtime.c     rc = send_lrm_rsc_op(controld_api, false, host_uname, rsc_id, scheduler);
host_uname        767 tools/crm_resource_runtime.c cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname,
host_uname        784 tools/crm_resource_runtime.c             rc = cli_resource_delete(controld_api, host_uname, child, operation,
host_uname        793 tools/crm_resource_runtime.c     } else if (host_uname == NULL) {
host_uname        833 tools/crm_resource_runtime.c     node = pe_find_node(scheduler->nodes, host_uname);
host_uname        837 tools/crm_resource_runtime.c                  rsc->id, host_uname);
host_uname        843 tools/crm_resource_runtime.c                  rsc->id, host_uname);
host_uname        849 tools/crm_resource_runtime.c                  rsc->id, host_uname);
host_uname        856 tools/crm_resource_runtime.c                  rsc->id, host_uname, pcmk_rc_str(rc));
host_uname        861 tools/crm_resource_runtime.c         rc = clear_rsc_failures(out, controld_api, host_uname, rsc->id, operation,
host_uname        864 tools/crm_resource_runtime.c         rc = clear_rsc_history(controld_api, host_uname, rsc->id, scheduler);
host_uname        868 tools/crm_resource_runtime.c                  rsc->id, host_uname, pcmk_rc_str(rc));
host_uname        870 tools/crm_resource_runtime.c         out->info(out, "Cleaned up %s on %s", rsc->id, host_uname);
host_uname       1054 tools/crm_resource_runtime.c cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname,
host_uname       1057 tools/crm_resource_runtime.c     crm_notice("Failing %s on %s", rsc_id, host_uname);
host_uname       1058 tools/crm_resource_runtime.c     return send_lrm_rsc_op(controld_api, true, host_uname, rsc_id, scheduler);