target 1068 daemons/based/based_callbacks.c const char *target = NULL; target 1090 daemons/based/based_callbacks.c target = host; target 1093 daemons/based/based_callbacks.c target = "local host"; target 1096 daemons/based/based_callbacks.c target = "primary"; target 1102 daemons/based/based_callbacks.c target, reply_to); target 1106 daemons/based/based_callbacks.c op, pcmk__s(client_name, "client"), call_id, target); target 68 daemons/controld/controld_alerts.c e->target, e->operation, desc, e->result); target 1150 daemons/controld/controld_execd.c const char *target = NULL; target 1153 daemons/controld/controld_execd.c target = crm_element_value(xml, PCMK__META_ON_NODE); target 1155 daemons/controld/controld_execd.c if (target == NULL) { target 1156 daemons/controld/controld_execd.c target = controld_globals.our_nodename; target 1158 daemons/controld/controld_execd.c return target; target 101 daemons/controld/controld_fencing.c too_many_st_failures(const char *target) target 111 daemons/controld/controld_fencing.c if (target == NULL) { target 117 daemons/controld/controld_fencing.c target = (const char*)key; target 122 daemons/controld/controld_fencing.c value = g_hash_table_lookup(stonith_failures, target); target 131 daemons/controld/controld_fencing.c value->count, target); target 142 daemons/controld/controld_fencing.c st_fail_count_reset(const char *target) target 148 daemons/controld/controld_fencing.c if (target) { target 151 daemons/controld/controld_fencing.c rec = g_hash_table_lookup(stonith_failures, target); target 169 daemons/controld/controld_fencing.c st_fail_count_increment(const char *target) target 177 daemons/controld/controld_fencing.c rec = g_hash_table_lookup(stonith_failures, target); target 187 daemons/controld/controld_fencing.c g_hash_table_insert(stonith_failures, pcmk__str_copy(target), rec); target 211 daemons/controld/controld_fencing.c send_stonith_update(pcmk__graph_action_t *action, const char *target, target 226 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, return); target 233 daemons/controld/controld_fencing.c peer = pcmk__get_node(0, target, uuid, pcmk__node_search_any); target 246 daemons/controld/controld_fencing.c crm_info("Recording uuid '%s' for node '%s'", uuid, target); target 272 daemons/controld/controld_fencing.c crm_debug("Sending fencing update %d for %s", rc, target); target 273 daemons/controld/controld_fencing.c fsa_register_cib_callback(rc, pcmk__str_copy(target), cib_fencing_updated); target 296 daemons/controld/controld_fencing.c const char *target, const xmlNode *reason) target 301 daemons/controld/controld_fencing.c if ((abort_action != pcmk__graph_wait) && too_many_st_failures(target)) { target 326 daemons/controld/controld_fencing.c add_stonith_cleanup(const char *target) { target 328 daemons/controld/controld_fencing.c pcmk__str_copy(target)); target 338 daemons/controld/controld_fencing.c remove_stonith_cleanup(const char *target) target 347 daemons/controld/controld_fencing.c if (pcmk__str_eq(target, iter_name, pcmk__str_casei)) { target 366 daemons/controld/controld_fencing.c char *target = iter->data; target 368 daemons/controld/controld_fencing.c crm_info("Purging %s from stonith cleanup list", target); target 369 daemons/controld/controld_fencing.c free(target); target 386 daemons/controld/controld_fencing.c char *target = iter->data; target 388 daemons/controld/controld_fencing.c pcmk__get_node(0, target, NULL, pcmk__node_search_cluster_member); target 391 daemons/controld/controld_fencing.c crm_notice("Marking %s, target of a previous stonith action, as clean", target); target 392 daemons/controld/controld_fencing.c send_stonith_update(NULL, target, uuid); target 393 daemons/controld/controld_fencing.c free(target); target 537 daemons/controld/controld_fencing.c event->target, executioner, client, event->origin); target 540 daemons/controld/controld_fencing.c event->target, executioner, target 550 daemons/controld/controld_fencing.c && pcmk__str_eq(event->target, controld_globals.our_nodename, target 577 daemons/controld/controld_fencing.c st_fail_count_reset(event->target); target 579 daemons/controld/controld_fencing.c st_fail_count_increment(event->target); target 585 daemons/controld/controld_fencing.c event->target, (succeeded? "" : " not"), target 597 daemons/controld/controld_fencing.c crm_node_t *peer = pcmk__search_node_caches(0, event->target, flags); target 608 daemons/controld/controld_fencing.c send_stonith_update(NULL, event->target, uuid); target 623 daemons/controld/controld_fencing.c client, event->target); target 628 daemons/controld/controld_fencing.c } else if (pcmk__str_eq(controld_globals.dc_name, event->target, target 634 daemons/controld/controld_fencing.c crm_notice("Fencing target %s was our DC", event->target); target 637 daemons/controld/controld_fencing.c event->target); target 646 daemons/controld/controld_fencing.c send_stonith_update(NULL, event->target, uuid); target 648 daemons/controld/controld_fencing.c add_stonith_cleanup(event->target); target 657 daemons/controld/controld_fencing.c remote_ra_fail(event->target); target 799 daemons/controld/controld_fencing.c const char *target = NULL; target 846 daemons/controld/controld_fencing.c target = crm_element_value(action->xml, PCMK__META_ON_NODE); target 847 daemons/controld/controld_fencing.c if (target == NULL) { target 860 daemons/controld/controld_fencing.c crm_info("Fence operation %d for %s succeeded", data->call_id, target); target 879 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_UNFENCED, now, NULL, target 884 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_ALL, value, NULL, target 889 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_SECURE, value, NULL, target 893 daemons/controld/controld_fencing.c send_stonith_update(action, target, uuid); target 898 daemons/controld/controld_fencing.c st_fail_count_reset(target); target 920 daemons/controld/controld_fencing.c data->call_id, target, reason); target 924 daemons/controld/controld_fencing.c "(aborting transition)", data->call_id, target, reason); target 931 daemons/controld/controld_fencing.c st_fail_count_increment(target); target 932 daemons/controld/controld_fencing.c abort_for_stonith_failure(abort_action, target, NULL); target 945 daemons/controld/controld_fencing.c fence_with_delay(const char *target, const char *type, int delay) target 952 daemons/controld/controld_fencing.c stonith__set_call_options(options, target, st_opt_allow_self_fencing); target 954 daemons/controld/controld_fencing.c return stonith_api->cmds->fence_with_delay(stonith_api, options, target, target 974 daemons/controld/controld_fencing.c const char *target = crm_element_value(action->xml, PCMK__META_ON_NODE); target 987 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, invalid_action = TRUE); target 999 daemons/controld/controld_fencing.c type, target, id, stonith_timeout, target 1007 daemons/controld/controld_fencing.c rc = fence_with_delay(target, type, delay_i); target 19 daemons/controld/controld_fencing.h void st_fail_count_reset(const char * target); target 29 daemons/controld/controld_fencing.h void add_stonith_cleanup(const char *target); target 30 daemons/controld/controld_fencing.h void remove_stonith_cleanup(const char *target); target 220 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, PCMK__META_ON_NODE); target 224 daemons/controld/controld_te_actions.c if (pcmk__str_eq(target, pcmk__cluster_local_node_name(), target 232 daemons/controld/controld_te_actions.c router_node = target; target 262 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, PCMK__META_ON_NODE); target 292 daemons/controld/controld_te_actions.c crm_xml_add(state, PCMK_XA_UNAME, target); target 306 daemons/controld/controld_te_actions.c pcmk__create_history_xml(rsc, op, CRM_FEATURE_SET, target_rc, target, target 315 daemons/controld/controld_te_actions.c rc, action->id, task_uuid, target); target 324 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, PCMK__META_ON_NODE); target 331 daemons/controld/controld_te_actions.c action->xml->name, action->id, task_uuid, target); target 505 daemons/controld/controld_te_actions.c te_update_job_count_on(const char *target, int offset, bool migrate) target 509 daemons/controld/controld_te_actions.c if(target == NULL || te_targets == NULL) { target 513 daemons/controld/controld_te_actions.c r = g_hash_table_lookup(te_targets, target); target 516 daemons/controld/controld_te_actions.c r->name = pcmk__str_copy(target); target 524 daemons/controld/controld_te_actions.c crm_trace("jobs[%s] = %d", target, r->jobs); target 531 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, PCMK__META_ON_NODE); target 533 daemons/controld/controld_te_actions.c if ((action->type != pcmk__rsc_graph_action) || (target == NULL)) { target 542 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, PCMK__XA_ROUTER_NODE); target 544 daemons/controld/controld_te_actions.c if ((target == NULL) target 556 daemons/controld/controld_te_actions.c } else if (target == NULL) { target 557 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, PCMK__META_ON_NODE); target 560 daemons/controld/controld_te_actions.c te_update_job_count_on(target, offset, FALSE); target 575 daemons/controld/controld_te_actions.c const char *target) target 582 daemons/controld/controld_te_actions.c if(target == NULL) { target 590 daemons/controld/controld_te_actions.c r = g_hash_table_lookup(te_targets, target); target 591 daemons/controld/controld_te_actions.c limit = throttle_get_job_limit(target); target 595 daemons/controld/controld_te_actions.c r->name = pcmk__str_copy(target); target 601 daemons/controld/controld_te_actions.c target, limit, r->jobs, id); target 608 daemons/controld/controld_te_actions.c target, graph->migration_limit, r->migrate_jobs, id); target 613 daemons/controld/controld_te_actions.c crm_trace("Peer %s has not hit their limit yet. current jobs = %d limit= %d limit", target, r->jobs, limit); target 630 daemons/controld/controld_te_actions.c const char *target = NULL; target 642 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, PCMK__XA_ROUTER_NODE); target 644 daemons/controld/controld_te_actions.c if ((target == NULL) target 647 daemons/controld/controld_te_actions.c target = crm_meta_value(action->params, PCMK__META_MIGRATE_SOURCE); target 648 daemons/controld/controld_te_actions.c if (!allowed_on_node(graph, action, target)) { target 652 daemons/controld/controld_te_actions.c target = crm_meta_value(action->params, PCMK__META_MIGRATE_TARGET); target 654 daemons/controld/controld_te_actions.c } else if (target == NULL) { target 655 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, PCMK__META_ON_NODE); target 658 daemons/controld/controld_te_actions.c return allowed_on_node(graph, action, target); target 320 daemons/controld/controld_te_events.c const char *target = NULL; target 334 daemons/controld/controld_te_events.c target = crm_element_value(action->xml, PCMK__META_ON_NODE_UUID); target 335 daemons/controld/controld_te_events.c if (node && !pcmk__str_eq(target, node, pcmk__str_casei)) { target 336 daemons/controld/controld_te_events.c crm_trace("Wrong node %s for %s on %s", target, id, node); target 381 daemons/controld/controld_te_events.c match_down_event(const char *target) target 387 daemons/controld/controld_te_events.c char *xpath = crm_strdup_printf(XPATH_DOWNED, target); target 416 daemons/controld/controld_te_events.c target); target 418 daemons/controld/controld_te_events.c crm_debug("No reason to expect node %s to be down", target); target 395 daemons/controld/controld_throttle.c throttle_set_load_target(float target) target 397 daemons/controld/controld_throttle.c throttle_load_target = target; target 17 daemons/controld/controld_transition.h pcmk__graph_action_t *match_down_event(const char *target); target 489 daemons/fenced/fenced_cib.c char *target = stonith_level_key(match, fenced_target_by_unknown); target 492 daemons/fenced/fenced_cib.c if (target == NULL) { target 498 daemons/fenced/fenced_cib.c target, pcmk__xe_id(match)); target 501 daemons/fenced/fenced_cib.c topology_remove_helper(target, index); target 96 daemons/fenced/fenced_commands.c char *target; target 148 daemons/fenced/fenced_commands.c const char *target) target 163 daemons/fenced/fenced_commands.c if (target != NULL) { target 172 daemons/fenced/fenced_commands.c if (mapval != val && strncasecmp(target, val, (size_t)(mapval - val)) == 0) { target 175 daemons/fenced/fenced_commands.c value, target); target 318 daemons/fenced/fenced_commands.c free(cmd->target); target 379 daemons/fenced/fenced_commands.c cmd->target = crm_element_value_copy(op, PCMK__XA_ST_TARGET); target 440 daemons/fenced/fenced_commands.c ((cmd->target == NULL)? "" : " targeting "), target 441 daemons/fenced/fenced_commands.c pcmk__s(cmd->target, ""), device->id, cmd->timeout); target 525 daemons/fenced/fenced_commands.c ((pending_op->target == NULL)? "" : " targeting "), target 526 daemons/fenced/fenced_commands.c pcmk__s(pending_op->target, ""), target 581 daemons/fenced/fenced_commands.c ((cmd->target == NULL)? "" : " targeting "), target 582 daemons/fenced/fenced_commands.c pcmk__s(cmd->target, ""), device->id, device->agent); target 593 daemons/fenced/fenced_commands.c action = stonith__action_create(device->agent, action_str, cmd->target, target 652 daemons/fenced/fenced_commands.c if (device->include_nodeid && (cmd->target != NULL)) { target 653 daemons/fenced/fenced_commands.c crm_node_t *node = pcmk__get_node(0, cmd->target, NULL, target 666 daemons/fenced/fenced_commands.c (cmd->target == NULL)? "" : " targeting ", target 667 daemons/fenced/fenced_commands.c pcmk__s(cmd->target, ""), target 672 daemons/fenced/fenced_commands.c (cmd->target == NULL)? "" : " targeting ", target 673 daemons/fenced/fenced_commands.c pcmk__s(cmd->target, ""), target 686 daemons/fenced/fenced_commands.c delay_base = get_action_delay_base(device, cmd->action, cmd->target); target 708 daemons/fenced/fenced_commands.c (cmd->target == NULL)? "" : " targeting ", target 709 daemons/fenced/fenced_commands.c pcmk__s(cmd->target, ""), target 1168 daemons/fenced/fenced_commands.c const char *target, target 1183 daemons/fenced/fenced_commands.c cmd->target = pcmk__str_copy(target); target 1563 daemons/fenced/fenced_commands.c free(tp->target); target 1676 daemons/fenced/fenced_commands.c unpack_level_request(xmlNode *xml, enum fenced_target_by *mode, char **target, target 1711 daemons/fenced/fenced_commands.c if (target != NULL) { target 1712 daemons/fenced/fenced_commands.c *target = local_target; target 1739 daemons/fenced/fenced_commands.c char *target; target 1747 daemons/fenced/fenced_commands.c level = unpack_level_request(msg, &mode, &target, &id, desc); target 1756 daemons/fenced/fenced_commands.c free(target); target 1767 daemons/fenced/fenced_commands.c free(target); target 1778 daemons/fenced/fenced_commands.c target, id); target 1779 daemons/fenced/fenced_commands.c free(target); target 1790 daemons/fenced/fenced_commands.c tp = g_hash_table_lookup(topology, target); target 1795 daemons/fenced/fenced_commands.c tp->target = target; target 1802 daemons/fenced/fenced_commands.c g_hash_table_replace(topology, tp->target, tp); target 1804 daemons/fenced/fenced_commands.c target, (int) mode, g_hash_table_size(topology)); target 1806 daemons/fenced/fenced_commands.c free(target); target 1811 daemons/fenced/fenced_commands.c tp->target, id); target 1818 daemons/fenced/fenced_commands.c crm_trace("Adding device '%s' for %s[%d]", device, tp->target, id); target 1827 daemons/fenced/fenced_commands.c tp->target, nlevels, pcmk__plural_s(nlevels)); target 1851 daemons/fenced/fenced_commands.c char *target; target 1856 daemons/fenced/fenced_commands.c level = unpack_level_request(msg, NULL, &target, &id, desc); target 1865 daemons/fenced/fenced_commands.c target, id); target 1866 daemons/fenced/fenced_commands.c free(target); target 1878 daemons/fenced/fenced_commands.c tp = g_hash_table_lookup(topology, target); target 1883 daemons/fenced/fenced_commands.c target, nentries, target 1886 daemons/fenced/fenced_commands.c } else if (id == 0 && g_hash_table_remove(topology, target)) { target 1890 daemons/fenced/fenced_commands.c "(%d active %s remaining)", target, nentries, target 1902 daemons/fenced/fenced_commands.c id, target, nlevels, pcmk__plural_s(nlevels)); target 1905 daemons/fenced/fenced_commands.c free(target); target 2072 daemons/fenced/fenced_commands.c const char *target, gboolean allow_self) target 2074 daemons/fenced/fenced_commands.c gboolean localhost_is_target = pcmk__str_eq(target, stonith_our_uname, target 2084 daemons/fenced/fenced_commands.c "host, not %s", action, device->id, target); target 2109 daemons/fenced/fenced_commands.c const char *action, const char *target, target 2113 daemons/fenced/fenced_commands.c if (localhost_is_eligible(device, action, target, allow_self)) { target 2125 daemons/fenced/fenced_commands.c if (localhost_is_eligible(device, PCMK_ACTION_OFF, target, allow_self) target 2126 daemons/fenced/fenced_commands.c || localhost_is_eligible(device, PCMK_ACTION_ON, target, FALSE)) { target 2140 daemons/fenced/fenced_commands.c const char *target = NULL; target 2151 daemons/fenced/fenced_commands.c target = search->host; target 2152 daemons/fenced/fenced_commands.c if (target == NULL) { target 2166 daemons/fenced/fenced_commands.c } else if (!localhost_is_eligible_with_remap(dev, action, target, target 2174 daemons/fenced/fenced_commands.c alias = g_hash_table_lookup(dev->aliases, target); target 2181 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(target, dev->targets, pcmk__str_casei)) { target 2184 daemons/fenced/fenced_commands.c && g_hash_table_lookup(dev->aliases, target)) { target 2204 daemons/fenced/fenced_commands.c check_type, dev_id, target, action); target 2213 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(((alias == NULL)? target : alias), dev->targets, target 2229 daemons/fenced/fenced_commands.c check_type, dev_id, target, action); target 2230 daemons/fenced/fenced_commands.c schedule_internal_command(__func__, dev, PCMK_ACTION_STATUS, target, target 2242 daemons/fenced/fenced_commands.c pcmk__s(target, "unspecified target"), target 2298 daemons/fenced/fenced_commands.c char *target; target 2315 daemons/fenced/fenced_commands.c const char *target) target 2345 daemons/fenced/fenced_commands.c delay_base = get_action_delay_base(device, action, target); target 2375 daemons/fenced/fenced_commands.c const char *target, gboolean allow_self) target 2377 daemons/fenced/fenced_commands.c if (!localhost_is_eligible(device, action, target, allow_self)) { target 2396 daemons/fenced/fenced_commands.c const stonith_device_t *device, const char *target, target 2402 daemons/fenced/fenced_commands.c add_action_specific_attributes(child, action, device, target); target 2403 daemons/fenced/fenced_commands.c add_disallowed(child, action, device, target, allow_self); target 2455 daemons/fenced/fenced_commands.c crm_xml_add(list, PCMK__XA_ST_TARGET, query->target); target 2492 daemons/fenced/fenced_commands.c add_action_specific_attributes(dev, action, device, query->target); target 2505 daemons/fenced/fenced_commands.c add_disallowed(dev, action, device, query->target, target 2508 daemons/fenced/fenced_commands.c add_action_reply(dev, PCMK_ACTION_OFF, device, query->target, target 2511 daemons/fenced/fenced_commands.c add_action_reply(dev, PCMK_ACTION_ON, device, query->target, FALSE); target 2515 daemons/fenced/fenced_commands.c if (query->target == NULL) { target 2523 daemons/fenced/fenced_commands.c if (query->target) { target 2526 daemons/fenced/fenced_commands.c query->target); target 2541 daemons/fenced/fenced_commands.c free(query->target); target 2570 daemons/fenced/fenced_commands.c log_level = (cmd->target == NULL)? LOG_DEBUG : LOG_NOTICE; target 2578 daemons/fenced/fenced_commands.c log_level = (cmd->target == NULL)? LOG_NOTICE : LOG_ERR; target 2591 daemons/fenced/fenced_commands.c if (cmd->target != NULL) { target 2592 daemons/fenced/fenced_commands.c pcmk__g_strcat(msg, "targeting ", cmd->target, " ", NULL); target 2669 daemons/fenced/fenced_commands.c && pcmk__str_eq(cmd->origin, cmd->target, pcmk__str_casei)) { target 2674 daemons/fenced/fenced_commands.c cmd->action, cmd->target); target 2691 daemons/fenced/fenced_commands.c crm_xml_add(notify_data, PCMK__XA_ST_TARGET, cmd->target); target 2757 daemons/fenced/fenced_commands.c !pcmk__str_eq(cmd->target, cmd_other->target, pcmk__str_casei) || target 2767 daemons/fenced/fenced_commands.c (cmd_other->target == NULL)? "" : " targeting ", target 2768 daemons/fenced/fenced_commands.c pcmk__s(cmd_other->target, ""), cmd_other->client_name, target 2880 daemons/fenced/fenced_commands.c ndevices, pcmk__plural_s(ndevices), cmd->target); target 2893 daemons/fenced/fenced_commands.c cmd->target); target 3053 daemons/fenced/fenced_commands.c crm_xml_add(reply, PCMK__XA_ST_TARGET, cmd->target); target 3095 daemons/fenced/fenced_commands.c check_alternate_host(const char *target) target 3097 daemons/fenced/fenced_commands.c if (pcmk__str_eq(target, stonith_our_uname, pcmk__str_casei)) { target 3104 daemons/fenced/fenced_commands.c && !pcmk__str_eq(entry->uname, target, pcmk__str_casei)) { target 3123 daemons/fenced/fenced_commands.c const char *target = NULL; target 3127 daemons/fenced/fenced_commands.c target = crm_element_value(dev, PCMK__XA_ST_TARGET); target 3135 daemons/fenced/fenced_commands.c if (relay_op_id && target && pcmk__str_eq(target, stonith_our_uname, pcmk__str_casei)) { target 3159 daemons/fenced/fenced_commands.c (relay_op->target == NULL)? "" : " targeting ", target 3160 daemons/fenced/fenced_commands.c pcmk__s(relay_op->target, ""), target 3162 daemons/fenced/fenced_commands.c (target == NULL)? "" : " targeting ", pcmk__s(target, ""), target 3243 daemons/fenced/fenced_commands.c const char *target = NULL; target 3266 daemons/fenced/fenced_commands.c target = crm_element_value(dev, PCMK__XA_ST_TARGET); target 3277 daemons/fenced/fenced_commands.c query->target = pcmk__str_copy(target); target 3282 daemons/fenced/fenced_commands.c get_capable_devices(target, action, timeout, target 3368 daemons/fenced/fenced_commands.c const char *target = crm_element_value(dev, PCMK__XA_ST_TARGET); target 3377 daemons/fenced/fenced_commands.c target, (device? device : "any device")); target 3379 daemons/fenced/fenced_commands.c if (stonith_check_fence_tolerance(tolerance, target, action)) { target 3385 daemons/fenced/fenced_commands.c alternate_host = check_alternate_host(target); target 3389 daemons/fenced/fenced_commands.c request->peer, action, target, target 42 daemons/fenced/fenced_history.c const char *target) target 54 daemons/fenced/fenced_history.c if (target != NULL) { target 55 daemons/fenced/fenced_history.c crm_xml_add(call_data, PCMK__XA_ST_TARGET, target); target 69 daemons/fenced/fenced_history.c const char *target = (const char *) user_data; target 72 daemons/fenced/fenced_history.c if ((target) && (strcmp(op->target, target) != 0)) { target 89 daemons/fenced/fenced_history.c stonith_fence_history_cleanup(const char *target, target 95 daemons/fenced/fenced_history.c target); target 100 daemons/fenced/fenced_history.c (gpointer) target); target 265 daemons/fenced/fenced_history.c op->target = crm_element_value_copy(xml_op, PCMK__XA_ST_TARGET); target 317 daemons/fenced/fenced_history.c gboolean add_id, const char *target) target 374 daemons/fenced/fenced_history.c if (!pcmk__str_eq(target, op->target, pcmk__str_null_matches)) { target 384 daemons/fenced/fenced_history.c crm_xml_add(entry, PCMK__XA_ST_TARGET, op->target); target 460 daemons/fenced/fenced_history.c stonith_local_history(gboolean add_id, const char *target) target 462 daemons/fenced/fenced_history.c return stonith_local_history_diff_and_merge(NULL, add_id, target); target 478 daemons/fenced/fenced_history.c const char *target = NULL; target 483 daemons/fenced/fenced_history.c target = crm_element_value(dev, PCMK__XA_ST_TARGET); target 484 daemons/fenced/fenced_history.c if (target && (options & st_opt_cs_nodeid)) { target 488 daemons/fenced/fenced_history.c pcmk__scan_min_int(target, &nodeid, 0); target 493 daemons/fenced/fenced_history.c target = node->uname; target 501 daemons/fenced/fenced_history.c crm_trace("Cleaning up operations on %s in %p", target, target 503 daemons/fenced/fenced_history.c stonith_fence_history_cleanup(target, (call_id != NULL)); target 567 daemons/fenced/fenced_history.c crm_trace("Looking for operations on %s in %p", target, target 569 daemons/fenced/fenced_history.c *output = stonith_local_history(FALSE, target); target 252 daemons/fenced/fenced_remote.c free(op->target); target 307 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->target, op->id); target 329 daemons/fenced/fenced_remote.c op->target, op->client_name, op->id); target 362 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->target, op->client_name, op->id); target 384 daemons/fenced/fenced_remote.c crm_xml_add(notify_data, PCMK__XA_ST_TARGET, op->target); target 452 daemons/fenced/fenced_remote.c crm_xml_add(data, PCMK__XA_ST_TARGET, op->target); target 557 daemons/fenced/fenced_remote.c op->action, (op->target? " targeting " : ""), target 558 daemons/fenced/fenced_remote.c (op->target? op->target : ""), target 610 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->action, (op->target? " targeting " : ""), target 611 daemons/fenced/fenced_remote.c (op->target? op->target : ""), target 659 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 674 daemons/fenced/fenced_remote.c " id=%.8s", op->action, op->target, op->client_name, op->id); target 683 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 703 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 737 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 756 daemons/fenced/fenced_remote.c op->id, op->target); target 759 daemons/fenced/fenced_remote.c op->id, op->target); target 763 daemons/fenced/fenced_remote.c op->id, op->target, stonith_op_state_str(op->state)); target 767 daemons/fenced/fenced_remote.c op->id, op->target, stonith_op_state_str(op->state)); target 862 daemons/fenced/fenced_remote.c CRM_CHECK(node && tp && tp->target, return FALSE); target 872 daemons/fenced/fenced_remote.c crm_notice("Matched %s with %s by attribute", node, tp->target); target 882 daemons/fenced/fenced_remote.c crm_info("Bad regex '%s' for fencing level", tp->target); target 888 daemons/fenced/fenced_remote.c crm_notice("Matched %s with %s by name", node, tp->target); target 895 daemons/fenced/fenced_remote.c crm_trace("Testing %s against %s", node, tp->target); target 896 daemons/fenced/fenced_remote.c return pcmk__str_eq(tp->target, node, pcmk__str_casei); target 901 daemons/fenced/fenced_remote.c crm_trace("No match for %s with %s", node, tp->target); target 912 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); target 919 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); target 944 daemons/fenced/fenced_remote.c if (op->target) { target 945 daemons/fenced/fenced_remote.c tp = find_topology_for_host(op->target); target 966 daemons/fenced/fenced_remote.c op->level, op->target, g_list_length(tp->levels[op->level]), target 990 daemons/fenced/fenced_remote.c op->target, op->client_name, op->originator, op->id); target 1021 daemons/fenced/fenced_remote.c if (!pcmk__str_eq(op->target, other->target, pcmk__str_casei)) { target 1023 daemons/fenced/fenced_remote.c op->id, other->id, op->target, other->target); target 1036 daemons/fenced/fenced_remote.c if (pcmk__str_eq(other->target, other->originator, pcmk__str_casei)) { target 1038 daemons/fenced/fenced_remote.c op->id, other->id, other->target); target 1048 daemons/fenced/fenced_remote.c other->action, other->target, other->client_name, target 1076 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, target 1222 daemons/fenced/fenced_remote.c op->target = crm_element_value_copy(dev, PCMK__XA_ST_TARGET); target 1239 daemons/fenced/fenced_remote.c op->target, op->client_name, op->base_timeout, target 1247 daemons/fenced/fenced_remote.c pcmk__scan_min_int(op->target, &nodeid, 0); target 1256 daemons/fenced/fenced_remote.c pcmk__str_update(&(op->target), node->uname); target 1259 daemons/fenced/fenced_remote.c crm_warn("Could not expand nodeid '%s' into a host name", op->target); target 1323 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->action, op->target, op->id); target 1329 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->action, op->target, op->id); target 1335 daemons/fenced/fenced_remote.c op->action, op->target, op->id, target 1343 daemons/fenced/fenced_remote.c crm_xml_add(query, PCMK__XA_ST_TARGET, op->target); target 1384 daemons/fenced/fenced_remote.c && node_does_watchdog_fencing(op->target)); target 1401 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, target 1403 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 1406 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 1439 daemons/fenced/fenced_remote.c op->action, op->target, device); target 1442 daemons/fenced/fenced_remote.c op->action, op->target); target 1453 daemons/fenced/fenced_remote.c crm_trace("Waiting before looking for unverified devices to fence %s", op->target); target 1487 daemons/fenced/fenced_remote.c op->target); target 1491 daemons/fenced/fenced_remote.c op->action, op->target, (device? device : "any device")); target 1609 daemons/fenced/fenced_remote.c stonith_topology_t *tp = find_topology_for_host(op->target); target 1805 daemons/fenced/fenced_remote.c op->target, op->client_name, op->originator); target 1816 daemons/fenced/fenced_remote.c op->target); target 1825 daemons/fenced/fenced_remote.c if (node_does_watchdog_fencing(op->target)) { target 1830 daemons/fenced/fenced_remote.c pcmk__readable_interval(timeout_ms), op->target, op->action, target 1841 daemons/fenced/fenced_remote.c "not in host-list", op->target); target 1863 daemons/fenced/fenced_remote.c op->id, op->target, op->client_name, target 1883 daemons/fenced/fenced_remote.c op->target, device); target 1889 daemons/fenced/fenced_remote.c "doesn't support 'on'", op->target, device); target 1906 daemons/fenced/fenced_remote.c op->total_timeout, op->target, op->client_name, op->id); target 1943 daemons/fenced/fenced_remote.c crm_xml_add(remote_op, PCMK__XA_ST_TARGET, op->target); target 1957 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, target 1965 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, target 2012 daemons/fenced/fenced_remote.c "after successful 'off'", device, op->target); target 2018 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name); target 2023 daemons/fenced/fenced_remote.c CRM_XS " state=%s", op->action, op->target, op->client_name, target 2048 daemons/fenced/fenced_remote.c op->replies, op->action, op->target, op->client_name, target 2069 daemons/fenced/fenced_remote.c op->replies, op->action, op->target, op->client_name, target 2079 daemons/fenced/fenced_remote.c op->action, op->target, (device? " using " : ""), target 2120 daemons/fenced/fenced_remote.c tp = find_topology_for_host(op->target); target 2136 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 2364 daemons/fenced/fenced_remote.c host_is_target = pcmk__str_eq(host, op->target, pcmk__str_casei); target 2368 daemons/fenced/fenced_remote.c op->target, op->action, ndevices, pcmk__plural_s(ndevices), id); target 2476 daemons/fenced/fenced_remote.c device, (const char *) op->devices->data, op->action, op->target); target 2496 daemons/fenced/fenced_remote.c op->id, device, op->target); target 2522 daemons/fenced/fenced_remote.c op->target); target 2527 daemons/fenced/fenced_remote.c op->action, op->target, target 2571 daemons/fenced/fenced_remote.c op->target, op->originator, op->client_name, target 2577 daemons/fenced/fenced_remote.c stonith_check_fence_tolerance(int tolerance, const char *target, const char *action) target 2583 daemons/fenced/fenced_remote.c if (tolerance <= 0 || !stonith_remote_op_list || target == NULL || target 2590 daemons/fenced/fenced_remote.c if (strcmp(rop->target, target) != 0) { target 2604 daemons/fenced/fenced_remote.c target, action, tolerance, rop->delegate, rop->originator); target 27 daemons/fenced/pacemaker-fenced.h gboolean stonith_check_fence_tolerance(int tolerance, const char *target, const char *action); target 81 daemons/fenced/pacemaker-fenced.h char *target; target 206 daemons/fenced/pacemaker-fenced.h char *target; target 30 include/crm/common/acl_internal.h void pcmk__enable_acl(xmlNode *acl_source, xmlNode *target, const char *user); target 51 include/crm/common/attrs_internal.h const char *target, enum pcmk__rsc_node node_type); target 179 include/crm/common/internal.h const char *flag_type, const char *target, target 190 include/crm/common/internal.h ((target == NULL)? "target" : target), target 213 include/crm/common/internal.h const char *flag_type, const char *target, target 224 include/crm/common/internal.h ((target == NULL)? "target" : target), target 101 include/crm/common/iso8601.h void crm_time_set(crm_time_t *target, const crm_time_t *source); target 102 include/crm/common/iso8601.h void crm_time_set_timet(crm_time_t *target, const time_t *source); target 20 include/crm/common/iso8601_internal.h pcmk__time_hr_t *pcmk__time_hr_convert(pcmk__time_hr_t *target, target 22 include/crm/common/iso8601_internal.h void pcmk__time_set_hr_dt(crm_time_t *target, const pcmk__time_hr_t *hr_dt); target 98 include/crm/common/xml.h int format, xmlNode *source, xmlNode *target, bool *config, bool manage_version); target 101 include/crm/common/xml.h void patchset_process_digest(xmlNode *patch, xmlNode *source, xmlNode *target, bool with_digest); target 143 include/crm/common/xml_compat.h void fix_plus_plus_recursive(xmlNode *target); target 190 include/crm/common/xml_compat.h void copy_in_properties(xmlNode *target, const xmlNode *src); target 193 include/crm/common/xml_compat.h void expand_plus_plus(xmlNode * target, const char *name, const char *value); target 455 include/crm/common/xml_internal.h int pcmk__xe_copy_attrs(xmlNode *target, const xmlNode *src, uint32_t flags); target 55 include/crm/fencing/internal.h const char *target, target 30 include/crm/lrmd_internal.h const char *target, const char *task, target 130 include/crm/stonith-ng.h char *target; target 153 include/crm/stonith-ng.h char *target; target 366 include/crm/stonith-ng.h int (*query)(stonith_t *stonith, int call_options, const char *target, target 397 include/crm/stonith-ng.h int (*confirm)(stonith_t *stonith, int call_options, const char *target); target 568 include/pacemaker.h int pcmk_request_fencing(stonith_t *st, const char *target, const char *action, target 589 include/pacemaker.h int pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, const char *target, target 615 include/pacemaker.h int pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid); target 659 include/pacemaker.h int pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, const char *target, target 674 include/pacemaker.h int pcmk_fence_register_level(stonith_t *st, const char *target, target 689 include/pacemaker.h int pcmk_fence_unregister_level(stonith_t *st, const char *target, target 49 include/pcmki/pcmki_fence.h int pcmk__request_fencing(stonith_t *st, const char *target, const char *action, target 73 include/pcmki/pcmki_fence.h int pcmk__fence_history(pcmk__output_t *out, stonith_t *st, const char *target, target 111 include/pcmki/pcmki_fence.h int pcmk__fence_last(pcmk__output_t *out, const char *target, bool as_nodeid); target 171 include/pcmki/pcmki_fence.h const char *target, unsigned int timeout); target 191 include/pcmki/pcmki_fence.h int pcmk__fence_register_level(stonith_t *st, const char *target, target 212 include/pcmki/pcmki_fence.h int pcmk__fence_unregister_level(stonith_t *st, const char *target, target 575 lib/cib/cib_ops.c update_results(xmlNode *failed, xmlNode *target, const char *operation, target 587 lib/cib/cib_ops.c pcmk__xml_copy(xml_node, target); target 589 lib/cib/cib_ops.c crm_xml_add(xml_node, PCMK_XA_ID, pcmk__xe_id(target)); target 590 lib/cib/cib_ops.c crm_xml_add(xml_node, PCMK_XA_OBJECT_TYPE, (const char *) target->name); target 968 lib/cluster/cpg.c char *target = NULL; target 1001 lib/cluster/cpg.c target = pcmk__str_copy(node->uname); target 1007 lib/cluster/cpg.c target = crm_strdup_printf("%u", node->id); target 1012 lib/cluster/cpg.c target = pcmk__str_copy("all"); target 1063 lib/cluster/cpg.c msg->id, target, (unsigned long long) iov->iov_len, target 1068 lib/cluster/cpg.c msg->id, target, (unsigned long long) iov->iov_len, target 1072 lib/cluster/cpg.c free(target); target 288 lib/common/acl.c pcmk__unpack_acl(xmlNode *source, xmlNode *target, const char *user) target 292 lib/common/acl.c if ((target == NULL) || (target->doc == NULL) target 293 lib/common/acl.c || (target->doc->_private == NULL)) { target 297 lib/common/acl.c docpriv = target->doc->_private; target 354 lib/common/acl.c pcmk__enable_acl(xmlNode *acl_source, xmlNode *target, const char *user) target 356 lib/common/acl.c pcmk__unpack_acl(acl_source, target, user); target 357 lib/common/acl.c pcmk__set_xml_doc_flag(target, pcmk__xf_acl_enabled); target 358 lib/common/acl.c pcmk__apply_acl(target); target 449 lib/common/acl.c xmlNode *target = NULL; target 460 lib/common/acl.c target = pcmk__xml_copy(NULL, xml); target 461 lib/common/acl.c if (target == NULL) { target 465 lib/common/acl.c pcmk__enable_acl(acl_source, target, user); target 467 lib/common/acl.c docpriv = target->doc->_private; target 468 lib/common/acl.c for(aIter = docpriv->acls; aIter != NULL && target; aIter = aIter->next) { target 477 lib/common/acl.c xmlXPathObjectPtr xpathObj = xpath_search(target, acl->xpath); target 483 lib/common/acl.c if (!purge_xml_attributes(match) && (match == target)) { target 497 lib/common/acl.c if (!purge_xml_attributes(target)) { target 509 lib/common/acl.c free_xml(target); target 510 lib/common/acl.c target = NULL; target 513 lib/common/acl.c if (target) { target 514 lib/common/acl.c *result = target; target 49 lib/common/attrs.c const char *target = NULL; target 53 lib/common/attrs.c target = getenv(buf); target 60 lib/common/attrs.c && pcmk__str_eq(target, PCMK_VALUE_HOST, pcmk__str_casei)) { target 118 lib/common/attrs.c pcmk__node_attr(const pcmk_node_t *node, const char *name, const char *target, target 134 lib/common/attrs.c || !pcmk__str_eq(target, PCMK_VALUE_HOST, pcmk__str_casei)) { target 99 lib/common/crmcommon_private.h void pcmk__xml_update(xmlNode *parent, xmlNode *target, xmlNode *update, target 107 lib/common/crmcommon_private.h void pcmk__xc_update(xmlNode *parent, xmlNode *target, xmlNode *update); target 113 lib/common/crmcommon_private.h void pcmk__unpack_acl(xmlNode *source, xmlNode *target, const char *user); target 151 lib/common/crmcommon_private.h int pcmk__xe_set_score(xmlNode *target, const char *name, const char *value); target 177 lib/common/crmcommon_private.h void pcmk__set_time_if_earlier(crm_time_t *target, const crm_time_t *source); target 333 lib/common/io.c const char *target = NULL; target 341 lib/common/io.c target = full_file; target 345 lib/common/io.c crm_notice("%s not found: %s", target, pcmk_rc_str(errno)); target 348 lib/common/io.c target = NULL; target 352 lib/common/io.c target, (unsigned long) buf.st_mode); target 359 lib/common/io.c if (target == NULL) { target 360 lib/common/io.c target = dir; target 373 lib/common/io.c if (!pcmk__daemon_user_can_write(target, &buf) target 374 lib/common/io.c && !pcmk__daemon_group_can_write(target, &buf)) { target 378 lib/common/io.c target, CRM_DAEMON_USER, CRM_DAEMON_GROUP, target 187 lib/common/ipc_attrd.c const char *target = pcmk__node_attr_target(node); target 189 lib/common/ipc_attrd.c if (target != NULL) { target 190 lib/common/ipc_attrd.c node = target; target 222 lib/common/ipc_attrd.c const char *target = NULL; target 228 lib/common/ipc_attrd.c target = pcmk__node_attr_target(node); target 230 lib/common/ipc_attrd.c if (target != NULL) { target 231 lib/common/ipc_attrd.c node = target; target 246 lib/common/ipc_attrd.c const char *target = pcmk__node_attr_target(node); target 248 lib/common/ipc_attrd.c if (target != NULL) { target 249 lib/common/ipc_attrd.c node = target; target 275 lib/common/ipc_attrd.c const char *target = NULL; target 284 lib/common/ipc_attrd.c target = pcmk__node_attr_target(node); target 286 lib/common/ipc_attrd.c if (target != NULL) { target 287 lib/common/ipc_attrd.c node = target; target 311 lib/common/ipc_attrd.c const char *target = pcmk__node_attr_target(node); target 313 lib/common/ipc_attrd.c if (target != NULL) { target 314 lib/common/ipc_attrd.c node = target; target 384 lib/common/ipc_attrd.c const char *target = NULL; target 390 lib/common/ipc_attrd.c target = pcmk__node_attr_target(node); target 392 lib/common/ipc_attrd.c if (target != NULL) { target 393 lib/common/ipc_attrd.c node = target; target 447 lib/common/ipc_attrd.c const char *target = NULL; target 462 lib/common/ipc_attrd.c target = pcmk__node_attr_target(pair->node); target 464 lib/common/ipc_attrd.c if (target != NULL) { target 465 lib/common/ipc_attrd.c pair->node = target; target 1384 lib/common/iso8601.c crm_time_set(crm_time_t *target, const crm_time_t *source) target 1386 lib/common/iso8601.c crm_trace("target=%p, source=%p", target, source); target 1388 lib/common/iso8601.c CRM_CHECK(target != NULL && source != NULL, return); target 1390 lib/common/iso8601.c target->years = source->years; target 1391 lib/common/iso8601.c target->days = source->days; target 1392 lib/common/iso8601.c target->months = source->months; /* Only for durations */ target 1393 lib/common/iso8601.c target->seconds = source->seconds; target 1394 lib/common/iso8601.c target->offset = source->offset; target 1398 lib/common/iso8601.c crm_time_log(LOG_TRACE, "target", target, target 1403 lib/common/iso8601.c ha_set_tm_time(crm_time_t *target, const struct tm *source) target 1409 lib/common/iso8601.c target->years = 0; target 1410 lib/common/iso8601.c target->months = 0; target 1411 lib/common/iso8601.c target->days = 0; target 1412 lib/common/iso8601.c target->seconds = 0; target 1413 lib/common/iso8601.c target->offset = 0; target 1414 lib/common/iso8601.c target->duration = FALSE; target 1418 lib/common/iso8601.c target->years = 1900; target 1419 lib/common/iso8601.c crm_time_add_years(target, source->tm_year); target 1424 lib/common/iso8601.c target->days = 1 + source->tm_yday; target 1428 lib/common/iso8601.c target->seconds += HOUR_SECONDS * source->tm_hour; target 1431 lib/common/iso8601.c target->seconds += 60 * source->tm_min; target 1434 lib/common/iso8601.c target->seconds += source->tm_sec; target 1443 lib/common/iso8601.c target->offset += HOUR_SECONDS * h_offset; target 1444 lib/common/iso8601.c target->offset += 60 * m_offset; target 1448 lib/common/iso8601.c crm_time_set_timet(crm_time_t *target, const time_t *source) target 1450 lib/common/iso8601.c ha_set_tm_time(target, localtime(source)); target 1461 lib/common/iso8601.c pcmk__set_time_if_earlier(crm_time_t *target, const crm_time_t *source) target 1463 lib/common/iso8601.c if ((target != NULL) && (source != NULL) target 1464 lib/common/iso8601.c && (!crm_time_is_defined(target) target 1465 lib/common/iso8601.c || (crm_time_compare(source, target) < 0))) { target 1466 lib/common/iso8601.c crm_time_set(target, source); target 1473 lib/common/iso8601.c crm_time_t *target = crm_time_new_undefined(); target 1475 lib/common/iso8601.c crm_time_set(target, source); target 1476 lib/common/iso8601.c return target; target 1490 lib/common/iso8601.c crm_time_t *target = crm_time_new_undefined(); target 1492 lib/common/iso8601.c crm_time_set_timet(target, &source); target 1493 lib/common/iso8601.c return target; target 1905 lib/common/iso8601.c ha_get_tm_time(struct tm *target, const crm_time_t *source) target 1907 lib/common/iso8601.c *target = (struct tm) { target 1919 lib/common/iso8601.c mktime(target); target 1931 lib/common/iso8601.c pcmk__time_hr_convert(pcmk__time_hr_t *target, const crm_time_t *dt) target 1936 lib/common/iso8601.c hr_dt = target; target 1955 lib/common/iso8601.c pcmk__time_set_hr_dt(crm_time_t *target, const pcmk__time_hr_t *hr_dt) target 1957 lib/common/iso8601.c pcmk__assert((target != NULL) && (hr_dt != NULL)); target 1958 lib/common/iso8601.c *target = (crm_time_t) { target 250 lib/common/patchset.c xml_create_patchset_v1(xmlNode *source, xmlNode *target, bool config, target 253 lib/common/patchset.c xmlNode *patchset = pcmk__diff_v1_xml_object(source, target, suppress); target 256 lib/common/patchset.c CRM_LOG_ASSERT(xml_document_dirty(target)); target 257 lib/common/patchset.c xml_repair_v1_diff(source, target, patchset, config); target 264 lib/common/patchset.c xml_create_patchset_v2(xmlNode *source, xmlNode *target) target 279 lib/common/patchset.c pcmk__assert(target != NULL); target 280 lib/common/patchset.c if (!xml_document_dirty(target)) { target 284 lib/common/patchset.c pcmk__assert(target->doc != NULL); target 285 lib/common/patchset.c docpriv = target->doc->_private; target 304 lib/common/patchset.c const char *value = crm_element_value(target, vfields[lpc]); target 323 lib/common/patchset.c add_xml_changes_to_patchset(target, patchset); target 328 lib/common/patchset.c xml_create_patchset(int format, xmlNode *source, xmlNode *target, target 336 lib/common/patchset.c xml_acl_disable(target); target 337 lib/common/patchset.c if (!xml_document_dirty(target)) { target 342 lib/common/patchset.c config = is_config_change(target); target 349 lib/common/patchset.c crm_xml_add(target, PCMK_XA_NUM_UPDATES, "0"); target 351 lib/common/patchset.c crm_element_value_int(target, PCMK_XA_EPOCH, &counter); target 352 lib/common/patchset.c crm_xml_add_int(target, PCMK_XA_EPOCH, counter+1); target 355 lib/common/patchset.c crm_element_value_int(target, PCMK_XA_NUM_UPDATES, &counter); target 358 lib/common/patchset.c crm_xml_add_int(target, PCMK_XA_NUM_UPDATES, (counter + 1)); target 373 lib/common/patchset.c patch = xml_create_patchset_v1(source, target, config, FALSE); target 376 lib/common/patchset.c patch = xml_create_patchset_v2(source, target); target 386 lib/common/patchset.c patchset_process_digest(xmlNode *patch, xmlNode *source, xmlNode *target, target 393 lib/common/patchset.c if ((patch == NULL) || (source == NULL) || (target == NULL)) { target 400 lib/common/patchset.c CRM_LOG_ASSERT(!xml_document_dirty(target)); target 408 lib/common/patchset.c digest = calculate_xml_versioned_digest(target, FALSE, TRUE, version); target 629 lib/common/patchset.c process_v1_removals(xmlNode *target, xmlNode *patch) target 637 lib/common/patchset.c if ((target == NULL) || (patch == NULL)) { target 641 lib/common/patchset.c if (target->type == XML_COMMENT_NODE) { target 644 lib/common/patchset.c subtract_v1_xml_comment(target->parent, target, patch, &dummy); target 647 lib/common/patchset.c CRM_CHECK(pcmk__xe_is(target, (const char *) patch->name), return); target 648 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(pcmk__xe_id(target), pcmk__xe_id(patch), target 653 lib/common/patchset.c id = crm_element_value_copy(target, PCMK_XA_ID); target 657 lib/common/patchset.c target->name, id); target 658 lib/common/patchset.c free_xml(target); target 667 lib/common/patchset.c cIter = pcmk__xml_first_child(target); target 683 lib/common/patchset.c process_v1_additions(xmlNode *parent, xmlNode *target, xmlNode *patch) target 695 lib/common/patchset.c } else if ((parent == NULL) && (target == NULL)) { target 702 lib/common/patchset.c if ((target == NULL) && (value != NULL) target 709 lib/common/patchset.c } else if (target == NULL) { target 715 lib/common/patchset.c if (target->type == XML_COMMENT_NODE) { target 716 lib/common/patchset.c pcmk__xc_update(parent, target, patch); target 719 lib/common/patchset.c CRM_CHECK(pcmk__xe_is(target, name), return); target 720 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(pcmk__xe_id(target), pcmk__xe_id(patch), target 729 lib/common/patchset.c pcmk__xe_remove_attr(target, p_name); // Preserve patch order target 730 lib/common/patchset.c crm_xml_add(target, p_name, p_value); target 737 lib/common/patchset.c target_child = pcmk__xml_match(target, patch_child, false); target 738 lib/common/patchset.c process_v1_additions(target, target_child, patch_child); target 1030 lib/common/patchset.c xmlNode *target = (xmlNode *) top->doc; target 1070 lib/common/patchset.c target = first_matching_xml_child(target, tag, NULL, target 1074 lib/common/patchset.c target = first_matching_xml_child(target, tag, id, target 1079 lib/common/patchset.c target = NULL; target 1086 lib/common/patchset.c } while ((rc == 2) && target); target 1088 lib/common/patchset.c if (target) { target 1090 lib/common/patchset.c (path = (char *) xmlGetNodePath(target)), key); target 1100 lib/common/patchset.c return target; target 20 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c crm_time_t *target = crm_time_new("2024-01-01 00:30:00 +01:00"); target 21 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c crm_time_t *target_copy = pcmk_copy_time(target); target 25 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c pcmk__set_time_if_earlier(NULL, target); target 28 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c pcmk__set_time_if_earlier(target, NULL); target 29 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c assert_int_equal(crm_time_compare(target, target_copy), 0); target 31 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c crm_time_free(target); target 39 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c crm_time_t *target = crm_time_new_undefined(); target 41 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c pcmk__set_time_if_earlier(target, source); target 42 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c assert_int_equal(crm_time_compare(target, source), 0); target 45 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c crm_time_free(target); target 52 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c crm_time_t *target = crm_time_new("2024-01-01 00:30:00 +01:00"); target 54 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c pcmk__set_time_if_earlier(target, source); target 55 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c assert_int_equal(crm_time_compare(target, source), 0); target 58 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c crm_time_free(target); target 65 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c crm_time_t *target = crm_time_new("2024-01-01 00:30:00 +01:00"); target 66 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c crm_time_t *target_copy = pcmk_copy_time(target); target 68 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c pcmk__set_time_if_earlier(target, source); target 69 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c assert_int_equal(crm_time_compare(target, target_copy), 0); target 72 lib/common/tests/iso8601/pcmk__set_time_if_earlier_test.c crm_time_free(target); target 34 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c xmlNode *target = pcmk__xe_create(NULL, "test"); target 37 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_int_equal(pcmk__xe_copy_attrs(target, src, pcmk__xaf_none), target 39 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_ptr_equal(target->properties, NULL); target 42 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c crm_xml_add(target, "attr", "value"); target 43 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_int_equal(pcmk__xe_copy_attrs(target, src, pcmk__xaf_none), target 45 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_string_equal(crm_element_value(target, "attr"), "value"); target 48 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c free_xml(target); target 55 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c xmlNode *target = pcmk__xe_create(NULL, "test"); target 59 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_int_equal(pcmk__xe_copy_attrs(target, src, pcmk__xaf_none), target 62 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c crm_element_value(target, "attr")); target 65 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c free_xml(target); target 72 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c xmlNode *target = pcmk__xe_create(NULL, "test"); target 80 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_int_equal(pcmk__xe_copy_attrs(target, src, pcmk__xaf_none), target 83 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c crm_element_value(target, "attr1")); target 85 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c crm_element_value(target, "attr2")); target 87 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c crm_element_value(target, "attr3")); target 90 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c free_xml(target); target 97 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c xmlNode *target = pcmk__xe_create(NULL, "test"); target 100 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c crm_xml_add(target, "attr", "target_value"); target 103 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_int_equal(pcmk__xe_copy_attrs(target, src, pcmk__xaf_none), target 106 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c crm_element_value(target, "attr")); target 108 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c free_xml(target); target 115 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c xmlNode *target = pcmk__xe_create(NULL, "test"); target 118 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c crm_xml_add(target, "attr", "target_value"); target 120 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_int_equal(pcmk__xe_copy_attrs(target, src, pcmk__xaf_no_overwrite), target 123 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c crm_element_value(target, "attr")); target 126 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c pcmk__xe_remove_attr(target, "attr"); target 128 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_int_equal(pcmk__xe_copy_attrs(target, src, pcmk__xaf_no_overwrite), target 131 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c crm_element_value(target, "attr")); target 134 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c free_xml(target); target 141 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c xmlNode *target = pcmk__xe_create(NULL, "test"); target 145 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c crm_xml_add(target, "plus_plus_attr", "1"); target 146 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c crm_xml_add(target, "plus_two_attr", "1"); target 148 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_int_equal(pcmk__xe_copy_attrs(target, src, pcmk__xaf_score_update), target 150 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_string_equal(crm_element_value(target, "plus_plus_attr"), "2"); target 151 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_string_equal(crm_element_value(target, "plus_two_attr"), "3"); target 154 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c free_xml(target); target 161 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c xmlNode *target = pcmk__xe_create(NULL, "test"); target 165 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c crm_xml_add(target, "plus_plus_attr", "1"); target 166 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c crm_xml_add(target, "plus_two_attr", "1"); target 169 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_int_equal(pcmk__xe_copy_attrs(target, src, pcmk__xaf_none), target 171 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_string_equal(crm_element_value(target, "plus_plus_attr"), target 173 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_string_equal(crm_element_value(target, "plus_two_attr"), target 177 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c free_xml(target); target 591 lib/common/xml.c pcmk__xe_set_score(xmlNode *target, const char *name, const char *value) target 595 lib/common/xml.c CRM_CHECK((target != NULL) && (name != NULL), return EINVAL); target 602 lib/common/xml.c old_value = crm_element_value(target, name); target 643 lib/common/xml.c crm_xml_add_int(target, name, pcmk__add_scores(old_value_i, add)); target 650 lib/common/xml.c crm_xml_add(target, name, value); target 669 lib/common/xml.c pcmk__xe_copy_attrs(xmlNode *target, const xmlNode *src, uint32_t flags) target 671 lib/common/xml.c CRM_CHECK((src != NULL) && (target != NULL), return EINVAL); target 680 lib/common/xml.c && (crm_element_value(target, name) != NULL)) { target 685 lib/common/xml.c pcmk__xe_set_score(target, name, value); target 687 lib/common/xml.c crm_xml_add(target, name, value); target 1692 lib/common/xml.c pcmk__xml_update(xmlNode *parent, xmlNode *target, xmlNode *update, target 1705 lib/common/xml.c crm_log_xml_trace(target, "target"); target 1710 lib/common/xml.c pcmk__xc_update(parent, target, update); target 1717 lib/common/xml.c CRM_CHECK((target != NULL) || (parent != NULL), goto done); target 1743 lib/common/xml.c if (target == NULL) { target 1745 lib/common/xml.c target = pcmk__xe_first_child(parent, update_name, update_id_attr, target 1749 lib/common/xml.c if (target == NULL) { target 1751 lib/common/xml.c target = pcmk__xe_create(parent, update_name); target 1759 lib/common/xml.c CRM_CHECK(pcmk__xe_is(target, (const char *) update->name), return); target 1762 lib/common/xml.c pcmk__xe_copy_attrs(target, update, flags); target 1769 lib/common/xml.c xmlAttr *old_attr = xmlHasProp(target, a->name); target 1775 lib/common/xml.c pcmk__xe_set_attr_force(target, (const char *) a->name, p_value); target 1783 lib/common/xml.c pcmk__xml_update(target, NULL, child, flags, as_diff); target 2690 lib/common/xml.c fix_plus_plus_recursive(xmlNode *target) target 2695 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(target); a != NULL; a = a->next) { target 2699 lib/common/xml.c expand_plus_plus(target, p_name, p_value); target 2701 lib/common/xml.c for (child = pcmk__xe_first_child(target, NULL, NULL, NULL); child != NULL; target 2709 lib/common/xml.c copy_in_properties(xmlNode *target, const xmlNode *src) target 2714 lib/common/xml.c } else if (target == NULL) { target 2722 lib/common/xml.c expand_plus_plus(target, p_name, p_value); target 2723 lib/common/xml.c if (xml_acl_denied(target)) { target 2724 lib/common/xml.c crm_trace("Cannot copy %s=%s to %s", p_name, p_value, target->name); target 2732 lib/common/xml.c expand_plus_plus(xmlNode * target, const char *name, const char *value) target 2734 lib/common/xml.c pcmk__xe_set_score(target, name, value); target 99 lib/common/xml_comment.c pcmk__xc_update(xmlNode *parent, xmlNode *target, xmlNode *update) target 104 lib/common/xml_comment.c if (target == NULL) { target 105 lib/common/xml_comment.c target = pcmk__xc_match(parent, update, false); target 108 lib/common/xml_comment.c if (target == NULL) { target 111 lib/common/xml_comment.c } else if (!pcmk__str_eq((const char *)target->content, (const char *)update->content, pcmk__str_casei)) { target 112 lib/common/xml_comment.c xmlFree(target->content); target 113 lib/common/xml_comment.c target->content = xmlStrdup(update->content); target 28 lib/fencing/fencing_private.h int stonith__rhcs_validate(stonith_t *st, int call_options, const char *target, target 46 lib/fencing/fencing_private.h int stonith__lha_validate(stonith_t *st, int call_options, const char *target, target 122 lib/fencing/st_actions.c make_args(const char *agent, const char *action, const char *target, target 141 lib/fencing/st_actions.c value, action, pcmk__s(target, "no node")); target 150 lib/fencing/st_actions.c if ((target != NULL) && (device_args != NULL)) { target 156 lib/fencing/st_actions.c pcmk__insert_dup(arg_list, "nodename", target); target 164 lib/fencing/st_actions.c nodeid, action, pcmk__s(target, "no node")); target 189 lib/fencing/st_actions.c alias = g_hash_table_lookup(port_map, target); target 192 lib/fencing/st_actions.c alias = target; target 195 lib/fencing/st_actions.c param, alias, action, pcmk__s(target, "no node")); target 264 lib/fencing/st_actions.c const char *target, uint32_t target_nodeid, target 270 lib/fencing/st_actions.c action->args = make_args(agent, action_name, target, target_nodeid, target 273 lib/fencing/st_actions.c action_name, pcmk__s(target, "no node"), agent); target 544 lib/fencing/st_client.c stonith_api_query(stonith_t * stonith, int call_options, const char *target, target 557 lib/fencing/st_client.c crm_xml_add(data, PCMK__XA_ST_TARGET, target); target 606 lib/fencing/st_client.c const char *action, const char *target, int timeout_sec, target 616 lib/fencing/st_client.c crm_xml_add(data, PCMK__XA_ST_TARGET, target); target 696 lib/fencing/st_client.c stonith_api_confirm(stonith_t * stonith, int call_options, const char *target) target 698 lib/fencing/st_client.c stonith__set_call_options(call_options, target, st_opt_manual_ack); target 699 lib/fencing/st_client.c return stonith_api_fence(stonith, call_options, target, PCMK_ACTION_OFF, 0, target 736 lib/fencing/st_client.c kvp->target = crm_element_value_copy(op, PCMK__XA_ST_TARGET); target 767 lib/fencing/st_client.c free(hp->target); target 1445 lib/fencing/st_client.c event->target = crm_element_value_copy(data, PCMK__XA_ST_TARGET); target 1482 lib/fencing/st_client.c free(event->target); target 1752 lib/fencing/st_client.c const char *target = "node1"; target 1790 lib/fencing/st_client.c rc = stonith__rhcs_validate(st, call_options, target, agent, target 1797 lib/fencing/st_client.c rc = stonith__lha_validate(st, call_options, target, agent, target 2277 lib/fencing/st_client.c pcmk__str_eq(event->target, prev_hp->target, pcmk__str_casei) && target 2658 lib/fencing/st_client.c const char *target = pcmk__s(event->target, "no node"); target 2700 lib/fencing/st_client.c action, target, executioner, origin, origin_node, target 302 lib/fencing/st_lha.c stonith__lha_validate(stonith_t *st, int call_options, const char *target, target 102 lib/fencing/st_output.c stonith_action_str(history->action), " of ", history->target, target 187 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 216 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 249 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 280 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 310 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 314 lib/fencing/st_output.c char *buf = crm_strdup_printf("Node %s last fenced at: %s", target, ctime(&when)); target 326 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 330 lib/fencing/st_output.c pcmk__indented_printf(out, "Node %s last fenced at: %s", target, ctime(&when)); target 332 lib/fencing/st_output.c pcmk__indented_printf(out, "Node %s has never been fenced\n", target); target 341 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 348 lib/fencing/st_output.c PCMK_XA_TARGET, target, target 373 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 463 lib/fencing/st_output.c PCMK_XA_TARGET, event->target, target 268 lib/fencing/st_rhcs.c stonith__rhcs_validate(stonith_t *st, int call_options, const char *target, target 309 lib/fencing/st_rhcs.c action = stonith__action_create(agent, PCMK_ACTION_VALIDATE_ALL, target, 0, target 311 lib/lrmd/lrmd_alerts.c const char *target, const char *task, const char *desc, target 321 lib/lrmd/lrmd_alerts.c params = alert_key2param(params, PCMK__alert_key_node, target); target 509 lib/pacemaker/libpacemaker_private.h const char *target = NULL; target 518 lib/pacemaker/libpacemaker_private.h target = PCMK_VALUE_HOST; target 521 lib/pacemaker/libpacemaker_private.h target = g_hash_table_lookup(rsc->meta, target 525 lib/pacemaker/libpacemaker_private.h return pcmk__node_attr(node, attr, target, pcmk__rsc_node_assigned); target 207 lib/pacemaker/pcmk_acl.c xmlNode *target, *comment; target 233 lib/pacemaker/pcmk_acl.c target = pcmk__xml_copy(NULL, xmlDocGetRootElement((xmlDoc *) cib_doc)); target 234 lib/pacemaker/pcmk_acl.c if (target == NULL) { target 238 lib/pacemaker/pcmk_acl.c pcmk__enable_acl(target, target, cred); target 240 lib/pacemaker/pcmk_acl.c ret = annotate_with_siblings(target); target 246 lib/pacemaker/pcmk_acl.c comment = pcmk__xc_create(target->doc, content); target 247 lib/pacemaker/pcmk_acl.c xmlAddPrevSibling(xmlDocGetRootElement(target->doc), comment); target 248 lib/pacemaker/pcmk_acl.c *acl_evaled_doc = target->doc; target 252 lib/pacemaker/pcmk_acl.c free_xml(target); target 29 lib/pacemaker/pcmk_fence.c const char *target; target 39 lib/pacemaker/pcmk_fence.c handle_level(stonith_t *st, const char *target, int fence_level, target 48 lib/pacemaker/pcmk_fence.c if (target == NULL) { target 54 lib/pacemaker/pcmk_fence.c value = strchr(target, '='); target 56 lib/pacemaker/pcmk_fence.c name = target; target 58 lib/pacemaker/pcmk_fence.c } else if (*target == '@') { target 59 lib/pacemaker/pcmk_fence.c pattern = target + 1; target 61 lib/pacemaker/pcmk_fence.c node = target; target 98 lib/pacemaker/pcmk_fence.c if (pcmk__str_eq(hp->target, np->target, pcmk__str_casei) target 124 lib/pacemaker/pcmk_fence.c if (pcmk__str_eq(async_fence_data.target, e->target, pcmk__str_casei) target 164 lib/pacemaker/pcmk_fence.c async_fence_data.target, target 187 lib/pacemaker/pcmk_fence.c pcmk__request_fencing(stonith_t *st, const char *target, const char *action, target 196 lib/pacemaker/pcmk_fence.c async_fence_data.target = target; target 224 lib/pacemaker/pcmk_fence.c pcmk_request_fencing(stonith_t *st, const char *target, const char *action, target 228 lib/pacemaker/pcmk_fence.c return pcmk__request_fencing(st, target, action, name, timeout, tolerance, target 234 lib/pacemaker/pcmk_fence.c pcmk__fence_history(pcmk__output_t *out, stonith_t *st, const char *target, target 244 lib/pacemaker/pcmk_fence.c target ? " for node " : "", target ? target : ""); target 250 lib/pacemaker/pcmk_fence.c stonith__set_call_options(opts, target, st_opts); target 252 lib/pacemaker/pcmk_fence.c stonith__set_call_options(opts, target, st_opt_cleanup); target 255 lib/pacemaker/pcmk_fence.c stonith__set_call_options(opts, target, st_opt_broadcast); target 257 lib/pacemaker/pcmk_fence.c if (pcmk__str_eq(target, "*", pcmk__str_none)) { target 258 lib/pacemaker/pcmk_fence.c target = NULL; target 260 lib/pacemaker/pcmk_fence.c rc = st->cmds->history(st, opts, target, &history, (timeout / 1000)); target 305 lib/pacemaker/pcmk_fence.c pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, const char *target, target 321 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_history(out, st, target, timeout, verbose, broadcast, target 373 lib/pacemaker/pcmk_fence.c pcmk__fence_last(pcmk__output_t *out, const char *target, bool as_nodeid) target 377 lib/pacemaker/pcmk_fence.c if (target == NULL) { target 382 lib/pacemaker/pcmk_fence.c when = stonith_api_time(atol(target), NULL, FALSE); target 384 lib/pacemaker/pcmk_fence.c when = stonith_api_time(0, target, FALSE); target 387 lib/pacemaker/pcmk_fence.c return out->message(out, "last-fenced", target, when); target 392 lib/pacemaker/pcmk_fence.c pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid) target 404 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_last(out, target, as_nodeid); target 496 lib/pacemaker/pcmk_fence.c pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, const char *target, target 502 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); target 525 lib/pacemaker/pcmk_fence.c pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, const char *target, target 538 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_registered(out, st, target, timeout); target 545 lib/pacemaker/pcmk_fence.c pcmk__fence_register_level(stonith_t *st, const char *target, int fence_level, target 548 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, devices, true); target 553 lib/pacemaker/pcmk_fence.c pcmk_fence_register_level(stonith_t *st, const char *target, int fence_level, target 556 lib/pacemaker/pcmk_fence.c return pcmk__fence_register_level(st, target, fence_level, devices); target 561 lib/pacemaker/pcmk_fence.c pcmk__fence_unregister_level(stonith_t *st, const char *target, int fence_level) target 563 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, NULL, false); target 568 lib/pacemaker/pcmk_fence.c pcmk_fence_unregister_level(stonith_t *st, const char *target, int fence_level) target 570 lib/pacemaker/pcmk_fence.c return pcmk__fence_unregister_level(st, target, fence_level); target 1439 lib/pacemaker/pcmk_output.c const char *target = va_arg(args, const char *); target 1446 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Fencing %s (%s)", target, op); target 1454 lib/pacemaker/pcmk_output.c const char *target = va_arg(args, const char *); target 1462 lib/pacemaker/pcmk_output.c PCMK_XA_TARGET, target, target 57 lib/pacemaker/pcmk_sched_fencing.c pcmk_node_t *target; target 60 lib/pacemaker/pcmk_sched_fencing.c target = stonith_op->node; target 78 lib/pacemaker/pcmk_sched_fencing.c target->details->id) != NULL) target 79 lib/pacemaker/pcmk_sched_fencing.c && !rsc_is_known_on(rsc, target)) { target 91 lib/pacemaker/pcmk_sched_fencing.c action->uuid, pcmk__node_name(target)); target 117 lib/pacemaker/pcmk_sched_fencing.c pcmk_node_t *target; target 120 lib/pacemaker/pcmk_sched_fencing.c target = stonith_op->node; target 123 lib/pacemaker/pcmk_sched_fencing.c action_list = pe__resource_actions(rsc, target, PCMK_ACTION_STOP, FALSE); target 132 lib/pacemaker/pcmk_sched_fencing.c || pcmk__is_guest_or_bundle_node(target)) { target 170 lib/pacemaker/pcmk_sched_fencing.c pcmk__node_name(target)); target 174 lib/pacemaker/pcmk_sched_fencing.c pcmk__node_name(target)); target 211 lib/pacemaker/pcmk_sched_fencing.c action_list = pe__resource_actions(rsc, target, PCMK_ACTION_DEMOTE, FALSE); target 223 lib/pacemaker/pcmk_sched_fencing.c rsc->id, pcmk__node_name(target)); target 226 lib/pacemaker/pcmk_sched_fencing.c action->uuid, pcmk__node_name(target)); target 36 lib/pacemaker/pcmk_sched_location.c const char *target = NULL; target 39 lib/pacemaker/pcmk_sched_location.c target = g_hash_table_lookup(rsc->meta, target 42 lib/pacemaker/pcmk_sched_location.c attr_score = pcmk__node_attr(node, score, target, target 29 lib/pacemaker/pcmk_sched_migration.c const pcmk_node_t *target) target 35 lib/pacemaker/pcmk_sched_migration.c target->details->uname); target 639 lib/pacemaker/pcmk_sched_promotable.c const char *target = NULL; target 646 lib/pacemaker/pcmk_sched_promotable.c target = g_hash_table_lookup(rsc->meta, target 649 lib/pacemaker/pcmk_sched_promotable.c attr_value = pcmk__node_attr(node, attr_name, target, node_type); target 724 lib/pacemaker/pcmk_sched_remote.c gpointer target = target 729 lib/pacemaker/pcmk_sched_remote.c target, target 695 lib/pacemaker/pcmk_simulate.c char *target = crm_element_value_copy(action->xml, PCMK__META_ON_NODE); target 697 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-fencing-action", target, op); target 704 lib/pacemaker/pcmk_simulate.c xmlNode *cib_node = pcmk__inject_node_state_change(fake_cib, target, target 716 lib/pacemaker/pcmk_simulate.c "[@" PCMK_XA_UNAME "='", target, "']/" PCMK__XE_LRM, target 724 lib/pacemaker/pcmk_simulate.c "[@" PCMK_XA_UNAME "='", target, "']" target 735 lib/pacemaker/pcmk_simulate.c free(target); target 32 lib/pengine/bundle.c char *target; target 39 lib/pengine/bundle.c char *target; target 513 lib/pengine/bundle.c ":", mount->target, NULL); target 527 lib/pengine/bundle.c volid, mount->target); target 545 lib/pengine/bundle.c ":", port->target, NULL); target 551 lib/pengine/bundle.c " -p ", port->source, ":", port->target, target 558 lib/pengine/bundle.c " --port=", port->target, target 563 lib/pengine/bundle.c " --port=", port->target, ":", port->source, target 863 lib/pengine/bundle.c const char *target, const char *options, uint32_t flags) target 869 lib/pengine/bundle.c mount->target = pcmk__str_copy(target); target 879 lib/pengine/bundle.c free(mount->target); target 888 lib/pengine/bundle.c free(port->target); target 1095 lib/pengine/bundle.c port->target = crm_element_value_copy(xml_child, target 1100 lib/pengine/bundle.c if(port->target == NULL) { target 1101 lib/pengine/bundle.c port->target = strdup(port->source); target 1119 lib/pengine/bundle.c const char *target = crm_element_value(xml_child, PCMK_XA_TARGET_DIR); target 1129 lib/pengine/bundle.c if (source && target) { target 1130 lib/pengine/bundle.c mount_add(bundle_data, source, target, options, flags); target 1131 lib/pengine/bundle.c if (strcmp(target, "/var/log") == 0) { target 1246 lib/pengine/bundle.c port->target = strdup(port->source); target 3160 lib/pengine/unpack.c const char *target = NULL; target 3168 lib/pengine/unpack.c target = crm_element_value(xml_op, PCMK__META_MIGRATE_TARGET); target 3173 lib/pengine/unpack.c if (pcmk__str_eq(node_name, target, pcmk__str_casei)) { target 3317 lib/pengine/unpack.c const char *target = NULL; target 3324 lib/pengine/unpack.c &target) != pcmk_rc_ok) { target 3334 lib/pengine/unpack.c target, source, -1, history->rsc->cluster); target 3350 lib/pengine/unpack.c target_newer_state = newer_state_after_migrate(history->rsc->id, target, target 3371 lib/pengine/unpack.c target_node = pcmk_find_node(history->rsc->cluster, target); target 3395 lib/pengine/unpack.c && unknown_on_node(history->rsc, target)) { target 3435 lib/pengine/unpack.c const char *target = NULL; target 3439 lib/pengine/unpack.c &target) != pcmk_rc_ok) { target 3450 lib/pengine/unpack.c PCMK_ACTION_MIGRATE_FROM, target, source, target 3458 lib/pengine/unpack.c !unknown_on_node(history->rsc, target) target 3462 lib/pengine/unpack.c && !newer_state_after_migrate(history->rsc->id, target, history->xml, target 3470 lib/pengine/unpack.c target); target 3502 lib/pengine/unpack.c const char *target = NULL; target 3506 lib/pengine/unpack.c &target) != pcmk_rc_ok) { target 3517 lib/pengine/unpack.c source, target, PCMK_OCF_OK, target 4801 lib/pengine/unpack.c pcmk_node_t *target = NULL; target 4805 lib/pengine/unpack.c target = pcmk_find_node(history->rsc->cluster, migrate_target); target 4806 lib/pengine/unpack.c if (target != NULL) { target 4807 lib/pengine/unpack.c stop_action(history->rsc, target, FALSE); target 573 lib/services/dbus.c char *target; // Name of DBus bus that query should be sent to target 582 lib/services/dbus.c free(data->target); target 695 lib/services/dbus.c pcmk_dbus_get_property(DBusConnection *connection, const char *target, target 704 lib/services/dbus.c CRM_CHECK((connection != NULL) && (target != NULL) && (obj != NULL) target 708 lib/services/dbus.c target, obj, name); target 711 lib/services/dbus.c msg = dbus_message_new_method_call(target, obj, BUS_PROPERTY_IFACE, "Get"); target 737 lib/services/dbus.c query_data->target = strdup(target); target 742 lib/services/dbus.c CRM_CHECK((query_data->target != NULL) target 37 lib/services/pcmk-dbus.h DBusConnection *connection, const char *target, const char *obj, const gchar * iface, const char *name, target 173 maint/gnulib/lib/fcntl.c static int rpl_fcntl_DUPFD (int fd, int target); target 175 maint/gnulib/lib/fcntl.c static int rpl_fcntl_DUPFD_CLOEXEC (int fd, int target); target 215 maint/gnulib/lib/fcntl.c int target = va_arg (arg, int); target 216 maint/gnulib/lib/fcntl.c result = rpl_fcntl_DUPFD (fd, target); target 222 maint/gnulib/lib/fcntl.c int target = va_arg (arg, int); target 223 maint/gnulib/lib/fcntl.c result = rpl_fcntl_DUPFD_CLOEXEC (fd, target); target 447 maint/gnulib/lib/fcntl.c rpl_fcntl_DUPFD (int fd, int target) target 451 maint/gnulib/lib/fcntl.c result = dupfd (fd, target, 0); target 454 maint/gnulib/lib/fcntl.c if (target < 0 || getdtablesize () <= target) target 467 maint/gnulib/lib/fcntl.c result = fcntl (fd, F_DUPFD, target); target 482 maint/gnulib/lib/fcntl.c result = fcntl (fd, F_DUPFD, target); target 488 maint/gnulib/lib/fcntl.c rpl_fcntl_DUPFD_CLOEXEC (int fd, int target) target 492 maint/gnulib/lib/fcntl.c result = dupfd (fd, target, O_CLOEXEC); target 512 maint/gnulib/lib/fcntl.c result = fcntl (fd, F_DUPFD_CLOEXEC, target); target 523 maint/gnulib/lib/fcntl.c result = rpl_fcntl_DUPFD (fd, target); target 530 maint/gnulib/lib/fcntl.c result = rpl_fcntl_DUPFD (fd, target); target 46 maint/gnulib/lib/linkat.c char *target = areadlink (file1); target 47 maint/gnulib/lib/linkat.c if (target) target 58 maint/gnulib/lib/linkat.c free (target); target 66 maint/gnulib/lib/linkat.c int result = symlink (target, file2); target 67 maint/gnulib/lib/linkat.c free (target); target 71 maint/gnulib/lib/linkat.c free (target); target 76 maint/gnulib/lib/linkat.c free (target); target 94 maint/gnulib/lib/linkat.c char *target; target 101 maint/gnulib/lib/linkat.c while (i-- && (target = areadlink (name))) target 103 maint/gnulib/lib/linkat.c if (IS_ABSOLUTE_FILE_NAME (target)) target 107 maint/gnulib/lib/linkat.c name = target; target 116 maint/gnulib/lib/linkat.c free (target); target 120 maint/gnulib/lib/linkat.c name = mfile_name_concat (dir, target, NULL); target 122 maint/gnulib/lib/linkat.c free (target); target 132 maint/gnulib/lib/linkat.c target = NULL; target 135 maint/gnulib/lib/linkat.c if (!target && errno != EINVAL) target 212 maint/gnulib/lib/linkat.c char *target; target 217 maint/gnulib/lib/linkat.c while (i-- && (target = areadlinkat (fd1, name))) target 219 maint/gnulib/lib/linkat.c if (IS_ABSOLUTE_FILE_NAME (target)) target 223 maint/gnulib/lib/linkat.c name = target; target 232 maint/gnulib/lib/linkat.c free (target); target 236 maint/gnulib/lib/linkat.c name = mfile_name_concat (dir, target, NULL); target 238 maint/gnulib/lib/linkat.c free (target); target 248 maint/gnulib/lib/linkat.c target = NULL; target 251 maint/gnulib/lib/linkat.c if (!target && errno != EINVAL) target 502 maint/gnulib/lib/mountlist.c char *target = blank + 1; target 503 maint/gnulib/lib/mountlist.c blank = terminate_at_blank (target); target 525 maint/gnulib/lib/mountlist.c unescape_tab (target); target 532 maint/gnulib/lib/mountlist.c me->me_mountdir = xstrdup (target); target 149 maint/gnulib/lib/regexec.c Idx target, Idx ex_subexp, target 3102 maint/gnulib/lib/regexec.c Idx target, Idx ex_subexp, int type) target 3105 maint/gnulib/lib/regexec.c for (cur_node = target; !re_node_set_contains (dst_nodes, cur_node);) target 840 tools/crm_attribute.c const char *target = pcmk__node_attr_target(options.dest_uname); target 842 tools/crm_attribute.c if (target != NULL) { target 855 tools/crm_attribute.c if (target != (const char *) options.dest_uname) { target 857 tools/crm_attribute.c options.dest_uname = g_strdup(target); target 2175 tools/crm_mon.c send_custom_trap(e->target, NULL, e->operation, pcmk_ok, e->result, 0, desc); target 342 tools/crm_resource_ban.c pcmk_node_t *target = n->data; target 344 tools/crm_resource_ban.c rc = cli_resource_clear(rsc_id, target->details->uname, NULL, target 343 tools/stonith_admin.c request_fencing(stonith_t *st, const char *target, const char *command, target 347 tools/stonith_admin.c int rc = pcmk__request_fencing(st, target, command, name, target 368 tools/stonith_admin.c what, target, rc_str, target 385 tools/stonith_admin.c char *target = NULL; target 465 tools/stonith_admin.c target = options.terminate; target 477 tools/stonith_admin.c target = options.reboot_host; target 484 tools/stonith_admin.c target = options.fence_host; target 491 tools/stonith_admin.c target = options.unfence_host; target 497 tools/stonith_admin.c target = options.confirm_host; target 503 tools/stonith_admin.c target = options.last_fenced; target 508 tools/stonith_admin.c target = options.history; target 513 tools/stonith_admin.c target = options.register_level; target 518 tools/stonith_admin.c target = options.unregister_level; target 564 tools/stonith_admin.c rc = pcmk__fence_registered(out, st, target, options.timeout*1000); target 607 tools/stonith_admin.c rc = pcmk__fence_unregister_level(st, target, options.fence_level); target 610 tools/stonith_admin.c options.fence_level, target, pcmk_rc_str(rc)); target 615 tools/stonith_admin.c rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices); target 618 tools/stonith_admin.c options.fence_level, target, pcmk_rc_str(rc)); target 632 tools/stonith_admin.c rc = st->cmds->confirm(st, st_opts, target); target 637 tools/stonith_admin.c rc = request_fencing(st, target, PCMK_ACTION_REBOOT, &error); target 641 tools/stonith_admin.c rc = request_fencing(st, target, PCMK_ACTION_OFF, &error); target 645 tools/stonith_admin.c rc = request_fencing(st, target, PCMK_ACTION_ON, &error); target 649 tools/stonith_admin.c rc = pcmk__fence_last(out, target, options.as_nodeid); target 653 tools/stonith_admin.c rc = pcmk__fence_history(out, st, target, options.timeout*1000, args->verbosity,