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 1486 daemons/controld/controld_execd.c const char *target = NULL; target 1489 daemons/controld/controld_execd.c target = crm_element_value(xml, XML_LRM_ATTR_TARGET); target 1491 daemons/controld/controld_execd.c if (target == NULL) { target 1492 daemons/controld/controld_execd.c target = fsa_our_uname; target 1494 daemons/controld/controld_execd.c return target; target 785 daemons/controld/controld_execd_state.c e->action, e->target, target 791 daemons/controld/controld_execd_state.c e->target, e->operation, desc, e->result); target 62 daemons/controld/controld_fencing.c too_many_st_failures(const char *target) target 72 daemons/controld/controld_fencing.c if (target == NULL) { target 78 daemons/controld/controld_fencing.c target = (const char*)key; target 83 daemons/controld/controld_fencing.c value = g_hash_table_lookup(stonith_failures, target); target 92 daemons/controld/controld_fencing.c value->count, target); target 103 daemons/controld/controld_fencing.c st_fail_count_reset(const char *target) target 109 daemons/controld/controld_fencing.c if (target) { target 112 daemons/controld/controld_fencing.c rec = g_hash_table_lookup(stonith_failures, target); target 130 daemons/controld/controld_fencing.c st_fail_count_increment(const char *target) target 138 daemons/controld/controld_fencing.c rec = g_hash_table_lookup(stonith_failures, target); target 148 daemons/controld/controld_fencing.c g_hash_table_insert(stonith_failures, strdup(target), rec); target 171 daemons/controld/controld_fencing.c send_stonith_update(crm_action_t *action, const char *target, const char *uuid) target 185 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, return); target 189 daemons/controld/controld_fencing.c peer = crm_get_peer_full(0, target, CRM_GET_PEER_ANY); target 202 daemons/controld/controld_fencing.c crm_info("Recording uuid '%s' for node '%s'", uuid, target); target 226 daemons/controld/controld_fencing.c crm_debug("Sending fencing update %d for %s", rc, target); target 227 daemons/controld/controld_fencing.c fsa_register_cib_callback(rc, FALSE, strdup(target), cib_fencing_updated); target 248 daemons/controld/controld_fencing.c const char *target, xmlNode *reason) target 253 daemons/controld/controld_fencing.c if ((abort_action != tg_stop) && too_many_st_failures(target)) { target 277 daemons/controld/controld_fencing.c add_stonith_cleanup(const char *target) { target 278 daemons/controld/controld_fencing.c stonith_cleanup_list = g_list_append(stonith_cleanup_list, strdup(target)); target 288 daemons/controld/controld_fencing.c remove_stonith_cleanup(const char *target) target 297 daemons/controld/controld_fencing.c if (pcmk__str_eq(target, iter_name, pcmk__str_casei)) { target 316 daemons/controld/controld_fencing.c char *target = iter->data; target 318 daemons/controld/controld_fencing.c crm_info("Purging %s from stonith cleanup list", target); target 319 daemons/controld/controld_fencing.c free(target); target 336 daemons/controld/controld_fencing.c char *target = iter->data; target 337 daemons/controld/controld_fencing.c crm_node_t *target_node = crm_get_peer(0, target); target 340 daemons/controld/controld_fencing.c crm_notice("Marking %s, target of a previous stonith action, as clean", target); target 341 daemons/controld/controld_fencing.c send_stonith_update(NULL, target, uuid); target 342 daemons/controld/controld_fencing.c free(target); target 454 daemons/controld/controld_fencing.c st_event->target, target 462 daemons/controld/controld_fencing.c st_event->target, target 468 daemons/controld/controld_fencing.c && pcmk__str_eq(st_event->target, fsa_our_uname, pcmk__str_none)) { target 496 daemons/controld/controld_fencing.c st_fail_count_reset(st_event->target); target 498 daemons/controld/controld_fencing.c st_fail_count_increment(st_event->target); target 504 daemons/controld/controld_fencing.c st_event->target, st_event->result == pcmk_ok ? "" : " not", target 512 daemons/controld/controld_fencing.c crm_node_t *peer = pcmk__search_known_node_cache(0, st_event->target, target 525 daemons/controld/controld_fencing.c crm_trace("target=%s dc=%s", st_event->target, fsa_our_dc); target 528 daemons/controld/controld_fencing.c send_stonith_update(NULL, st_event->target, uuid); target 544 daemons/controld/controld_fencing.c crm_info("External fencing operation from %s fenced %s", st_event->client_origin, st_event->target); target 549 daemons/controld/controld_fencing.c } else if (pcmk__str_eq(fsa_our_dc, st_event->target, pcmk__str_null_matches | pcmk__str_casei) target 553 daemons/controld/controld_fencing.c st_event->target, (fsa_our_dc? "was" : "may have been")); target 560 daemons/controld/controld_fencing.c send_stonith_update(NULL, st_event->target, uuid); target 562 daemons/controld/controld_fencing.c add_stonith_cleanup(st_event->target); target 571 daemons/controld/controld_fencing.c remote_ra_fail(st_event->target); target 750 daemons/controld/controld_fencing.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 754 daemons/controld/controld_fencing.c crm_info("Stonith operation %d for %s passed", call_id, target); target 761 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_UNFENCED, now, NULL, FALSE); target 765 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_ALL, value, NULL, FALSE); target 768 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_SECURE, value, NULL, FALSE); target 771 daemons/controld/controld_fencing.c send_stonith_update(action, target, uuid); target 775 daemons/controld/controld_fencing.c st_fail_count_reset(target); target 778 daemons/controld/controld_fencing.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 783 daemons/controld/controld_fencing.c call_id, target, pcmk_strerror(rc)); target 790 daemons/controld/controld_fencing.c target); target 797 daemons/controld/controld_fencing.c st_fail_count_increment(target); target 798 daemons/controld/controld_fencing.c abort_for_stonith_failure(abort_action, target, NULL); target 811 daemons/controld/controld_fencing.c fence_with_delay(const char *target, const char *type, const char *delay) target 818 daemons/controld/controld_fencing.c stonith__set_call_options(options, target, st_opt_allow_suicide); target 821 daemons/controld/controld_fencing.c return stonith_api->cmds->fence_with_delay(stonith_api, options, target, target 831 daemons/controld/controld_fencing.c const char *target = NULL; target 838 daemons/controld/controld_fencing.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 845 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, invalid_action = TRUE); target 856 daemons/controld/controld_fencing.c type, target, id, transition_graph->stonith_timeout, target 863 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 29 daemons/controld/controld_fencing.h void add_stonith_cleanup(const char *target); target 30 daemons/controld/controld_fencing.h void remove_stonith_cleanup(const char *target); target 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 251 daemons/controld/controld_te_actions.c target, __func__, LOG_INFO); target 261 daemons/controld/controld_te_actions.c rc, action->id, task_uuid, target); target 415 daemons/controld/controld_te_actions.c te_update_job_count_on(const char *target, int offset, bool migrate) target 419 daemons/controld/controld_te_actions.c if(target == NULL || te_targets == NULL) { target 423 daemons/controld/controld_te_actions.c r = g_hash_table_lookup(te_targets, target); target 426 daemons/controld/controld_te_actions.c r->name = strdup(target); target 434 daemons/controld/controld_te_actions.c crm_trace("jobs[%s] = %d", target, r->jobs); target 441 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 443 daemons/controld/controld_te_actions.c if (action->type != action_type_rsc || target == NULL) { target 452 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); target 454 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, target 463 daemons/controld/controld_te_actions.c } else if (target == NULL) { target 464 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 467 daemons/controld/controld_te_actions.c te_update_job_count_on(target, offset, FALSE); target 471 daemons/controld/controld_te_actions.c te_should_perform_action_on(crm_graph_t * graph, crm_action_t * action, const char *target) target 478 daemons/controld/controld_te_actions.c if(target == NULL) { target 486 daemons/controld/controld_te_actions.c r = g_hash_table_lookup(te_targets, target); target 487 daemons/controld/controld_te_actions.c limit = throttle_get_job_limit(target); target 491 daemons/controld/controld_te_actions.c r->name = strdup(target); target 497 daemons/controld/controld_te_actions.c target, limit, r->jobs, id); target 503 daemons/controld/controld_te_actions.c target, graph->migration_limit, r->migrate_jobs, id); target 508 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 516 daemons/controld/controld_te_actions.c const char *target = NULL; target 528 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); target 530 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, target 532 daemons/controld/controld_te_actions.c target = crm_meta_value(action->params, XML_LRM_ATTR_MIGRATE_SOURCE); target 533 daemons/controld/controld_te_actions.c if(te_should_perform_action_on(graph, action, target) == FALSE) { target 537 daemons/controld/controld_te_actions.c target = crm_meta_value(action->params, XML_LRM_ATTR_MIGRATE_TARGET); target 539 daemons/controld/controld_te_actions.c } else if (target == NULL) { target 540 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 543 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 1312 daemons/fenced/fenced_commands.c free(tp->target); target 1364 daemons/fenced/fenced_commands.c const char *target = crm_element_value(level, XML_ATTR_STONITH_TARGET); target 1366 daemons/fenced/fenced_commands.c if(target == NULL) { target 1368 daemons/fenced/fenced_commands.c target = crm_element_value(level, XML_ATTR_STONITH_TARGET_PATTERN); target 1371 daemons/fenced/fenced_commands.c if(stand_alone == FALSE && target == NULL) { target 1433 daemons/fenced/fenced_commands.c char *target; target 1451 daemons/fenced/fenced_commands.c target = stonith_level_key(level, mode); target 1455 daemons/fenced/fenced_commands.c *desc = crm_strdup_printf("%s[%d]", target, id); target 1460 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 1461 daemons/fenced/fenced_commands.c free(target); target 1467 daemons/fenced/fenced_commands.c tp = g_hash_table_lookup(topology, target); target 1471 daemons/fenced/fenced_commands.c tp->target = target; target 1476 daemons/fenced/fenced_commands.c g_hash_table_replace(topology, tp->target, tp); target 1478 daemons/fenced/fenced_commands.c target, mode, g_hash_table_size(topology)); target 1480 daemons/fenced/fenced_commands.c free(target); target 1485 daemons/fenced/fenced_commands.c tp->target, id); target 1492 daemons/fenced/fenced_commands.c crm_trace("Adding device '%s' for %s[%d]", device, tp->target, id); target 1501 daemons/fenced/fenced_commands.c tp->target, nlevels, pcmk__plural_s(nlevels)); target 1511 daemons/fenced/fenced_commands.c char *target; target 1518 daemons/fenced/fenced_commands.c target = stonith_level_key(level, -1); target 1521 daemons/fenced/fenced_commands.c *desc = crm_strdup_printf("%s[%d]", target, id); target 1526 daemons/fenced/fenced_commands.c free(target); target 1530 daemons/fenced/fenced_commands.c tp = g_hash_table_lookup(topology, target); target 1535 daemons/fenced/fenced_commands.c target, nentries, target 1538 daemons/fenced/fenced_commands.c } else if (id == 0 && g_hash_table_remove(topology, target)) { target 1542 daemons/fenced/fenced_commands.c "(%d active %s remaining)", target, nentries, target 1554 daemons/fenced/fenced_commands.c id, target, nlevels, pcmk__plural_s(nlevels)); target 1557 daemons/fenced/fenced_commands.c free(target); target 1651 daemons/fenced/fenced_commands.c const char *target, gboolean allow_suicide) target 1653 daemons/fenced/fenced_commands.c gboolean localhost_is_target = pcmk__str_eq(target, stonith_our_uname, target 1660 daemons/fenced/fenced_commands.c "local host, not %s", action, device->id, target); target 1855 daemons/fenced/fenced_commands.c char *target; target 1927 daemons/fenced/fenced_commands.c const char *target, gboolean allow_suicide) target 1929 daemons/fenced/fenced_commands.c if (!localhost_is_eligible(device, action, target, allow_suicide)) { target 1948 daemons/fenced/fenced_commands.c const char *target, gboolean allow_suicide) target 1954 daemons/fenced/fenced_commands.c add_disallowed(child, action, device, target, allow_suicide); target 1968 daemons/fenced/fenced_commands.c crm_xml_add(list, F_STONITH_TARGET, query->target); target 2011 daemons/fenced/fenced_commands.c add_disallowed(dev, action, device, query->target, target 2013 daemons/fenced/fenced_commands.c add_action_reply(dev, "off", device, query->target, target 2015 daemons/fenced/fenced_commands.c add_action_reply(dev, "on", device, query->target, FALSE); target 2019 daemons/fenced/fenced_commands.c if (query->target == NULL) { target 2027 daemons/fenced/fenced_commands.c if (query->target) { target 2030 daemons/fenced/fenced_commands.c query->target); target 2045 daemons/fenced/fenced_commands.c free(query->target); target 2057 daemons/fenced/fenced_commands.c const char *target = NULL; target 2065 daemons/fenced/fenced_commands.c target = crm_element_value(dev, F_STONITH_TARGET); target 2079 daemons/fenced/fenced_commands.c query->target = target ? strdup(target) : NULL; target 2083 daemons/fenced/fenced_commands.c get_capable_devices(target, action, timeout, target 2517 daemons/fenced/fenced_commands.c check_alternate_host(const char *target) target 2521 daemons/fenced/fenced_commands.c crm_trace("Checking if we (%s) can fence %s", stonith_our_uname, target); target 2522 daemons/fenced/fenced_commands.c if (find_topology_for_host(target) && pcmk__str_eq(target, stonith_our_uname, pcmk__str_casei)) { target 2528 daemons/fenced/fenced_commands.c crm_trace("Checking for %s.%d != %s", entry->uname, entry->id, target); target 2530 daemons/fenced/fenced_commands.c && !pcmk__str_eq(entry->uname, target, pcmk__str_casei)) { target 2568 daemons/fenced/fenced_commands.c const char *target = NULL; target 2572 daemons/fenced/fenced_commands.c target = crm_element_value(dev, F_STONITH_TARGET); target 2580 daemons/fenced/fenced_commands.c if (relay_op_id && target && pcmk__str_eq(target, stonith_our_uname, pcmk__str_casei)) { target 2603 daemons/fenced/fenced_commands.c relay_op->id, relay_op->action, relay_op->target, target 2604 daemons/fenced/fenced_commands.c relay_op->client_name, op_id, relay_op->action, target, target 2718 daemons/fenced/fenced_commands.c const char *target = crm_element_value(dev, F_STONITH_TARGET); target 2720 daemons/fenced/fenced_commands.c crm_notice("Received manual confirmation that %s is fenced", target); target 2727 daemons/fenced/fenced_commands.c const char *target = crm_element_value(dev, F_STONITH_TARGET); target 2736 daemons/fenced/fenced_commands.c target, (device? device : "any device")); target 2740 daemons/fenced/fenced_commands.c if (stonith_check_fence_tolerance(tolerance, target, action)) { target 2747 daemons/fenced/fenced_commands.c remote_peer, action, target, device ? device : "(any)"); target 2750 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 244 daemons/fenced/fenced_history.c op->target = crm_element_value_copy(xml_op, F_STONITH_TARGET); target 276 daemons/fenced/fenced_history.c const char *target) target 333 daemons/fenced/fenced_history.c if (!pcmk__str_eq(target, op->target, pcmk__str_null_matches)) { target 343 daemons/fenced/fenced_history.c crm_xml_add(entry, F_STONITH_TARGET, op->target); target 413 daemons/fenced/fenced_history.c stonith_local_history(gboolean add_id, const char *target) target 415 daemons/fenced/fenced_history.c return stonith_local_history_diff_and_merge(NULL, add_id, target); target 436 daemons/fenced/fenced_history.c const char *target = NULL; target 441 daemons/fenced/fenced_history.c target = crm_element_value(dev, F_STONITH_TARGET); target 442 daemons/fenced/fenced_history.c if (target && (options & st_opt_cs_nodeid)) { target 446 daemons/fenced/fenced_history.c pcmk__scan_min_int(target, &nodeid, 0); target 449 daemons/fenced/fenced_history.c target = node->uname; target 455 daemons/fenced/fenced_history.c crm_trace("Cleaning up operations on %s in %p", target, target 458 daemons/fenced/fenced_history.c stonith_fence_history_cleanup(target, target 518 daemons/fenced/fenced_history.c crm_trace("Looking for operations on %s in %p", target, target 520 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 500 daemons/fenced/fenced_remote.c op->action, op->target, target 545 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->action, (op->target? " targeting " : ""), target 546 daemons/fenced/fenced_remote.c (op->target? op->target : ""), target 583 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 597 daemons/fenced/fenced_remote.c " id=%.8s", op->action, op->target, op->client_name, op->id); target 612 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 618 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 644 daemons/fenced/fenced_remote.c op->id, op->target); target 647 daemons/fenced/fenced_remote.c op->id, op->target); target 650 daemons/fenced/fenced_remote.c op->id, op->target, stonith_op_state_str(op->state)); target 654 daemons/fenced/fenced_remote.c op->id, op->target, stonith_op_state_str(op->state)); target 748 daemons/fenced/fenced_remote.c CRM_CHECK(node && tp && tp->target, return FALSE); target 758 daemons/fenced/fenced_remote.c crm_notice("Matched %s with %s by attribute", node, tp->target); target 768 daemons/fenced/fenced_remote.c crm_info("Bad regex '%s' for fencing level", tp->target); target 774 daemons/fenced/fenced_remote.c crm_notice("Matched %s with %s by name", node, tp->target); target 780 daemons/fenced/fenced_remote.c crm_trace("Testing %s against %s", node, tp->target); target 781 daemons/fenced/fenced_remote.c return pcmk__str_eq(tp->target, node, pcmk__str_casei); target 783 daemons/fenced/fenced_remote.c crm_trace("No match for %s with %s", node, tp->target); target 794 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); target 801 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); target 826 daemons/fenced/fenced_remote.c if (op->target) { target 827 daemons/fenced/fenced_remote.c tp = find_topology_for_host(op->target); target 848 daemons/fenced/fenced_remote.c op->level, op->target, g_list_length(tp->levels[op->level]), target 870 daemons/fenced/fenced_remote.c op->target, op->client_name, op->originator, op->id); target 899 daemons/fenced/fenced_remote.c if (!pcmk__str_eq(op->target, other->target, pcmk__str_casei)) { target 901 daemons/fenced/fenced_remote.c op->id, other->id, op->target, other->target); target 914 daemons/fenced/fenced_remote.c if (pcmk__str_eq(other->target, other->originator, pcmk__str_casei)) { target 916 daemons/fenced/fenced_remote.c op->id, other->id, other->target); target 922 daemons/fenced/fenced_remote.c other->action, other->target, other->client_name, target 950 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, target 1070 daemons/fenced/fenced_remote.c op->target = crm_element_value_copy(dev, F_STONITH_TARGET); target 1080 daemons/fenced/fenced_remote.c op->target, op->client_name, op->base_timeout, target 1088 daemons/fenced/fenced_remote.c pcmk__scan_min_int(op->target, &nodeid, 0); target 1095 daemons/fenced/fenced_remote.c free(op->target); target 1096 daemons/fenced/fenced_remote.c op->target = strdup(node->uname); target 1099 daemons/fenced/fenced_remote.c crm_warn("Could not expand nodeid '%s' into a host name", op->target); target 1139 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->target, op->id); target 1152 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->action, op->target, op->id); target 1158 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->action, op->target, op->id); target 1164 daemons/fenced/fenced_remote.c op->action, op->target, op->id, target 1172 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_TARGET, op->target); target 1220 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, target 1222 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 1225 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 1258 daemons/fenced/fenced_remote.c op->action, op->target, device); target 1261 daemons/fenced/fenced_remote.c op->action, op->target); target 1272 daemons/fenced/fenced_remote.c crm_trace("Waiting before looking for unverified devices to fence %s", op->target); target 1302 daemons/fenced/fenced_remote.c op->action, op->target, (device? device : "any device")); target 1373 daemons/fenced/fenced_remote.c stonith_topology_t *tp = find_topology_for_host(op->target); target 1508 daemons/fenced/fenced_remote.c op->target, op->client_name, op->originator, rc); target 1519 daemons/fenced/fenced_remote.c op->target); target 1532 daemons/fenced/fenced_remote.c op->id, op->target, op->client_name, target 1546 daemons/fenced/fenced_remote.c total_timeout, op->target, op->client_name, op->id); target 1564 daemons/fenced/fenced_remote.c crm_xml_add(remote_op, F_STONITH_TARGET, op->target); target 1578 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, target 1586 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, target 1598 daemons/fenced/fenced_remote.c op->target, op->action, op->client_name, op->id); target 1603 daemons/fenced/fenced_remote.c && pcmk__str_eq(peer->host, op->target, pcmk__str_casei) target 1607 daemons/fenced/fenced_remote.c op->target, op->action, op->client_name, op->id); target 1625 daemons/fenced/fenced_remote.c "after successful 'off'", device, op->target); target 1631 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name); target 1636 daemons/fenced/fenced_remote.c CRM_XS " state=%s", op->action, op->target, op->client_name, target 1651 daemons/fenced/fenced_remote.c op->target, op->action, op->client_name, op->id); target 1659 daemons/fenced/fenced_remote.c op->replies, op->action, op->target, op->client_name, target 1670 daemons/fenced/fenced_remote.c op->replies, op->action, op->target, op->client_name, target 1680 daemons/fenced/fenced_remote.c op->action, op->target, (device? " using " : ""), target 1719 daemons/fenced/fenced_remote.c tp = find_topology_for_host(op->target); target 1735 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 1950 daemons/fenced/fenced_remote.c host_is_target = pcmk__str_eq(host, op->target, pcmk__str_casei); target 1954 daemons/fenced/fenced_remote.c op->target, op->action, ndevices, pcmk__plural_s(ndevices), id); target 2057 daemons/fenced/fenced_remote.c device, (const char *) op->devices->data, op->action, op->target); target 2064 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->originator, target 2078 daemons/fenced/fenced_remote.c op->id, device, op->target); target 2087 daemons/fenced/fenced_remote.c op->action, op->target, device, op->client_name, target 2102 daemons/fenced/fenced_remote.c "after successful 'off'", device, rc, op->target); target 2121 daemons/fenced/fenced_remote.c crm_trace("All done for %s", op->target); target 2136 daemons/fenced/fenced_remote.c crm_trace("Next for %s on behalf of %s@%s (rc was %d)", op->target, op->originator, target 2143 daemons/fenced/fenced_remote.c stonith_check_fence_tolerance(int tolerance, const char *target, const char *action) target 2149 daemons/fenced/fenced_remote.c if (tolerance <= 0 || !stonith_remote_op_list || target == NULL || target 2156 daemons/fenced/fenced_remote.c if (strcmp(rop->target, target) != 0) { target 2170 daemons/fenced/fenced_remote.c target, action, tolerance, rop->delegate, rop->originator); target 487 daemons/fenced/pacemaker-fenced.c char *target = stonith_level_key(match, -1); target 490 daemons/fenced/pacemaker-fenced.c if (target == NULL) { target 494 daemons/fenced/pacemaker-fenced.c crm_err("Invalid level for %s in element %s", target, ID(match)); target 497 daemons/fenced/pacemaker-fenced.c topology_remove_helper(target, index); target 21 daemons/fenced/pacemaker-fenced.h gboolean stonith_check_fence_tolerance(int tolerance, const char *target, const char *action); target 81 daemons/fenced/pacemaker-fenced.h char *target; target 196 daemons/fenced/pacemaker-fenced.h char *target; target 203 include/crm/cib/internal.h gboolean update_results(xmlNode * failed, xmlNode * target, const char *operation, int return_code); target 197 include/crm/common/internal.h const char *flag_type, const char *target, target 208 include/crm/common/internal.h ((target == NULL)? "target" : target), target 231 include/crm/common/internal.h const char *flag_type, const char *target, target 242 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 278 include/crm/common/xml.h int format, xmlNode *source, xmlNode *target, bool *config, bool manage_version); target 281 include/crm/common/xml.h void patchset_process_digest(xmlNode *patch, xmlNode *source, xmlNode *target, bool with_digest); target 174 include/crm/fencing/internal.h int stonith__lha_validate(stonith_t *st, int call_options, const char *target, target 183 include/crm/fencing/internal.h int stonith__rhcs_validate(stonith_t *st, int call_options, const char *target, target 28 include/crm/lrmd_internal.h const char *target, const char *task, target 99 include/crm/stonith-ng.h char *target; target 120 include/crm/stonith-ng.h char *target; target 104 include/pacemaker.h int pcmk_fence_action(stonith_t *st, const char *target, const char *action, target 125 include/pacemaker.h int pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, target 155 include/pacemaker.h int pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid); target 203 include/pacemaker.h int pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, target 221 include/pacemaker.h int pcmk_fence_register_level(stonith_t *st, char *target, int fence_level, target 238 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 909 lib/cluster/cpg.c char *target = NULL; target 955 lib/cluster/cpg.c target = strdup(node->uname); target 960 lib/cluster/cpg.c target = crm_strdup_printf("%u", node->id); target 964 lib/cluster/cpg.c target = strdup("all"); target 1015 lib/cluster/cpg.c msg->id, target, (unsigned long long) iov->iov_len, target 1019 lib/cluster/cpg.c msg->id, target, (unsigned long long) iov->iov_len, target 1022 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, xpf_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 1193 lib/common/iso8601.c crm_time_set(crm_time_t * target, crm_time_t * source) target 1195 lib/common/iso8601.c crm_trace("target=%p, source=%p", target, source); target 1197 lib/common/iso8601.c CRM_CHECK(target != NULL && source != NULL, return); target 1199 lib/common/iso8601.c target->years = source->years; target 1200 lib/common/iso8601.c target->days = source->days; target 1201 lib/common/iso8601.c target->months = source->months; /* Only for durations */ target 1202 lib/common/iso8601.c target->seconds = source->seconds; target 1203 lib/common/iso8601.c target->offset = source->offset; target 1207 lib/common/iso8601.c crm_time_log(LOG_TRACE, "target", target, target 1212 lib/common/iso8601.c ha_set_tm_time(crm_time_t * target, struct tm *source) target 1218 lib/common/iso8601.c target->years = 0; target 1219 lib/common/iso8601.c target->months = 0; target 1220 lib/common/iso8601.c target->days = 0; target 1221 lib/common/iso8601.c target->seconds = 0; target 1222 lib/common/iso8601.c target->offset = 0; target 1223 lib/common/iso8601.c target->duration = FALSE; target 1227 lib/common/iso8601.c target->years = 1900 + source->tm_year; target 1232 lib/common/iso8601.c target->days = 1 + source->tm_yday; target 1236 lib/common/iso8601.c target->seconds += HOUR_SECONDS * source->tm_hour; target 1239 lib/common/iso8601.c target->seconds += 60 * source->tm_min; target 1242 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 292 lib/common/patchset.c xml_create_patchset_v1(xmlNode *source, xmlNode *target, bool config, target 295 lib/common/patchset.c xmlNode *patchset = diff_xml_object(source, target, suppress); target 298 lib/common/patchset.c CRM_LOG_ASSERT(xml_document_dirty(target)); target 299 lib/common/patchset.c xml_repair_v1_diff(source, target, patchset, config); target 306 lib/common/patchset.c xml_create_patchset_v2(xmlNode *source, xmlNode *target) target 321 lib/common/patchset.c CRM_ASSERT(target); target 322 lib/common/patchset.c if (!xml_document_dirty(target)) { target 326 lib/common/patchset.c CRM_ASSERT(target->doc); target 327 lib/common/patchset.c doc = target->doc->_private; target 346 lib/common/patchset.c const char *value = crm_element_value(target, vfields[lpc]); target 365 lib/common/patchset.c add_xml_changes_to_patchset(target, patchset); target 370 lib/common/patchset.c xml_create_patchset(int format, xmlNode *source, xmlNode *target, target 378 lib/common/patchset.c xml_acl_disable(target); target 379 lib/common/patchset.c if (!xml_document_dirty(target)) { target 384 lib/common/patchset.c config = is_config_change(target); target 391 lib/common/patchset.c crm_xml_add(target, XML_ATTR_NUMUPDATES, "0"); target 393 lib/common/patchset.c crm_element_value_int(target, XML_ATTR_GENERATION, &counter); target 394 lib/common/patchset.c crm_xml_add_int(target, XML_ATTR_GENERATION, counter+1); target 397 lib/common/patchset.c crm_element_value_int(target, XML_ATTR_NUMUPDATES, &counter); target 400 lib/common/patchset.c crm_xml_add_int(target, XML_ATTR_NUMUPDATES, (counter + 1)); target 414 lib/common/patchset.c patch = xml_create_patchset_v1(source, target, config, FALSE); target 417 lib/common/patchset.c patch = xml_create_patchset_v2(source, target); target 427 lib/common/patchset.c patchset_process_digest(xmlNode *patch, xmlNode *source, xmlNode *target, target 434 lib/common/patchset.c if ((patch == NULL) || (source == NULL) || (target == NULL)) { target 441 lib/common/patchset.c CRM_LOG_ASSERT(!xml_document_dirty(target)); target 449 lib/common/patchset.c digest = calculate_xml_versioned_digest(target, FALSE, TRUE, version); target 645 lib/common/patchset.c process_v1_removals(xmlNode *target, xmlNode *patch) target 654 lib/common/patchset.c if ((target == NULL) || (patch == NULL)) { target 658 lib/common/patchset.c if (target->type == XML_COMMENT_NODE) { target 661 lib/common/patchset.c subtract_xml_comment(target->parent, target, patch, &dummy); target 664 lib/common/patchset.c name = crm_element_name(target); target 666 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(crm_element_name(target), crm_element_name(patch), target 669 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(ID(target), ID(patch), pcmk__str_casei), return); target 672 lib/common/patchset.c id = crm_element_value_copy(target, XML_ATTR_ID); target 676 lib/common/patchset.c free_xml(target); target 685 lib/common/patchset.c cIter = pcmk__xml_first_child(target); target 698 lib/common/patchset.c process_v1_additions(xmlNode *parent, xmlNode *target, xmlNode *patch) target 710 lib/common/patchset.c } else if ((parent == NULL) && (target == NULL)) { target 716 lib/common/patchset.c if ((target == NULL) && (value != NULL) target 724 lib/common/patchset.c } else if (target == NULL) { target 731 lib/common/patchset.c if (target->type == XML_COMMENT_NODE) { target 732 lib/common/patchset.c pcmk__xc_update(parent, target, patch); target 735 lib/common/patchset.c name = crm_element_name(target); target 737 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(crm_element_name(target), crm_element_name(patch), target 740 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(ID(target), ID(patch), pcmk__str_casei), return); target 747 lib/common/patchset.c xml_remove_prop(target, p_name); // Preserve patch order target 748 lib/common/patchset.c crm_xml_add(target, p_name, p_value); target 755 lib/common/patchset.c target_child = pcmk__xml_match(target, patch_child, false); target 756 lib/common/patchset.c process_v1_additions(target, target_child, patch_child); target 1028 lib/common/patchset.c xmlNode *target = (xmlNode *) top->doc; target 1074 lib/common/patchset.c target = first_matching_xml_child(target, tag, NULL, target 1078 lib/common/patchset.c target = first_matching_xml_child(target, tag, id, target 1083 lib/common/patchset.c target = NULL; target 1090 lib/common/patchset.c } while ((rc == 2) && target); target 1092 lib/common/patchset.c if (target) { target 1094 lib/common/patchset.c (path = (char *) xmlGetNodePath(target)), key); target 1104 lib/common/patchset.c return target; target 521 lib/common/xml.c copy_in_properties(xmlNode * target, xmlNode * src) target 526 lib/common/xml.c } else if (target == NULL) { target 534 lib/common/xml.c expand_plus_plus(target, p_name, p_value); target 542 lib/common/xml.c fix_plus_plus_recursive(xmlNode * target) target 547 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(target); a != NULL; a = a->next) { target 551 lib/common/xml.c expand_plus_plus(target, p_name, p_value); target 553 lib/common/xml.c for (child = pcmk__xml_first_child(target); child != NULL; target 560 lib/common/xml.c expand_plus_plus(xmlNode * target, const char *name, const char *value) target 573 lib/common/xml.c old_value = crm_element_value(target, name); target 608 lib/common/xml.c crm_xml_add_int(target, name, int_value); target 616 lib/common/xml.c crm_xml_add(target, name, value); target 2480 lib/common/xml.c pcmk__xc_update(xmlNode *parent, xmlNode *target, xmlNode *update) target 2485 lib/common/xml.c if (target == NULL) { target 2486 lib/common/xml.c target = pcmk__xc_match(parent, update, false); target 2489 lib/common/xml.c if (target == NULL) { target 2492 lib/common/xml.c } else if (!pcmk__str_eq((const char *)target->content, (const char *)update->content, pcmk__str_casei)) { target 2493 lib/common/xml.c xmlFree(target->content); target 2494 lib/common/xml.c target->content = xmlStrdup(update->content); target 2511 lib/common/xml.c pcmk__xml_update(xmlNode *parent, xmlNode *target, xmlNode *update, target 2521 lib/common/xml.c crm_log_xml_trace("target:", target); target 2527 lib/common/xml.c pcmk__xc_update(parent, target, update); target 2541 lib/common/xml.c CRM_CHECK(target != NULL || parent != NULL, return); target 2543 lib/common/xml.c if (target == NULL) { target 2544 lib/common/xml.c target = pcmk__xe_match(parent, object_name, target 2548 lib/common/xml.c if (target == NULL) { target 2549 lib/common/xml.c target = create_xml_node(parent, object_name); target 2550 lib/common/xml.c CRM_CHECK(target != NULL, return); target 2567 lib/common/xml.c CRM_CHECK(pcmk__str_eq(crm_element_name(target), crm_element_name(update), target 2573 lib/common/xml.c copy_in_properties(target, update); target 2582 lib/common/xml.c xmlUnsetProp(target, a->name); target 2583 lib/common/xml.c xmlSetProp(target, a->name, (pcmkXmlStr) p_value); target 2596 lib/common/xml.c pcmk__xml_update(target, NULL, a_child, as_diff); target 962 lib/fencing/st_client.c stonith_api_query(stonith_t * stonith, int call_options, const char *target, target 975 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_TARGET, target); target 1097 lib/fencing/st_client.c stonith_api_confirm(stonith_t * stonith, int call_options, const char *target) target 1099 lib/fencing/st_client.c stonith__set_call_options(call_options, target, st_opt_manual_ack); target 1100 lib/fencing/st_client.c return stonith_api_fence(stonith, call_options, target, "off", 0, 0); target 1135 lib/fencing/st_client.c kvp->target = crm_element_value_copy(op, F_STONITH_TARGET); target 1163 lib/fencing/st_client.c free(hp->target); target 1749 lib/fencing/st_client.c event->target = crm_element_value_copy(data, F_STONITH_TARGET); target 1774 lib/fencing/st_client.c free(event->target); target 2036 lib/fencing/st_client.c const char *target = "node1"; target 2071 lib/fencing/st_client.c rc = stonith__rhcs_validate(st, call_options, target, agent, target 2078 lib/fencing/st_client.c rc = stonith__lha_validate(st, call_options, target, agent, target 2539 lib/fencing/st_client.c pcmk__str_eq(event->target, prev_hp->target, pcmk__str_casei) && target 276 lib/fencing/st_lha.c stonith__lha_validate(stonith_t *st, int call_options, const char *target, target 48 lib/fencing/st_output.c if (!pcmk__str_in_list(only_node, hp->target)) { target 72 lib/fencing/st_output.c if (!pcmk__str_in_list(only_node, hp->target)) { target 99 lib/fencing/st_output.c if (!pcmk__str_in_list(only_node, hp->target)) { target 125 lib/fencing/st_output.c if (!pcmk__str_in_list(only_node, hp->target)) { target 152 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 156 lib/fencing/st_output.c char *buf = crm_strdup_printf("Node %s last fenced at: %s", target, ctime(&when)); target 168 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 172 lib/fencing/st_output.c pcmk__indented_printf(out, "Node %s last fenced at: %s", target, ctime(&when)); target 174 lib/fencing/st_output.c pcmk__indented_printf(out, "Node %s has never been fenced\n", target); target 183 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 190 lib/fencing/st_output.c "target", target, target 212 lib/fencing/st_output.c if (!pcmk__str_in_list(only_node, hp->target)) { target 243 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 257 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 290 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 299 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 307 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 327 lib/fencing/st_output.c "target", event->target, target 244 lib/fencing/st_rhcs.c stonith__rhcs_validate(stonith_t *st, int call_options, const char *target, target 285 lib/fencing/st_rhcs.c target, 0, remaining_timeout, params, target 312 lib/lrmd/lrmd_alerts.c const char *target, const char *task, const char *desc, target 322 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 1116 lib/pacemaker/pcmk_output.c char *target = va_arg(args, char *); target 1123 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Fencing %s (%s)", target, op); target 1131 lib/pacemaker/pcmk_output.c char *target = va_arg(args, char *); target 1139 lib/pacemaker/pcmk_output.c "target", target, target 2907 lib/pacemaker/pcmk_sched_native.c pe_node_t *target; target 2911 lib/pacemaker/pcmk_sched_native.c target = stonith_op->node; target 2927 lib/pacemaker/pcmk_sched_native.c && pe_hash_table_lookup(rsc->allowed_nodes, target->details->id) target 2928 lib/pacemaker/pcmk_sched_native.c && !rsc_is_known_on(rsc, target)) { target 2940 lib/pacemaker/pcmk_sched_native.c target->details->uname); target 2958 lib/pacemaker/pcmk_sched_native.c pe_node_t *target; target 2961 lib/pacemaker/pcmk_sched_native.c target = stonith_op->node; target 2964 lib/pacemaker/pcmk_sched_native.c action_list = pe__resource_actions(rsc, target, RSC_STOP, FALSE); target 2973 lib/pacemaker/pcmk_sched_native.c || pe__is_guest_node(target)) { target 3014 lib/pacemaker/pcmk_sched_native.c target->details->uname); target 3018 lib/pacemaker/pcmk_sched_native.c target->details->uname); target 3080 lib/pacemaker/pcmk_sched_native.c action_list = pe__resource_actions(rsc, target, RSC_DEMOTE, FALSE); target 3091 lib/pacemaker/pcmk_sched_native.c rsc->id, target->details->uname); target 3094 lib/pacemaker/pcmk_sched_native.c action->uuid, target->details->uname); target 763 lib/pacemaker/pcmk_sched_transition.c char *target = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET); target 765 lib/pacemaker/pcmk_sched_transition.c out->message(out, "inject-fencing-action", target, op); target 770 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_node = modify_node(fake_cib, target, FALSE); target 779 lib/pacemaker/pcmk_sched_transition.c snprintf(xpath, STATUS_PATH_MAX, "//node_state[@uname='%s']/%s", target, XML_CIB_TAG_LRM); target 783 lib/pacemaker/pcmk_sched_transition.c snprintf(xpath, STATUS_PATH_MAX, "//node_state[@uname='%s']/%s", target, target 793 lib/pacemaker/pcmk_sched_transition.c free(target); target 240 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); target 244 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); target 257 lib/pengine/bundle.c port->target); target 260 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); target 406 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); target 410 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); target 423 lib/pengine/bundle.c port->target); target 426 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); target 574 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); target 582 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); target 592 lib/pengine/bundle.c " --port=%s:%s:%s", port->target, target 595 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --port=%s:%s", port->target, port->source); target 891 lib/pengine/bundle.c const char *target, const char *options, uint32_t flags) target 896 lib/pengine/bundle.c mount->target = strdup(target); target 908 lib/pengine/bundle.c free(mount->target); target 917 lib/pengine/bundle.c free(port->target); target 1098 lib/pengine/bundle.c port->target = crm_element_value_copy(xml_child, "internal-port"); target 1102 lib/pengine/bundle.c if(port->target == NULL) { target 1103 lib/pengine/bundle.c port->target = strdup(port->source); target 1119 lib/pengine/bundle.c const char *target = crm_element_value(xml_child, "target-dir"); target 1129 lib/pengine/bundle.c if (source && target) { target 1130 lib/pengine/bundle.c mount_add(bundle_data, source, target, options, flags); target 1131 lib/pengine/bundle.c if (strcmp(target, "/var/log") == 0) { target 1254 lib/pengine/bundle.c port->target = strdup(port->source); target 2654 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); target 2657 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(source, node->details->uname), return); target 2666 lib/pengine/unpack.c target_node = pe_find_node(data_set->nodes, target); target 2670 lib/pengine/unpack.c migrate_from = find_lrm_op(rsc->id, CRMD_ACTION_MIGRATED, target, target 2676 lib/pengine/unpack.c ID(migrate_from), target, from_status, from_rc); target 2692 lib/pengine/unpack.c pe_rsc_trace(rsc, "Marking active on %s %p %d", target, target_node, target 2699 lib/pengine/unpack.c pe_rsc_trace(rsc, "Marking active on %s %p %d", target, target_node, target 2741 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); target 2744 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(source, node->details->uname), return); target 2752 lib/pengine/unpack.c target_stop = find_lrm_op(rsc->id, CRMD_ACTION_STOP, target, NULL, target 2757 lib/pengine/unpack.c target_migrate_from = find_lrm_op(rsc->id, CRMD_ACTION_MIGRATED, target, target 2766 lib/pengine/unpack.c pe_node_t *target_node = pe_find_node(data_set->nodes, target); target 2808 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); target 2811 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(target, node->details->uname), return); target 2824 lib/pengine/unpack.c source, target, TRUE, data_set); target 3799 lib/pengine/unpack.c pe_node_t *target = pe_find_node(data_set->nodes, migrate_target); target 3800 lib/pengine/unpack.c if (target) { target 3801 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 574 lib/services/dbus.c char *target; // Name of DBus bus that query should be sent to target 583 lib/services/dbus.c free(data->target); target 694 lib/services/dbus.c pcmk_dbus_get_property(DBusConnection *connection, const char *target, target 703 lib/services/dbus.c CRM_CHECK((connection != NULL) && (target != NULL) && (obj != NULL) target 707 lib/services/dbus.c target, obj, name); target 710 lib/services/dbus.c msg = dbus_message_new_method_call(target, obj, BUS_PROPERTY_IFACE, "Get"); target 736 lib/services/dbus.c query_data->target = strdup(target); target 741 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 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 2302 tools/crm_mon.c e->operation, e->origin, e->target, pcmk_strerror(e->result), target 2304 tools/crm_mon.c send_custom_trap(e->target, NULL, e->operation, pcmk_ok, e->result, 0, desc); target 447 tools/crm_mon_curses.c stonith_action_str(event->action), event->target, target 456 tools/crm_mon_curses.c stonith_action_str(event->action), event->target, target 464 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,