target 929 daemons/based/based_callbacks.c const char *target = NULL; target 942 daemons/based/based_callbacks.c target = host; target 945 daemons/based/based_callbacks.c target = "local host"; target 948 daemons/based/based_callbacks.c target = "master"; target 953 daemons/based/based_callbacks.c op, client_name, call_id, originator, target, reply_to); target 956 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 1489 daemons/controld/controld_execd.c const char *target = NULL; target 1492 daemons/controld/controld_execd.c target = crm_element_value(xml, XML_LRM_ATTR_TARGET); target 1494 daemons/controld/controld_execd.c if (target == NULL) { target 1495 daemons/controld/controld_execd.c target = fsa_our_uname; target 1497 daemons/controld/controld_execd.c return target; target 800 daemons/controld/controld_execd_state.c e->action, e->target, target 806 daemons/controld/controld_execd_state.c e->target, e->operation, desc, e->result); target 64 daemons/controld/controld_fencing.c too_many_st_failures(const char *target) target 74 daemons/controld/controld_fencing.c if (target == NULL) { target 80 daemons/controld/controld_fencing.c target = (const char*)key; target 85 daemons/controld/controld_fencing.c value = g_hash_table_lookup(stonith_failures, target); target 94 daemons/controld/controld_fencing.c value->count, target); target 105 daemons/controld/controld_fencing.c st_fail_count_reset(const char *target) target 111 daemons/controld/controld_fencing.c if (target) { target 114 daemons/controld/controld_fencing.c rec = g_hash_table_lookup(stonith_failures, target); target 132 daemons/controld/controld_fencing.c st_fail_count_increment(const char *target) target 140 daemons/controld/controld_fencing.c rec = g_hash_table_lookup(stonith_failures, target); target 150 daemons/controld/controld_fencing.c g_hash_table_insert(stonith_failures, strdup(target), rec); target 173 daemons/controld/controld_fencing.c send_stonith_update(crm_action_t *action, const char *target, const char *uuid) target 187 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, return); target 191 daemons/controld/controld_fencing.c peer = crm_get_peer_full(0, target, CRM_GET_PEER_ANY); target 204 daemons/controld/controld_fencing.c crm_info("Recording uuid '%s' for node '%s'", uuid, target); target 228 daemons/controld/controld_fencing.c crm_debug("Sending fencing update %d for %s", rc, target); target 229 daemons/controld/controld_fencing.c fsa_register_cib_callback(rc, FALSE, strdup(target), cib_fencing_updated); target 250 daemons/controld/controld_fencing.c const char *target, xmlNode *reason) target 255 daemons/controld/controld_fencing.c if ((abort_action != tg_stop) && too_many_st_failures(target)) { target 279 daemons/controld/controld_fencing.c add_stonith_cleanup(const char *target) { target 280 daemons/controld/controld_fencing.c stonith_cleanup_list = g_list_append(stonith_cleanup_list, strdup(target)); target 290 daemons/controld/controld_fencing.c remove_stonith_cleanup(const char *target) target 299 daemons/controld/controld_fencing.c if (pcmk__str_eq(target, iter_name, pcmk__str_casei)) { target 318 daemons/controld/controld_fencing.c char *target = iter->data; target 320 daemons/controld/controld_fencing.c crm_info("Purging %s from stonith cleanup list", target); target 321 daemons/controld/controld_fencing.c free(target); target 338 daemons/controld/controld_fencing.c char *target = iter->data; target 339 daemons/controld/controld_fencing.c crm_node_t *target_node = crm_get_peer(0, target); target 342 daemons/controld/controld_fencing.c crm_notice("Marking %s, target of a previous stonith action, as clean", target); target 343 daemons/controld/controld_fencing.c send_stonith_update(NULL, target, uuid); target 344 daemons/controld/controld_fencing.c free(target); target 456 daemons/controld/controld_fencing.c st_event->target, target 464 daemons/controld/controld_fencing.c st_event->target, target 470 daemons/controld/controld_fencing.c && pcmk__str_eq(st_event->target, fsa_our_uname, pcmk__str_none)) { target 498 daemons/controld/controld_fencing.c st_fail_count_reset(st_event->target); target 500 daemons/controld/controld_fencing.c st_fail_count_increment(st_event->target); target 506 daemons/controld/controld_fencing.c st_event->target, st_event->result == pcmk_ok ? "" : " not", target 514 daemons/controld/controld_fencing.c crm_node_t *peer = crm_find_known_peer_full(0, st_event->target, CRM_GET_PEER_ANY); 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 762 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_UNFENCED, now, NULL, FALSE); target 766 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_ALL, value, NULL, FALSE); target 769 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_SECURE, value, NULL, FALSE); target 772 daemons/controld/controld_fencing.c send_stonith_update(action, target, uuid); target 776 daemons/controld/controld_fencing.c st_fail_count_reset(target); target 779 daemons/controld/controld_fencing.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 784 daemons/controld/controld_fencing.c call_id, target, pcmk_strerror(rc)); target 791 daemons/controld/controld_fencing.c target); target 798 daemons/controld/controld_fencing.c st_fail_count_increment(target); target 799 daemons/controld/controld_fencing.c abort_for_stonith_failure(abort_action, target, NULL); target 812 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 820 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 23 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 123 daemons/fenced/cts-fence-helper.c e->target, e->executioner ? e->executioner : "<none>", target 1265 daemons/fenced/fenced_commands.c free(tp->target); target 1318 daemons/fenced/fenced_commands.c const char *target = crm_element_value(level, XML_ATTR_STONITH_TARGET); target 1320 daemons/fenced/fenced_commands.c if(target == NULL) { target 1322 daemons/fenced/fenced_commands.c target = crm_element_value(level, XML_ATTR_STONITH_TARGET_PATTERN); target 1325 daemons/fenced/fenced_commands.c if(stand_alone == FALSE && target == NULL) { target 1387 daemons/fenced/fenced_commands.c char *target; target 1405 daemons/fenced/fenced_commands.c target = stonith_level_key(level, mode); target 1409 daemons/fenced/fenced_commands.c *desc = crm_strdup_printf("%s[%d]", target, id); target 1414 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 1415 daemons/fenced/fenced_commands.c free(target); target 1421 daemons/fenced/fenced_commands.c tp = g_hash_table_lookup(topology, target); target 1425 daemons/fenced/fenced_commands.c tp->target = target; target 1430 daemons/fenced/fenced_commands.c g_hash_table_replace(topology, tp->target, tp); target 1432 daemons/fenced/fenced_commands.c target, mode, g_hash_table_size(topology)); target 1434 daemons/fenced/fenced_commands.c free(target); target 1439 daemons/fenced/fenced_commands.c tp->target, id); target 1446 daemons/fenced/fenced_commands.c crm_trace("Adding device '%s' for %s[%d]", device, tp->target, id); target 1452 daemons/fenced/fenced_commands.c tp->target, count_active_levels(tp)); target 1461 daemons/fenced/fenced_commands.c char *target; target 1468 daemons/fenced/fenced_commands.c target = stonith_level_key(level, -1); target 1471 daemons/fenced/fenced_commands.c *desc = crm_strdup_printf("%s[%d]", target, id); target 1476 daemons/fenced/fenced_commands.c free(target); target 1480 daemons/fenced/fenced_commands.c tp = g_hash_table_lookup(topology, target); target 1483 daemons/fenced/fenced_commands.c target, g_hash_table_size(topology)); target 1485 daemons/fenced/fenced_commands.c } else if (id == 0 && g_hash_table_remove(topology, target)) { target 1487 daemons/fenced/fenced_commands.c target, g_hash_table_size(topology)); target 1494 daemons/fenced/fenced_commands.c id, target, count_active_levels(tp)); target 1497 daemons/fenced/fenced_commands.c free(target); target 1589 daemons/fenced/fenced_commands.c const char *target, gboolean allow_suicide) target 1591 daemons/fenced/fenced_commands.c gboolean localhost_is_target = pcmk__str_eq(target, stonith_our_uname, target 1598 daemons/fenced/fenced_commands.c action, device->id, target); target 1791 daemons/fenced/fenced_commands.c char *target; target 1863 daemons/fenced/fenced_commands.c const char *target, gboolean allow_suicide) target 1865 daemons/fenced/fenced_commands.c if (!localhost_is_eligible(device, action, target, allow_suicide)) { target 1884 daemons/fenced/fenced_commands.c const char *target, gboolean allow_suicide) target 1890 daemons/fenced/fenced_commands.c add_disallowed(child, action, device, target, allow_suicide); target 1904 daemons/fenced/fenced_commands.c crm_xml_add(list, F_STONITH_TARGET, query->target); target 1947 daemons/fenced/fenced_commands.c add_disallowed(dev, action, device, query->target, target 1949 daemons/fenced/fenced_commands.c add_action_reply(dev, "off", device, query->target, target 1951 daemons/fenced/fenced_commands.c add_action_reply(dev, "on", device, query->target, FALSE); target 1955 daemons/fenced/fenced_commands.c if (query->target == NULL) { target 1963 daemons/fenced/fenced_commands.c if (query->target) { target 1964 daemons/fenced/fenced_commands.c crm_debug("Found %d matching devices for '%s'", available_devices, query->target); target 1978 daemons/fenced/fenced_commands.c free(query->target); target 1990 daemons/fenced/fenced_commands.c const char *target = NULL; target 1998 daemons/fenced/fenced_commands.c target = crm_element_value(dev, F_STONITH_TARGET); target 2012 daemons/fenced/fenced_commands.c query->target = target ? strdup(target) : NULL; target 2016 daemons/fenced/fenced_commands.c get_capable_devices(target, action, timeout, target 2444 daemons/fenced/fenced_commands.c check_alternate_host(const char *target) target 2448 daemons/fenced/fenced_commands.c crm_trace("Checking if we (%s) can fence %s", stonith_our_uname, target); target 2449 daemons/fenced/fenced_commands.c if (find_topology_for_host(target) && pcmk__str_eq(target, stonith_our_uname, pcmk__str_casei)) { target 2455 daemons/fenced/fenced_commands.c crm_trace("Checking for %s.%d != %s", entry->uname, entry->id, target); target 2457 daemons/fenced/fenced_commands.c && !pcmk__str_eq(entry->uname, target, pcmk__str_casei)) { target 2494 daemons/fenced/fenced_commands.c const char *target = NULL; target 2498 daemons/fenced/fenced_commands.c target = crm_element_value(dev, F_STONITH_TARGET); target 2506 daemons/fenced/fenced_commands.c if (relay_op_id && target && pcmk__str_eq(target, stonith_our_uname, pcmk__str_casei)) { target 2528 daemons/fenced/fenced_commands.c relay_op->id, relay_op->action, relay_op->target, relay_op->client_name, target 2529 daemons/fenced/fenced_commands.c op_id, relay_op->action, target, client_name); target 2645 daemons/fenced/fenced_commands.c const char *target = crm_element_value(dev, F_STONITH_TARGET); target 2647 daemons/fenced/fenced_commands.c crm_notice("Received manual confirmation that %s is fenced", target); target 2654 daemons/fenced/fenced_commands.c const char *target = crm_element_value(dev, F_STONITH_TARGET); target 2662 daemons/fenced/fenced_commands.c client->name, client->id, action, target, device ? device : "(any)"); target 2666 daemons/fenced/fenced_commands.c if (stonith_check_fence_tolerance(tolerance, target, action)) { target 2673 daemons/fenced/fenced_commands.c remote_peer, action, target, device ? device : "(any)"); target 2676 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 296 daemons/fenced/fenced_history.c if (!pcmk__str_eq(target, op->target, pcmk__str_null_matches)) { target 306 daemons/fenced/fenced_history.c crm_xml_add(entry, F_STONITH_TARGET, op->target); target 404 daemons/fenced/fenced_history.c const char *target = NULL; target 409 daemons/fenced/fenced_history.c target = crm_element_value(dev, F_STONITH_TARGET); target 410 daemons/fenced/fenced_history.c if (target && (options & st_opt_cs_nodeid)) { target 411 daemons/fenced/fenced_history.c int nodeid = crm_atoi(target, NULL); target 415 daemons/fenced/fenced_history.c target = node->uname; target 421 daemons/fenced/fenced_history.c crm_trace("Cleaning up operations on %s in %p", target, target 424 daemons/fenced/fenced_history.c stonith_fence_history_cleanup(target, target 485 daemons/fenced/fenced_history.c crm_trace("Looking for operations on %s in %p", target, target 487 daemons/fenced/fenced_history.c *output = stonith_local_history_diff(NULL, FALSE, target); target 236 daemons/fenced/fenced_remote.c crm_trace("Free'ing op %s for %s", op->id, op->target); target 244 daemons/fenced/fenced_remote.c free(op->target); target 297 daemons/fenced/fenced_remote.c op->target, op->id); target 319 daemons/fenced/fenced_remote.c op->target, op->client_name, op->id); target 352 daemons/fenced/fenced_remote.c op->target, op->client_name, op->id); target 365 daemons/fenced/fenced_remote.c crm_xml_add(notify_data, F_STONITH_TARGET, op->target); target 416 daemons/fenced/fenced_remote.c crm_xml_add(data, F_STONITH_TARGET, op->target); target 498 daemons/fenced/fenced_remote.c op->action, op->target, target 543 daemons/fenced/fenced_remote.c op->action, (op->target? " targeting " : ""), target 544 daemons/fenced/fenced_remote.c (op->target? op->target : ""), target 580 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 594 daemons/fenced/fenced_remote.c " id=%s", op->action, op->target, op->client_name, op->id); target 609 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 615 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 641 daemons/fenced/fenced_remote.c op->id, op->target); target 644 daemons/fenced/fenced_remote.c op->id, op->target); target 647 daemons/fenced/fenced_remote.c op->id, op->target, op->state); target 651 daemons/fenced/fenced_remote.c op->id, op->target, op->state); target 745 daemons/fenced/fenced_remote.c CRM_CHECK(node && tp && tp->target, return FALSE); target 755 daemons/fenced/fenced_remote.c crm_notice("Matched %s with %s by attribute", node, tp->target); target 765 daemons/fenced/fenced_remote.c crm_info("Bad regex '%s' for fencing level", tp->target); target 771 daemons/fenced/fenced_remote.c crm_notice("Matched %s with %s by name", node, tp->target); target 777 daemons/fenced/fenced_remote.c crm_trace("Testing %s against %s", node, tp->target); target 778 daemons/fenced/fenced_remote.c return pcmk__str_eq(tp->target, node, pcmk__str_casei); target 780 daemons/fenced/fenced_remote.c crm_trace("No match for %s with %s", node, tp->target); target 791 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); target 798 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); target 823 daemons/fenced/fenced_remote.c if (op->target) { target 824 daemons/fenced/fenced_remote.c tp = find_topology_for_host(op->target); target 845 daemons/fenced/fenced_remote.c op->level, op->target, g_list_length(tp->levels[op->level]), target 866 daemons/fenced/fenced_remote.c op->target, op->client_name, op->originator, op->id); target 891 daemons/fenced/fenced_remote.c } else if (!pcmk__str_eq(op->target, other->target, pcmk__str_casei)) { target 901 daemons/fenced/fenced_remote.c } else if (pcmk__str_eq(other->target, other->originator, pcmk__str_casei)) { target 902 daemons/fenced/fenced_remote.c crm_trace("Can't be a suicide operation: %s", other->target); target 910 daemons/fenced/fenced_remote.c other->action, other->target, other->client_name, other->originator, other->id); target 917 daemons/fenced/fenced_remote.c other->action, other->target, other->client_name, other->originator, other->id, target 933 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id, target 1053 daemons/fenced/fenced_remote.c op->target = crm_element_value_copy(dev, F_STONITH_TARGET); target 1062 daemons/fenced/fenced_remote.c op->target, op->client_name); target 1065 daemons/fenced/fenced_remote.c int nodeid = crm_atoi(op->target, NULL); target 1072 daemons/fenced/fenced_remote.c free(op->target); target 1073 daemons/fenced/fenced_remote.c op->target = strdup(node->uname); target 1076 daemons/fenced/fenced_remote.c crm_warn("Could not expand nodeid '%s' into a host name", op->target); target 1116 daemons/fenced/fenced_remote.c op->target, op->id); target 1129 daemons/fenced/fenced_remote.c CRM_XS " id=%s", op->action, op->target, op->id); target 1135 daemons/fenced/fenced_remote.c CRM_XS " id=%s", op->action, op->target, op->id); target 1141 daemons/fenced/fenced_remote.c op->action, op->target, op->id, op->state); target 1148 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_TARGET, op->target); target 1196 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, peer->tried, options); target 1197 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 1200 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 1233 daemons/fenced/fenced_remote.c op->action, op->target, device); target 1236 daemons/fenced/fenced_remote.c op->action, op->target); target 1247 daemons/fenced/fenced_remote.c crm_trace("Waiting before looking for unverified devices to fence %s", op->target); target 1277 daemons/fenced/fenced_remote.c op->action, op->target, (device? device : "any device")); target 1348 daemons/fenced/fenced_remote.c stonith_topology_t *tp = find_topology_for_host(op->target); target 1482 daemons/fenced/fenced_remote.c op->target, op->originator, op->client_name, rc); target 1493 daemons/fenced/fenced_remote.c op->target); target 1505 daemons/fenced/fenced_remote.c crm_trace("State for %s.%.8s: %s %d", op->target, op->client_name, op->id, op->state); target 1518 daemons/fenced/fenced_remote.c total_timeout, op->target, op->client_name, op->id); target 1536 daemons/fenced/fenced_remote.c crm_xml_add(remote_op, F_STONITH_TARGET, op->target); target 1550 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, target 1559 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, target 1571 daemons/fenced/fenced_remote.c stonith_watchdog_timeout_ms/1000, op->target, op->action, target 1577 daemons/fenced/fenced_remote.c && pcmk__str_eq(peer->host, op->target, pcmk__str_casei) target 1580 daemons/fenced/fenced_remote.c stonith_watchdog_timeout_ms/1000, op->target, op->action, target 1599 daemons/fenced/fenced_remote.c "after successful 'off'", device, op->target); target 1605 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name); target 1611 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->state); target 1624 daemons/fenced/fenced_remote.c stonith_watchdog_timeout_ms/1000, op->target, target 1634 daemons/fenced/fenced_remote.c op->replies, op->action, op->target, op->client_name, target 1645 daemons/fenced/fenced_remote.c op->replies, op->action, op->target, op->client_name, target 1655 daemons/fenced/fenced_remote.c op->action, op->target, (device? " with " : ""), target 1694 daemons/fenced/fenced_remote.c tp = find_topology_for_host(op->target); target 1710 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 1925 daemons/fenced/fenced_remote.c host_is_target = pcmk__str_eq(host, op->target, pcmk__str_casei); target 1929 daemons/fenced/fenced_remote.c op->target, op->action, ndevices, id); target 2029 daemons/fenced/fenced_remote.c device, (const char *) op->devices->data, op->action, op->target); target 2035 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id, op->originator, target 2049 daemons/fenced/fenced_remote.c stonith_our_uname, device, op->target); target 2058 daemons/fenced/fenced_remote.c op->action, op->target, device, op->client_name, target 2073 daemons/fenced/fenced_remote.c "after successful 'off'", device, rc, op->target); target 2092 daemons/fenced/fenced_remote.c crm_trace("All done for %s", op->target); target 2107 daemons/fenced/fenced_remote.c crm_trace("Next for %s on behalf of %s@%s (rc was %d)", op->target, op->originator, target 2114 daemons/fenced/fenced_remote.c stonith_check_fence_tolerance(int tolerance, const char *target, const char *action) target 2123 daemons/fenced/fenced_remote.c if (tolerance <= 0 || !stonith_remote_op_list || target == NULL || target 2130 daemons/fenced/fenced_remote.c if (strcmp(rop->target, target) != 0) { target 2144 daemons/fenced/fenced_remote.c target, action, tolerance, rop->delegate, rop->originator); target 478 daemons/fenced/pacemaker-fenced.c char *target = stonith_level_key(match, -1); target 481 daemons/fenced/pacemaker-fenced.c if (target == NULL) { target 485 daemons/fenced/pacemaker-fenced.c crm_err("Invalid level for %s in element %s", target, ID(match)); target 488 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 79 daemons/fenced/pacemaker-fenced.h char *target; target 194 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 233 include/crm/common/internal.h const char *flag_type, const char *target, target 244 include/crm/common/internal.h ((target == NULL)? "target" : target), target 267 include/crm/common/internal.h const char *flag_type, const char *target, target 278 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 183 include/crm/fencing/internal.h int stonith__lha_validate(stonith_t *st, int call_options, const char *target, target 192 include/crm/fencing/internal.h int stonith__rhcs_validate(stonith_t *st, int call_options, const char *target, target 27 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 44 include/pacemaker.h int pcmk_fence_action(stonith_t *st, const char *target, const char *action, target 65 include/pacemaker.h int pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, target 95 include/pacemaker.h int pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid); target 143 include/pacemaker.h int pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, target 161 include/pacemaker.h int pcmk_fence_register_level(stonith_t *st, char *target, int fence_level, target 178 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 655 lib/cluster/cpg.c char *target = NULL; target 701 lib/cluster/cpg.c target = strdup(node->uname); target 706 lib/cluster/cpg.c target = crm_strdup_printf("%u", node->id); target 710 lib/cluster/cpg.c target = strdup("all"); target 761 lib/cluster/cpg.c msg->id, target, (unsigned long long) iov->iov_len, target 765 lib/cluster/cpg.c msg->id, target, (unsigned long long) iov->iov_len, target 768 lib/cluster/cpg.c free(target); target 302 lib/common/acl.c pcmk__unpack_acl(xmlNode *source, xmlNode *target, const char *user) target 307 lib/common/acl.c if ((target == NULL) || (target->doc == NULL) target 308 lib/common/acl.c || (target->doc->_private == NULL)) { target 312 lib/common/acl.c p = target->doc->_private; target 423 lib/common/acl.c xmlNode *target = NULL; target 434 lib/common/acl.c target = copy_xml(xml); target 435 lib/common/acl.c if (target == NULL) { target 439 lib/common/acl.c pcmk__unpack_acl(acl_source, target, user); target 440 lib/common/acl.c pcmk__set_xml_doc_flag(target, xpf_acl_enabled); target 441 lib/common/acl.c pcmk__apply_acl(target); target 443 lib/common/acl.c doc = target->doc->_private; target 444 lib/common/acl.c for(aIter = doc->acls; aIter != NULL && target; aIter = aIter->next) { target 453 lib/common/acl.c xmlXPathObjectPtr xpathObj = xpath_search(target, acl->xpath); target 459 lib/common/acl.c if (!purge_xml_attributes(match) && (match == target)) { target 473 lib/common/acl.c if (!purge_xml_attributes(target)) { target 485 lib/common/acl.c free_xml(target); target 486 lib/common/acl.c target = NULL; target 489 lib/common/acl.c if (target) { target 490 lib/common/acl.c *result = target; target 293 lib/common/attrd_client.c const char *target = getenv(target_var); target 297 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 351 lib/common/io.c const char *target = NULL; target 359 lib/common/io.c target = full_file; target 363 lib/common/io.c crm_notice("%s not found: %s", target, pcmk_strerror(errno)); target 366 lib/common/io.c target = NULL; target 370 lib/common/io.c target, (unsigned long) buf.st_mode); target 377 lib/common/io.c if (target == NULL) { target 378 lib/common/io.c target = dir; target 391 lib/common/io.c if (!pcmk__daemon_user_can_write(target, &buf) target 392 lib/common/io.c && !pcmk__daemon_group_can_write(target, &buf)) { target 396 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 297 lib/common/patchset.c xml_create_patchset_v1(xmlNode *source, xmlNode *target, bool config, target 300 lib/common/patchset.c xmlNode *patchset = diff_xml_object(source, target, suppress); target 303 lib/common/patchset.c CRM_LOG_ASSERT(xml_document_dirty(target)); target 304 lib/common/patchset.c xml_repair_v1_diff(source, target, patchset, config); target 311 lib/common/patchset.c xml_create_patchset_v2(xmlNode *source, xmlNode *target) target 326 lib/common/patchset.c CRM_ASSERT(target); target 327 lib/common/patchset.c if (!xml_document_dirty(target)) { target 331 lib/common/patchset.c CRM_ASSERT(target->doc); target 332 lib/common/patchset.c doc = target->doc->_private; target 351 lib/common/patchset.c const char *value = crm_element_value(target, vfields[lpc]); target 370 lib/common/patchset.c add_xml_changes_to_patchset(target, patchset); target 375 lib/common/patchset.c xml_create_patchset(int format, xmlNode *source, xmlNode *target, target 383 lib/common/patchset.c xml_acl_disable(target); target 384 lib/common/patchset.c if (!xml_document_dirty(target)) { target 389 lib/common/patchset.c config = is_config_change(target); target 396 lib/common/patchset.c crm_xml_add(target, XML_ATTR_NUMUPDATES, "0"); target 398 lib/common/patchset.c crm_element_value_int(target, XML_ATTR_GENERATION, &counter); target 399 lib/common/patchset.c crm_xml_add_int(target, XML_ATTR_GENERATION, counter+1); target 402 lib/common/patchset.c crm_element_value_int(target, XML_ATTR_NUMUPDATES, &counter); target 405 lib/common/patchset.c crm_xml_add_int(target, XML_ATTR_NUMUPDATES, (counter + 1)); target 419 lib/common/patchset.c patch = xml_create_patchset_v1(source, target, config, FALSE); target 422 lib/common/patchset.c patch = xml_create_patchset_v2(source, target); target 432 lib/common/patchset.c patchset_process_digest(xmlNode *patch, xmlNode *source, xmlNode *target, target 439 lib/common/patchset.c if ((patch == NULL) || (source == NULL) || (target == NULL)) { target 446 lib/common/patchset.c CRM_LOG_ASSERT(!xml_document_dirty(target)); target 454 lib/common/patchset.c digest = calculate_xml_versioned_digest(target, FALSE, TRUE, version); target 643 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 686 lib/common/patchset.c xml_remove_prop(target, p_name); target 691 lib/common/patchset.c cIter = pcmk__xml_first_child(target); target 704 lib/common/patchset.c process_v1_additions(xmlNode *parent, xmlNode *target, xmlNode *patch) target 716 lib/common/patchset.c } else if ((parent == NULL) && (target == NULL)) { target 722 lib/common/patchset.c if ((target == NULL) && (value != NULL) target 730 lib/common/patchset.c } else if (target == NULL) { target 737 lib/common/patchset.c if (target->type == XML_COMMENT_NODE) { target 738 lib/common/patchset.c pcmk__xc_update(parent, target, patch); target 741 lib/common/patchset.c name = crm_element_name(target); target 743 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(crm_element_name(target), crm_element_name(patch), target 746 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(ID(target), ID(patch), pcmk__str_casei), return); target 753 lib/common/patchset.c xml_remove_prop(target, p_name); // Preserve patch order target 754 lib/common/patchset.c crm_xml_add(target, p_name, p_value); target 761 lib/common/patchset.c target_child = pcmk__xml_match(target, patch_child, false); target 762 lib/common/patchset.c process_v1_additions(target, target_child, patch_child); target 1034 lib/common/patchset.c xmlNode *target = (xmlNode *) top->doc; target 1080 lib/common/patchset.c target = first_matching_xml_child(target, tag, NULL, target 1084 lib/common/patchset.c target = first_matching_xml_child(target, tag, id, target 1089 lib/common/patchset.c target = NULL; target 1096 lib/common/patchset.c } while ((rc == 2) && target); target 1098 lib/common/patchset.c if (target) { target 1100 lib/common/patchset.c (path = (char *) xmlGetNodePath(target)), key); target 1110 lib/common/patchset.c return target; target 522 lib/common/xml.c copy_in_properties(xmlNode * target, xmlNode * src) target 527 lib/common/xml.c } else if (target == NULL) { target 537 lib/common/xml.c expand_plus_plus(target, p_name, p_value); target 545 lib/common/xml.c fix_plus_plus_recursive(xmlNode * target) target 551 lib/common/xml.c for (pIter = pcmk__first_xml_attr(target); pIter != NULL; pIter = pIter->next) { target 555 lib/common/xml.c expand_plus_plus(target, p_name, p_value); target 557 lib/common/xml.c for (child = pcmk__xml_first_child(target); child != NULL; target 564 lib/common/xml.c expand_plus_plus(xmlNode * target, const char *name, const char *value) target 577 lib/common/xml.c old_value = crm_element_value(target, name); target 612 lib/common/xml.c crm_xml_add_int(target, name, int_value); target 620 lib/common/xml.c crm_xml_add(target, name, value); target 2464 lib/common/xml.c pcmk__xc_update(xmlNode *parent, xmlNode *target, xmlNode *update) target 2469 lib/common/xml.c if (target == NULL) { target 2470 lib/common/xml.c target = pcmk__xc_match(parent, update, false); target 2473 lib/common/xml.c if (target == NULL) { target 2476 lib/common/xml.c } else if (!pcmk__str_eq((const char *)target->content, (const char *)update->content, pcmk__str_casei)) { target 2477 lib/common/xml.c xmlFree(target->content); target 2478 lib/common/xml.c target->content = xmlStrdup(update->content); target 2495 lib/common/xml.c pcmk__xml_update(xmlNode *parent, xmlNode *target, xmlNode *update, target 2505 lib/common/xml.c crm_log_xml_trace("target:", target); target 2511 lib/common/xml.c pcmk__xc_update(parent, target, update); target 2525 lib/common/xml.c CRM_CHECK(target != NULL || parent != NULL, return); target 2527 lib/common/xml.c if (target == NULL) { target 2528 lib/common/xml.c target = pcmk__xe_match(parent, object_name, target 2532 lib/common/xml.c if (target == NULL) { target 2533 lib/common/xml.c target = create_xml_node(parent, object_name); target 2534 lib/common/xml.c CRM_CHECK(target != NULL, return); target 2551 lib/common/xml.c CRM_CHECK(pcmk__str_eq(crm_element_name(target), crm_element_name(update), target 2557 lib/common/xml.c copy_in_properties(target, update); target 2568 lib/common/xml.c xmlUnsetProp(target, (pcmkXmlStr) p_name); target 2569 lib/common/xml.c xmlSetProp(target, (pcmkXmlStr) p_name, (pcmkXmlStr) p_value); target 2582 lib/common/xml.c pcmk__xml_update(target, NULL, a_child, as_diff); target 969 lib/fencing/st_client.c stonith_api_query(stonith_t * stonith, int call_options, const char *target, target 982 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_TARGET, target); target 1104 lib/fencing/st_client.c stonith_api_confirm(stonith_t * stonith, int call_options, const char *target) target 1106 lib/fencing/st_client.c stonith__set_call_options(call_options, target, st_opt_manual_ack); target 1107 lib/fencing/st_client.c return stonith_api_fence(stonith, call_options, target, "off", 0, 0); target 1142 lib/fencing/st_client.c kvp->target = crm_element_value_copy(op, F_STONITH_TARGET); target 1170 lib/fencing/st_client.c free(hp->target); target 1756 lib/fencing/st_client.c event->target = crm_element_value_copy(data, F_STONITH_TARGET); target 1781 lib/fencing/st_client.c free(event->target); target 2043 lib/fencing/st_client.c const char *target = "node1"; target 2081 lib/fencing/st_client.c rc = stonith__rhcs_validate(st, call_options, target, agent, target 2088 lib/fencing/st_client.c rc = stonith__lha_validate(st, call_options, target, agent, target 2550 lib/fencing/st_client.c pcmk__str_eq(event->target, prev_hp->target, pcmk__str_casei) && target 274 lib/fencing/st_lha.c stonith__lha_validate(stonith_t *st, int call_options, const char *target, target 47 lib/fencing/st_output.c if (!pcmk__str_in_list(only_node, hp->target)) { target 71 lib/fencing/st_output.c if (!pcmk__str_in_list(only_node, hp->target)) { target 98 lib/fencing/st_output.c if (!pcmk__str_in_list(only_node, hp->target)) { target 124 lib/fencing/st_output.c if (!pcmk__str_in_list(only_node, hp->target)) { target 150 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 154 lib/fencing/st_output.c char *buf = crm_strdup_printf("Node %s last fenced at: %s", target, ctime(&when)); target 166 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 170 lib/fencing/st_output.c pcmk__indented_printf(out, "Node %s last fenced at: %s", target, ctime(&when)); target 172 lib/fencing/st_output.c pcmk__indented_printf(out, "Node %s has never been fenced\n", target); target 181 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 188 lib/fencing/st_output.c xmlSetProp(node, (pcmkXmlStr) "target", (pcmkXmlStr) target); target 209 lib/fencing/st_output.c if (!pcmk__str_in_list(only_node, hp->target)) { target 240 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 254 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 287 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 296 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 304 lib/fencing/st_output.c stonith_action_str(event->action), event->target, target 346 lib/fencing/st_output.c xmlSetProp(node, (pcmkXmlStr) "target", (pcmkXmlStr) 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 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 183 lib/pacemaker/pcmk_fence.c target ? " for node " : "", target ? target : ""); target 190 lib/pacemaker/pcmk_fence.c stonith__set_call_options(opts, target, st_opts); target 192 lib/pacemaker/pcmk_fence.c stonith__set_call_options(opts, target, st_opt_cleanup); target 195 lib/pacemaker/pcmk_fence.c stonith__set_call_options(opts, target, st_opt_broadcast); target 198 lib/pacemaker/pcmk_fence.c pcmk__str_eq(target, "*", pcmk__str_none)? NULL : target, target 240 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 297 lib/pacemaker/pcmk_fence.c pcmk__fence_last(pcmk__output_t *out, const char *target, bool as_nodeid) { target 300 lib/pacemaker/pcmk_fence.c if (target == NULL) { target 305 lib/pacemaker/pcmk_fence.c when = stonith_api_time(atol(target), NULL, FALSE); target 307 lib/pacemaker/pcmk_fence.c when = stonith_api_time(0, target, FALSE); target 310 lib/pacemaker/pcmk_fence.c return out->message(out, "last-fenced", target, when); target 315 lib/pacemaker/pcmk_fence.c pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid) { target 324 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_last(out, target, as_nodeid); target 408 lib/pacemaker/pcmk_fence.c pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, char *target, target 413 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); target 435 lib/pacemaker/pcmk_fence.c pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, target 445 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_registered(out, st, target, timeout); target 452 lib/pacemaker/pcmk_fence.c pcmk__fence_register_level(stonith_t *st, char *target, int fence_level, target 454 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, devices, true); target 459 lib/pacemaker/pcmk_fence.c pcmk_fence_register_level(stonith_t *st, char *target, int fence_level, target 461 lib/pacemaker/pcmk_fence.c return pcmk__fence_register_level(st, target, fence_level, devices); target 466 lib/pacemaker/pcmk_fence.c pcmk__fence_unregister_level(stonith_t *st, char *target, int fence_level) { target 467 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, NULL, false); target 472 lib/pacemaker/pcmk_fence.c pcmk_fence_unregister_level(stonith_t *st, char *target, int fence_level) { target 473 lib/pacemaker/pcmk_fence.c return pcmk__fence_unregister_level(st, target, fence_level); target 3181 lib/pacemaker/pcmk_sched_native.c pe_node_t *target; target 3185 lib/pacemaker/pcmk_sched_native.c target = stonith_op->node; target 3201 lib/pacemaker/pcmk_sched_native.c && pe_hash_table_lookup(rsc->allowed_nodes, target->details->id) target 3202 lib/pacemaker/pcmk_sched_native.c && !rsc_is_known_on(rsc, target)) { target 3214 lib/pacemaker/pcmk_sched_native.c target->details->uname); target 3232 lib/pacemaker/pcmk_sched_native.c pe_node_t *target; target 3235 lib/pacemaker/pcmk_sched_native.c target = stonith_op->node; target 3238 lib/pacemaker/pcmk_sched_native.c action_list = pe__resource_actions(rsc, target, RSC_STOP, FALSE); target 3247 lib/pacemaker/pcmk_sched_native.c || pe__is_guest_node(target)) { target 3288 lib/pacemaker/pcmk_sched_native.c target->details->uname); target 3292 lib/pacemaker/pcmk_sched_native.c target->details->uname); target 3354 lib/pacemaker/pcmk_sched_native.c action_list = pe__resource_actions(rsc, target, RSC_DEMOTE, FALSE); target 3365 lib/pacemaker/pcmk_sched_native.c rsc->id, target->details->uname); target 3368 lib/pacemaker/pcmk_sched_native.c action->uuid, target->details->uname); target 774 lib/pacemaker/pcmk_sched_transition.c char *target = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET); target 776 lib/pacemaker/pcmk_sched_transition.c quiet_log(" * Fencing %s (%s)\n", target, op); target 780 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_node = modify_node(fake_cib, target, FALSE); target 789 lib/pacemaker/pcmk_sched_transition.c snprintf(xpath, STATUS_PATH_MAX, "//node_state[@uname='%s']/%s", target, XML_CIB_TAG_LRM); target 793 lib/pacemaker/pcmk_sched_transition.c snprintf(xpath, STATUS_PATH_MAX, "//node_state[@uname='%s']/%s", target, target 803 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 408 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); target 412 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); target 425 lib/pengine/bundle.c port->target); target 428 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); target 578 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); target 586 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); target 596 lib/pengine/bundle.c " --port=%s:%s:%s", port->target, target 599 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --port=%s:%s", port->target, port->source); target 899 lib/pengine/bundle.c const char *target, const char *options, uint32_t flags) target 904 lib/pengine/bundle.c mount->target = strdup(target); target 916 lib/pengine/bundle.c free(mount->target); target 925 lib/pengine/bundle.c free(port->target); target 1129 lib/pengine/bundle.c port->target = crm_element_value_copy(xml_child, "internal-port"); target 1133 lib/pengine/bundle.c if(port->target == NULL) { target 1134 lib/pengine/bundle.c port->target = strdup(port->source); target 1150 lib/pengine/bundle.c const char *target = crm_element_value(xml_child, "target-dir"); target 1160 lib/pengine/bundle.c if (source && target) { target 1161 lib/pengine/bundle.c mount_add(bundle_data, source, target, options, flags); target 1162 lib/pengine/bundle.c if (strcmp(target, "/var/log") == 0) { target 1285 lib/pengine/bundle.c port->target = strdup(port->source); target 2571 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); target 2574 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(source, node->details->uname), return); target 2583 lib/pengine/unpack.c target_node = pe_find_node(data_set->nodes, target); target 2587 lib/pengine/unpack.c migrate_from = find_lrm_op(rsc->id, CRMD_ACTION_MIGRATED, target, target 2593 lib/pengine/unpack.c ID(migrate_from), target, from_status, from_rc); target 2609 lib/pengine/unpack.c pe_rsc_trace(rsc, "Marking active on %s %p %d", target, target_node, target 2616 lib/pengine/unpack.c pe_rsc_trace(rsc, "Marking active on %s %p %d", target, target_node, target 2658 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); target 2661 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(source, node->details->uname), return); target 2669 lib/pengine/unpack.c target_stop = find_lrm_op(rsc->id, CRMD_ACTION_STOP, target, NULL, target 2674 lib/pengine/unpack.c target_migrate_from = find_lrm_op(rsc->id, CRMD_ACTION_MIGRATED, target, target 2683 lib/pengine/unpack.c pe_node_t *target_node = pe_find_node(data_set->nodes, target); target 2725 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); target 2728 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(target, node->details->uname), return); target 2741 lib/pengine/unpack.c source, target, TRUE, data_set); target 3714 lib/pengine/unpack.c pe_node_t *target = pe_find_node(data_set->nodes, migrate_target); target 3715 lib/pengine/unpack.c if (target) { target 3716 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 1557 tools/crm_mon.c if (pcmk__str_eq(hp->target, np->target, pcmk__str_casei) && target 2062 tools/crm_mon.c e->operation, e->origin, e->target, pcmk_strerror(e->result), target 2064 tools/crm_mon.c send_custom_trap(e->target, NULL, e->operation, pcmk_ok, e->result, 0, desc); target 335 tools/crm_mon_curses.c stonith_action_str(event->action), event->target, target 344 tools/crm_mon_curses.c stonith_action_str(event->action), event->target, target 352 tools/crm_mon_curses.c stonith_action_str(event->action), event->target, target 405 tools/crm_node.c tools_remove_node_cache(const char *node_name, long nodeid, const char *target) target 411 tools/crm_node.c conn = crm_ipc_new(target, 0); target 416 tools/crm_node.c crm_perror(LOG_ERR, "Connection to %s failed", target); target 422 tools/crm_node.c node_name, nodeid, target); target 424 tools/crm_node.c if(pcmk__str_eq(target, T_ATTRD, pcmk__str_casei)) { target 438 tools/crm_node.c cmd = create_request(CRM_OP_RM_NODE_CACHE, NULL, NULL, target, target 448 tools/crm_node.c target, node_name, nodeid, rc); target 73 tools/crm_resource_ban.c pe_node_t *target = n->data; target 75 tools/crm_resource_ban.c rc = cli_resource_ban(rsc_id, target->details->uname, move_lifetime, target 315 tools/crm_resource_ban.c pe_node_t *target = n->data; target 317 tools/crm_resource_ban.c rc = cli_resource_clear(rsc_id, target->details->uname, NULL, target 340 tools/stonith_admin.c char *target = NULL; target 426 tools/stonith_admin.c target = options.terminate; target 438 tools/stonith_admin.c target = options.reboot_host; target 445 tools/stonith_admin.c target = options.fence_host; target 452 tools/stonith_admin.c target = options.unfence_host; target 458 tools/stonith_admin.c target = options.confirm_host; target 464 tools/stonith_admin.c target = options.last_fenced; target 469 tools/stonith_admin.c target = options.history; target 474 tools/stonith_admin.c target = options.register_level; target 479 tools/stonith_admin.c target = options.unregister_level; target 525 tools/stonith_admin.c rc = pcmk__fence_registered(out, st, target, options.timeout*1000); target 560 tools/stonith_admin.c rc = pcmk__fence_unregister_level(st, target, options.fence_level); target 564 tools/stonith_admin.c rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices); target 576 tools/stonith_admin.c rc = st->cmds->confirm(st, st_opts, target); target 581 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "reboot", name, options.timeout*1000, target 586 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "off", name, options.timeout*1000, target 591 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "on", name, options.timeout*1000, target 596 tools/stonith_admin.c rc = pcmk__fence_last(out, target, options.as_nodeid); target 600 tools/stonith_admin.c rc = pcmk__fence_history(out, st, target, options.timeout*1000, args->verbosity,