target 946 daemons/based/based_callbacks.c const char *target = NULL; target 959 daemons/based/based_callbacks.c target = host; target 962 daemons/based/based_callbacks.c target = "local host"; target 965 daemons/based/based_callbacks.c target = "master"; target 970 daemons/based/based_callbacks.c op, client_name, call_id, originator, target, reply_to); target 973 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 1497 daemons/controld/controld_execd.c const char *target = NULL; target 1500 daemons/controld/controld_execd.c target = crm_element_value(xml, XML_LRM_ATTR_TARGET); target 1502 daemons/controld/controld_execd.c if (target == NULL) { target 1503 daemons/controld/controld_execd.c target = fsa_our_uname; target 1505 daemons/controld/controld_execd.c return target; target 828 daemons/controld/controld_execd_state.c e->action, e->target, target 834 daemons/controld/controld_execd_state.c e->target, e->operation, desc, e->result); 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 455 daemons/controld/controld_fencing.c st_event->target, target 463 daemons/controld/controld_fencing.c st_event->target, target 469 daemons/controld/controld_fencing.c && pcmk__str_eq(st_event->target, fsa_our_uname, pcmk__str_none)) { target 497 daemons/controld/controld_fencing.c st_fail_count_reset(st_event->target); target 499 daemons/controld/controld_fencing.c st_fail_count_increment(st_event->target); target 505 daemons/controld/controld_fencing.c st_event->target, st_event->result == pcmk_ok ? "" : " not", target 513 daemons/controld/controld_fencing.c crm_node_t *peer = pcmk__search_known_node_cache(0, st_event->target, target 526 daemons/controld/controld_fencing.c crm_trace("target=%s dc=%s", st_event->target, fsa_our_dc); target 529 daemons/controld/controld_fencing.c send_stonith_update(NULL, st_event->target, uuid); target 545 daemons/controld/controld_fencing.c crm_info("External fencing operation from %s fenced %s", st_event->client_origin, st_event->target); target 550 daemons/controld/controld_fencing.c } else if (pcmk__str_eq(fsa_our_dc, st_event->target, pcmk__str_null_matches | pcmk__str_casei) target 554 daemons/controld/controld_fencing.c st_event->target, (fsa_our_dc? "was" : "may have been")); target 561 daemons/controld/controld_fencing.c send_stonith_update(NULL, st_event->target, uuid); target 563 daemons/controld/controld_fencing.c add_stonith_cleanup(st_event->target); target 572 daemons/controld/controld_fencing.c remote_ra_fail(st_event->target); target 751 daemons/controld/controld_fencing.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 755 daemons/controld/controld_fencing.c crm_info("Stonith operation %d for %s passed", call_id, target); target 774 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_UNFENCED, now, NULL, target 779 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_ALL, value, NULL, target 783 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_SECURE, value, NULL, target 787 daemons/controld/controld_fencing.c send_stonith_update(action, target, uuid); target 791 daemons/controld/controld_fencing.c st_fail_count_reset(target); target 794 daemons/controld/controld_fencing.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 799 daemons/controld/controld_fencing.c call_id, target, pcmk_strerror(rc)); target 806 daemons/controld/controld_fencing.c target); target 813 daemons/controld/controld_fencing.c st_fail_count_increment(target); target 814 daemons/controld/controld_fencing.c abort_for_stonith_failure(abort_action, target, NULL); target 827 daemons/controld/controld_fencing.c fence_with_delay(const char *target, const char *type, const char *delay) target 834 daemons/controld/controld_fencing.c stonith__set_call_options(options, target, st_opt_allow_suicide); target 837 daemons/controld/controld_fencing.c return stonith_api->cmds->fence_with_delay(stonith_api, options, target, target 847 daemons/controld/controld_fencing.c const char *target = NULL; target 854 daemons/controld/controld_fencing.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 861 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, invalid_action = TRUE); target 872 daemons/controld/controld_fencing.c type, target, id, transition_graph->stonith_timeout, target 879 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 190 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 198 daemons/controld/controld_te_actions.c crm_element_name(action->xml), action->id, task_uuid, target); target 221 daemons/controld/controld_te_actions.c crm_xml_add(state, XML_ATTR_UNAME, target); target 249 daemons/controld/controld_te_actions.c target, __func__, LOG_INFO); target 259 daemons/controld/controld_te_actions.c rc, action->id, task_uuid, target); target 413 daemons/controld/controld_te_actions.c te_update_job_count_on(const char *target, int offset, bool migrate) target 417 daemons/controld/controld_te_actions.c if(target == NULL || te_targets == NULL) { target 421 daemons/controld/controld_te_actions.c r = g_hash_table_lookup(te_targets, target); target 424 daemons/controld/controld_te_actions.c r->name = strdup(target); target 432 daemons/controld/controld_te_actions.c crm_trace("jobs[%s] = %d", target, r->jobs); target 439 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 441 daemons/controld/controld_te_actions.c if (action->type != action_type_rsc || target == NULL) { target 450 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); target 452 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, target 461 daemons/controld/controld_te_actions.c } else if (target == NULL) { target 462 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 465 daemons/controld/controld_te_actions.c te_update_job_count_on(target, offset, FALSE); target 469 daemons/controld/controld_te_actions.c te_should_perform_action_on(crm_graph_t * graph, crm_action_t * action, const char *target) target 476 daemons/controld/controld_te_actions.c if(target == NULL) { target 484 daemons/controld/controld_te_actions.c r = g_hash_table_lookup(te_targets, target); target 485 daemons/controld/controld_te_actions.c limit = throttle_get_job_limit(target); target 489 daemons/controld/controld_te_actions.c r->name = strdup(target); target 495 daemons/controld/controld_te_actions.c target, limit, r->jobs, id); target 501 daemons/controld/controld_te_actions.c target, graph->migration_limit, r->migrate_jobs, id); target 506 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 514 daemons/controld/controld_te_actions.c const char *target = NULL; target 526 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); target 528 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, target 530 daemons/controld/controld_te_actions.c target = crm_meta_value(action->params, XML_LRM_ATTR_MIGRATE_SOURCE); target 531 daemons/controld/controld_te_actions.c if(te_should_perform_action_on(graph, action, target) == FALSE) { target 535 daemons/controld/controld_te_actions.c target = crm_meta_value(action->params, XML_LRM_ATTR_MIGRATE_TARGET); target 537 daemons/controld/controld_te_actions.c } else if (target == NULL) { target 538 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 541 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 124 daemons/fenced/cts-fence-helper.c e->target, e->executioner ? e->executioner : "<none>", target 1446 daemons/fenced/fenced_commands.c free(tp->target); target 1498 daemons/fenced/fenced_commands.c const char *target = crm_element_value(level, XML_ATTR_STONITH_TARGET); target 1500 daemons/fenced/fenced_commands.c if(target == NULL) { target 1502 daemons/fenced/fenced_commands.c target = crm_element_value(level, XML_ATTR_STONITH_TARGET_PATTERN); target 1505 daemons/fenced/fenced_commands.c if(stand_alone == FALSE && target == NULL) { target 1567 daemons/fenced/fenced_commands.c char *target; target 1585 daemons/fenced/fenced_commands.c target = stonith_level_key(level, mode); target 1589 daemons/fenced/fenced_commands.c *desc = crm_strdup_printf("%s[%d]", target, id); target 1594 daemons/fenced/fenced_commands.c crm_trace("Could not add %s[%d] (%d) to the topology (%d active entries)", target, id, mode, g_hash_table_size(topology)); target 1595 daemons/fenced/fenced_commands.c free(target); target 1601 daemons/fenced/fenced_commands.c tp = g_hash_table_lookup(topology, target); target 1605 daemons/fenced/fenced_commands.c tp->target = target; target 1610 daemons/fenced/fenced_commands.c g_hash_table_replace(topology, tp->target, tp); target 1612 daemons/fenced/fenced_commands.c target, mode, g_hash_table_size(topology)); target 1614 daemons/fenced/fenced_commands.c free(target); target 1619 daemons/fenced/fenced_commands.c tp->target, id); target 1626 daemons/fenced/fenced_commands.c crm_trace("Adding device '%s' for %s[%d]", device, tp->target, id); target 1635 daemons/fenced/fenced_commands.c tp->target, nlevels, pcmk__plural_s(nlevels)); target 1645 daemons/fenced/fenced_commands.c char *target; target 1652 daemons/fenced/fenced_commands.c target = stonith_level_key(level, -1); target 1655 daemons/fenced/fenced_commands.c *desc = crm_strdup_printf("%s[%d]", target, id); target 1660 daemons/fenced/fenced_commands.c free(target); target 1664 daemons/fenced/fenced_commands.c tp = g_hash_table_lookup(topology, target); target 1669 daemons/fenced/fenced_commands.c target, nentries, target 1672 daemons/fenced/fenced_commands.c } else if (id == 0 && g_hash_table_remove(topology, target)) { target 1676 daemons/fenced/fenced_commands.c "(%d active %s remaining)", target, nentries, target 1688 daemons/fenced/fenced_commands.c id, target, nlevels, pcmk__plural_s(nlevels)); target 1691 daemons/fenced/fenced_commands.c free(target); target 1831 daemons/fenced/fenced_commands.c const char *target, gboolean allow_suicide) target 1833 daemons/fenced/fenced_commands.c gboolean localhost_is_target = pcmk__str_eq(target, stonith_our_uname, target 1840 daemons/fenced/fenced_commands.c "local host, not %s", action, device->id, target); target 2019 daemons/fenced/fenced_commands.c char *target; target 2035 daemons/fenced/fenced_commands.c stonith_device_t *device, const char *target) target 2062 daemons/fenced/fenced_commands.c delay_base = get_action_delay_base(device, action, target); target 2092 daemons/fenced/fenced_commands.c const char *target, gboolean allow_suicide) target 2094 daemons/fenced/fenced_commands.c if (!localhost_is_eligible(device, action, target, allow_suicide)) { target 2113 daemons/fenced/fenced_commands.c const char *target, gboolean allow_suicide) target 2118 daemons/fenced/fenced_commands.c add_action_specific_attributes(child, action, device, target); target 2119 daemons/fenced/fenced_commands.c add_disallowed(child, action, device, target, allow_suicide); target 2133 daemons/fenced/fenced_commands.c crm_xml_add(list, F_STONITH_TARGET, query->target); target 2163 daemons/fenced/fenced_commands.c add_action_specific_attributes(dev, action, device, query->target); target 2176 daemons/fenced/fenced_commands.c add_disallowed(dev, action, device, query->target, target 2178 daemons/fenced/fenced_commands.c add_action_reply(dev, "off", device, query->target, target 2180 daemons/fenced/fenced_commands.c add_action_reply(dev, "on", device, query->target, FALSE); target 2184 daemons/fenced/fenced_commands.c if (query->target == NULL) { target 2192 daemons/fenced/fenced_commands.c if (query->target) { target 2195 daemons/fenced/fenced_commands.c query->target); target 2210 daemons/fenced/fenced_commands.c free(query->target); target 2222 daemons/fenced/fenced_commands.c const char *target = NULL; target 2230 daemons/fenced/fenced_commands.c target = crm_element_value(dev, F_STONITH_TARGET); target 2244 daemons/fenced/fenced_commands.c query->target = target ? strdup(target) : NULL; target 2248 daemons/fenced/fenced_commands.c get_capable_devices(target, action, timeout, target 2735 daemons/fenced/fenced_commands.c check_alternate_host(const char *target) target 2739 daemons/fenced/fenced_commands.c crm_trace("Checking if we (%s) can fence %s", stonith_our_uname, target); target 2740 daemons/fenced/fenced_commands.c if (find_topology_for_host(target) && pcmk__str_eq(target, stonith_our_uname, pcmk__str_casei)) { target 2746 daemons/fenced/fenced_commands.c crm_trace("Checking for %s.%d != %s", entry->uname, entry->id, target); target 2748 daemons/fenced/fenced_commands.c && !pcmk__str_eq(entry->uname, target, pcmk__str_casei)) { target 2786 daemons/fenced/fenced_commands.c const char *target = NULL; target 2790 daemons/fenced/fenced_commands.c target = crm_element_value(dev, F_STONITH_TARGET); target 2798 daemons/fenced/fenced_commands.c if (relay_op_id && target && pcmk__str_eq(target, stonith_our_uname, pcmk__str_casei)) { target 2821 daemons/fenced/fenced_commands.c relay_op->id, relay_op->action, relay_op->target, target 2822 daemons/fenced/fenced_commands.c relay_op->client_name, op_id, relay_op->action, target, target 2936 daemons/fenced/fenced_commands.c const char *target = crm_element_value(dev, F_STONITH_TARGET); target 2938 daemons/fenced/fenced_commands.c crm_notice("Received manual confirmation that %s is fenced", target); target 2945 daemons/fenced/fenced_commands.c const char *target = crm_element_value(dev, F_STONITH_TARGET); target 2954 daemons/fenced/fenced_commands.c target, (device? device : "any device")); target 2958 daemons/fenced/fenced_commands.c if (stonith_check_fence_tolerance(tolerance, target, action)) { target 2965 daemons/fenced/fenced_commands.c remote_peer, action, target, device ? device : "(any)"); target 2968 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 283 daemons/fenced/fenced_history.c const char *target) target 340 daemons/fenced/fenced_history.c if (!pcmk__str_eq(target, op->target, pcmk__str_null_matches)) { target 350 daemons/fenced/fenced_history.c crm_xml_add(entry, F_STONITH_TARGET, op->target); target 421 daemons/fenced/fenced_history.c stonith_local_history(gboolean add_id, const char *target) target 423 daemons/fenced/fenced_history.c return stonith_local_history_diff_and_merge(NULL, add_id, target); target 444 daemons/fenced/fenced_history.c const char *target = NULL; target 449 daemons/fenced/fenced_history.c target = crm_element_value(dev, F_STONITH_TARGET); target 450 daemons/fenced/fenced_history.c if (target && (options & st_opt_cs_nodeid)) { target 454 daemons/fenced/fenced_history.c pcmk__scan_min_int(target, &nodeid, 0); target 457 daemons/fenced/fenced_history.c target = node->uname; target 463 daemons/fenced/fenced_history.c crm_trace("Cleaning up operations on %s in %p", target, target 466 daemons/fenced/fenced_history.c stonith_fence_history_cleanup(target, target 526 daemons/fenced/fenced_history.c crm_trace("Looking for operations on %s in %p", target, target 528 daemons/fenced/fenced_history.c *output = stonith_local_history(FALSE, target); target 243 daemons/fenced/fenced_remote.c free(op->target); target 296 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->target, op->id); target 318 daemons/fenced/fenced_remote.c op->target, op->client_name, op->id); target 351 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->target, op->client_name, op->id); target 364 daemons/fenced/fenced_remote.c crm_xml_add(notify_data, F_STONITH_TARGET, op->target); target 415 daemons/fenced/fenced_remote.c crm_xml_add(data, F_STONITH_TARGET, op->target); target 512 daemons/fenced/fenced_remote.c op->action, op->target, target 557 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->action, (op->target? " targeting " : ""), target 558 daemons/fenced/fenced_remote.c (op->target? op->target : ""), target 595 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 609 daemons/fenced/fenced_remote.c " id=%.8s", op->action, op->target, op->client_name, op->id); target 624 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 630 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 657 daemons/fenced/fenced_remote.c op->id, op->target); target 660 daemons/fenced/fenced_remote.c op->id, op->target); target 663 daemons/fenced/fenced_remote.c op->id, op->target, stonith_op_state_str(op->state)); target 667 daemons/fenced/fenced_remote.c op->id, op->target, stonith_op_state_str(op->state)); target 761 daemons/fenced/fenced_remote.c CRM_CHECK(node && tp && tp->target, return FALSE); target 771 daemons/fenced/fenced_remote.c crm_notice("Matched %s with %s by attribute", node, tp->target); target 781 daemons/fenced/fenced_remote.c crm_info("Bad regex '%s' for fencing level", tp->target); target 787 daemons/fenced/fenced_remote.c crm_notice("Matched %s with %s by name", node, tp->target); target 793 daemons/fenced/fenced_remote.c crm_trace("Testing %s against %s", node, tp->target); target 794 daemons/fenced/fenced_remote.c return pcmk__str_eq(tp->target, node, pcmk__str_casei); target 796 daemons/fenced/fenced_remote.c crm_trace("No match for %s with %s", node, tp->target); target 807 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); target 814 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); target 839 daemons/fenced/fenced_remote.c if (op->target) { target 840 daemons/fenced/fenced_remote.c tp = find_topology_for_host(op->target); target 861 daemons/fenced/fenced_remote.c op->level, op->target, g_list_length(tp->levels[op->level]), target 883 daemons/fenced/fenced_remote.c op->target, op->client_name, op->originator, op->id); target 912 daemons/fenced/fenced_remote.c if (!pcmk__str_eq(op->target, other->target, pcmk__str_casei)) { target 914 daemons/fenced/fenced_remote.c op->id, other->id, op->target, other->target); target 927 daemons/fenced/fenced_remote.c if (pcmk__str_eq(other->target, other->originator, pcmk__str_casei)) { target 929 daemons/fenced/fenced_remote.c op->id, other->id, other->target); target 935 daemons/fenced/fenced_remote.c other->action, other->target, other->client_name, target 963 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, target 1083 daemons/fenced/fenced_remote.c op->target = crm_element_value_copy(dev, F_STONITH_TARGET); target 1093 daemons/fenced/fenced_remote.c op->target, op->client_name, op->base_timeout, target 1101 daemons/fenced/fenced_remote.c pcmk__scan_min_int(op->target, &nodeid, 0); target 1108 daemons/fenced/fenced_remote.c free(op->target); target 1109 daemons/fenced/fenced_remote.c op->target = strdup(node->uname); target 1112 daemons/fenced/fenced_remote.c crm_warn("Could not expand nodeid '%s' into a host name", op->target); target 1152 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->target, op->id); target 1165 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->action, op->target, op->id); target 1171 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->action, op->target, op->id); target 1177 daemons/fenced/fenced_remote.c op->action, op->target, op->id, target 1185 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_TARGET, op->target); target 1233 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, target 1235 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 1238 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 1271 daemons/fenced/fenced_remote.c op->action, op->target, device); target 1274 daemons/fenced/fenced_remote.c op->action, op->target); target 1285 daemons/fenced/fenced_remote.c crm_trace("Waiting before looking for unverified devices to fence %s", op->target); target 1315 daemons/fenced/fenced_remote.c op->action, op->target, (device? device : "any device")); target 1386 daemons/fenced/fenced_remote.c stonith_topology_t *tp = find_topology_for_host(op->target); target 1521 daemons/fenced/fenced_remote.c op->target, op->client_name, op->originator, rc); target 1532 daemons/fenced/fenced_remote.c op->target); target 1541 daemons/fenced/fenced_remote.c if (node_does_watchdog_fencing(op->target)) { target 1546 daemons/fenced/fenced_remote.c op->target, op->action, op->client_name, op->id); target 1552 daemons/fenced/fenced_remote.c "not in host-list", op->target); target 1564 daemons/fenced/fenced_remote.c op->id, op->target, op->client_name, target 1578 daemons/fenced/fenced_remote.c total_timeout, op->target, op->client_name, op->id); target 1596 daemons/fenced/fenced_remote.c crm_xml_add(remote_op, F_STONITH_TARGET, op->target); target 1610 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, target 1618 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, target 1630 daemons/fenced/fenced_remote.c (pcmk__str_eq(peer->host, op->target, pcmk__str_casei) target 1664 daemons/fenced/fenced_remote.c "after successful 'off'", device, op->target); target 1670 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name); target 1675 daemons/fenced/fenced_remote.c CRM_XS " state=%s", op->action, op->target, op->client_name, target 1697 daemons/fenced/fenced_remote.c op->replies, op->action, op->target, op->client_name, target 1708 daemons/fenced/fenced_remote.c op->replies, op->action, op->target, op->client_name, target 1718 daemons/fenced/fenced_remote.c op->action, op->target, (device? " using " : ""), target 1757 daemons/fenced/fenced_remote.c tp = find_topology_for_host(op->target); target 1773 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 1988 daemons/fenced/fenced_remote.c host_is_target = pcmk__str_eq(host, op->target, pcmk__str_casei); target 1992 daemons/fenced/fenced_remote.c op->target, op->action, ndevices, pcmk__plural_s(ndevices), id); target 2095 daemons/fenced/fenced_remote.c device, (const char *) op->devices->data, op->action, op->target); target 2102 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->originator, target 2116 daemons/fenced/fenced_remote.c op->id, device, op->target); target 2125 daemons/fenced/fenced_remote.c op->action, op->target, device, op->client_name, target 2140 daemons/fenced/fenced_remote.c "after successful 'off'", device, rc, op->target); target 2159 daemons/fenced/fenced_remote.c crm_trace("All done for %s", op->target); target 2174 daemons/fenced/fenced_remote.c crm_trace("Next for %s on behalf of %s@%s (rc was %d)", op->target, op->originator, target 2181 daemons/fenced/fenced_remote.c stonith_check_fence_tolerance(int tolerance, const char *target, const char *action) target 2187 daemons/fenced/fenced_remote.c if (tolerance <= 0 || !stonith_remote_op_list || target == NULL || target 2194 daemons/fenced/fenced_remote.c if (strcmp(rop->target, target) != 0) { target 2208 daemons/fenced/fenced_remote.c target, action, tolerance, rop->delegate, rop->originator); target 488 daemons/fenced/pacemaker-fenced.c char *target = stonith_level_key(match, -1); target 491 daemons/fenced/pacemaker-fenced.c if (target == NULL) { target 495 daemons/fenced/pacemaker-fenced.c crm_err("Invalid level for %s in element %s", target, ID(match)); target 498 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 192 daemons/fenced/pacemaker-fenced.h char *target; target 202 include/crm/cib/internal.h gboolean update_results(xmlNode * failed, xmlNode * target, const char *operation, int return_code); target 200 include/crm/common/internal.h const char *flag_type, const char *target, target 211 include/crm/common/internal.h ((target == NULL)? "target" : target), target 234 include/crm/common/internal.h const char *flag_type, const char *target, target 245 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 67 include/crm/common/xml.h void copy_in_properties(xmlNode * target, xmlNode * src); target 68 include/crm/common/xml.h void expand_plus_plus(xmlNode * target, const char *name, const char *value); target 69 include/crm/common/xml.h void fix_plus_plus_recursive(xmlNode * target); target 283 include/crm/common/xml.h int format, xmlNode *source, xmlNode *target, bool *config, bool manage_version); target 286 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 127 include/crm/stonith-ng.h char *target; target 195 include/pacemaker.h int pcmk_fence_action(stonith_t *st, const char *target, const char *action, target 216 include/pacemaker.h int pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, target 246 include/pacemaker.h int pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid); target 294 include/pacemaker.h int pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, target 312 include/pacemaker.h int pcmk_fence_register_level(stonith_t *st, char *target, int fence_level, target 329 include/pacemaker.h int pcmk_fence_unregister_level(stonith_t *st, char *target, int fence_level); target 34 include/pcmki/pcmki_fence.h int pcmk__fence_action(stonith_t *st, const char *target, const char *action, target 58 include/pcmki/pcmki_fence.h int pcmk__fence_history(pcmk__output_t *out, stonith_t *st, char *target, target 96 include/pcmki/pcmki_fence.h int pcmk__fence_last(pcmk__output_t *out, const char *target, bool as_nodeid); target 156 include/pcmki/pcmki_fence.h int pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, char *target, target 177 include/pcmki/pcmki_fence.h int pcmk__fence_register_level(stonith_t *st, char *target, int fence_level, target 197 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 407 lib/common/acl.c xmlNode *target = NULL; target 418 lib/common/acl.c target = copy_xml(xml); target 419 lib/common/acl.c if (target == NULL) { target 423 lib/common/acl.c pcmk__unpack_acl(acl_source, target, user); target 424 lib/common/acl.c pcmk__set_xml_doc_flag(target, pcmk__xf_acl_enabled); target 425 lib/common/acl.c pcmk__apply_acl(target); target 427 lib/common/acl.c doc = target->doc->_private; target 428 lib/common/acl.c for(aIter = doc->acls; aIter != NULL && target; aIter = aIter->next) { target 437 lib/common/acl.c xmlXPathObjectPtr xpathObj = xpath_search(target, acl->xpath); target 443 lib/common/acl.c if (!purge_xml_attributes(match) && (match == target)) { target 457 lib/common/acl.c if (!purge_xml_attributes(target)) { target 469 lib/common/acl.c free_xml(target); target 470 lib/common/acl.c target = NULL; target 473 lib/common/acl.c if (target) { target 474 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 113 lib/common/crmcommon_private.h void pcmk__xml_update(xmlNode *parent, xmlNode *target, xmlNode *update, target 120 lib/common/crmcommon_private.h void pcmk__xc_update(xmlNode *parent, xmlNode *target, xmlNode *update); target 126 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_strerror(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 1249 lib/common/iso8601.c target->offset += HOUR_SECONDS * h_offset; target 1250 lib/common/iso8601.c target->offset += 60 * m_offset; target 1254 lib/common/iso8601.c crm_time_set_timet(crm_time_t * target, time_t * source) target 1256 lib/common/iso8601.c ha_set_tm_time(target, localtime(source)); target 1262 lib/common/iso8601.c crm_time_t *target = crm_time_new_undefined(); target 1264 lib/common/iso8601.c crm_time_set(target, source); target 1265 lib/common/iso8601.c return target; target 1527 lib/common/iso8601.c ha_get_tm_time( struct tm *target, crm_time_t *source) target 1529 lib/common/iso8601.c *target = (struct tm) { target 1541 lib/common/iso8601.c mktime(target); target 1555 lib/common/iso8601.c pcmk__time_hr_convert(pcmk__time_hr_t *target, crm_time_t *dt) target 1560 lib/common/iso8601.c hr_dt = target?target:calloc(1, sizeof(pcmk__time_hr_t)); target 1576 lib/common/iso8601.c pcmk__time_set_hr_dt(crm_time_t *target, pcmk__time_hr_t *hr_dt) target 1578 lib/common/iso8601.c CRM_ASSERT((hr_dt) && (target)); target 1579 lib/common/iso8601.c *target = (crm_time_t) { target 1590 lib/common/iso8601.c pcmk__time_timeval_hr_convert(pcmk__time_hr_t *target, struct timeval *tv) target 1596 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 2479 lib/common/xml.c pcmk__xc_update(xmlNode *parent, xmlNode *target, xmlNode *update) target 2484 lib/common/xml.c if (target == NULL) { target 2485 lib/common/xml.c target = pcmk__xc_match(parent, update, false); target 2488 lib/common/xml.c if (target == NULL) { target 2491 lib/common/xml.c } else if (!pcmk__str_eq((const char *)target->content, (const char *)update->content, pcmk__str_casei)) { target 2492 lib/common/xml.c xmlFree(target->content); target 2493 lib/common/xml.c target->content = xmlStrdup(update->content); target 2510 lib/common/xml.c pcmk__xml_update(xmlNode *parent, xmlNode *target, xmlNode *update, target 2520 lib/common/xml.c crm_log_xml_trace("target:", target); target 2526 lib/common/xml.c pcmk__xc_update(parent, target, update); target 2540 lib/common/xml.c CRM_CHECK(target != NULL || parent != NULL, return); target 2542 lib/common/xml.c if (target == NULL) { target 2543 lib/common/xml.c target = pcmk__xe_match(parent, object_name, target 2547 lib/common/xml.c if (target == NULL) { target 2548 lib/common/xml.c target = create_xml_node(parent, object_name); target 2549 lib/common/xml.c CRM_CHECK(target != NULL, return); target 2566 lib/common/xml.c CRM_CHECK(pcmk__str_eq(crm_element_name(target), crm_element_name(update), target 2572 lib/common/xml.c copy_in_properties(target, update); target 2581 lib/common/xml.c xmlUnsetProp(target, a->name); target 2582 lib/common/xml.c xmlSetProp(target, a->name, (pcmkXmlStr) p_value); target 2595 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 1024 lib/fencing/st_client.c stonith_api_query(stonith_t * stonith, int call_options, const char *target, target 1037 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_TARGET, target); target 1159 lib/fencing/st_client.c stonith_api_confirm(stonith_t * stonith, int call_options, const char *target) target 1161 lib/fencing/st_client.c stonith__set_call_options(call_options, target, st_opt_manual_ack); target 1162 lib/fencing/st_client.c return stonith_api_fence(stonith, call_options, target, "off", 0, 0); target 1198 lib/fencing/st_client.c kvp->target = crm_element_value_copy(op, F_STONITH_TARGET); target 1228 lib/fencing/st_client.c free(hp->target); target 1814 lib/fencing/st_client.c event->target = crm_element_value_copy(data, F_STONITH_TARGET); target 1839 lib/fencing/st_client.c free(event->target); target 2101 lib/fencing/st_client.c const char *target = "node1"; target 2136 lib/fencing/st_client.c rc = stonith__rhcs_validate(st, call_options, target, agent, target 2143 lib/fencing/st_client.c rc = stonith__lha_validate(st, call_options, target, agent, target 2604 lib/fencing/st_client.c pcmk__str_eq(event->target, prev_hp->target, pcmk__str_casei) && target 278 lib/fencing/st_lha.c stonith__lha_validate(stonith_t *st, int call_options, const char *target, target 50 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 75 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 104 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 132 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 160 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 164 lib/fencing/st_output.c char *buf = crm_strdup_printf("Node %s last fenced at: %s", target, ctime(&when)); target 176 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 180 lib/fencing/st_output.c pcmk__indented_printf(out, "Node %s last fenced at: %s", target, ctime(&when)); target 182 lib/fencing/st_output.c pcmk__indented_printf(out, "Node %s has never been fenced\n", target); target 191 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 198 lib/fencing/st_output.c "target", target, target 221 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 253 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 267 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 280 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 300 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 309 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 317 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 337 lib/fencing/st_output.c "target", event->target, target 246 lib/fencing/st_rhcs.c stonith__rhcs_validate(stonith_t *st, int call_options, const char *target, target 287 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 29 lib/pacemaker/pcmk_fence.c const char *target; target 39 lib/pacemaker/pcmk_fence.c handle_level(stonith_t *st, char *target, int fence_level, target 47 lib/pacemaker/pcmk_fence.c if (target == NULL) { target 53 lib/pacemaker/pcmk_fence.c value = strchr(target, '='); target 55 lib/pacemaker/pcmk_fence.c name = target; target 57 lib/pacemaker/pcmk_fence.c } else if (*target == '@') { target 58 lib/pacemaker/pcmk_fence.c pattern = target + 1; target 60 lib/pacemaker/pcmk_fence.c node = target; target 83 lib/pacemaker/pcmk_fence.c if (pcmk__str_eq(async_fence_data.target, e->target, pcmk__str_casei) && target 116 lib/pacemaker/pcmk_fence.c async_fence_data.target, target 136 lib/pacemaker/pcmk_fence.c pcmk__fence_action(stonith_t *st, const char *target, const char *action, target 144 lib/pacemaker/pcmk_fence.c async_fence_data.target = target; target 164 lib/pacemaker/pcmk_fence.c pcmk_fence_action(stonith_t *st, const char *target, const char *action, target 168 lib/pacemaker/pcmk_fence.c return pcmk__fence_action(st, target, action, name, timeout, tolerance, delay); target 173 lib/pacemaker/pcmk_fence.c pcmk__fence_history(pcmk__output_t *out, stonith_t *st, char *target, target 182 lib/pacemaker/pcmk_fence.c target ? " for node " : "", target ? target : ""); target 188 lib/pacemaker/pcmk_fence.c stonith__set_call_options(opts, target, st_opts); target 190 lib/pacemaker/pcmk_fence.c stonith__set_call_options(opts, target, st_opt_cleanup); target 193 lib/pacemaker/pcmk_fence.c stonith__set_call_options(opts, target, st_opt_broadcast); target 196 lib/pacemaker/pcmk_fence.c pcmk__str_eq(target, "*", pcmk__str_none)? NULL : target, target 238 lib/pacemaker/pcmk_fence.c pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, unsigned int timeout, target 252 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_history(out, st, target, timeout, verbose, broadcast, cleanup); target 299 lib/pacemaker/pcmk_fence.c pcmk__fence_last(pcmk__output_t *out, const char *target, bool as_nodeid) { target 302 lib/pacemaker/pcmk_fence.c if (target == NULL) { target 307 lib/pacemaker/pcmk_fence.c when = stonith_api_time(atol(target), NULL, FALSE); target 309 lib/pacemaker/pcmk_fence.c when = stonith_api_time(0, target, FALSE); target 312 lib/pacemaker/pcmk_fence.c return out->message(out, "last-fenced", target, when); target 317 lib/pacemaker/pcmk_fence.c pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid) { target 328 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_last(out, target, as_nodeid); target 416 lib/pacemaker/pcmk_fence.c pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, char *target, target 421 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); target 443 lib/pacemaker/pcmk_fence.c pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, target 455 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_registered(out, st, target, timeout); target 462 lib/pacemaker/pcmk_fence.c pcmk__fence_register_level(stonith_t *st, char *target, int fence_level, target 464 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, devices, true); target 469 lib/pacemaker/pcmk_fence.c pcmk_fence_register_level(stonith_t *st, char *target, int fence_level, target 471 lib/pacemaker/pcmk_fence.c return pcmk__fence_register_level(st, target, fence_level, devices); target 476 lib/pacemaker/pcmk_fence.c pcmk__fence_unregister_level(stonith_t *st, char *target, int fence_level) { target 477 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, NULL, false); target 482 lib/pacemaker/pcmk_fence.c pcmk_fence_unregister_level(stonith_t *st, char *target, int fence_level) { target 483 lib/pacemaker/pcmk_fence.c return pcmk__fence_unregister_level(st, target, fence_level); target 543 lib/pacemaker/pcmk_fence.c if (pcmk__str_eq(hp->target, np->target, pcmk__str_casei) && target 1150 lib/pacemaker/pcmk_output.c char *target = va_arg(args, char *); target 1157 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Fencing %s (%s)", target, op); target 1165 lib/pacemaker/pcmk_output.c char *target = va_arg(args, char *); target 1173 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 232 lib/pacemaker/pcmk_sched_fencing.c action_list = pe__resource_actions(rsc, target, RSC_DEMOTE, FALSE); target 243 lib/pacemaker/pcmk_sched_fencing.c rsc->id, target->details->uname); target 246 lib/pacemaker/pcmk_sched_fencing.c action->uuid, target->details->uname); target 761 lib/pacemaker/pcmk_sched_transition.c char *target = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET); target 763 lib/pacemaker/pcmk_sched_transition.c out->message(out, "inject-fencing-action", target, op); target 768 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_node = modify_node(fake_cib, target, FALSE); target 777 lib/pacemaker/pcmk_sched_transition.c snprintf(xpath, STATUS_PATH_MAX, "//node_state[@uname='%s']/%s", target, XML_CIB_TAG_LRM); target 781 lib/pacemaker/pcmk_sched_transition.c snprintf(xpath, STATUS_PATH_MAX, "//node_state[@uname='%s']/%s", target, target 791 lib/pacemaker/pcmk_sched_transition.c free(target); target 241 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); target 245 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); target 258 lib/pengine/bundle.c port->target); target 261 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); target 407 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); target 411 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); target 424 lib/pengine/bundle.c port->target); target 427 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); target 575 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); target 583 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); target 593 lib/pengine/bundle.c " --port=%s:%s:%s", port->target, target 596 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --port=%s:%s", port->target, port->source); target 885 lib/pengine/bundle.c const char *target, const char *options, uint32_t flags) target 890 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 2651 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); target 2654 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(source, node->details->uname), return); target 2663 lib/pengine/unpack.c target_node = pe_find_node(data_set->nodes, target); target 2667 lib/pengine/unpack.c migrate_from = find_lrm_op(rsc->id, CRMD_ACTION_MIGRATED, target, target 2673 lib/pengine/unpack.c ID(migrate_from), target, from_status, from_rc); target 2689 lib/pengine/unpack.c pe_rsc_trace(rsc, "Marking active on %s %p %d", target, target_node, target 2696 lib/pengine/unpack.c pe_rsc_trace(rsc, "Marking active on %s %p %d", target, target_node, target 2738 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); target 2741 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(source, node->details->uname), return); target 2749 lib/pengine/unpack.c target_stop = find_lrm_op(rsc->id, CRMD_ACTION_STOP, target, NULL, target 2754 lib/pengine/unpack.c target_migrate_from = find_lrm_op(rsc->id, CRMD_ACTION_MIGRATED, target, target 2763 lib/pengine/unpack.c pe_node_t *target_node = pe_find_node(data_set->nodes, target); target 2805 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); target 2808 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(target, node->details->uname), return); target 2821 lib/pengine/unpack.c source, target, TRUE, data_set); target 3796 lib/pengine/unpack.c pe_node_t *target = pe_find_node(data_set->nodes, migrate_target); target 3797 lib/pengine/unpack.c if (target) { target 3798 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 153 maint/gnulib/lib/regexec.c Idx target, Idx ex_subexp, target 3130 maint/gnulib/lib/regexec.c Idx target, Idx ex_subexp, int type) target 3133 maint/gnulib/lib/regexec.c for (cur_node = target; !re_node_set_contains (dst_nodes, cur_node);) target 271 tools/attrd_updater.c const char *target = pcmk__node_attr_target(attr_node); target 274 tools/attrd_updater.c target == NULL ? attr_node : target, target 429 tools/attrd_updater.c const char *target = pcmk__node_attr_target(attr_node); target 430 tools/attrd_updater.c if (target != NULL) { target 431 tools/attrd_updater.c attr_node = target; target 387 tools/crm_attribute.c const char *target = pcmk__node_attr_target(options.dest_uname); target 389 tools/crm_attribute.c if (target != NULL) { target 391 tools/crm_attribute.c options.dest_uname = g_strdup(target); target 2242 tools/crm_mon.c e->operation, e->origin, e->target, pcmk_strerror(e->result), target 2244 tools/crm_mon.c send_custom_trap(e->target, NULL, e->operation, pcmk_ok, e->result, 0, desc); target 467 tools/crm_mon_curses.c stonith_action_str(event->action), event->target, target 476 tools/crm_mon_curses.c stonith_action_str(event->action), event->target, target 484 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 342 tools/stonith_admin.c char *target = NULL; target 418 tools/stonith_admin.c target = options.terminate; target 430 tools/stonith_admin.c target = options.reboot_host; target 437 tools/stonith_admin.c target = options.fence_host; target 444 tools/stonith_admin.c target = options.unfence_host; target 450 tools/stonith_admin.c target = options.confirm_host; target 456 tools/stonith_admin.c target = options.last_fenced; target 461 tools/stonith_admin.c target = options.history; target 466 tools/stonith_admin.c target = options.register_level; target 471 tools/stonith_admin.c target = options.unregister_level; target 517 tools/stonith_admin.c rc = pcmk__fence_registered(out, st, target, options.timeout*1000); target 552 tools/stonith_admin.c rc = pcmk__fence_unregister_level(st, target, options.fence_level); target 556 tools/stonith_admin.c rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices); target 568 tools/stonith_admin.c rc = st->cmds->confirm(st, st_opts, target); target 573 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "reboot", name, options.timeout*1000, target 578 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "off", name, options.timeout*1000, target 583 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "on", name, options.timeout*1000, target 588 tools/stonith_admin.c rc = pcmk__fence_last(out, target, options.as_nodeid); target 592 tools/stonith_admin.c rc = pcmk__fence_history(out, st, target, options.timeout*1000, args->verbosity,