target 943 daemons/based/based_callbacks.c const char *target = NULL; target 956 daemons/based/based_callbacks.c target = host; target 959 daemons/based/based_callbacks.c target = "local host"; target 962 daemons/based/based_callbacks.c target = "master"; target 967 daemons/based/based_callbacks.c op, client_name, call_id, originator, target, reply_to); target 970 daemons/based/based_callbacks.c crm_trace("Processing local %s operation from %s/%s intended for %s", op, client_name, call_id, target); target 45 daemons/based/based_messages.c gboolean update_results(xmlNode * failed, xmlNode * target, const char *operation, int return_code); target 68 daemons/controld/controld_alerts.c e->target, e->operation, desc, e->result); target 1491 daemons/controld/controld_execd.c const char *target = NULL; target 1494 daemons/controld/controld_execd.c target = crm_element_value(xml, XML_LRM_ATTR_TARGET); target 1496 daemons/controld/controld_execd.c if (target == NULL) { target 1497 daemons/controld/controld_execd.c target = fsa_our_uname; target 1499 daemons/controld/controld_execd.c return target; target 63 daemons/controld/controld_fencing.c too_many_st_failures(const char *target) target 73 daemons/controld/controld_fencing.c if (target == NULL) { target 79 daemons/controld/controld_fencing.c target = (const char*)key; target 84 daemons/controld/controld_fencing.c value = g_hash_table_lookup(stonith_failures, target); target 93 daemons/controld/controld_fencing.c value->count, target); target 104 daemons/controld/controld_fencing.c st_fail_count_reset(const char *target) target 110 daemons/controld/controld_fencing.c if (target) { target 113 daemons/controld/controld_fencing.c rec = g_hash_table_lookup(stonith_failures, target); target 131 daemons/controld/controld_fencing.c st_fail_count_increment(const char *target) target 139 daemons/controld/controld_fencing.c rec = g_hash_table_lookup(stonith_failures, target); target 149 daemons/controld/controld_fencing.c g_hash_table_insert(stonith_failures, strdup(target), rec); target 172 daemons/controld/controld_fencing.c send_stonith_update(crm_action_t *action, const char *target, const char *uuid) target 186 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, return); target 190 daemons/controld/controld_fencing.c peer = crm_get_peer_full(0, target, CRM_GET_PEER_ANY); target 203 daemons/controld/controld_fencing.c crm_info("Recording uuid '%s' for node '%s'", uuid, target); target 227 daemons/controld/controld_fencing.c crm_debug("Sending fencing update %d for %s", rc, target); target 228 daemons/controld/controld_fencing.c fsa_register_cib_callback(rc, FALSE, strdup(target), cib_fencing_updated); target 249 daemons/controld/controld_fencing.c const char *target, xmlNode *reason) target 254 daemons/controld/controld_fencing.c if ((abort_action != tg_stop) && too_many_st_failures(target)) { target 278 daemons/controld/controld_fencing.c add_stonith_cleanup(const char *target) { target 279 daemons/controld/controld_fencing.c stonith_cleanup_list = g_list_append(stonith_cleanup_list, strdup(target)); target 289 daemons/controld/controld_fencing.c remove_stonith_cleanup(const char *target) target 298 daemons/controld/controld_fencing.c if (pcmk__str_eq(target, iter_name, pcmk__str_casei)) { target 317 daemons/controld/controld_fencing.c char *target = iter->data; target 319 daemons/controld/controld_fencing.c crm_info("Purging %s from stonith cleanup list", target); target 320 daemons/controld/controld_fencing.c free(target); target 337 daemons/controld/controld_fencing.c char *target = iter->data; target 338 daemons/controld/controld_fencing.c crm_node_t *target_node = crm_get_peer(0, target); target 341 daemons/controld/controld_fencing.c crm_notice("Marking %s, target of a previous stonith action, as clean", target); target 342 daemons/controld/controld_fencing.c send_stonith_update(NULL, target, uuid); target 343 daemons/controld/controld_fencing.c free(target); target 485 daemons/controld/controld_fencing.c event->target, executioner, client, event->origin); target 489 daemons/controld/controld_fencing.c event->target, executioner, target 499 daemons/controld/controld_fencing.c && pcmk__str_eq(event->target, fsa_our_uname, pcmk__str_casei)) { target 528 daemons/controld/controld_fencing.c st_fail_count_reset(event->target); target 530 daemons/controld/controld_fencing.c st_fail_count_increment(event->target); target 536 daemons/controld/controld_fencing.c event->target, (succeeded? "" : " not"), target 545 daemons/controld/controld_fencing.c crm_node_t *peer = pcmk__search_known_node_cache(0, event->target, target 557 daemons/controld/controld_fencing.c send_stonith_update(NULL, event->target, uuid); target 572 daemons/controld/controld_fencing.c client, event->target); target 578 daemons/controld/controld_fencing.c } else if (pcmk__str_eq(fsa_our_dc, event->target, target 583 daemons/controld/controld_fencing.c event->target, (fsa_our_dc? "was" : "may have been")); target 591 daemons/controld/controld_fencing.c send_stonith_update(NULL, event->target, uuid); target 593 daemons/controld/controld_fencing.c add_stonith_cleanup(event->target); target 602 daemons/controld/controld_fencing.c remote_ra_fail(event->target); target 745 daemons/controld/controld_fencing.c const char *target = NULL; target 790 daemons/controld/controld_fencing.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 791 daemons/controld/controld_fencing.c if (target == NULL) { target 802 daemons/controld/controld_fencing.c crm_notice("Fence operation %d for %s passed", data->call_id, target); target 821 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_UNFENCED, now, NULL, target 826 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_ALL, value, NULL, target 830 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_SECURE, value, NULL, target 834 daemons/controld/controld_fencing.c send_stonith_update(action, target, uuid); target 838 daemons/controld/controld_fencing.c st_fail_count_reset(target); target 860 daemons/controld/controld_fencing.c data->call_id, target, reason); target 864 daemons/controld/controld_fencing.c "(aborting transition)", data->call_id, target, reason); target 871 daemons/controld/controld_fencing.c st_fail_count_increment(target); target 872 daemons/controld/controld_fencing.c abort_for_stonith_failure(abort_action, target, NULL); target 885 daemons/controld/controld_fencing.c fence_with_delay(const char *target, const char *type, const char *delay) target 892 daemons/controld/controld_fencing.c stonith__set_call_options(options, target, st_opt_allow_suicide); target 895 daemons/controld/controld_fencing.c return stonith_api->cmds->fence_with_delay(stonith_api, options, target, target 905 daemons/controld/controld_fencing.c const char *target = NULL; target 912 daemons/controld/controld_fencing.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 919 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, invalid_action = TRUE); target 930 daemons/controld/controld_fencing.c type, target, id, transition_graph->stonith_timeout, target 937 daemons/controld/controld_fencing.c rc = fence_with_delay(target, type, priority_delay); target 20 daemons/controld/controld_fencing.h void st_fail_count_reset(const char * target); target 30 daemons/controld/controld_fencing.h void add_stonith_cleanup(const char *target); target 31 daemons/controld/controld_fencing.h void remove_stonith_cleanup(const char *target); target 198 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 202 daemons/controld/controld_te_actions.c if (pcmk__str_eq(target, get_local_node_name(), pcmk__str_casei)) { target 209 daemons/controld/controld_te_actions.c router_node = target; target 236 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 244 daemons/controld/controld_te_actions.c crm_element_name(action->xml), action->id, task_uuid, target); target 267 daemons/controld/controld_te_actions.c crm_xml_add(state, XML_ATTR_UNAME, target); target 282 daemons/controld/controld_te_actions.c pcmk__create_history_xml(rsc, op, CRM_FEATURE_SET, target_rc, target, target 291 daemons/controld/controld_te_actions.c rc, action->id, task_uuid, target); target 445 daemons/controld/controld_te_actions.c te_update_job_count_on(const char *target, int offset, bool migrate) target 449 daemons/controld/controld_te_actions.c if(target == NULL || te_targets == NULL) { target 453 daemons/controld/controld_te_actions.c r = g_hash_table_lookup(te_targets, target); target 456 daemons/controld/controld_te_actions.c r->name = strdup(target); target 464 daemons/controld/controld_te_actions.c crm_trace("jobs[%s] = %d", target, r->jobs); target 471 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 473 daemons/controld/controld_te_actions.c if (action->type != action_type_rsc || target == NULL) { target 482 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); target 484 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, target 493 daemons/controld/controld_te_actions.c } else if (target == NULL) { target 494 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 497 daemons/controld/controld_te_actions.c te_update_job_count_on(target, offset, FALSE); target 501 daemons/controld/controld_te_actions.c te_should_perform_action_on(crm_graph_t * graph, crm_action_t * action, const char *target) target 508 daemons/controld/controld_te_actions.c if(target == NULL) { target 516 daemons/controld/controld_te_actions.c r = g_hash_table_lookup(te_targets, target); target 517 daemons/controld/controld_te_actions.c limit = throttle_get_job_limit(target); target 521 daemons/controld/controld_te_actions.c r->name = strdup(target); target 527 daemons/controld/controld_te_actions.c target, limit, r->jobs, id); target 533 daemons/controld/controld_te_actions.c target, graph->migration_limit, r->migrate_jobs, id); target 538 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 546 daemons/controld/controld_te_actions.c const char *target = NULL; target 558 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); target 560 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, target 562 daemons/controld/controld_te_actions.c target = crm_meta_value(action->params, XML_LRM_ATTR_MIGRATE_SOURCE); target 563 daemons/controld/controld_te_actions.c if(te_should_perform_action_on(graph, action, target) == FALSE) { target 567 daemons/controld/controld_te_actions.c target = crm_meta_value(action->params, XML_LRM_ATTR_MIGRATE_TARGET); target 569 daemons/controld/controld_te_actions.c } else if (target == NULL) { target 570 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 573 daemons/controld/controld_te_actions.c return te_should_perform_action_on(graph, action, target); target 229 daemons/controld/controld_te_events.c const char *target = NULL; target 243 daemons/controld/controld_te_events.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); target 244 daemons/controld/controld_te_events.c if (node && !pcmk__str_eq(target, node, pcmk__str_casei)) { target 245 daemons/controld/controld_te_events.c crm_trace("Wrong node %s for %s on %s", target, id, node); target 290 daemons/controld/controld_te_events.c match_down_event(const char *target) target 296 daemons/controld/controld_te_events.c char *xpath = crm_strdup_printf(XPATH_DOWNED, target); target 324 daemons/controld/controld_te_events.c crm_element_value(match->xml, XML_LRM_ATTR_TASK_KEY), target); target 326 daemons/controld/controld_te_events.c crm_debug("No reason to expect node %s to be down", target); target 394 daemons/controld/controld_throttle.c throttle_set_load_target(float target) target 396 daemons/controld/controld_throttle.c throttle_load_target = target; target 13 daemons/controld/controld_throttle.h void throttle_set_load_target(float target); target 17 daemons/controld/controld_transition.h extern crm_action_t *match_down_event(const char *target); target 130 daemons/fenced/cts-fence-helper.c ((e->target == NULL)? "no node" : e->target), target 1486 daemons/fenced/fenced_commands.c free(tp->target); target 1604 daemons/fenced/fenced_commands.c char *target; target 1632 daemons/fenced/fenced_commands.c target = stonith_level_key(level, mode); target 1636 daemons/fenced/fenced_commands.c *desc = crm_strdup_printf("%s[%d]", target, id); target 1643 daemons/fenced/fenced_commands.c free(target); target 1654 daemons/fenced/fenced_commands.c target, id); target 1655 daemons/fenced/fenced_commands.c free(target); target 1666 daemons/fenced/fenced_commands.c tp = g_hash_table_lookup(topology, target); target 1675 daemons/fenced/fenced_commands.c tp->target = target; target 1680 daemons/fenced/fenced_commands.c g_hash_table_replace(topology, tp->target, tp); target 1682 daemons/fenced/fenced_commands.c target, (int) mode, g_hash_table_size(topology)); target 1684 daemons/fenced/fenced_commands.c free(target); target 1689 daemons/fenced/fenced_commands.c tp->target, id); target 1696 daemons/fenced/fenced_commands.c crm_trace("Adding device '%s' for %s[%d]", device, tp->target, id); target 1705 daemons/fenced/fenced_commands.c tp->target, nlevels, pcmk__plural_s(nlevels)); target 1729 daemons/fenced/fenced_commands.c char *target; target 1746 daemons/fenced/fenced_commands.c target = stonith_level_key(level, fenced_target_by_unknown); target 1752 daemons/fenced/fenced_commands.c target, id); target 1753 daemons/fenced/fenced_commands.c free(target); target 1764 daemons/fenced/fenced_commands.c *desc = crm_strdup_printf("%s[%d]", target, id); target 1767 daemons/fenced/fenced_commands.c tp = g_hash_table_lookup(topology, target); target 1772 daemons/fenced/fenced_commands.c target, nentries, target 1775 daemons/fenced/fenced_commands.c } else if (id == 0 && g_hash_table_remove(topology, target)) { target 1779 daemons/fenced/fenced_commands.c "(%d active %s remaining)", target, nentries, target 1791 daemons/fenced/fenced_commands.c id, target, nlevels, pcmk__plural_s(nlevels)); target 1794 daemons/fenced/fenced_commands.c free(target); target 1949 daemons/fenced/fenced_commands.c const char *target, gboolean allow_suicide) target 1951 daemons/fenced/fenced_commands.c gboolean localhost_is_target = pcmk__str_eq(target, stonith_our_uname, target 1958 daemons/fenced/fenced_commands.c "local host, not %s", action, device->id, target); target 2137 daemons/fenced/fenced_commands.c char *target; target 2153 daemons/fenced/fenced_commands.c stonith_device_t *device, const char *target) target 2180 daemons/fenced/fenced_commands.c delay_base = get_action_delay_base(device, action, target); target 2210 daemons/fenced/fenced_commands.c const char *target, gboolean allow_suicide) target 2212 daemons/fenced/fenced_commands.c if (!localhost_is_eligible(device, action, target, allow_suicide)) { target 2231 daemons/fenced/fenced_commands.c const char *target, gboolean allow_suicide) target 2236 daemons/fenced/fenced_commands.c add_action_specific_attributes(child, action, device, target); target 2237 daemons/fenced/fenced_commands.c add_disallowed(child, action, device, target, allow_suicide); target 2261 daemons/fenced/fenced_commands.c crm_xml_add(list, F_STONITH_TARGET, query->target); target 2291 daemons/fenced/fenced_commands.c add_action_specific_attributes(dev, action, device, query->target); target 2304 daemons/fenced/fenced_commands.c add_disallowed(dev, action, device, query->target, target 2306 daemons/fenced/fenced_commands.c add_action_reply(dev, "off", device, query->target, target 2308 daemons/fenced/fenced_commands.c add_action_reply(dev, "on", device, query->target, FALSE); target 2312 daemons/fenced/fenced_commands.c if (query->target == NULL) { target 2320 daemons/fenced/fenced_commands.c if (query->target) { target 2323 daemons/fenced/fenced_commands.c query->target); target 2341 daemons/fenced/fenced_commands.c free(query->target); target 2861 daemons/fenced/fenced_commands.c check_alternate_host(const char *target) target 2865 daemons/fenced/fenced_commands.c crm_trace("Checking if we (%s) can fence %s", stonith_our_uname, target); target 2866 daemons/fenced/fenced_commands.c if (find_topology_for_host(target) && pcmk__str_eq(target, stonith_our_uname, pcmk__str_casei)) { target 2872 daemons/fenced/fenced_commands.c crm_trace("Checking for %s.%d != %s", entry->uname, entry->id, target); target 2874 daemons/fenced/fenced_commands.c && !pcmk__str_eq(entry->uname, target, pcmk__str_casei)) { target 2923 daemons/fenced/fenced_commands.c const char *target = NULL; target 2927 daemons/fenced/fenced_commands.c target = crm_element_value(dev, F_STONITH_TARGET); target 2935 daemons/fenced/fenced_commands.c if (relay_op_id && target && pcmk__str_eq(target, stonith_our_uname, pcmk__str_casei)) { target 2958 daemons/fenced/fenced_commands.c relay_op->id, relay_op->action, relay_op->target, target 2959 daemons/fenced/fenced_commands.c relay_op->client_name, op_id, relay_op->action, target, target 3039 daemons/fenced/fenced_commands.c const char *target = NULL; target 3060 daemons/fenced/fenced_commands.c target = crm_element_value(dev, F_STONITH_TARGET); target 3072 daemons/fenced/fenced_commands.c pcmk__str_update(&query->target, target); target 3077 daemons/fenced/fenced_commands.c get_capable_devices(target, action, timeout, target 3161 daemons/fenced/fenced_commands.c const char *target = crm_element_value(dev, F_STONITH_TARGET); target 3170 daemons/fenced/fenced_commands.c target, (device? device : "any device")); target 3172 daemons/fenced/fenced_commands.c if (stonith_check_fence_tolerance(tolerance, target, action)) { target 3181 daemons/fenced/fenced_commands.c request->peer, action, target, target 3185 daemons/fenced/fenced_commands.c alternate_host = check_alternate_host(target); target 43 daemons/fenced/fenced_history.c const char *target) target 48 daemons/fenced/fenced_history.c if (target) { target 49 daemons/fenced/fenced_history.c crm_xml_add(data, F_STONITH_TARGET, target); target 71 daemons/fenced/fenced_history.c const char *target = (const char *) user_data; target 74 daemons/fenced/fenced_history.c if ((target) && (strcmp(op->target, target) != 0)) { target 91 daemons/fenced/fenced_history.c stonith_fence_history_cleanup(const char *target, target 97 daemons/fenced/fenced_history.c target); target 102 daemons/fenced/fenced_history.c (gpointer) target); target 249 daemons/fenced/fenced_history.c op->target = crm_element_value_copy(xml_op, F_STONITH_TARGET); target 284 daemons/fenced/fenced_history.c const char *target) target 341 daemons/fenced/fenced_history.c if (!pcmk__str_eq(target, op->target, pcmk__str_null_matches)) { target 351 daemons/fenced/fenced_history.c crm_xml_add(entry, F_STONITH_TARGET, op->target); target 426 daemons/fenced/fenced_history.c stonith_local_history(gboolean add_id, const char *target) target 428 daemons/fenced/fenced_history.c return stonith_local_history_diff_and_merge(NULL, add_id, target); target 446 daemons/fenced/fenced_history.c const char *target = NULL; target 451 daemons/fenced/fenced_history.c target = crm_element_value(dev, F_STONITH_TARGET); target 452 daemons/fenced/fenced_history.c if (target && (options & st_opt_cs_nodeid)) { target 456 daemons/fenced/fenced_history.c pcmk__scan_min_int(target, &nodeid, 0); target 459 daemons/fenced/fenced_history.c target = node->uname; target 465 daemons/fenced/fenced_history.c crm_trace("Cleaning up operations on %s in %p", target, target 468 daemons/fenced/fenced_history.c stonith_fence_history_cleanup(target, target 528 daemons/fenced/fenced_history.c crm_trace("Looking for operations on %s in %p", target, target 530 daemons/fenced/fenced_history.c *output = stonith_local_history(FALSE, target); target 243 daemons/fenced/fenced_remote.c free(op->target); target 298 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->target, op->id); target 320 daemons/fenced/fenced_remote.c op->target, op->client_name, op->id); target 353 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->target, op->client_name, op->id); target 374 daemons/fenced/fenced_remote.c crm_xml_add(notify_data, F_STONITH_TARGET, op->target); target 440 daemons/fenced/fenced_remote.c crm_xml_add(data, F_STONITH_TARGET, op->target); target 540 daemons/fenced/fenced_remote.c op->action, (op->target? " targeting " : ""), target 541 daemons/fenced/fenced_remote.c (op->target? op->target : ""), target 592 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->action, (op->target? " targeting " : ""), target 593 daemons/fenced/fenced_remote.c (op->target? op->target : ""), target 641 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 656 daemons/fenced/fenced_remote.c " id=%.8s", op->action, op->target, op->client_name, op->id); target 679 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 711 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 729 daemons/fenced/fenced_remote.c op->id, op->target); target 732 daemons/fenced/fenced_remote.c op->id, op->target); target 736 daemons/fenced/fenced_remote.c op->id, op->target, stonith_op_state_str(op->state)); target 740 daemons/fenced/fenced_remote.c op->id, op->target, stonith_op_state_str(op->state)); target 835 daemons/fenced/fenced_remote.c CRM_CHECK(node && tp && tp->target, return FALSE); target 845 daemons/fenced/fenced_remote.c crm_notice("Matched %s with %s by attribute", node, tp->target); target 855 daemons/fenced/fenced_remote.c crm_info("Bad regex '%s' for fencing level", tp->target); target 861 daemons/fenced/fenced_remote.c crm_notice("Matched %s with %s by name", node, tp->target); target 868 daemons/fenced/fenced_remote.c crm_trace("Testing %s against %s", node, tp->target); target 869 daemons/fenced/fenced_remote.c return pcmk__str_eq(tp->target, node, pcmk__str_casei); target 874 daemons/fenced/fenced_remote.c crm_trace("No match for %s with %s", node, tp->target); target 885 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); target 892 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); target 917 daemons/fenced/fenced_remote.c if (op->target) { target 918 daemons/fenced/fenced_remote.c tp = find_topology_for_host(op->target); target 939 daemons/fenced/fenced_remote.c op->level, op->target, g_list_length(tp->levels[op->level]), target 961 daemons/fenced/fenced_remote.c op->target, op->client_name, op->originator, op->id); target 990 daemons/fenced/fenced_remote.c if (!pcmk__str_eq(op->target, other->target, pcmk__str_casei)) { target 992 daemons/fenced/fenced_remote.c op->id, other->id, op->target, other->target); target 1005 daemons/fenced/fenced_remote.c if (pcmk__str_eq(other->target, other->originator, pcmk__str_casei)) { target 1007 daemons/fenced/fenced_remote.c op->id, other->id, other->target); target 1013 daemons/fenced/fenced_remote.c other->action, other->target, other->client_name, target 1041 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, target 1180 daemons/fenced/fenced_remote.c op->target = crm_element_value_copy(dev, F_STONITH_TARGET); target 1190 daemons/fenced/fenced_remote.c op->target, op->client_name, op->base_timeout, target 1198 daemons/fenced/fenced_remote.c pcmk__scan_min_int(op->target, &nodeid, 0); target 1205 daemons/fenced/fenced_remote.c free(op->target); target 1206 daemons/fenced/fenced_remote.c op->target = strdup(node->uname); target 1209 daemons/fenced/fenced_remote.c crm_warn("Could not expand nodeid '%s' into a host name", op->target); target 1273 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->action, op->target, op->id); target 1279 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->action, op->target, op->id); target 1285 daemons/fenced/fenced_remote.c op->action, op->target, op->id, target 1293 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_TARGET, op->target); target 1341 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, target 1343 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 1346 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 1379 daemons/fenced/fenced_remote.c op->action, op->target, device); target 1382 daemons/fenced/fenced_remote.c op->action, op->target); target 1393 daemons/fenced/fenced_remote.c crm_trace("Waiting before looking for unverified devices to fence %s", op->target); target 1423 daemons/fenced/fenced_remote.c op->action, op->target, (device? device : "any device")); target 1494 daemons/fenced/fenced_remote.c stonith_topology_t *tp = find_topology_for_host(op->target); target 1631 daemons/fenced/fenced_remote.c op->target, op->client_name, op->originator); target 1642 daemons/fenced/fenced_remote.c op->target); target 1651 daemons/fenced/fenced_remote.c if (node_does_watchdog_fencing(op->target)) { target 1656 daemons/fenced/fenced_remote.c op->target, op->action, op->client_name, op->id); target 1662 daemons/fenced/fenced_remote.c "not in host-list", op->target); target 1684 daemons/fenced/fenced_remote.c op->id, op->target, op->client_name, target 1697 daemons/fenced/fenced_remote.c op->total_timeout, op->target, op->client_name, op->id); target 1720 daemons/fenced/fenced_remote.c crm_xml_add(remote_op, F_STONITH_TARGET, op->target); target 1734 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, target 1742 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, target 1754 daemons/fenced/fenced_remote.c (pcmk__str_eq(peer->host, op->target, pcmk__str_casei) target 1788 daemons/fenced/fenced_remote.c "after successful 'off'", device, op->target); target 1794 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name); target 1799 daemons/fenced/fenced_remote.c CRM_XS " state=%s", op->action, op->target, op->client_name, target 1820 daemons/fenced/fenced_remote.c op->replies, op->action, op->target, op->client_name, target 1841 daemons/fenced/fenced_remote.c op->replies, op->action, op->target, op->client_name, target 1851 daemons/fenced/fenced_remote.c op->action, op->target, (device? " using " : ""), target 1890 daemons/fenced/fenced_remote.c tp = find_topology_for_host(op->target); target 1906 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 2121 daemons/fenced/fenced_remote.c host_is_target = pcmk__str_eq(host, op->target, pcmk__str_casei); target 2125 daemons/fenced/fenced_remote.c op->target, op->action, ndevices, pcmk__plural_s(ndevices), id); target 2232 daemons/fenced/fenced_remote.c device, (const char *) op->devices->data, op->action, op->target); target 2250 daemons/fenced/fenced_remote.c op->id, device, op->target); target 2276 daemons/fenced/fenced_remote.c op->target); target 2281 daemons/fenced/fenced_remote.c op->action, op->target, device, op->client_name, target 2322 daemons/fenced/fenced_remote.c op->target, op->originator, op->client_name, target 2328 daemons/fenced/fenced_remote.c stonith_check_fence_tolerance(int tolerance, const char *target, const char *action) target 2334 daemons/fenced/fenced_remote.c if (tolerance <= 0 || !stonith_remote_op_list || target == NULL || target 2341 daemons/fenced/fenced_remote.c if (strcmp(rop->target, target) != 0) { target 2355 daemons/fenced/fenced_remote.c target, action, tolerance, rop->delegate, rop->originator); target 513 daemons/fenced/pacemaker-fenced.c char *target = stonith_level_key(match, fenced_target_by_unknown); target 516 daemons/fenced/pacemaker-fenced.c if (target == NULL) { target 520 daemons/fenced/pacemaker-fenced.c crm_err("Invalid level for %s in element %s", target, ID(match)); target 523 daemons/fenced/pacemaker-fenced.c topology_remove_helper(target, index); target 22 daemons/fenced/pacemaker-fenced.h gboolean stonith_check_fence_tolerance(int tolerance, const char *target, const char *action); target 74 daemons/fenced/pacemaker-fenced.h char *target; target 196 daemons/fenced/pacemaker-fenced.h char *target; target 211 include/crm/cib/internal.h gboolean update_results(xmlNode * failed, xmlNode * target, const char *operation, int return_code); target 56 include/crm/common/internal.h void pcmk__enable_acl(xmlNode *acl_source, xmlNode *target, const char *user); target 245 include/crm/common/internal.h const char *flag_type, const char *target, target 256 include/crm/common/internal.h ((target == NULL)? "target" : target), target 279 include/crm/common/internal.h const char *flag_type, const char *target, target 290 include/crm/common/internal.h ((target == NULL)? "target" : target), target 95 include/crm/common/iso8601.h void crm_time_set(crm_time_t * target, crm_time_t * source); target 96 include/crm/common/iso8601.h void crm_time_set_timet(crm_time_t * target, time_t * source); target 20 include/crm/common/iso8601_internal.h pcmk__time_hr_t *pcmk__time_hr_convert(pcmk__time_hr_t *target, crm_time_t *dt); target 21 include/crm/common/iso8601_internal.h void pcmk__time_set_hr_dt(crm_time_t *target, pcmk__time_hr_t *hr_dt); target 22 include/crm/common/iso8601_internal.h pcmk__time_hr_t *pcmk__time_timeval_hr_convert(pcmk__time_hr_t *target, target 68 include/crm/common/xml.h void copy_in_properties(xmlNode * target, xmlNode * src); target 69 include/crm/common/xml.h void expand_plus_plus(xmlNode * target, const char *name, const char *value); target 70 include/crm/common/xml.h void fix_plus_plus_recursive(xmlNode * target); target 284 include/crm/common/xml.h int format, xmlNode *source, xmlNode *target, bool *config, bool manage_version); target 287 include/crm/common/xml.h void patchset_process_digest(xmlNode *patch, xmlNode *source, xmlNode *target, bool with_digest); target 30 include/crm/lrmd_internal.h const char *target, const char *task, target 105 include/crm/stonith-ng.h char *target; target 128 include/crm/stonith-ng.h char *target; target 212 include/pacemaker.h int pcmk_request_fencing(stonith_t *st, const char *target, const char *action, target 233 include/pacemaker.h int pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, target 263 include/pacemaker.h int pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid); target 311 include/pacemaker.h int pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, target 329 include/pacemaker.h int pcmk_fence_register_level(stonith_t *st, char *target, int fence_level, target 346 include/pacemaker.h int pcmk_fence_unregister_level(stonith_t *st, char *target, int fence_level); 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, 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 int pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, char *target, target 192 include/pcmki/pcmki_fence.h int pcmk__fence_register_level(stonith_t *st, char *target, int fence_level, target 212 include/pcmki/pcmki_fence.h int pcmk__fence_unregister_level(stonith_t *st, char *target, int fence_level); target 385 lib/cib/cib_ops.c xmlNode *target = NULL; target 402 lib/cib/cib_ops.c target = find_xml_node(parent, object_name, FALSE); target 405 lib/cib/cib_ops.c target = pcmk__xe_match(parent, object_name, XML_ATTR_ID, object_id); target 408 lib/cib/cib_ops.c if (target == NULL) { target 409 lib/cib/cib_ops.c target = create_xml_node(parent, object_name); target 431 lib/cib/cib_ops.c remove = find_xml_node(target, replace_item, FALSE); target 434 lib/cib/cib_ops.c replace_item, crm_element_name(target)); target 445 lib/cib/cib_ops.c xml_remove_prop(target, XML_CIB_ATTR_REPLACE); target 448 lib/cib/cib_ops.c copy_in_properties(target, update); target 458 lib/cib/cib_ops.c tmp_result = update_cib_object(target, a_child); target 816 lib/cib/cib_ops.c update_results(xmlNode * failed, xmlNode * target, const char *operation, int return_code) target 827 lib/cib/cib_ops.c add_node_copy(xml_node, target); target 829 lib/cib/cib_ops.c crm_xml_add(xml_node, XML_FAILCIB_ATTR_ID, ID(target)); target 830 lib/cib/cib_ops.c crm_xml_add(xml_node, XML_FAILCIB_ATTR_OBJTYPE, TYPE(target)); target 924 lib/cluster/cpg.c char *target = NULL; target 970 lib/cluster/cpg.c target = strdup(node->uname); target 975 lib/cluster/cpg.c target = crm_strdup_printf("%u", node->id); target 979 lib/cluster/cpg.c target = strdup("all"); target 1030 lib/cluster/cpg.c msg->id, target, (unsigned long long) iov->iov_len, target 1034 lib/cluster/cpg.c msg->id, target, (unsigned long long) iov->iov_len, target 1037 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 p = target->doc->_private; target 338 lib/common/acl.c pcmk__enable_acl(xmlNode *acl_source, xmlNode *target, const char *user) target 340 lib/common/acl.c pcmk__unpack_acl(acl_source, target, user); target 341 lib/common/acl.c pcmk__set_xml_doc_flag(target, pcmk__xf_acl_enabled); target 342 lib/common/acl.c pcmk__apply_acl(target); target 421 lib/common/acl.c xmlNode *target = NULL; target 432 lib/common/acl.c target = copy_xml(xml); target 433 lib/common/acl.c if (target == NULL) { target 437 lib/common/acl.c pcmk__enable_acl(acl_source, target, user); target 439 lib/common/acl.c doc = target->doc->_private; target 440 lib/common/acl.c for(aIter = doc->acls; aIter != NULL && target; aIter = aIter->next) { target 449 lib/common/acl.c xmlXPathObjectPtr xpathObj = xpath_search(target, acl->xpath); target 455 lib/common/acl.c if (!purge_xml_attributes(match) && (match == target)) { target 469 lib/common/acl.c if (!purge_xml_attributes(target)) { target 481 lib/common/acl.c free_xml(target); target 482 lib/common/acl.c target = NULL; target 485 lib/common/acl.c if (target) { target 486 lib/common/acl.c *result = target; target 284 lib/common/attrd_client.c const char *target = getenv(target_var); target 288 lib/common/attrd_client.c if (host_physical && pcmk__str_eq(target, "host", pcmk__str_casei)) { target 84 lib/common/crmcommon_private.h void pcmk__xml_update(xmlNode *parent, xmlNode *target, xmlNode *update, target 91 lib/common/crmcommon_private.h void pcmk__xc_update(xmlNode *parent, xmlNode *target, xmlNode *update); target 97 lib/common/crmcommon_private.h void pcmk__unpack_acl(xmlNode *source, xmlNode *target, const char *user); target 332 lib/common/io.c const char *target = NULL; target 340 lib/common/io.c target = full_file; target 344 lib/common/io.c crm_notice("%s not found: %s", target, pcmk_rc_str(errno)); target 347 lib/common/io.c target = NULL; target 351 lib/common/io.c target, (unsigned long) buf.st_mode); target 358 lib/common/io.c if (target == NULL) { target 359 lib/common/io.c target = dir; target 372 lib/common/io.c if (!pcmk__daemon_user_can_write(target, &buf) target 373 lib/common/io.c && !pcmk__daemon_group_can_write(target, &buf)) { target 377 lib/common/io.c target, CRM_DAEMON_USER, CRM_DAEMON_GROUP, target 1192 lib/common/iso8601.c crm_time_set(crm_time_t * target, crm_time_t * source) target 1194 lib/common/iso8601.c crm_trace("target=%p, source=%p", target, source); target 1196 lib/common/iso8601.c CRM_CHECK(target != NULL && source != NULL, return); target 1198 lib/common/iso8601.c target->years = source->years; target 1199 lib/common/iso8601.c target->days = source->days; target 1200 lib/common/iso8601.c target->months = source->months; /* Only for durations */ target 1201 lib/common/iso8601.c target->seconds = source->seconds; target 1202 lib/common/iso8601.c target->offset = source->offset; target 1206 lib/common/iso8601.c crm_time_log(LOG_TRACE, "target", target, target 1211 lib/common/iso8601.c ha_set_tm_time(crm_time_t * target, struct tm *source) target 1217 lib/common/iso8601.c target->years = 0; target 1218 lib/common/iso8601.c target->months = 0; target 1219 lib/common/iso8601.c target->days = 0; target 1220 lib/common/iso8601.c target->seconds = 0; target 1221 lib/common/iso8601.c target->offset = 0; target 1222 lib/common/iso8601.c target->duration = FALSE; target 1226 lib/common/iso8601.c target->years = 1900 + source->tm_year; target 1231 lib/common/iso8601.c target->days = 1 + source->tm_yday; target 1235 lib/common/iso8601.c target->seconds += HOUR_SECONDS * source->tm_hour; target 1238 lib/common/iso8601.c target->seconds += 60 * source->tm_min; target 1241 lib/common/iso8601.c target->seconds += source->tm_sec; target 1250 lib/common/iso8601.c target->offset += HOUR_SECONDS * h_offset; target 1251 lib/common/iso8601.c target->offset += 60 * m_offset; target 1255 lib/common/iso8601.c crm_time_set_timet(crm_time_t * target, time_t * source) target 1257 lib/common/iso8601.c ha_set_tm_time(target, localtime(source)); target 1263 lib/common/iso8601.c crm_time_t *target = crm_time_new_undefined(); target 1265 lib/common/iso8601.c crm_time_set(target, source); target 1266 lib/common/iso8601.c return target; target 1528 lib/common/iso8601.c ha_get_tm_time( struct tm *target, crm_time_t *source) target 1530 lib/common/iso8601.c *target = (struct tm) { target 1542 lib/common/iso8601.c mktime(target); target 1556 lib/common/iso8601.c pcmk__time_hr_convert(pcmk__time_hr_t *target, crm_time_t *dt) target 1561 lib/common/iso8601.c hr_dt = target?target:calloc(1, sizeof(pcmk__time_hr_t)); target 1577 lib/common/iso8601.c pcmk__time_set_hr_dt(crm_time_t *target, pcmk__time_hr_t *hr_dt) target 1579 lib/common/iso8601.c CRM_ASSERT((hr_dt) && (target)); target 1580 lib/common/iso8601.c *target = (crm_time_t) { target 1591 lib/common/iso8601.c pcmk__time_timeval_hr_convert(pcmk__time_hr_t *target, struct timeval *tv) target 1597 lib/common/iso8601.c ret = pcmk__time_hr_convert(target, &dt); target 291 lib/common/patchset.c xml_create_patchset_v1(xmlNode *source, xmlNode *target, bool config, target 294 lib/common/patchset.c xmlNode *patchset = diff_xml_object(source, target, suppress); target 297 lib/common/patchset.c CRM_LOG_ASSERT(xml_document_dirty(target)); target 298 lib/common/patchset.c xml_repair_v1_diff(source, target, patchset, config); target 305 lib/common/patchset.c xml_create_patchset_v2(xmlNode *source, xmlNode *target) target 320 lib/common/patchset.c CRM_ASSERT(target); target 321 lib/common/patchset.c if (!xml_document_dirty(target)) { target 325 lib/common/patchset.c CRM_ASSERT(target->doc); target 326 lib/common/patchset.c doc = target->doc->_private; target 345 lib/common/patchset.c const char *value = crm_element_value(target, vfields[lpc]); target 364 lib/common/patchset.c add_xml_changes_to_patchset(target, patchset); target 369 lib/common/patchset.c xml_create_patchset(int format, xmlNode *source, xmlNode *target, target 377 lib/common/patchset.c xml_acl_disable(target); target 378 lib/common/patchset.c if (!xml_document_dirty(target)) { target 383 lib/common/patchset.c config = is_config_change(target); target 390 lib/common/patchset.c crm_xml_add(target, XML_ATTR_NUMUPDATES, "0"); target 392 lib/common/patchset.c crm_element_value_int(target, XML_ATTR_GENERATION, &counter); target 393 lib/common/patchset.c crm_xml_add_int(target, XML_ATTR_GENERATION, counter+1); target 396 lib/common/patchset.c crm_element_value_int(target, XML_ATTR_NUMUPDATES, &counter); target 399 lib/common/patchset.c crm_xml_add_int(target, XML_ATTR_NUMUPDATES, (counter + 1)); target 413 lib/common/patchset.c patch = xml_create_patchset_v1(source, target, config, FALSE); target 416 lib/common/patchset.c patch = xml_create_patchset_v2(source, target); target 426 lib/common/patchset.c patchset_process_digest(xmlNode *patch, xmlNode *source, xmlNode *target, target 433 lib/common/patchset.c if ((patch == NULL) || (source == NULL) || (target == NULL)) { target 440 lib/common/patchset.c CRM_LOG_ASSERT(!xml_document_dirty(target)); target 448 lib/common/patchset.c digest = calculate_xml_versioned_digest(target, FALSE, TRUE, version); target 644 lib/common/patchset.c process_v1_removals(xmlNode *target, xmlNode *patch) target 653 lib/common/patchset.c if ((target == NULL) || (patch == NULL)) { target 657 lib/common/patchset.c if (target->type == XML_COMMENT_NODE) { target 660 lib/common/patchset.c subtract_xml_comment(target->parent, target, patch, &dummy); target 663 lib/common/patchset.c name = crm_element_name(target); target 665 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(crm_element_name(target), crm_element_name(patch), target 668 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(ID(target), ID(patch), pcmk__str_casei), return); target 671 lib/common/patchset.c id = crm_element_value_copy(target, XML_ATTR_ID); target 675 lib/common/patchset.c free_xml(target); target 684 lib/common/patchset.c cIter = pcmk__xml_first_child(target); target 697 lib/common/patchset.c process_v1_additions(xmlNode *parent, xmlNode *target, xmlNode *patch) target 709 lib/common/patchset.c } else if ((parent == NULL) && (target == NULL)) { target 715 lib/common/patchset.c if ((target == NULL) && (value != NULL) target 723 lib/common/patchset.c } else if (target == NULL) { target 730 lib/common/patchset.c if (target->type == XML_COMMENT_NODE) { target 731 lib/common/patchset.c pcmk__xc_update(parent, target, patch); target 734 lib/common/patchset.c name = crm_element_name(target); target 736 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(crm_element_name(target), crm_element_name(patch), target 739 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(ID(target), ID(patch), pcmk__str_casei), return); target 746 lib/common/patchset.c xml_remove_prop(target, p_name); // Preserve patch order target 747 lib/common/patchset.c crm_xml_add(target, p_name, p_value); target 754 lib/common/patchset.c target_child = pcmk__xml_match(target, patch_child, false); target 755 lib/common/patchset.c process_v1_additions(target, target_child, patch_child); target 1027 lib/common/patchset.c xmlNode *target = (xmlNode *) top->doc; target 1073 lib/common/patchset.c target = first_matching_xml_child(target, tag, NULL, target 1077 lib/common/patchset.c target = first_matching_xml_child(target, tag, id, target 1082 lib/common/patchset.c target = NULL; target 1089 lib/common/patchset.c } while ((rc == 2) && target); target 1091 lib/common/patchset.c if (target) { target 1093 lib/common/patchset.c (path = (char *) xmlGetNodePath(target)), key); target 1103 lib/common/patchset.c return target; target 520 lib/common/xml.c copy_in_properties(xmlNode * target, xmlNode * src) target 525 lib/common/xml.c } else if (target == NULL) { target 533 lib/common/xml.c expand_plus_plus(target, p_name, p_value); target 541 lib/common/xml.c fix_plus_plus_recursive(xmlNode * target) target 546 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(target); a != NULL; a = a->next) { target 550 lib/common/xml.c expand_plus_plus(target, p_name, p_value); target 552 lib/common/xml.c for (child = pcmk__xml_first_child(target); child != NULL; target 559 lib/common/xml.c expand_plus_plus(xmlNode * target, const char *name, const char *value) target 572 lib/common/xml.c old_value = crm_element_value(target, name); target 607 lib/common/xml.c crm_xml_add_int(target, name, int_value); target 615 lib/common/xml.c crm_xml_add(target, name, value); target 2484 lib/common/xml.c pcmk__xc_update(xmlNode *parent, xmlNode *target, xmlNode *update) target 2489 lib/common/xml.c if (target == NULL) { target 2490 lib/common/xml.c target = pcmk__xc_match(parent, update, false); target 2493 lib/common/xml.c if (target == NULL) { target 2496 lib/common/xml.c } else if (!pcmk__str_eq((const char *)target->content, (const char *)update->content, pcmk__str_casei)) { target 2497 lib/common/xml.c xmlFree(target->content); target 2498 lib/common/xml.c target->content = xmlStrdup(update->content); target 2515 lib/common/xml.c pcmk__xml_update(xmlNode *parent, xmlNode *target, xmlNode *update, target 2525 lib/common/xml.c crm_log_xml_trace(target, "target:"); target 2531 lib/common/xml.c pcmk__xc_update(parent, target, update); target 2545 lib/common/xml.c CRM_CHECK(target != NULL || parent != NULL, return); target 2547 lib/common/xml.c if (target == NULL) { target 2548 lib/common/xml.c target = pcmk__xe_match(parent, object_name, target 2552 lib/common/xml.c if (target == NULL) { target 2553 lib/common/xml.c target = create_xml_node(parent, object_name); target 2554 lib/common/xml.c CRM_CHECK(target != NULL, return); target 2571 lib/common/xml.c CRM_CHECK(pcmk__str_eq(crm_element_name(target), crm_element_name(update), target 2577 lib/common/xml.c copy_in_properties(target, update); target 2586 lib/common/xml.c xmlUnsetProp(target, a->name); target 2587 lib/common/xml.c xmlSetProp(target, a->name, (pcmkXmlStr) p_value); target 2600 lib/common/xml.c pcmk__xml_update(target, NULL, a_child, as_diff); 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 536 lib/fencing/st_client.c stonith_api_query(stonith_t * stonith, int call_options, const char *target, target 549 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_TARGET, target); target 671 lib/fencing/st_client.c stonith_api_confirm(stonith_t * stonith, int call_options, const char *target) target 673 lib/fencing/st_client.c stonith__set_call_options(call_options, target, st_opt_manual_ack); target 674 lib/fencing/st_client.c return stonith_api_fence(stonith, call_options, target, "off", 0, 0); target 711 lib/fencing/st_client.c kvp->target = crm_element_value_copy(op, F_STONITH_TARGET); target 746 lib/fencing/st_client.c free(hp->target); target 1416 lib/fencing/st_client.c event->target = crm_element_value_copy(data, F_STONITH_TARGET); target 1439 lib/fencing/st_client.c free(event->target); target 1705 lib/fencing/st_client.c const char *target = "node1"; target 1740 lib/fencing/st_client.c rc = stonith__rhcs_validate(st, call_options, target, agent, target 1747 lib/fencing/st_client.c rc = stonith__lha_validate(st, call_options, target, agent, target 2204 lib/fencing/st_client.c pcmk__str_eq(event->target, prev_hp->target, pcmk__str_casei) && target 2513 lib/fencing/st_client.c event->action, event->target, executioner, origin, target 272 lib/fencing/st_lha.c stonith__lha_validate(stonith_t *st, int call_options, const char *target, target 52 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 77 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 106 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 134 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 162 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 166 lib/fencing/st_output.c char *buf = crm_strdup_printf("Node %s last fenced at: %s", target, ctime(&when)); target 178 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 182 lib/fencing/st_output.c pcmk__indented_printf(out, "Node %s last fenced at: %s", target, ctime(&when)); target 184 lib/fencing/st_output.c pcmk__indented_printf(out, "Node %s has never been fenced\n", target); target 193 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 200 lib/fencing/st_output.c "target", target, target 223 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 255 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 270 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 286 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 308 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 320 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 328 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 348 lib/fencing/st_output.c "target", event->target, target 256 lib/fencing/st_rhcs.c stonith__rhcs_validate(stonith_t *st, int call_options, const char *target, target 297 lib/fencing/st_rhcs.c target, 0, remaining_timeout, params, 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 190 lib/pacemaker/pcmk_acl.c xmlNode *target, *comment; target 214 lib/pacemaker/pcmk_acl.c target = copy_xml(xmlDocGetRootElement(cib_doc)); target 215 lib/pacemaker/pcmk_acl.c if (target == NULL) { target 219 lib/pacemaker/pcmk_acl.c pcmk__enable_acl(target, target, cred); target 221 lib/pacemaker/pcmk_acl.c ret = pcmk__acl_annotate_permissions_recursive(target); target 225 lib/pacemaker/pcmk_acl.c comment = xmlNewDocComment(target->doc, (pcmkXmlStr) credentials); target 228 lib/pacemaker/pcmk_acl.c xmlFreeNode(target); target 231 lib/pacemaker/pcmk_acl.c xmlAddPrevSibling(xmlDocGetRootElement(target->doc), comment); target 232 lib/pacemaker/pcmk_acl.c *acl_evaled_doc = target->doc; target 235 lib/pacemaker/pcmk_acl.c xmlFreeNode(target); target 28 lib/pacemaker/pcmk_fence.c const char *target; target 38 lib/pacemaker/pcmk_fence.c handle_level(stonith_t *st, char *target, int fence_level, target 46 lib/pacemaker/pcmk_fence.c if (target == NULL) { target 52 lib/pacemaker/pcmk_fence.c value = strchr(target, '='); target 54 lib/pacemaker/pcmk_fence.c name = target; target 56 lib/pacemaker/pcmk_fence.c } else if (*target == '@') { target 57 lib/pacemaker/pcmk_fence.c pattern = target + 1; target 59 lib/pacemaker/pcmk_fence.c node = target; target 96 lib/pacemaker/pcmk_fence.c if (pcmk__str_eq(hp->target, np->target, pcmk__str_casei) && target 121 lib/pacemaker/pcmk_fence.c if (pcmk__str_eq(async_fence_data.target, e->target, pcmk__str_casei) target 159 lib/pacemaker/pcmk_fence.c async_fence_data.target, target 181 lib/pacemaker/pcmk_fence.c pcmk__request_fencing(stonith_t *st, const char *target, const char *action, target 190 lib/pacemaker/pcmk_fence.c async_fence_data.target = target; target 218 lib/pacemaker/pcmk_fence.c pcmk_request_fencing(stonith_t *st, const char *target, const char *action, target 222 lib/pacemaker/pcmk_fence.c return pcmk__request_fencing(st, target, action, name, timeout, tolerance, target 228 lib/pacemaker/pcmk_fence.c pcmk__fence_history(pcmk__output_t *out, stonith_t *st, char *target, target 237 lib/pacemaker/pcmk_fence.c target ? " for node " : "", target ? target : ""); target 243 lib/pacemaker/pcmk_fence.c stonith__set_call_options(opts, target, st_opts); target 245 lib/pacemaker/pcmk_fence.c stonith__set_call_options(opts, target, st_opt_cleanup); target 248 lib/pacemaker/pcmk_fence.c stonith__set_call_options(opts, target, st_opt_broadcast); target 251 lib/pacemaker/pcmk_fence.c pcmk__str_eq(target, "*", pcmk__str_none)? NULL : target, target 293 lib/pacemaker/pcmk_fence.c pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, unsigned int timeout, target 307 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_history(out, st, target, timeout, verbose, broadcast, cleanup); target 354 lib/pacemaker/pcmk_fence.c pcmk__fence_last(pcmk__output_t *out, const char *target, bool as_nodeid) { target 357 lib/pacemaker/pcmk_fence.c if (target == NULL) { target 362 lib/pacemaker/pcmk_fence.c when = stonith_api_time(atol(target), NULL, FALSE); target 364 lib/pacemaker/pcmk_fence.c when = stonith_api_time(0, target, FALSE); target 367 lib/pacemaker/pcmk_fence.c return out->message(out, "last-fenced", target, when); target 372 lib/pacemaker/pcmk_fence.c pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid) { target 383 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_last(out, target, as_nodeid); target 471 lib/pacemaker/pcmk_fence.c pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, char *target, target 476 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); target 498 lib/pacemaker/pcmk_fence.c pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, target 510 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_registered(out, st, target, timeout); target 517 lib/pacemaker/pcmk_fence.c pcmk__fence_register_level(stonith_t *st, char *target, int fence_level, target 519 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, devices, true); target 524 lib/pacemaker/pcmk_fence.c pcmk_fence_register_level(stonith_t *st, char *target, int fence_level, target 526 lib/pacemaker/pcmk_fence.c return pcmk__fence_register_level(st, target, fence_level, devices); target 531 lib/pacemaker/pcmk_fence.c pcmk__fence_unregister_level(stonith_t *st, char *target, int fence_level) { target 532 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, NULL, false); target 537 lib/pacemaker/pcmk_fence.c pcmk_fence_unregister_level(stonith_t *st, char *target, int fence_level) { target 538 lib/pacemaker/pcmk_fence.c return pcmk__fence_unregister_level(st, target, fence_level); target 1160 lib/pacemaker/pcmk_output.c char *target = va_arg(args, char *); target 1167 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Fencing %s (%s)", target, op); target 1175 lib/pacemaker/pcmk_output.c char *target = va_arg(args, char *); target 1183 lib/pacemaker/pcmk_output.c "target", target, target 58 lib/pacemaker/pcmk_sched_fencing.c pe_node_t *target; target 62 lib/pacemaker/pcmk_sched_fencing.c target = stonith_op->node; target 78 lib/pacemaker/pcmk_sched_fencing.c && pe_hash_table_lookup(rsc->allowed_nodes, target->details->id) target 79 lib/pacemaker/pcmk_sched_fencing.c && !rsc_is_known_on(rsc, target)) { target 91 lib/pacemaker/pcmk_sched_fencing.c target->details->uname); target 118 lib/pacemaker/pcmk_sched_fencing.c pe_node_t *target; target 121 lib/pacemaker/pcmk_sched_fencing.c target = stonith_op->node; target 124 lib/pacemaker/pcmk_sched_fencing.c action_list = pe__resource_actions(rsc, target, RSC_STOP, FALSE); target 133 lib/pacemaker/pcmk_sched_fencing.c || pe__is_guest_node(target)) { target 172 lib/pacemaker/pcmk_sched_fencing.c target->details->uname); target 176 lib/pacemaker/pcmk_sched_fencing.c target->details->uname); target 213 lib/pacemaker/pcmk_sched_fencing.c action_list = pe__resource_actions(rsc, target, RSC_DEMOTE, FALSE); target 224 lib/pacemaker/pcmk_sched_fencing.c rsc->id, target->details->uname); target 227 lib/pacemaker/pcmk_sched_fencing.c action->uuid, target->details->uname); target 683 lib/pacemaker/pcmk_simulate.c char *target = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET); target 685 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-fencing-action", target, op); target 692 lib/pacemaker/pcmk_simulate.c xmlNode *cib_node = pcmk__inject_node_state_change(fake_cib, target, target 703 lib/pacemaker/pcmk_simulate.c target, XML_CIB_TAG_LRM); target 708 lib/pacemaker/pcmk_simulate.c target, XML_TAG_TRANSIENT_NODEATTRS); target 717 lib/pacemaker/pcmk_simulate.c free(target); target 242 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); target 246 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); target 259 lib/pengine/bundle.c port->target); target 262 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); target 408 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); target 412 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); target 425 lib/pengine/bundle.c port->target); target 428 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); target 576 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); target 584 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); target 594 lib/pengine/bundle.c " --port=%s:%s:%s", port->target, target 597 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --port=%s:%s", port->target, port->source); target 886 lib/pengine/bundle.c const char *target, const char *options, uint32_t flags) target 892 lib/pengine/bundle.c mount->target = strdup(target); target 902 lib/pengine/bundle.c free(mount->target); target 911 lib/pengine/bundle.c free(port->target); target 1092 lib/pengine/bundle.c port->target = crm_element_value_copy(xml_child, "internal-port"); target 1096 lib/pengine/bundle.c if(port->target == NULL) { target 1097 lib/pengine/bundle.c port->target = strdup(port->source); target 1113 lib/pengine/bundle.c const char *target = crm_element_value(xml_child, "target-dir"); target 1123 lib/pengine/bundle.c if (source && target) { target 1124 lib/pengine/bundle.c mount_add(bundle_data, source, target, options, flags); target 1125 lib/pengine/bundle.c if (strcmp(target, "/var/log") == 0) { target 1248 lib/pengine/bundle.c port->target = strdup(port->source); target 2660 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); target 2663 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(source, node->details->uname), return); target 2672 lib/pengine/unpack.c target_node = pe_find_node(data_set->nodes, target); target 2676 lib/pengine/unpack.c migrate_from = find_lrm_op(rsc->id, CRMD_ACTION_MIGRATED, target, target 2682 lib/pengine/unpack.c ID(migrate_from), target, from_status, from_rc); target 2698 lib/pengine/unpack.c pe_rsc_trace(rsc, "Marking active on %s %p %d", target, target_node, target 2705 lib/pengine/unpack.c pe_rsc_trace(rsc, "Marking active on %s %p %d", target, target_node, target 2747 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); target 2750 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(source, node->details->uname), return); target 2758 lib/pengine/unpack.c target_stop = find_lrm_op(rsc->id, CRMD_ACTION_STOP, target, NULL, target 2763 lib/pengine/unpack.c target_migrate_from = find_lrm_op(rsc->id, CRMD_ACTION_MIGRATED, target, target 2772 lib/pengine/unpack.c pe_node_t *target_node = pe_find_node(data_set->nodes, target); target 2814 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); target 2817 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(target, node->details->uname), return); target 2830 lib/pengine/unpack.c source, target, TRUE, data_set); target 3825 lib/pengine/unpack.c pe_node_t *target = pe_find_node(data_set->nodes, migrate_target); target 3826 lib/pengine/unpack.c if (target) { target 3827 lib/pengine/unpack.c stop_action(rsc, target, FALSE); target 63 lib/pengine/variant.h char *target; target 70 lib/pengine/variant.h char *target; 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 693 lib/services/dbus.c pcmk_dbus_get_property(DBusConnection *connection, const char *target, target 702 lib/services/dbus.c CRM_CHECK((connection != NULL) && (target != NULL) && (obj != NULL) target 706 lib/services/dbus.c target, obj, name); target 709 lib/services/dbus.c msg = dbus_message_new_method_call(target, obj, BUS_PROPERTY_IFACE, "Get"); target 735 lib/services/dbus.c query_data->target = strdup(target); target 740 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 251 tools/attrd_updater.c const char *target = pcmk__node_attr_target(options.attr_node); target 254 tools/attrd_updater.c target == NULL ? options.attr_node : target, target 432 tools/attrd_updater.c const char *target = pcmk__node_attr_target(attr_node); target 433 tools/attrd_updater.c if (target != NULL) { target 434 tools/attrd_updater.c attr_node = target; target 525 tools/crm_attribute.c const char *target = pcmk__node_attr_target(options.dest_uname); target 527 tools/crm_attribute.c if (target != NULL) { target 529 tools/crm_attribute.c options.dest_uname = g_strdup(target); target 2041 tools/crm_mon.c send_custom_trap(e->target, NULL, e->operation, pcmk_ok, e->result, 0, desc); target 471 tools/crm_mon_curses.c stonith_action_str(event->action), event->target, target 483 tools/crm_mon_curses.c stonith_action_str(event->action), event->target, target 491 tools/crm_mon_curses.c stonith_action_str(event->action), event->target, target 406 tools/crm_node.c tools_remove_node_cache(const char *node_name, long nodeid, const char *target) target 412 tools/crm_node.c conn = crm_ipc_new(target, 0); target 417 tools/crm_node.c crm_perror(LOG_ERR, "Connection to %s failed", target); target 423 tools/crm_node.c node_name, nodeid, target); target 425 tools/crm_node.c if(pcmk__str_eq(target, T_ATTRD, pcmk__str_casei)) { target 439 tools/crm_node.c cmd = create_request(CRM_OP_RM_NODE_CACHE, NULL, NULL, target, target 449 tools/crm_node.c target, node_name, nodeid, rc); target 89 tools/crm_resource_ban.c pe_node_t *target = n->data; target 91 tools/crm_resource_ban.c rc = cli_resource_ban(out, rsc_id, target->details->uname, move_lifetime, target 330 tools/crm_resource_ban.c pe_node_t *target = n->data; target 332 tools/crm_resource_ban.c rc = cli_resource_clear(rsc_id, target->details->uname, NULL, target 336 tools/stonith_admin.c request_fencing(stonith_t *st, const char *target, const char *command, target 340 tools/stonith_admin.c int rc = pcmk__request_fencing(st, target, command, name, target 357 tools/stonith_admin.c what, target, rc_str, target 374 tools/stonith_admin.c char *target = NULL; target 452 tools/stonith_admin.c target = options.terminate; target 464 tools/stonith_admin.c target = options.reboot_host; target 471 tools/stonith_admin.c target = options.fence_host; target 478 tools/stonith_admin.c target = options.unfence_host; target 484 tools/stonith_admin.c target = options.confirm_host; target 490 tools/stonith_admin.c target = options.last_fenced; target 495 tools/stonith_admin.c target = options.history; target 500 tools/stonith_admin.c target = options.register_level; target 505 tools/stonith_admin.c target = options.unregister_level; target 551 tools/stonith_admin.c rc = pcmk__fence_registered(out, st, target, options.timeout*1000); target 586 tools/stonith_admin.c rc = pcmk__fence_unregister_level(st, target, options.fence_level); target 590 tools/stonith_admin.c rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices); target 602 tools/stonith_admin.c rc = st->cmds->confirm(st, st_opts, target); target 607 tools/stonith_admin.c rc = request_fencing(st, target, "reboot", &error); target 611 tools/stonith_admin.c rc = request_fencing(st, target, "off", &error); target 615 tools/stonith_admin.c rc = request_fencing(st, target, "on", &error); target 619 tools/stonith_admin.c rc = pcmk__fence_last(out, target, options.as_nodeid); target 623 tools/stonith_admin.c rc = pcmk__fence_history(out, st, target, options.timeout*1000, args->verbosity,