target 1057 daemons/based/based_callbacks.c const char *target = NULL; target 1075 daemons/based/based_callbacks.c target = host; target 1078 daemons/based/based_callbacks.c target = "local host"; target 1081 daemons/based/based_callbacks.c target = "primary"; target 1086 daemons/based/based_callbacks.c op, client_name, call_id, originator, target, reply_to); target 1089 daemons/based/based_callbacks.c crm_trace("Processing local %s operation from %s/%s intended for %s", op, client_name, call_id, target); target 68 daemons/controld/controld_alerts.c e->target, e->operation, desc, e->result); target 1149 daemons/controld/controld_execd.c const char *target = NULL; target 1152 daemons/controld/controld_execd.c target = crm_element_value(xml, PCMK__META_ON_NODE); target 1154 daemons/controld/controld_execd.c if (target == NULL) { target 1155 daemons/controld/controld_execd.c target = controld_globals.our_nodename; target 1157 daemons/controld/controld_execd.c return target; target 92 daemons/controld/controld_fencing.c too_many_st_failures(const char *target) target 102 daemons/controld/controld_fencing.c if (target == NULL) { target 108 daemons/controld/controld_fencing.c target = (const char*)key; target 113 daemons/controld/controld_fencing.c value = g_hash_table_lookup(stonith_failures, target); target 122 daemons/controld/controld_fencing.c value->count, target); target 133 daemons/controld/controld_fencing.c st_fail_count_reset(const char *target) target 139 daemons/controld/controld_fencing.c if (target) { target 142 daemons/controld/controld_fencing.c rec = g_hash_table_lookup(stonith_failures, target); target 160 daemons/controld/controld_fencing.c st_fail_count_increment(const char *target) target 168 daemons/controld/controld_fencing.c rec = g_hash_table_lookup(stonith_failures, target); target 178 daemons/controld/controld_fencing.c g_hash_table_insert(stonith_failures, pcmk__str_copy(target), rec); target 202 daemons/controld/controld_fencing.c send_stonith_update(pcmk__graph_action_t *action, const char *target, target 217 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, return); target 224 daemons/controld/controld_fencing.c peer = pcmk__get_node(0, target, uuid, pcmk__node_search_any); target 237 daemons/controld/controld_fencing.c crm_info("Recording uuid '%s' for node '%s'", uuid, target); target 263 daemons/controld/controld_fencing.c crm_debug("Sending fencing update %d for %s", rc, target); target 264 daemons/controld/controld_fencing.c fsa_register_cib_callback(rc, pcmk__str_copy(target), cib_fencing_updated); target 287 daemons/controld/controld_fencing.c const char *target, const xmlNode *reason) target 292 daemons/controld/controld_fencing.c if ((abort_action != pcmk__graph_wait) && too_many_st_failures(target)) { target 317 daemons/controld/controld_fencing.c add_stonith_cleanup(const char *target) { target 319 daemons/controld/controld_fencing.c pcmk__str_copy(target)); target 329 daemons/controld/controld_fencing.c remove_stonith_cleanup(const char *target) target 338 daemons/controld/controld_fencing.c if (pcmk__str_eq(target, iter_name, pcmk__str_casei)) { target 357 daemons/controld/controld_fencing.c char *target = iter->data; target 359 daemons/controld/controld_fencing.c crm_info("Purging %s from stonith cleanup list", target); target 360 daemons/controld/controld_fencing.c free(target); target 377 daemons/controld/controld_fencing.c char *target = iter->data; target 379 daemons/controld/controld_fencing.c pcmk__get_node(0, target, NULL, pcmk__node_search_cluster_member); target 382 daemons/controld/controld_fencing.c crm_notice("Marking %s, target of a previous stonith action, as clean", target); target 383 daemons/controld/controld_fencing.c send_stonith_update(NULL, target, uuid); target 384 daemons/controld/controld_fencing.c free(target); target 528 daemons/controld/controld_fencing.c event->target, executioner, client, event->origin); target 531 daemons/controld/controld_fencing.c event->target, executioner, target 541 daemons/controld/controld_fencing.c && pcmk__str_eq(event->target, controld_globals.our_nodename, target 568 daemons/controld/controld_fencing.c st_fail_count_reset(event->target); target 570 daemons/controld/controld_fencing.c st_fail_count_increment(event->target); target 576 daemons/controld/controld_fencing.c event->target, (succeeded? "" : " not"), target 588 daemons/controld/controld_fencing.c crm_node_t *peer = pcmk__search_node_caches(0, event->target, flags); target 599 daemons/controld/controld_fencing.c send_stonith_update(NULL, event->target, uuid); target 614 daemons/controld/controld_fencing.c client, event->target); target 619 daemons/controld/controld_fencing.c } else if (pcmk__str_eq(controld_globals.dc_name, event->target, target 625 daemons/controld/controld_fencing.c crm_notice("Fencing target %s was our DC", event->target); target 628 daemons/controld/controld_fencing.c event->target); target 637 daemons/controld/controld_fencing.c send_stonith_update(NULL, event->target, uuid); target 639 daemons/controld/controld_fencing.c add_stonith_cleanup(event->target); target 648 daemons/controld/controld_fencing.c remote_ra_fail(event->target); target 790 daemons/controld/controld_fencing.c const char *target = NULL; target 837 daemons/controld/controld_fencing.c target = crm_element_value(action->xml, PCMK__META_ON_NODE); target 838 daemons/controld/controld_fencing.c if (target == NULL) { target 851 daemons/controld/controld_fencing.c crm_info("Fence operation %d for %s succeeded", data->call_id, target); target 870 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_UNFENCED, now, NULL, target 875 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_ALL, value, NULL, target 880 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_SECURE, value, NULL, target 884 daemons/controld/controld_fencing.c send_stonith_update(action, target, uuid); target 889 daemons/controld/controld_fencing.c st_fail_count_reset(target); target 911 daemons/controld/controld_fencing.c data->call_id, target, reason); target 915 daemons/controld/controld_fencing.c "(aborting transition)", data->call_id, target, reason); target 922 daemons/controld/controld_fencing.c st_fail_count_increment(target); target 923 daemons/controld/controld_fencing.c abort_for_stonith_failure(abort_action, target, NULL); target 936 daemons/controld/controld_fencing.c fence_with_delay(const char *target, const char *type, int delay) target 943 daemons/controld/controld_fencing.c stonith__set_call_options(options, target, st_opt_allow_suicide); target 945 daemons/controld/controld_fencing.c return stonith_api->cmds->fence_with_delay(stonith_api, options, target, target 965 daemons/controld/controld_fencing.c const char *target = crm_element_value(action->xml, PCMK__META_ON_NODE); target 978 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, invalid_action = TRUE); target 990 daemons/controld/controld_fencing.c type, target, id, stonith_timeout, target 998 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 506 daemons/controld/controld_te_actions.c te_update_job_count_on(const char *target, int offset, bool migrate) target 510 daemons/controld/controld_te_actions.c if(target == NULL || te_targets == NULL) { target 514 daemons/controld/controld_te_actions.c r = g_hash_table_lookup(te_targets, target); target 517 daemons/controld/controld_te_actions.c r->name = pcmk__str_copy(target); target 525 daemons/controld/controld_te_actions.c crm_trace("jobs[%s] = %d", target, r->jobs); target 532 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, PCMK__META_ON_NODE); target 534 daemons/controld/controld_te_actions.c if ((action->type != pcmk__rsc_graph_action) || (target == NULL)) { target 543 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, PCMK__XA_ROUTER_NODE); target 545 daemons/controld/controld_te_actions.c if ((target == NULL) target 557 daemons/controld/controld_te_actions.c } else if (target == NULL) { target 558 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, PCMK__META_ON_NODE); target 561 daemons/controld/controld_te_actions.c te_update_job_count_on(target, offset, FALSE); target 576 daemons/controld/controld_te_actions.c const char *target) target 583 daemons/controld/controld_te_actions.c if(target == NULL) { target 591 daemons/controld/controld_te_actions.c r = g_hash_table_lookup(te_targets, target); target 592 daemons/controld/controld_te_actions.c limit = throttle_get_job_limit(target); target 596 daemons/controld/controld_te_actions.c r->name = pcmk__str_copy(target); target 602 daemons/controld/controld_te_actions.c target, limit, r->jobs, id); target 609 daemons/controld/controld_te_actions.c target, graph->migration_limit, r->migrate_jobs, id); target 614 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 631 daemons/controld/controld_te_actions.c const char *target = NULL; target 643 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, PCMK__XA_ROUTER_NODE); target 645 daemons/controld/controld_te_actions.c if ((target == NULL) target 648 daemons/controld/controld_te_actions.c target = crm_meta_value(action->params, PCMK__META_MIGRATE_SOURCE); target 649 daemons/controld/controld_te_actions.c if (!allowed_on_node(graph, action, target)) { target 653 daemons/controld/controld_te_actions.c target = crm_meta_value(action->params, PCMK__META_MIGRATE_TARGET); target 655 daemons/controld/controld_te_actions.c } else if (target == NULL) { target 656 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, PCMK__META_ON_NODE); target 659 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 488 daemons/fenced/fenced_cib.c char *target = stonith_level_key(match, fenced_target_by_unknown); target 491 daemons/fenced/fenced_cib.c if (target == NULL) { target 497 daemons/fenced/fenced_cib.c target, pcmk__xe_id(match)); target 500 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 373 daemons/fenced/fenced_commands.c cmd->target = crm_element_value_copy(op, PCMK__XA_ST_TARGET); target 434 daemons/fenced/fenced_commands.c ((cmd->target == NULL)? "" : " targeting "), target 435 daemons/fenced/fenced_commands.c pcmk__s(cmd->target, ""), device->id, cmd->timeout); target 519 daemons/fenced/fenced_commands.c ((pending_op->target == NULL)? "" : " targeting "), target 520 daemons/fenced/fenced_commands.c pcmk__s(pending_op->target, ""), target 575 daemons/fenced/fenced_commands.c ((cmd->target == NULL)? "" : " targeting "), target 576 daemons/fenced/fenced_commands.c pcmk__s(cmd->target, ""), device->id, device->agent); target 587 daemons/fenced/fenced_commands.c action = stonith__action_create(device->agent, action_str, cmd->target, target 646 daemons/fenced/fenced_commands.c if (device->include_nodeid && (cmd->target != NULL)) { target 647 daemons/fenced/fenced_commands.c crm_node_t *node = pcmk__get_node(0, cmd->target, NULL, target 660 daemons/fenced/fenced_commands.c (cmd->target == NULL)? "" : " targeting ", target 661 daemons/fenced/fenced_commands.c pcmk__s(cmd->target, ""), target 666 daemons/fenced/fenced_commands.c (cmd->target == NULL)? "" : " targeting ", target 667 daemons/fenced/fenced_commands.c pcmk__s(cmd->target, ""), target 680 daemons/fenced/fenced_commands.c delay_base = get_action_delay_base(device, cmd->action, cmd->target); target 702 daemons/fenced/fenced_commands.c (cmd->target == NULL)? "" : " targeting ", target 703 daemons/fenced/fenced_commands.c pcmk__s(cmd->target, ""), target 1162 daemons/fenced/fenced_commands.c const char *target, target 1177 daemons/fenced/fenced_commands.c cmd->target = pcmk__str_copy(target); target 1557 daemons/fenced/fenced_commands.c free(tp->target); target 1670 daemons/fenced/fenced_commands.c unpack_level_request(xmlNode *xml, enum fenced_target_by *mode, char **target, target 1705 daemons/fenced/fenced_commands.c if (target != NULL) { target 1706 daemons/fenced/fenced_commands.c *target = local_target; target 1733 daemons/fenced/fenced_commands.c char *target; target 1741 daemons/fenced/fenced_commands.c level = unpack_level_request(msg, &mode, &target, &id, desc); target 1750 daemons/fenced/fenced_commands.c free(target); target 1761 daemons/fenced/fenced_commands.c free(target); target 1772 daemons/fenced/fenced_commands.c target, id); target 1773 daemons/fenced/fenced_commands.c free(target); target 1784 daemons/fenced/fenced_commands.c tp = g_hash_table_lookup(topology, target); target 1789 daemons/fenced/fenced_commands.c tp->target = target; target 1796 daemons/fenced/fenced_commands.c g_hash_table_replace(topology, tp->target, tp); target 1798 daemons/fenced/fenced_commands.c target, (int) mode, g_hash_table_size(topology)); target 1800 daemons/fenced/fenced_commands.c free(target); target 1805 daemons/fenced/fenced_commands.c tp->target, id); target 1812 daemons/fenced/fenced_commands.c crm_trace("Adding device '%s' for %s[%d]", device, tp->target, id); target 1821 daemons/fenced/fenced_commands.c tp->target, nlevels, pcmk__plural_s(nlevels)); target 1845 daemons/fenced/fenced_commands.c char *target; target 1850 daemons/fenced/fenced_commands.c level = unpack_level_request(msg, NULL, &target, &id, desc); target 1859 daemons/fenced/fenced_commands.c target, id); target 1860 daemons/fenced/fenced_commands.c free(target); target 1872 daemons/fenced/fenced_commands.c tp = g_hash_table_lookup(topology, target); target 1877 daemons/fenced/fenced_commands.c target, nentries, target 1880 daemons/fenced/fenced_commands.c } else if (id == 0 && g_hash_table_remove(topology, target)) { target 1884 daemons/fenced/fenced_commands.c "(%d active %s remaining)", target, nentries, target 1896 daemons/fenced/fenced_commands.c id, target, nlevels, pcmk__plural_s(nlevels)); target 1899 daemons/fenced/fenced_commands.c free(target); target 2066 daemons/fenced/fenced_commands.c const char *target, gboolean allow_suicide) target 2068 daemons/fenced/fenced_commands.c gboolean localhost_is_target = pcmk__str_eq(target, stonith_our_uname, target 2078 daemons/fenced/fenced_commands.c "host, not %s", action, device->id, target); target 2103 daemons/fenced/fenced_commands.c const char *action, const char *target, target 2107 daemons/fenced/fenced_commands.c if (localhost_is_eligible(device, action, target, allow_self)) { target 2119 daemons/fenced/fenced_commands.c if (localhost_is_eligible(device, PCMK_ACTION_OFF, target, allow_self) target 2120 daemons/fenced/fenced_commands.c || localhost_is_eligible(device, PCMK_ACTION_ON, target, FALSE)) { target 2134 daemons/fenced/fenced_commands.c const char *target = NULL; target 2145 daemons/fenced/fenced_commands.c target = search->host; target 2146 daemons/fenced/fenced_commands.c if (target == NULL) { target 2160 daemons/fenced/fenced_commands.c } else if (!localhost_is_eligible_with_remap(dev, action, target, target 2168 daemons/fenced/fenced_commands.c alias = g_hash_table_lookup(dev->aliases, target); target 2175 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(target, dev->targets, pcmk__str_casei)) { target 2178 daemons/fenced/fenced_commands.c && g_hash_table_lookup(dev->aliases, target)) { target 2198 daemons/fenced/fenced_commands.c check_type, dev_id, target, action); target 2207 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(((alias == NULL)? target : alias), dev->targets, target 2223 daemons/fenced/fenced_commands.c check_type, dev_id, target, action); target 2224 daemons/fenced/fenced_commands.c schedule_internal_command(__func__, dev, PCMK_ACTION_STATUS, target, target 2236 daemons/fenced/fenced_commands.c pcmk__s(target, "unspecified target"), target 2290 daemons/fenced/fenced_commands.c char *target; target 2307 daemons/fenced/fenced_commands.c const char *target) target 2337 daemons/fenced/fenced_commands.c delay_base = get_action_delay_base(device, action, target); target 2367 daemons/fenced/fenced_commands.c const char *target, gboolean allow_suicide) target 2369 daemons/fenced/fenced_commands.c if (!localhost_is_eligible(device, action, target, allow_suicide)) { target 2388 daemons/fenced/fenced_commands.c const stonith_device_t *device, const char *target, target 2394 daemons/fenced/fenced_commands.c add_action_specific_attributes(child, action, device, target); target 2395 daemons/fenced/fenced_commands.c add_disallowed(child, action, device, target, allow_suicide); target 2447 daemons/fenced/fenced_commands.c crm_xml_add(list, PCMK__XA_ST_TARGET, query->target); target 2484 daemons/fenced/fenced_commands.c add_action_specific_attributes(dev, action, device, query->target); target 2497 daemons/fenced/fenced_commands.c add_disallowed(dev, action, device, query->target, target 2499 daemons/fenced/fenced_commands.c add_action_reply(dev, PCMK_ACTION_OFF, device, query->target, target 2501 daemons/fenced/fenced_commands.c add_action_reply(dev, PCMK_ACTION_ON, device, query->target, FALSE); target 2505 daemons/fenced/fenced_commands.c if (query->target == NULL) { target 2513 daemons/fenced/fenced_commands.c if (query->target) { target 2516 daemons/fenced/fenced_commands.c query->target); target 2531 daemons/fenced/fenced_commands.c free(query->target); target 2560 daemons/fenced/fenced_commands.c log_level = (cmd->target == NULL)? LOG_DEBUG : LOG_NOTICE; target 2568 daemons/fenced/fenced_commands.c log_level = (cmd->target == NULL)? LOG_NOTICE : LOG_ERR; target 2581 daemons/fenced/fenced_commands.c if (cmd->target != NULL) { target 2582 daemons/fenced/fenced_commands.c pcmk__g_strcat(msg, "targeting ", cmd->target, " ", NULL); target 2659 daemons/fenced/fenced_commands.c && pcmk__str_eq(cmd->origin, cmd->target, pcmk__str_casei)) { target 2664 daemons/fenced/fenced_commands.c cmd->action, cmd->target); target 2681 daemons/fenced/fenced_commands.c crm_xml_add(notify_data, PCMK__XA_ST_TARGET, cmd->target); target 2747 daemons/fenced/fenced_commands.c !pcmk__str_eq(cmd->target, cmd_other->target, pcmk__str_casei) || target 2757 daemons/fenced/fenced_commands.c (cmd_other->target == NULL)? "" : " targeting ", target 2758 daemons/fenced/fenced_commands.c pcmk__s(cmd_other->target, ""), cmd_other->client_name, target 2870 daemons/fenced/fenced_commands.c ndevices, pcmk__plural_s(ndevices), cmd->target); target 2883 daemons/fenced/fenced_commands.c cmd->target); target 3043 daemons/fenced/fenced_commands.c crm_xml_add(reply, PCMK__XA_ST_TARGET, cmd->target); target 3085 daemons/fenced/fenced_commands.c check_alternate_host(const char *target) target 3087 daemons/fenced/fenced_commands.c if (pcmk__str_eq(target, stonith_our_uname, pcmk__str_casei)) { target 3094 daemons/fenced/fenced_commands.c && !pcmk__str_eq(entry->uname, target, pcmk__str_casei)) { target 3113 daemons/fenced/fenced_commands.c const char *target = NULL; target 3117 daemons/fenced/fenced_commands.c target = crm_element_value(dev, PCMK__XA_ST_TARGET); target 3125 daemons/fenced/fenced_commands.c if (relay_op_id && target && pcmk__str_eq(target, stonith_our_uname, pcmk__str_casei)) { target 3149 daemons/fenced/fenced_commands.c (relay_op->target == NULL)? "" : " targeting ", target 3150 daemons/fenced/fenced_commands.c pcmk__s(relay_op->target, ""), target 3152 daemons/fenced/fenced_commands.c (target == NULL)? "" : " targeting ", pcmk__s(target, ""), target 3233 daemons/fenced/fenced_commands.c const char *target = NULL; target 3256 daemons/fenced/fenced_commands.c target = crm_element_value(dev, PCMK__XA_ST_TARGET); target 3267 daemons/fenced/fenced_commands.c query->target = pcmk__str_copy(target); target 3272 daemons/fenced/fenced_commands.c get_capable_devices(target, action, timeout, target 3357 daemons/fenced/fenced_commands.c const char *target = crm_element_value(dev, PCMK__XA_ST_TARGET); target 3366 daemons/fenced/fenced_commands.c target, (device? device : "any device")); target 3368 daemons/fenced/fenced_commands.c if (stonith_check_fence_tolerance(tolerance, target, action)) { target 3374 daemons/fenced/fenced_commands.c alternate_host = check_alternate_host(target); target 3378 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 1234 daemons/fenced/fenced_remote.c op->target, op->client_name, op->base_timeout, target 1242 daemons/fenced/fenced_remote.c pcmk__scan_min_int(op->target, &nodeid, 0); target 1251 daemons/fenced/fenced_remote.c pcmk__str_update(&(op->target), node->uname); target 1254 daemons/fenced/fenced_remote.c crm_warn("Could not expand nodeid '%s' into a host name", op->target); target 1318 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->action, op->target, op->id); target 1324 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->action, op->target, op->id); target 1330 daemons/fenced/fenced_remote.c op->action, op->target, op->id, target 1338 daemons/fenced/fenced_remote.c crm_xml_add(query, PCMK__XA_ST_TARGET, op->target); target 1379 daemons/fenced/fenced_remote.c && node_does_watchdog_fencing(op->target)); target 1396 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, target 1398 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 1401 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 1434 daemons/fenced/fenced_remote.c op->action, op->target, device); target 1437 daemons/fenced/fenced_remote.c op->action, op->target); target 1448 daemons/fenced/fenced_remote.c crm_trace("Waiting before looking for unverified devices to fence %s", op->target); target 1482 daemons/fenced/fenced_remote.c op->target); target 1486 daemons/fenced/fenced_remote.c op->action, op->target, (device? device : "any device")); target 1604 daemons/fenced/fenced_remote.c stonith_topology_t *tp = find_topology_for_host(op->target); target 1800 daemons/fenced/fenced_remote.c op->target, op->client_name, op->originator); target 1811 daemons/fenced/fenced_remote.c op->target); target 1820 daemons/fenced/fenced_remote.c if (node_does_watchdog_fencing(op->target)) { target 1825 daemons/fenced/fenced_remote.c pcmk__readable_interval(timeout_ms), op->target, op->action, target 1836 daemons/fenced/fenced_remote.c "not in host-list", op->target); target 1858 daemons/fenced/fenced_remote.c op->id, op->target, op->client_name, target 1878 daemons/fenced/fenced_remote.c op->target, device); target 1884 daemons/fenced/fenced_remote.c "doesn't support 'on'", op->target, device); target 1901 daemons/fenced/fenced_remote.c op->total_timeout, op->target, op->client_name, op->id); target 1938 daemons/fenced/fenced_remote.c crm_xml_add(remote_op, PCMK__XA_ST_TARGET, op->target); target 1952 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, target 1960 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, target 2007 daemons/fenced/fenced_remote.c "after successful 'off'", device, op->target); target 2013 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name); target 2018 daemons/fenced/fenced_remote.c CRM_XS " state=%s", op->action, op->target, op->client_name, target 2043 daemons/fenced/fenced_remote.c op->replies, op->action, op->target, op->client_name, target 2064 daemons/fenced/fenced_remote.c op->replies, op->action, op->target, op->client_name, target 2074 daemons/fenced/fenced_remote.c op->action, op->target, (device? " using " : ""), target 2115 daemons/fenced/fenced_remote.c tp = find_topology_for_host(op->target); target 2131 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 2353 daemons/fenced/fenced_remote.c host_is_target = pcmk__str_eq(host, op->target, pcmk__str_casei); target 2357 daemons/fenced/fenced_remote.c op->target, op->action, ndevices, pcmk__plural_s(ndevices), id); target 2465 daemons/fenced/fenced_remote.c device, (const char *) op->devices->data, op->action, op->target); target 2485 daemons/fenced/fenced_remote.c op->id, device, op->target); target 2511 daemons/fenced/fenced_remote.c op->target); target 2516 daemons/fenced/fenced_remote.c op->action, op->target, target 2560 daemons/fenced/fenced_remote.c op->target, op->originator, op->client_name, target 2566 daemons/fenced/fenced_remote.c stonith_check_fence_tolerance(int tolerance, const char *target, const char *action) target 2572 daemons/fenced/fenced_remote.c if (tolerance <= 0 || !stonith_remote_op_list || target == NULL || target 2579 daemons/fenced/fenced_remote.c if (strcmp(rop->target, target) != 0) { target 2593 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 450 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 100 include/crm/stonith-ng.h char *target; target 123 include/crm/stonith-ng.h char *target; target 336 include/crm/stonith-ng.h int (*query)(stonith_t *stonith, int call_options, const char *target, target 367 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 90 lib/common/crmcommon_private.h void pcmk__xml_update(xmlNode *parent, xmlNode *target, xmlNode *update, target 98 lib/common/crmcommon_private.h void pcmk__xc_update(xmlNode *parent, xmlNode *target, xmlNode *update); target 104 lib/common/crmcommon_private.h void pcmk__unpack_acl(xmlNode *source, xmlNode *target, const char *user); target 135 lib/common/crmcommon_private.h int pcmk__xe_set_score(xmlNode *target, const char *name, const char *value); target 161 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 1338 lib/common/iso8601.c crm_time_set(crm_time_t *target, const crm_time_t *source) target 1340 lib/common/iso8601.c crm_trace("target=%p, source=%p", target, source); target 1342 lib/common/iso8601.c CRM_CHECK(target != NULL && source != NULL, return); target 1344 lib/common/iso8601.c target->years = source->years; target 1345 lib/common/iso8601.c target->days = source->days; target 1346 lib/common/iso8601.c target->months = source->months; /* Only for durations */ target 1347 lib/common/iso8601.c target->seconds = source->seconds; target 1348 lib/common/iso8601.c target->offset = source->offset; target 1352 lib/common/iso8601.c crm_time_log(LOG_TRACE, "target", target, target 1357 lib/common/iso8601.c ha_set_tm_time(crm_time_t *target, const struct tm *source) target 1363 lib/common/iso8601.c target->years = 0; target 1364 lib/common/iso8601.c target->months = 0; target 1365 lib/common/iso8601.c target->days = 0; target 1366 lib/common/iso8601.c target->seconds = 0; target 1367 lib/common/iso8601.c target->offset = 0; target 1368 lib/common/iso8601.c target->duration = FALSE; target 1372 lib/common/iso8601.c target->years = 1900 + source->tm_year; target 1377 lib/common/iso8601.c target->days = 1 + source->tm_yday; target 1381 lib/common/iso8601.c target->seconds += HOUR_SECONDS * source->tm_hour; target 1384 lib/common/iso8601.c target->seconds += 60 * source->tm_min; target 1387 lib/common/iso8601.c target->seconds += source->tm_sec; target 1396 lib/common/iso8601.c target->offset += HOUR_SECONDS * h_offset; target 1397 lib/common/iso8601.c target->offset += 60 * m_offset; target 1401 lib/common/iso8601.c crm_time_set_timet(crm_time_t *target, const time_t *source) target 1403 lib/common/iso8601.c ha_set_tm_time(target, localtime(source)); target 1414 lib/common/iso8601.c pcmk__set_time_if_earlier(crm_time_t *target, const crm_time_t *source) target 1416 lib/common/iso8601.c if ((target != NULL) && (source != NULL) target 1417 lib/common/iso8601.c && (!crm_time_is_defined(target) target 1418 lib/common/iso8601.c || (crm_time_compare(source, target) < 0))) { target 1419 lib/common/iso8601.c crm_time_set(target, source); target 1426 lib/common/iso8601.c crm_time_t *target = crm_time_new_undefined(); target 1428 lib/common/iso8601.c crm_time_set(target, source); target 1429 lib/common/iso8601.c return target; target 1443 lib/common/iso8601.c crm_time_t *target = crm_time_new_undefined(); target 1445 lib/common/iso8601.c crm_time_set_timet(target, &source); target 1446 lib/common/iso8601.c return target; target 1831 lib/common/iso8601.c ha_get_tm_time(struct tm *target, const crm_time_t *source) target 1833 lib/common/iso8601.c *target = (struct tm) { target 1845 lib/common/iso8601.c mktime(target); target 1859 lib/common/iso8601.c pcmk__time_hr_convert(pcmk__time_hr_t *target, const crm_time_t *dt) target 1864 lib/common/iso8601.c hr_dt = target; target 1883 lib/common/iso8601.c pcmk__time_set_hr_dt(crm_time_t *target, const pcmk__time_hr_t *hr_dt) target 1885 lib/common/iso8601.c CRM_ASSERT((hr_dt) && (target)); target 1886 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 CRM_ASSERT(target); target 280 lib/common/patchset.c if (!xml_document_dirty(target)) { target 284 lib/common/patchset.c CRM_ASSERT(target->doc); 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 630 lib/common/patchset.c process_v1_removals(xmlNode *target, xmlNode *patch) target 638 lib/common/patchset.c if ((target == NULL) || (patch == NULL)) { target 642 lib/common/patchset.c if (target->type == XML_COMMENT_NODE) { target 645 lib/common/patchset.c subtract_v1_xml_comment(target->parent, target, patch, &dummy); target 648 lib/common/patchset.c CRM_CHECK(pcmk__xe_is(target, (const char *) patch->name), return); target 649 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(pcmk__xe_id(target), pcmk__xe_id(patch), target 654 lib/common/patchset.c id = crm_element_value_copy(target, PCMK_XA_ID); target 658 lib/common/patchset.c target->name, id); target 659 lib/common/patchset.c free_xml(target); target 668 lib/common/patchset.c cIter = pcmk__xml_first_child(target); target 684 lib/common/patchset.c process_v1_additions(xmlNode *parent, xmlNode *target, xmlNode *patch) target 696 lib/common/patchset.c } else if ((parent == NULL) && (target == NULL)) { target 703 lib/common/patchset.c if ((target == NULL) && (value != NULL) target 710 lib/common/patchset.c } else if (target == NULL) { target 716 lib/common/patchset.c if (target->type == XML_COMMENT_NODE) { target 717 lib/common/patchset.c pcmk__xc_update(parent, target, patch); target 720 lib/common/patchset.c CRM_CHECK(pcmk__xe_is(target, name), return); target 721 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(pcmk__xe_id(target), pcmk__xe_id(patch), target 730 lib/common/patchset.c pcmk__xe_remove_attr(target, p_name); // Preserve patch order target 731 lib/common/patchset.c crm_xml_add(target, p_name, p_value); target 738 lib/common/patchset.c target_child = pcmk__xml_match(target, patch_child, false); target 739 lib/common/patchset.c process_v1_additions(target, target_child, patch_child); target 1031 lib/common/patchset.c xmlNode *target = (xmlNode *) top->doc; target 1071 lib/common/patchset.c target = first_matching_xml_child(target, tag, NULL, target 1075 lib/common/patchset.c target = first_matching_xml_child(target, tag, id, target 1080 lib/common/patchset.c target = NULL; target 1087 lib/common/patchset.c } while ((rc == 2) && target); target 1089 lib/common/patchset.c if (target) { target 1091 lib/common/patchset.c (path = (char *) xmlGetNodePath(target)), key); target 1101 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 525 lib/common/xml.c pcmk__xe_set_score(xmlNode *target, const char *name, const char *value) target 529 lib/common/xml.c CRM_CHECK((target != NULL) && (name != NULL), return EINVAL); target 535 lib/common/xml.c old_value = crm_element_value(target, name); target 558 lib/common/xml.c crm_xml_add_int(target, name, pcmk__add_scores(old_value_i, add)); target 565 lib/common/xml.c crm_xml_add(target, name, value); target 584 lib/common/xml.c pcmk__xe_copy_attrs(xmlNode *target, const xmlNode *src, uint32_t flags) target 586 lib/common/xml.c CRM_CHECK((src != NULL) && (target != NULL), return EINVAL); target 595 lib/common/xml.c && (crm_element_value(target, name) != NULL)) { target 600 lib/common/xml.c pcmk__xe_set_score(target, name, value); target 602 lib/common/xml.c crm_xml_add(target, name, value); target 1622 lib/common/xml.c pcmk__xc_update(xmlNode *parent, xmlNode *target, xmlNode *update) target 1627 lib/common/xml.c if (target == NULL) { target 1628 lib/common/xml.c target = pcmk__xc_match(parent, update, false); target 1631 lib/common/xml.c if (target == NULL) { target 1634 lib/common/xml.c } else if (!pcmk__str_eq((const char *)target->content, (const char *)update->content, pcmk__str_casei)) { target 1635 lib/common/xml.c xmlFree(target->content); target 1636 lib/common/xml.c target->content = xmlStrdup(update->content); target 1675 lib/common/xml.c pcmk__xml_update(xmlNode *parent, xmlNode *target, xmlNode *update, target 1688 lib/common/xml.c crm_log_xml_trace(target, "target"); target 1693 lib/common/xml.c pcmk__xc_update(parent, target, update); target 1700 lib/common/xml.c CRM_CHECK((target != NULL) || (parent != NULL), goto done); target 1726 lib/common/xml.c if (target == NULL) { target 1728 lib/common/xml.c target = pcmk__xe_first_child(parent, update_name, update_id_attr, target 1732 lib/common/xml.c if (target == NULL) { target 1734 lib/common/xml.c target = pcmk__xe_create(parent, update_name); target 1742 lib/common/xml.c CRM_CHECK(pcmk__xe_is(target, (const char *) update->name), return); target 1745 lib/common/xml.c pcmk__xe_copy_attrs(target, update, flags); target 1754 lib/common/xml.c xmlUnsetProp(target, a->name); target 1755 lib/common/xml.c xmlSetProp(target, a->name, (pcmkXmlStr) p_value); target 1763 lib/common/xml.c pcmk__xml_update(target, NULL, child, flags, as_diff); target 2677 lib/common/xml.c fix_plus_plus_recursive(xmlNode *target) target 2682 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(target); a != NULL; a = a->next) { target 2686 lib/common/xml.c expand_plus_plus(target, p_name, p_value); target 2688 lib/common/xml.c for (child = pcmk__xe_first_child(target, NULL, NULL, NULL); child != NULL; target 2696 lib/common/xml.c copy_in_properties(xmlNode *target, const xmlNode *src) target 2701 lib/common/xml.c } else if (target == NULL) { target 2709 lib/common/xml.c expand_plus_plus(target, p_name, p_value); target 2710 lib/common/xml.c if (xml_acl_denied(target)) { target 2711 lib/common/xml.c crm_trace("Cannot copy %s=%s to %s", p_name, p_value, target->name); target 2719 lib/common/xml.c expand_plus_plus(xmlNode * target, const char *name, const char *value) target 2721 lib/common/xml.c pcmk__xe_set_score(target, name, value); 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 1751 lib/fencing/st_client.c const char *target = "node1"; target 1789 lib/fencing/st_client.c rc = stonith__rhcs_validate(st, call_options, target, agent, target 1796 lib/fencing/st_client.c rc = stonith__lha_validate(st, call_options, target, agent, target 2276 lib/fencing/st_client.c pcmk__str_eq(event->target, prev_hp->target, pcmk__str_casei) && target 2657 lib/fencing/st_client.c const char *target = pcmk__s(event->target, "no node"); target 2699 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 = xmlNewDocComment(target->doc, (pcmkXmlStr) credentials); target 249 lib/pacemaker/pcmk_acl.c xmlFreeNode(target); target 252 lib/pacemaker/pcmk_acl.c xmlAddPrevSibling(xmlDocGetRootElement(target->doc), comment); target 253 lib/pacemaker/pcmk_acl.c *acl_evaled_doc = target->doc; target 256 lib/pacemaker/pcmk_acl.c xmlFreeNode(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 1443 lib/pacemaker/pcmk_output.c const char *target = va_arg(args, const char *); target 1450 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Fencing %s (%s)", target, op); target 1458 lib/pacemaker/pcmk_output.c const char *target = va_arg(args, const char *); target 1466 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 3127 lib/pengine/unpack.c const char *target = NULL; target 3135 lib/pengine/unpack.c target = crm_element_value(xml_op, PCMK__META_MIGRATE_TARGET); target 3140 lib/pengine/unpack.c if (pcmk__str_eq(node_name, target, pcmk__str_casei)) { target 3284 lib/pengine/unpack.c const char *target = NULL; target 3291 lib/pengine/unpack.c &target) != pcmk_rc_ok) { target 3301 lib/pengine/unpack.c target, source, -1, history->rsc->cluster); target 3317 lib/pengine/unpack.c target_newer_state = newer_state_after_migrate(history->rsc->id, target, target 3338 lib/pengine/unpack.c target_node = pcmk_find_node(history->rsc->cluster, target); target 3362 lib/pengine/unpack.c && unknown_on_node(history->rsc, target)) { target 3402 lib/pengine/unpack.c const char *target = NULL; target 3406 lib/pengine/unpack.c &target) != pcmk_rc_ok) { target 3417 lib/pengine/unpack.c PCMK_ACTION_MIGRATE_FROM, target, source, target 3425 lib/pengine/unpack.c !unknown_on_node(history->rsc, target) target 3429 lib/pengine/unpack.c && !newer_state_after_migrate(history->rsc->id, target, history->xml, target 3437 lib/pengine/unpack.c target); target 3469 lib/pengine/unpack.c const char *target = NULL; target 3473 lib/pengine/unpack.c &target) != pcmk_rc_ok) { target 3484 lib/pengine/unpack.c source, target, PCMK_OCF_OK, target 4768 lib/pengine/unpack.c pcmk_node_t *target = NULL; target 4772 lib/pengine/unpack.c target = pcmk_find_node(history->rsc->cluster, migrate_target); target 4773 lib/pengine/unpack.c if (target != NULL) { target 4774 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,