target 943 daemons/based/based_callbacks.c const char *target = NULL; target 956 daemons/based/based_callbacks.c target = host; target 959 daemons/based/based_callbacks.c target = "local host"; target 962 daemons/based/based_callbacks.c target = "primary"; target 967 daemons/based/based_callbacks.c op, client_name, call_id, originator, target, reply_to); target 970 daemons/based/based_callbacks.c crm_trace("Processing local %s operation from %s/%s intended for %s", op, client_name, call_id, target); target 68 daemons/controld/controld_alerts.c e->target, e->operation, desc, e->result); target 1146 daemons/controld/controld_execd.c const char *target = NULL; target 1149 daemons/controld/controld_execd.c target = crm_element_value(xml, XML_LRM_ATTR_TARGET); target 1151 daemons/controld/controld_execd.c if (target == NULL) { target 1152 daemons/controld/controld_execd.c target = controld_globals.our_nodename; target 1154 daemons/controld/controld_execd.c return target; target 93 daemons/controld/controld_fencing.c too_many_st_failures(const char *target) target 103 daemons/controld/controld_fencing.c if (target == NULL) { target 109 daemons/controld/controld_fencing.c target = (const char*)key; target 114 daemons/controld/controld_fencing.c value = g_hash_table_lookup(stonith_failures, target); target 123 daemons/controld/controld_fencing.c value->count, target); target 134 daemons/controld/controld_fencing.c st_fail_count_reset(const char *target) target 140 daemons/controld/controld_fencing.c if (target) { target 143 daemons/controld/controld_fencing.c rec = g_hash_table_lookup(stonith_failures, target); target 161 daemons/controld/controld_fencing.c st_fail_count_increment(const char *target) target 169 daemons/controld/controld_fencing.c rec = g_hash_table_lookup(stonith_failures, target); target 179 daemons/controld/controld_fencing.c g_hash_table_insert(stonith_failures, strdup(target), rec); target 203 daemons/controld/controld_fencing.c send_stonith_update(pcmk__graph_action_t *action, const char *target, target 218 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, return); target 222 daemons/controld/controld_fencing.c peer = crm_get_peer_full(0, target, CRM_GET_PEER_ANY); target 235 daemons/controld/controld_fencing.c crm_info("Recording uuid '%s' for node '%s'", uuid, target); target 261 daemons/controld/controld_fencing.c crm_debug("Sending fencing update %d for %s", rc, target); target 262 daemons/controld/controld_fencing.c fsa_register_cib_callback(rc, strdup(target), cib_fencing_updated); target 285 daemons/controld/controld_fencing.c const char *target, const xmlNode *reason) target 290 daemons/controld/controld_fencing.c if ((abort_action != pcmk__graph_wait) && too_many_st_failures(target)) { target 314 daemons/controld/controld_fencing.c add_stonith_cleanup(const char *target) { target 315 daemons/controld/controld_fencing.c stonith_cleanup_list = g_list_append(stonith_cleanup_list, strdup(target)); target 325 daemons/controld/controld_fencing.c remove_stonith_cleanup(const char *target) target 334 daemons/controld/controld_fencing.c if (pcmk__str_eq(target, iter_name, pcmk__str_casei)) { target 353 daemons/controld/controld_fencing.c char *target = iter->data; target 355 daemons/controld/controld_fencing.c crm_info("Purging %s from stonith cleanup list", target); target 356 daemons/controld/controld_fencing.c free(target); target 373 daemons/controld/controld_fencing.c char *target = iter->data; target 374 daemons/controld/controld_fencing.c crm_node_t *target_node = crm_get_peer(0, target); target 377 daemons/controld/controld_fencing.c crm_notice("Marking %s, target of a previous stonith action, as clean", target); target 378 daemons/controld/controld_fencing.c send_stonith_update(NULL, target, uuid); target 379 daemons/controld/controld_fencing.c free(target); target 522 daemons/controld/controld_fencing.c event->target, executioner, client, event->origin); target 525 daemons/controld/controld_fencing.c event->target, executioner, target 535 daemons/controld/controld_fencing.c && pcmk__str_eq(event->target, controld_globals.our_nodename, target 562 daemons/controld/controld_fencing.c st_fail_count_reset(event->target); target 564 daemons/controld/controld_fencing.c st_fail_count_increment(event->target); target 570 daemons/controld/controld_fencing.c event->target, (succeeded? "" : " not"), target 579 daemons/controld/controld_fencing.c crm_node_t *peer = pcmk__search_known_node_cache(0, event->target, target 591 daemons/controld/controld_fencing.c send_stonith_update(NULL, event->target, uuid); target 606 daemons/controld/controld_fencing.c client, event->target); target 611 daemons/controld/controld_fencing.c } else if (pcmk__str_eq(controld_globals.dc_name, event->target, target 617 daemons/controld/controld_fencing.c crm_notice("Fencing target %s was our DC", event->target); target 620 daemons/controld/controld_fencing.c event->target); target 629 daemons/controld/controld_fencing.c send_stonith_update(NULL, event->target, uuid); target 631 daemons/controld/controld_fencing.c add_stonith_cleanup(event->target); target 640 daemons/controld/controld_fencing.c remote_ra_fail(event->target); target 784 daemons/controld/controld_fencing.c const char *target = NULL; target 831 daemons/controld/controld_fencing.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 832 daemons/controld/controld_fencing.c if (target == NULL) { target 843 daemons/controld/controld_fencing.c crm_info("Fence operation %d for %s succeeded", data->call_id, target); target 862 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_UNFENCED, now, NULL, target 867 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_ALL, value, NULL, target 871 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_SECURE, value, NULL, target 875 daemons/controld/controld_fencing.c send_stonith_update(action, target, uuid); target 880 daemons/controld/controld_fencing.c st_fail_count_reset(target); target 902 daemons/controld/controld_fencing.c data->call_id, target, reason); target 906 daemons/controld/controld_fencing.c "(aborting transition)", data->call_id, target, reason); target 913 daemons/controld/controld_fencing.c st_fail_count_increment(target); target 914 daemons/controld/controld_fencing.c abort_for_stonith_failure(abort_action, target, NULL); target 927 daemons/controld/controld_fencing.c fence_with_delay(const char *target, const char *type, int delay) target 934 daemons/controld/controld_fencing.c stonith__set_call_options(options, target, st_opt_allow_suicide); target 936 daemons/controld/controld_fencing.c return stonith_api->cmds->fence_with_delay(stonith_api, options, target, target 956 daemons/controld/controld_fencing.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 968 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, invalid_action = TRUE); target 979 daemons/controld/controld_fencing.c type, target, id, stonith_timeout, target 987 daemons/controld/controld_fencing.c rc = fence_with_delay(target, type, delay_i); target 19 daemons/controld/controld_fencing.h void st_fail_count_reset(const char * target); target 29 daemons/controld/controld_fencing.h void add_stonith_cleanup(const char *target); target 30 daemons/controld/controld_fencing.h void remove_stonith_cleanup(const char *target); target 215 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 219 daemons/controld/controld_te_actions.c if (pcmk__str_eq(target, get_local_node_name(), pcmk__str_casei)) { target 226 daemons/controld/controld_te_actions.c router_node = target; target 256 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 283 daemons/controld/controld_te_actions.c crm_xml_add(state, XML_ATTR_UNAME, target); target 297 daemons/controld/controld_te_actions.c pcmk__create_history_xml(rsc, op, CRM_FEATURE_SET, target_rc, target, target 306 daemons/controld/controld_te_actions.c rc, action->id, task_uuid, target); target 315 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 321 daemons/controld/controld_te_actions.c crm_element_name(action->xml), action->id, task_uuid, target); target 492 daemons/controld/controld_te_actions.c te_update_job_count_on(const char *target, int offset, bool migrate) target 496 daemons/controld/controld_te_actions.c if(target == NULL || te_targets == NULL) { target 500 daemons/controld/controld_te_actions.c r = g_hash_table_lookup(te_targets, target); target 503 daemons/controld/controld_te_actions.c r->name = strdup(target); target 511 daemons/controld/controld_te_actions.c crm_trace("jobs[%s] = %d", target, r->jobs); target 518 daemons/controld/controld_te_actions.c const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 520 daemons/controld/controld_te_actions.c if ((action->type != pcmk__rsc_graph_action) || (target == NULL)) { target 529 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); target 531 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, target 540 daemons/controld/controld_te_actions.c } else if (target == NULL) { target 541 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 544 daemons/controld/controld_te_actions.c te_update_job_count_on(target, offset, FALSE); target 559 daemons/controld/controld_te_actions.c const char *target) target 566 daemons/controld/controld_te_actions.c if(target == NULL) { target 574 daemons/controld/controld_te_actions.c r = g_hash_table_lookup(te_targets, target); target 575 daemons/controld/controld_te_actions.c limit = throttle_get_job_limit(target); target 579 daemons/controld/controld_te_actions.c r->name = strdup(target); target 585 daemons/controld/controld_te_actions.c target, limit, r->jobs, id); target 591 daemons/controld/controld_te_actions.c target, graph->migration_limit, r->migrate_jobs, id); target 596 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 613 daemons/controld/controld_te_actions.c const char *target = NULL; target 625 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE); target 627 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, target 629 daemons/controld/controld_te_actions.c target = crm_meta_value(action->params, XML_LRM_ATTR_MIGRATE_SOURCE); target 630 daemons/controld/controld_te_actions.c if (!allowed_on_node(graph, action, target)) { target 634 daemons/controld/controld_te_actions.c target = crm_meta_value(action->params, XML_LRM_ATTR_MIGRATE_TARGET); target 636 daemons/controld/controld_te_actions.c } else if (target == NULL) { target 637 daemons/controld/controld_te_actions.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); target 640 daemons/controld/controld_te_actions.c return allowed_on_node(graph, action, target); target 313 daemons/controld/controld_te_events.c const char *target = NULL; target 327 daemons/controld/controld_te_events.c target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID); target 328 daemons/controld/controld_te_events.c if (node && !pcmk__str_eq(target, node, pcmk__str_casei)) { target 329 daemons/controld/controld_te_events.c crm_trace("Wrong node %s for %s on %s", target, id, node); target 374 daemons/controld/controld_te_events.c match_down_event(const char *target) target 380 daemons/controld/controld_te_events.c char *xpath = crm_strdup_printf(XPATH_DOWNED, target); target 408 daemons/controld/controld_te_events.c crm_element_value(match->xml, XML_LRM_ATTR_TASK_KEY), target); target 410 daemons/controld/controld_te_events.c crm_debug("No reason to expect node %s to be down", target); target 395 daemons/controld/controld_throttle.c throttle_set_load_target(float target) target 397 daemons/controld/controld_throttle.c throttle_load_target = target; target 17 daemons/controld/controld_transition.h pcmk__graph_action_t *match_down_event(const char *target); target 99 daemons/fenced/fenced_commands.c char *target; target 150 daemons/fenced/fenced_commands.c const char *target) target 167 daemons/fenced/fenced_commands.c if (target != NULL) { target 176 daemons/fenced/fenced_commands.c if (mapval != val && strncasecmp(target, val, (size_t)(mapval - val)) == 0) { target 179 daemons/fenced/fenced_commands.c value, target); target 320 daemons/fenced/fenced_commands.c free(cmd->target); target 376 daemons/fenced/fenced_commands.c cmd->target = crm_element_value_copy(op, F_STONITH_TARGET); target 437 daemons/fenced/fenced_commands.c ((cmd->target == NULL)? "" : " targeting "), target 438 daemons/fenced/fenced_commands.c pcmk__s(cmd->target, ""), device->id, cmd->timeout); target 522 daemons/fenced/fenced_commands.c ((pending_op->target == NULL)? "" : " targeting "), target 523 daemons/fenced/fenced_commands.c pcmk__s(pending_op->target, ""), target 578 daemons/fenced/fenced_commands.c ((cmd->target == NULL)? "" : " targeting "), target 579 daemons/fenced/fenced_commands.c pcmk__s(cmd->target, ""), device->id, device->agent); target 590 daemons/fenced/fenced_commands.c action = stonith__action_create(device->agent, action_str, cmd->target, target 649 daemons/fenced/fenced_commands.c if (device->include_nodeid && (cmd->target != NULL)) { target 650 daemons/fenced/fenced_commands.c crm_node_t *node = crm_get_peer(0, cmd->target); target 662 daemons/fenced/fenced_commands.c (cmd->target == NULL)? "" : " targeting ", target 663 daemons/fenced/fenced_commands.c pcmk__s(cmd->target, ""), target 668 daemons/fenced/fenced_commands.c (cmd->target == NULL)? "" : " targeting ", target 669 daemons/fenced/fenced_commands.c pcmk__s(cmd->target, ""), target 682 daemons/fenced/fenced_commands.c delay_base = get_action_delay_base(device, cmd->action, cmd->target); target 704 daemons/fenced/fenced_commands.c (cmd->target == NULL)? "" : " targeting ", target 705 daemons/fenced/fenced_commands.c pcmk__s(cmd->target, ""), target 1155 daemons/fenced/fenced_commands.c const char *target, target 1170 daemons/fenced/fenced_commands.c pcmk__str_update(&cmd->target, target); target 1551 daemons/fenced/fenced_commands.c free(tp->target); target 1664 daemons/fenced/fenced_commands.c unpack_level_request(xmlNode *xml, enum fenced_target_by *mode, char **target, target 1700 daemons/fenced/fenced_commands.c if (target != NULL) { target 1701 daemons/fenced/fenced_commands.c *target = local_target; target 1728 daemons/fenced/fenced_commands.c char *target; target 1736 daemons/fenced/fenced_commands.c level = unpack_level_request(msg, &mode, &target, &id, desc); target 1745 daemons/fenced/fenced_commands.c free(target); target 1756 daemons/fenced/fenced_commands.c free(target); target 1767 daemons/fenced/fenced_commands.c target, id); target 1768 daemons/fenced/fenced_commands.c free(target); target 1780 daemons/fenced/fenced_commands.c tp = g_hash_table_lookup(topology, target); target 1786 daemons/fenced/fenced_commands.c free(target); target 1790 daemons/fenced/fenced_commands.c tp->target = target; target 1795 daemons/fenced/fenced_commands.c g_hash_table_replace(topology, tp->target, tp); target 1797 daemons/fenced/fenced_commands.c target, (int) mode, g_hash_table_size(topology)); target 1799 daemons/fenced/fenced_commands.c free(target); target 1804 daemons/fenced/fenced_commands.c tp->target, id); target 1811 daemons/fenced/fenced_commands.c crm_trace("Adding device '%s' for %s[%d]", device, tp->target, id); target 1820 daemons/fenced/fenced_commands.c tp->target, nlevels, pcmk__plural_s(nlevels)); target 1844 daemons/fenced/fenced_commands.c char *target; target 1849 daemons/fenced/fenced_commands.c level = unpack_level_request(msg, NULL, &target, &id, desc); target 1858 daemons/fenced/fenced_commands.c target, id); target 1859 daemons/fenced/fenced_commands.c free(target); target 1872 daemons/fenced/fenced_commands.c tp = g_hash_table_lookup(topology, target); target 1877 daemons/fenced/fenced_commands.c target, nentries, target 1880 daemons/fenced/fenced_commands.c } else if (id == 0 && g_hash_table_remove(topology, target)) { target 1884 daemons/fenced/fenced_commands.c "(%d active %s remaining)", target, nentries, target 1896 daemons/fenced/fenced_commands.c id, target, nlevels, pcmk__plural_s(nlevels)); target 1899 daemons/fenced/fenced_commands.c free(target); target 2060 daemons/fenced/fenced_commands.c const char *target, gboolean allow_suicide) target 2062 daemons/fenced/fenced_commands.c gboolean localhost_is_target = pcmk__str_eq(target, stonith_our_uname, target 2072 daemons/fenced/fenced_commands.c "host, not %s", action, device->id, target); target 2097 daemons/fenced/fenced_commands.c const char *action, const char *target, target 2101 daemons/fenced/fenced_commands.c if (localhost_is_eligible(device, action, target, allow_self)) { target 2113 daemons/fenced/fenced_commands.c if (localhost_is_eligible(device, "off", target, allow_self) target 2114 daemons/fenced/fenced_commands.c || localhost_is_eligible(device, "on", target, FALSE)) { target 2128 daemons/fenced/fenced_commands.c const char *target = NULL; target 2139 daemons/fenced/fenced_commands.c target = search->host; target 2140 daemons/fenced/fenced_commands.c if (target == NULL) { target 2154 daemons/fenced/fenced_commands.c } else if (!localhost_is_eligible_with_remap(dev, action, target, target 2162 daemons/fenced/fenced_commands.c alias = g_hash_table_lookup(dev->aliases, target); target 2167 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(target, dev->targets, pcmk__str_casei)) { target 2170 daemons/fenced/fenced_commands.c && g_hash_table_lookup(dev->aliases, target)) { target 2186 daemons/fenced/fenced_commands.c check_type, dev_id, target, action); target 2195 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(((alias == NULL)? target : alias), dev->targets, target 2209 daemons/fenced/fenced_commands.c check_type, dev_id, target, action); target 2210 daemons/fenced/fenced_commands.c schedule_internal_command(__func__, dev, "status", target, target 2222 daemons/fenced/fenced_commands.c pcmk__s(target, "unspecified target"), target 2282 daemons/fenced/fenced_commands.c char *target; target 2299 daemons/fenced/fenced_commands.c const char *target) target 2326 daemons/fenced/fenced_commands.c delay_base = get_action_delay_base(device, action, target); target 2356 daemons/fenced/fenced_commands.c const char *target, gboolean allow_suicide) target 2358 daemons/fenced/fenced_commands.c if (!localhost_is_eligible(device, action, target, allow_suicide)) { target 2377 daemons/fenced/fenced_commands.c const stonith_device_t *device, const char *target, target 2383 daemons/fenced/fenced_commands.c add_action_specific_attributes(child, action, device, target); target 2384 daemons/fenced/fenced_commands.c add_disallowed(child, action, device, target, allow_suicide); target 2408 daemons/fenced/fenced_commands.c crm_xml_add(list, F_STONITH_TARGET, query->target); target 2439 daemons/fenced/fenced_commands.c add_action_specific_attributes(dev, action, device, query->target); target 2452 daemons/fenced/fenced_commands.c add_disallowed(dev, action, device, query->target, target 2454 daemons/fenced/fenced_commands.c add_action_reply(dev, "off", device, query->target, target 2456 daemons/fenced/fenced_commands.c add_action_reply(dev, "on", device, query->target, FALSE); target 2460 daemons/fenced/fenced_commands.c if (query->target == NULL) { target 2468 daemons/fenced/fenced_commands.c if (query->target) { target 2471 daemons/fenced/fenced_commands.c query->target); target 2489 daemons/fenced/fenced_commands.c free(query->target); target 2519 daemons/fenced/fenced_commands.c log_level = (cmd->target == NULL)? LOG_DEBUG : LOG_NOTICE; target 2526 daemons/fenced/fenced_commands.c log_level = (cmd->target == NULL)? LOG_NOTICE : LOG_ERR; target 2538 daemons/fenced/fenced_commands.c if (cmd->target != NULL) { target 2539 daemons/fenced/fenced_commands.c pcmk__g_strcat(msg, "targeting ", cmd->target, " ", NULL); target 2616 daemons/fenced/fenced_commands.c && pcmk__str_eq(cmd->origin, cmd->target, pcmk__str_casei)) { target 2621 daemons/fenced/fenced_commands.c cmd->action, cmd->target); target 2638 daemons/fenced/fenced_commands.c crm_xml_add(notify_data, F_STONITH_TARGET, cmd->target); target 2703 daemons/fenced/fenced_commands.c !pcmk__str_eq(cmd->target, cmd_other->target, pcmk__str_casei) || target 2713 daemons/fenced/fenced_commands.c (cmd_other->target == NULL)? "" : " targeting ", target 2714 daemons/fenced/fenced_commands.c pcmk__s(cmd_other->target, ""), cmd_other->client_name, target 2824 daemons/fenced/fenced_commands.c ndevices, pcmk__plural_s(ndevices), cmd->target); target 2837 daemons/fenced/fenced_commands.c cmd->target); target 2993 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_TARGET, cmd->target); target 3035 daemons/fenced/fenced_commands.c check_alternate_host(const char *target) target 3037 daemons/fenced/fenced_commands.c if (pcmk__str_eq(target, stonith_our_uname, pcmk__str_casei)) { target 3044 daemons/fenced/fenced_commands.c && !pcmk__str_eq(entry->uname, target, pcmk__str_casei)) { target 3086 daemons/fenced/fenced_commands.c const char *target = NULL; target 3090 daemons/fenced/fenced_commands.c target = crm_element_value(dev, F_STONITH_TARGET); target 3098 daemons/fenced/fenced_commands.c if (relay_op_id && target && pcmk__str_eq(target, stonith_our_uname, pcmk__str_casei)) { target 3122 daemons/fenced/fenced_commands.c (relay_op->target == NULL)? "" : " targeting ", target 3123 daemons/fenced/fenced_commands.c pcmk__s(relay_op->target, ""), target 3125 daemons/fenced/fenced_commands.c (target == NULL)? "" : " targeting ", pcmk__s(target, ""), target 3205 daemons/fenced/fenced_commands.c const char *target = NULL; target 3226 daemons/fenced/fenced_commands.c target = crm_element_value(dev, F_STONITH_TARGET); target 3238 daemons/fenced/fenced_commands.c pcmk__str_update(&query->target, target); target 3243 daemons/fenced/fenced_commands.c get_capable_devices(target, action, timeout, target 3327 daemons/fenced/fenced_commands.c const char *target = crm_element_value(dev, F_STONITH_TARGET); target 3336 daemons/fenced/fenced_commands.c target, (device? device : "any device")); target 3338 daemons/fenced/fenced_commands.c if (stonith_check_fence_tolerance(tolerance, target, action)) { target 3344 daemons/fenced/fenced_commands.c alternate_host = check_alternate_host(target); target 3348 daemons/fenced/fenced_commands.c request->peer, action, 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 251 daemons/fenced/fenced_history.c op->target = crm_element_value_copy(xml_op, F_STONITH_TARGET); target 301 daemons/fenced/fenced_history.c gboolean add_id, const char *target) target 358 daemons/fenced/fenced_history.c if (!pcmk__str_eq(target, op->target, pcmk__str_null_matches)) { target 368 daemons/fenced/fenced_history.c crm_xml_add(entry, F_STONITH_TARGET, op->target); target 443 daemons/fenced/fenced_history.c stonith_local_history(gboolean add_id, const char *target) target 445 daemons/fenced/fenced_history.c return stonith_local_history_diff_and_merge(NULL, add_id, target); target 461 daemons/fenced/fenced_history.c const char *target = NULL; target 466 daemons/fenced/fenced_history.c target = crm_element_value(dev, F_STONITH_TARGET); target 467 daemons/fenced/fenced_history.c if (target && (options & st_opt_cs_nodeid)) { target 471 daemons/fenced/fenced_history.c pcmk__scan_min_int(target, &nodeid, 0); target 474 daemons/fenced/fenced_history.c target = node->uname; target 480 daemons/fenced/fenced_history.c crm_trace("Cleaning up operations on %s in %p", target, target 483 daemons/fenced/fenced_history.c stonith_fence_history_cleanup(target, target 543 daemons/fenced/fenced_history.c crm_trace("Looking for operations on %s in %p", target, target 545 daemons/fenced/fenced_history.c *output = stonith_local_history(FALSE, target); target 253 daemons/fenced/fenced_remote.c free(op->target); target 308 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->target, op->id); target 330 daemons/fenced/fenced_remote.c op->target, op->client_name, op->id); target 363 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->target, op->client_name, op->id); target 384 daemons/fenced/fenced_remote.c crm_xml_add(notify_data, F_STONITH_TARGET, op->target); target 451 daemons/fenced/fenced_remote.c crm_xml_add(data, F_STONITH_TARGET, op->target); target 554 daemons/fenced/fenced_remote.c op->action, (op->target? " targeting " : ""), target 555 daemons/fenced/fenced_remote.c (op->target? op->target : ""), target 607 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->action, (op->target? " targeting " : ""), target 608 daemons/fenced/fenced_remote.c (op->target? op->target : ""), target 656 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 671 daemons/fenced/fenced_remote.c " id=%.8s", op->action, op->target, op->client_name, op->id); target 680 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 700 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 734 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, op->id); target 753 daemons/fenced/fenced_remote.c op->id, op->target); target 756 daemons/fenced/fenced_remote.c op->id, op->target); target 760 daemons/fenced/fenced_remote.c op->id, op->target, stonith_op_state_str(op->state)); target 764 daemons/fenced/fenced_remote.c op->id, op->target, stonith_op_state_str(op->state)); target 855 daemons/fenced/fenced_remote.c CRM_CHECK(node && tp && tp->target, return FALSE); target 865 daemons/fenced/fenced_remote.c crm_notice("Matched %s with %s by attribute", node, tp->target); target 875 daemons/fenced/fenced_remote.c crm_info("Bad regex '%s' for fencing level", tp->target); target 881 daemons/fenced/fenced_remote.c crm_notice("Matched %s with %s by name", node, tp->target); target 888 daemons/fenced/fenced_remote.c crm_trace("Testing %s against %s", node, tp->target); target 889 daemons/fenced/fenced_remote.c return pcmk__str_eq(tp->target, node, pcmk__str_casei); target 894 daemons/fenced/fenced_remote.c crm_trace("No match for %s with %s", node, tp->target); target 905 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); target 912 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); target 937 daemons/fenced/fenced_remote.c if (op->target) { target 938 daemons/fenced/fenced_remote.c tp = find_topology_for_host(op->target); target 959 daemons/fenced/fenced_remote.c op->level, op->target, g_list_length(tp->levels[op->level]), target 983 daemons/fenced/fenced_remote.c op->target, op->client_name, op->originator, op->id); target 1013 daemons/fenced/fenced_remote.c if (!pcmk__str_eq(op->target, other->target, pcmk__str_casei)) { target 1015 daemons/fenced/fenced_remote.c op->id, other->id, op->target, other->target); target 1028 daemons/fenced/fenced_remote.c if (pcmk__str_eq(other->target, other->originator, pcmk__str_casei)) { target 1030 daemons/fenced/fenced_remote.c op->id, other->id, other->target); target 1036 daemons/fenced/fenced_remote.c other->action, other->target, other->client_name, target 1064 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name, target 1204 daemons/fenced/fenced_remote.c op->target = crm_element_value_copy(dev, F_STONITH_TARGET); target 1214 daemons/fenced/fenced_remote.c op->target, op->client_name, op->base_timeout, target 1222 daemons/fenced/fenced_remote.c pcmk__scan_min_int(op->target, &nodeid, 0); target 1229 daemons/fenced/fenced_remote.c free(op->target); target 1230 daemons/fenced/fenced_remote.c op->target = strdup(node->uname); target 1233 daemons/fenced/fenced_remote.c crm_warn("Could not expand nodeid '%s' into a host name", op->target); target 1297 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->action, op->target, op->id); target 1303 daemons/fenced/fenced_remote.c CRM_XS " id=%.8s", op->action, op->target, op->id); target 1309 daemons/fenced/fenced_remote.c op->action, op->target, op->id, target 1317 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_TARGET, op->target); target 1365 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, target 1367 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 1370 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 1403 daemons/fenced/fenced_remote.c op->action, op->target, device); target 1406 daemons/fenced/fenced_remote.c op->action, op->target); target 1417 daemons/fenced/fenced_remote.c crm_trace("Waiting before looking for unverified devices to fence %s", op->target); target 1449 daemons/fenced/fenced_remote.c && node_does_watchdog_fencing(op->target)) { target 1451 daemons/fenced/fenced_remote.c op->target); target 1455 daemons/fenced/fenced_remote.c op->action, op->target, (device? device : "any device")); target 1536 daemons/fenced/fenced_remote.c stonith_topology_t *tp = find_topology_for_host(op->target); target 1568 daemons/fenced/fenced_remote.c && node_does_watchdog_fencing(op->target)) { target 1724 daemons/fenced/fenced_remote.c op->target, op->client_name, op->originator); target 1735 daemons/fenced/fenced_remote.c op->target); target 1744 daemons/fenced/fenced_remote.c if (node_does_watchdog_fencing(op->target)) { target 1749 daemons/fenced/fenced_remote.c op->target, op->action, op->client_name, op->id); target 1759 daemons/fenced/fenced_remote.c "not in host-list", op->target); target 1781 daemons/fenced/fenced_remote.c op->id, op->target, op->client_name, target 1801 daemons/fenced/fenced_remote.c op->target, device); target 1807 daemons/fenced/fenced_remote.c "doesn't support 'on'", op->target, device); target 1824 daemons/fenced/fenced_remote.c op->total_timeout, op->target, op->client_name, op->id); target 1855 daemons/fenced/fenced_remote.c crm_xml_add(remote_op, F_STONITH_TARGET, op->target); target 1869 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, target 1877 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, target 1889 daemons/fenced/fenced_remote.c || (pcmk__str_eq(peer->host, op->target, pcmk__str_casei) target 1926 daemons/fenced/fenced_remote.c "after successful 'off'", device, op->target); target 1932 daemons/fenced/fenced_remote.c op->action, op->target, op->client_name); target 1937 daemons/fenced/fenced_remote.c CRM_XS " state=%s", op->action, op->target, op->client_name, target 1958 daemons/fenced/fenced_remote.c op->replies, op->action, op->target, op->client_name, target 1979 daemons/fenced/fenced_remote.c op->replies, op->action, op->target, op->client_name, target 1989 daemons/fenced/fenced_remote.c op->action, op->target, (device? " using " : ""), target 2030 daemons/fenced/fenced_remote.c tp = find_topology_for_host(op->target); target 2046 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { target 2267 daemons/fenced/fenced_remote.c host_is_target = pcmk__str_eq(host, op->target, pcmk__str_casei); target 2271 daemons/fenced/fenced_remote.c op->target, op->action, ndevices, pcmk__plural_s(ndevices), id); target 2379 daemons/fenced/fenced_remote.c device, (const char *) op->devices->data, op->action, op->target); target 2397 daemons/fenced/fenced_remote.c op->id, device, op->target); target 2423 daemons/fenced/fenced_remote.c op->target); target 2428 daemons/fenced/fenced_remote.c op->action, op->target, target 2472 daemons/fenced/fenced_remote.c op->target, op->originator, op->client_name, target 2478 daemons/fenced/fenced_remote.c stonith_check_fence_tolerance(int tolerance, const char *target, const char *action) target 2484 daemons/fenced/fenced_remote.c if (tolerance <= 0 || !stonith_remote_op_list || target == NULL || target 2491 daemons/fenced/fenced_remote.c if (strcmp(rop->target, target) != 0) { target 2505 daemons/fenced/fenced_remote.c target, action, tolerance, rop->delegate, rop->originator); target 529 daemons/fenced/pacemaker-fenced.c char *target = stonith_level_key(match, fenced_target_by_unknown); target 532 daemons/fenced/pacemaker-fenced.c if (target == NULL) { target 536 daemons/fenced/pacemaker-fenced.c crm_err("Invalid level for %s in element %s", target, ID(match)); target 539 daemons/fenced/pacemaker-fenced.c topology_remove_helper(target, index); target 22 daemons/fenced/pacemaker-fenced.h gboolean stonith_check_fence_tolerance(int tolerance, const char *target, const char *action); target 76 daemons/fenced/pacemaker-fenced.h char *target; target 198 daemons/fenced/pacemaker-fenced.h char *target; target 27 include/crm/common/acl_internal.h void pcmk__enable_acl(xmlNode *acl_source, xmlNode *target, const char *user); target 200 include/crm/common/internal.h const char *flag_type, const char *target, target 211 include/crm/common/internal.h ((target == NULL)? "target" : target), target 234 include/crm/common/internal.h const char *flag_type, const char *target, target 245 include/crm/common/internal.h ((target == NULL)? "target" : target), target 101 include/crm/common/iso8601.h void crm_time_set(crm_time_t *target, const crm_time_t *source); target 102 include/crm/common/iso8601.h void crm_time_set_timet(crm_time_t *target, const time_t *source); target 20 include/crm/common/iso8601_internal.h pcmk__time_hr_t *pcmk__time_hr_convert(pcmk__time_hr_t *target, target 22 include/crm/common/iso8601_internal.h void pcmk__time_set_hr_dt(crm_time_t *target, const pcmk__time_hr_t *hr_dt); target 75 include/crm/common/xml.h void copy_in_properties(xmlNode *target, const xmlNode *src); target 77 include/crm/common/xml.h void expand_plus_plus(xmlNode * target, const char *name, const char *value); target 78 include/crm/common/xml.h void fix_plus_plus_recursive(xmlNode * target); target 287 include/crm/common/xml.h int format, xmlNode *source, xmlNode *target, bool *config, bool manage_version); target 290 include/crm/common/xml.h void patchset_process_digest(xmlNode *patch, xmlNode *source, xmlNode *target, bool with_digest); target 55 include/crm/fencing/internal.h const char *target, target 30 include/crm/lrmd_internal.h const char *target, const char *task, target 105 include/crm/stonith-ng.h char *target; target 128 include/crm/stonith-ng.h char *target; target 341 include/crm/stonith-ng.h int (*query)(stonith_t *stonith, int call_options, const char *target, target 372 include/crm/stonith-ng.h int (*confirm)(stonith_t *stonith, int call_options, const char *target); target 363 include/pacemaker.h int pcmk_request_fencing(stonith_t *st, const char *target, const char *action, target 384 include/pacemaker.h int pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, const char *target, target 410 include/pacemaker.h int pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid); target 454 include/pacemaker.h int pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, const char *target, target 469 include/pacemaker.h int pcmk_fence_register_level(stonith_t *st, const char *target, target 484 include/pacemaker.h int pcmk_fence_unregister_level(stonith_t *st, const char *target, target 49 include/pcmki/pcmki_fence.h int pcmk__request_fencing(stonith_t *st, const char *target, const char *action, target 73 include/pcmki/pcmki_fence.h int pcmk__fence_history(pcmk__output_t *out, stonith_t *st, const char *target, target 111 include/pcmki/pcmki_fence.h int pcmk__fence_last(pcmk__output_t *out, const char *target, bool as_nodeid); target 171 include/pcmki/pcmki_fence.h const char *target, unsigned int timeout); target 191 include/pcmki/pcmki_fence.h int pcmk__fence_register_level(stonith_t *st, const char *target, target 212 include/pcmki/pcmki_fence.h int pcmk__fence_unregister_level(stonith_t *st, const char *target, target 390 lib/cib/cib_ops.c xmlNode *target = NULL; target 410 lib/cib/cib_ops.c target = find_xml_node(parent, object_name, FALSE); target 413 lib/cib/cib_ops.c target = pcmk__xe_match(parent, object_name, XML_ATTR_ID, object_id); target 416 lib/cib/cib_ops.c if (target == NULL) { target 417 lib/cib/cib_ops.c target = create_xml_node(parent, object_name); target 443 lib/cib/cib_ops.c remove = find_xml_node(target, replace_item, FALSE); target 446 lib/cib/cib_ops.c replace_item, crm_element_name(target)); target 457 lib/cib/cib_ops.c xml_remove_prop(target, XML_CIB_ATTR_REPLACE); target 460 lib/cib/cib_ops.c copy_in_properties(target, update); target 462 lib/cib/cib_ops.c if (xml_acl_denied(target)) { target 482 lib/cib/cib_ops.c tmp_result = update_cib_object(target, a_child); target 543 lib/cib/cib_ops.c update_results(xmlNode *failed, xmlNode *target, const char *operation, target 555 lib/cib/cib_ops.c add_node_copy(xml_node, target); target 557 lib/cib/cib_ops.c crm_xml_add(xml_node, XML_FAILCIB_ATTR_ID, ID(target)); target 558 lib/cib/cib_ops.c crm_xml_add(xml_node, XML_FAILCIB_ATTR_OBJTYPE, TYPE(target)); target 926 lib/cluster/cpg.c char *target = NULL; target 972 lib/cluster/cpg.c target = strdup(node->uname); target 977 lib/cluster/cpg.c target = crm_strdup_printf("%u", node->id); target 981 lib/cluster/cpg.c target = strdup("all"); target 1032 lib/cluster/cpg.c msg->id, target, (unsigned long long) iov->iov_len, target 1036 lib/cluster/cpg.c msg->id, target, (unsigned long long) iov->iov_len, target 1039 lib/cluster/cpg.c free(target); target 282 lib/common/acl.c pcmk__unpack_acl(xmlNode *source, xmlNode *target, const char *user) target 286 lib/common/acl.c if ((target == NULL) || (target->doc == NULL) target 287 lib/common/acl.c || (target->doc->_private == NULL)) { target 291 lib/common/acl.c docpriv = target->doc->_private; target 347 lib/common/acl.c pcmk__enable_acl(xmlNode *acl_source, xmlNode *target, const char *user) target 349 lib/common/acl.c pcmk__unpack_acl(acl_source, target, user); target 350 lib/common/acl.c pcmk__set_xml_doc_flag(target, pcmk__xf_acl_enabled); target 351 lib/common/acl.c pcmk__apply_acl(target); target 442 lib/common/acl.c xmlNode *target = NULL; target 453 lib/common/acl.c target = copy_xml(xml); target 454 lib/common/acl.c if (target == NULL) { target 458 lib/common/acl.c pcmk__enable_acl(acl_source, target, user); target 460 lib/common/acl.c docpriv = target->doc->_private; target 461 lib/common/acl.c for(aIter = docpriv->acls; aIter != NULL && target; aIter = aIter->next) { target 470 lib/common/acl.c xmlXPathObjectPtr xpathObj = xpath_search(target, acl->xpath); target 476 lib/common/acl.c if (!purge_xml_attributes(match) && (match == target)) { target 490 lib/common/acl.c if (!purge_xml_attributes(target)) { target 502 lib/common/acl.c free_xml(target); target 503 lib/common/acl.c target = NULL; target 506 lib/common/acl.c if (target) { target 507 lib/common/acl.c *result = target; target 44 lib/common/attrs.c const char *target = getenv(target_var); target 48 lib/common/attrs.c if (host_physical && pcmk__str_eq(target, "host", pcmk__str_casei)) { target 84 lib/common/crmcommon_private.h void pcmk__xml_update(xmlNode *parent, xmlNode *target, xmlNode *update, target 92 lib/common/crmcommon_private.h void pcmk__xc_update(xmlNode *parent, xmlNode *target, xmlNode *update); target 98 lib/common/crmcommon_private.h void pcmk__unpack_acl(xmlNode *source, xmlNode *target, const char *user); target 333 lib/common/io.c const char *target = NULL; target 341 lib/common/io.c target = full_file; target 345 lib/common/io.c crm_notice("%s not found: %s", target, pcmk_rc_str(errno)); target 348 lib/common/io.c target = NULL; target 352 lib/common/io.c target, (unsigned long) buf.st_mode); target 359 lib/common/io.c if (target == NULL) { target 360 lib/common/io.c target = dir; target 373 lib/common/io.c if (!pcmk__daemon_user_can_write(target, &buf) target 374 lib/common/io.c && !pcmk__daemon_group_can_write(target, &buf)) { target 378 lib/common/io.c target, CRM_DAEMON_USER, CRM_DAEMON_GROUP, target 212 lib/common/ipc_attrd.c const char *target = pcmk__node_attr_target(node); target 214 lib/common/ipc_attrd.c if (target != NULL) { target 215 lib/common/ipc_attrd.c node = target; target 263 lib/common/ipc_attrd.c const char *target = NULL; target 269 lib/common/ipc_attrd.c target = pcmk__node_attr_target(node); target 271 lib/common/ipc_attrd.c if (target != NULL) { target 272 lib/common/ipc_attrd.c node = target; target 288 lib/common/ipc_attrd.c const char *target = pcmk__node_attr_target(node); target 290 lib/common/ipc_attrd.c if (target != NULL) { target 291 lib/common/ipc_attrd.c node = target; target 329 lib/common/ipc_attrd.c const char *target = NULL; target 338 lib/common/ipc_attrd.c target = pcmk__node_attr_target(node); target 340 lib/common/ipc_attrd.c if (target != NULL) { target 341 lib/common/ipc_attrd.c node = target; target 371 lib/common/ipc_attrd.c const char *target = pcmk__node_attr_target(node); target 373 lib/common/ipc_attrd.c if (target != NULL) { target 374 lib/common/ipc_attrd.c node = target; target 460 lib/common/ipc_attrd.c const char *target = NULL; target 466 lib/common/ipc_attrd.c target = pcmk__node_attr_target(node); target 468 lib/common/ipc_attrd.c if (target != NULL) { target 469 lib/common/ipc_attrd.c node = target; target 537 lib/common/ipc_attrd.c const char *target = NULL; target 552 lib/common/ipc_attrd.c target = pcmk__node_attr_target(pair->node); target 554 lib/common/ipc_attrd.c if (target != NULL) { target 555 lib/common/ipc_attrd.c pair->node = target; target 1305 lib/common/iso8601.c crm_time_set(crm_time_t *target, const crm_time_t *source) target 1307 lib/common/iso8601.c crm_trace("target=%p, source=%p", target, source); target 1309 lib/common/iso8601.c CRM_CHECK(target != NULL && source != NULL, return); target 1311 lib/common/iso8601.c target->years = source->years; target 1312 lib/common/iso8601.c target->days = source->days; target 1313 lib/common/iso8601.c target->months = source->months; /* Only for durations */ target 1314 lib/common/iso8601.c target->seconds = source->seconds; target 1315 lib/common/iso8601.c target->offset = source->offset; target 1319 lib/common/iso8601.c crm_time_log(LOG_TRACE, "target", target, target 1324 lib/common/iso8601.c ha_set_tm_time(crm_time_t *target, const struct tm *source) target 1330 lib/common/iso8601.c target->years = 0; target 1331 lib/common/iso8601.c target->months = 0; target 1332 lib/common/iso8601.c target->days = 0; target 1333 lib/common/iso8601.c target->seconds = 0; target 1334 lib/common/iso8601.c target->offset = 0; target 1335 lib/common/iso8601.c target->duration = FALSE; target 1339 lib/common/iso8601.c target->years = 1900 + source->tm_year; target 1344 lib/common/iso8601.c target->days = 1 + source->tm_yday; target 1348 lib/common/iso8601.c target->seconds += HOUR_SECONDS * source->tm_hour; target 1351 lib/common/iso8601.c target->seconds += 60 * source->tm_min; target 1354 lib/common/iso8601.c target->seconds += source->tm_sec; target 1363 lib/common/iso8601.c target->offset += HOUR_SECONDS * h_offset; target 1364 lib/common/iso8601.c target->offset += 60 * m_offset; target 1368 lib/common/iso8601.c crm_time_set_timet(crm_time_t *target, const time_t *source) target 1370 lib/common/iso8601.c ha_set_tm_time(target, localtime(source)); target 1376 lib/common/iso8601.c crm_time_t *target = crm_time_new_undefined(); target 1378 lib/common/iso8601.c crm_time_set(target, source); target 1379 lib/common/iso8601.c return target; target 1393 lib/common/iso8601.c crm_time_t *target = crm_time_new_undefined(); target 1395 lib/common/iso8601.c crm_time_set_timet(target, &source); target 1396 lib/common/iso8601.c return target; target 1660 lib/common/iso8601.c ha_get_tm_time(struct tm *target, const crm_time_t *source) target 1662 lib/common/iso8601.c *target = (struct tm) { target 1674 lib/common/iso8601.c mktime(target); target 1688 lib/common/iso8601.c pcmk__time_hr_convert(pcmk__time_hr_t *target, const crm_time_t *dt) target 1693 lib/common/iso8601.c hr_dt = target?target:calloc(1, sizeof(pcmk__time_hr_t)); target 1709 lib/common/iso8601.c pcmk__time_set_hr_dt(crm_time_t *target, const pcmk__time_hr_t *hr_dt) target 1711 lib/common/iso8601.c CRM_ASSERT((hr_dt) && (target)); target 1712 lib/common/iso8601.c *target = (crm_time_t) { target 241 lib/common/patchset.c xml_create_patchset_v1(xmlNode *source, xmlNode *target, bool config, target 244 lib/common/patchset.c xmlNode *patchset = diff_xml_object(source, target, suppress); target 247 lib/common/patchset.c CRM_LOG_ASSERT(xml_document_dirty(target)); target 248 lib/common/patchset.c xml_repair_v1_diff(source, target, patchset, config); target 255 lib/common/patchset.c xml_create_patchset_v2(xmlNode *source, xmlNode *target) target 270 lib/common/patchset.c CRM_ASSERT(target); target 271 lib/common/patchset.c if (!xml_document_dirty(target)) { target 275 lib/common/patchset.c CRM_ASSERT(target->doc); target 276 lib/common/patchset.c docpriv = target->doc->_private; target 295 lib/common/patchset.c const char *value = crm_element_value(target, vfields[lpc]); target 314 lib/common/patchset.c add_xml_changes_to_patchset(target, patchset); target 319 lib/common/patchset.c xml_create_patchset(int format, xmlNode *source, xmlNode *target, target 327 lib/common/patchset.c xml_acl_disable(target); target 328 lib/common/patchset.c if (!xml_document_dirty(target)) { target 333 lib/common/patchset.c config = is_config_change(target); target 340 lib/common/patchset.c crm_xml_add(target, XML_ATTR_NUMUPDATES, "0"); target 342 lib/common/patchset.c crm_element_value_int(target, XML_ATTR_GENERATION, &counter); target 343 lib/common/patchset.c crm_xml_add_int(target, XML_ATTR_GENERATION, counter+1); target 346 lib/common/patchset.c crm_element_value_int(target, XML_ATTR_NUMUPDATES, &counter); target 349 lib/common/patchset.c crm_xml_add_int(target, XML_ATTR_NUMUPDATES, (counter + 1)); target 363 lib/common/patchset.c patch = xml_create_patchset_v1(source, target, config, FALSE); target 366 lib/common/patchset.c patch = xml_create_patchset_v2(source, target); target 376 lib/common/patchset.c patchset_process_digest(xmlNode *patch, xmlNode *source, xmlNode *target, target 383 lib/common/patchset.c if ((patch == NULL) || (source == NULL) || (target == NULL)) { target 390 lib/common/patchset.c CRM_LOG_ASSERT(!xml_document_dirty(target)); target 398 lib/common/patchset.c digest = calculate_xml_versioned_digest(target, FALSE, TRUE, version); target 415 lib/common/patchset.c process_v1_removals(xmlNode *target, xmlNode *patch) target 424 lib/common/patchset.c if ((target == NULL) || (patch == NULL)) { target 428 lib/common/patchset.c if (target->type == XML_COMMENT_NODE) { target 431 lib/common/patchset.c subtract_xml_comment(target->parent, target, patch, &dummy); target 434 lib/common/patchset.c name = crm_element_name(target); target 436 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(crm_element_name(target), crm_element_name(patch), target 439 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(ID(target), ID(patch), pcmk__str_casei), return); target 442 lib/common/patchset.c id = crm_element_value_copy(target, XML_ATTR_ID); target 446 lib/common/patchset.c free_xml(target); target 455 lib/common/patchset.c cIter = pcmk__xml_first_child(target); target 468 lib/common/patchset.c process_v1_additions(xmlNode *parent, xmlNode *target, xmlNode *patch) target 480 lib/common/patchset.c } else if ((parent == NULL) && (target == NULL)) { target 486 lib/common/patchset.c if ((target == NULL) && (value != NULL) target 494 lib/common/patchset.c } else if (target == NULL) { target 501 lib/common/patchset.c if (target->type == XML_COMMENT_NODE) { target 502 lib/common/patchset.c pcmk__xc_update(parent, target, patch); target 505 lib/common/patchset.c name = crm_element_name(target); target 507 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(crm_element_name(target), crm_element_name(patch), target 510 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(ID(target), ID(patch), pcmk__str_casei), return); target 517 lib/common/patchset.c xml_remove_prop(target, p_name); // Preserve patch order target 518 lib/common/patchset.c crm_xml_add(target, p_name, p_value); target 525 lib/common/patchset.c target_child = pcmk__xml_match(target, patch_child, false); target 526 lib/common/patchset.c process_v1_additions(target, target_child, patch_child); target 798 lib/common/patchset.c xmlNode *target = (xmlNode *) top->doc; target 844 lib/common/patchset.c target = first_matching_xml_child(target, tag, NULL, target 848 lib/common/patchset.c target = first_matching_xml_child(target, tag, id, target 853 lib/common/patchset.c target = NULL; target 860 lib/common/patchset.c } while ((rc == 2) && target); target 862 lib/common/patchset.c if (target) { target 864 lib/common/patchset.c (path = (char *) xmlGetNodePath(target)), key); target 874 lib/common/patchset.c return target; target 481 lib/common/xml.c copy_in_properties(xmlNode *target, const xmlNode *src) target 486 lib/common/xml.c } else if (target == NULL) { target 494 lib/common/xml.c expand_plus_plus(target, p_name, p_value); target 495 lib/common/xml.c if (xml_acl_denied(target)) { target 496 lib/common/xml.c crm_trace("Cannot copy %s=%s to %s", p_name, p_value, target->name); target 514 lib/common/xml.c fix_plus_plus_recursive(xmlNode *target) target 519 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(target); a != NULL; a = a->next) { target 523 lib/common/xml.c expand_plus_plus(target, p_name, p_value); target 525 lib/common/xml.c for (child = pcmk__xml_first_child(target); child != NULL; target 548 lib/common/xml.c expand_plus_plus(xmlNode * target, const char *name, const char *value) target 557 lib/common/xml.c if (target == NULL || value == NULL || name == NULL) { target 561 lib/common/xml.c old_value = crm_element_value(target, name); target 596 lib/common/xml.c crm_xml_add_int(target, name, int_value); target 604 lib/common/xml.c crm_xml_add(target, name, value); target 2209 lib/common/xml.c pcmk__xc_update(xmlNode *parent, xmlNode *target, xmlNode *update) target 2214 lib/common/xml.c if (target == NULL) { target 2215 lib/common/xml.c target = pcmk__xc_match(parent, update, false); target 2218 lib/common/xml.c if (target == NULL) { target 2221 lib/common/xml.c } else if (!pcmk__str_eq((const char *)target->content, (const char *)update->content, pcmk__str_casei)) { target 2222 lib/common/xml.c xmlFree(target->content); target 2223 lib/common/xml.c target->content = xmlStrdup(update->content); target 2240 lib/common/xml.c pcmk__xml_update(xmlNode *parent, xmlNode *target, xmlNode *update, target 2250 lib/common/xml.c crm_log_xml_trace(target, "target:"); target 2256 lib/common/xml.c pcmk__xc_update(parent, target, update); target 2270 lib/common/xml.c CRM_CHECK(target != NULL || parent != NULL, return); target 2272 lib/common/xml.c if (target == NULL) { target 2273 lib/common/xml.c target = pcmk__xe_match(parent, object_name, target 2277 lib/common/xml.c if (target == NULL) { target 2278 lib/common/xml.c target = create_xml_node(parent, object_name); target 2279 lib/common/xml.c CRM_CHECK(target != NULL, return); target 2297 lib/common/xml.c CRM_CHECK(pcmk__str_eq(crm_element_name(target), crm_element_name(update), target 2303 lib/common/xml.c copy_in_properties(target, update); target 2312 lib/common/xml.c xmlUnsetProp(target, a->name); target 2313 lib/common/xml.c xmlSetProp(target, a->name, (pcmkXmlStr) p_value); target 2327 lib/common/xml.c pcmk__xml_update(target, NULL, a_child, as_diff); target 28 lib/fencing/fencing_private.h int stonith__rhcs_validate(stonith_t *st, int call_options, const char *target, target 46 lib/fencing/fencing_private.h int stonith__lha_validate(stonith_t *st, int call_options, const char *target, target 123 lib/fencing/st_actions.c make_args(const char *agent, const char *action, const char *target, target 142 lib/fencing/st_actions.c value, action, pcmk__s(target, "no node")); target 152 lib/fencing/st_actions.c if ((target != NULL) && (device_args != NULL)) { target 158 lib/fencing/st_actions.c g_hash_table_insert(arg_list, strdup("nodename"), strdup(target)); target 166 lib/fencing/st_actions.c nodeid, action, pcmk__s(target, "no node")); target 191 lib/fencing/st_actions.c alias = g_hash_table_lookup(port_map, target); target 194 lib/fencing/st_actions.c alias = target; target 197 lib/fencing/st_actions.c param, alias, action, pcmk__s(target, "no node")); target 266 lib/fencing/st_actions.c const char *target, uint32_t target_nodeid, target 274 lib/fencing/st_actions.c action->args = make_args(agent, action_name, target, target_nodeid, target 277 lib/fencing/st_actions.c action_name, pcmk__s(target, "no node"), agent); target 542 lib/fencing/st_client.c stonith_api_query(stonith_t * stonith, int call_options, const char *target, target 555 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_TARGET, target); target 602 lib/fencing/st_client.c const char *action, const char *target, int timeout_sec, target 612 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_TARGET, target); target 689 lib/fencing/st_client.c stonith_api_confirm(stonith_t * stonith, int call_options, const char *target) target 691 lib/fencing/st_client.c stonith__set_call_options(call_options, target, st_opt_manual_ack); target 692 lib/fencing/st_client.c return stonith_api_fence(stonith, call_options, target, "off", 0, 0); target 728 lib/fencing/st_client.c kvp->target = crm_element_value_copy(op, F_STONITH_TARGET); target 760 lib/fencing/st_client.c free(hp->target); target 1432 lib/fencing/st_client.c event->target = crm_element_value_copy(data, F_STONITH_TARGET); target 1467 lib/fencing/st_client.c free(event->target); target 1734 lib/fencing/st_client.c const char *target = "node1"; target 1773 lib/fencing/st_client.c rc = stonith__rhcs_validate(st, call_options, target, agent, target 1780 lib/fencing/st_client.c rc = stonith__lha_validate(st, call_options, target, agent, target 2260 lib/fencing/st_client.c pcmk__str_eq(event->target, prev_hp->target, pcmk__str_casei) && target 2640 lib/fencing/st_client.c const char *target = pcmk__s(event->target, "no node"); target 2682 lib/fencing/st_client.c action, target, executioner, origin, origin_node, target 272 lib/fencing/st_lha.c stonith__lha_validate(stonith_t *st, int call_options, const char *target, target 103 lib/fencing/st_output.c stonith_action_str(history->action), " of ", history->target, target 187 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 216 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 249 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 280 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 310 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 314 lib/fencing/st_output.c char *buf = crm_strdup_printf("Node %s last fenced at: %s", target, ctime(&when)); target 326 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 330 lib/fencing/st_output.c pcmk__indented_printf(out, "Node %s last fenced at: %s", target, ctime(&when)); target 332 lib/fencing/st_output.c pcmk__indented_printf(out, "Node %s has never been fenced\n", target); target 341 lib/fencing/st_output.c const char *target = va_arg(args, const char *); target 348 lib/fencing/st_output.c "target", target, target 373 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { target 461 lib/fencing/st_output.c "target", event->target, target 254 lib/fencing/st_rhcs.c stonith__rhcs_validate(stonith_t *st, int call_options, const char *target, target 295 lib/fencing/st_rhcs.c action = stonith__action_create(agent, "validate-all", target, 0, target 311 lib/lrmd/lrmd_alerts.c const char *target, const char *task, const char *desc, target 321 lib/lrmd/lrmd_alerts.c params = alert_key2param(params, PCMK__alert_key_node, target); target 192 lib/pacemaker/pcmk_acl.c xmlNode *target, *comment; target 218 lib/pacemaker/pcmk_acl.c target = copy_xml(xmlDocGetRootElement((xmlDoc *) cib_doc)); target 219 lib/pacemaker/pcmk_acl.c if (target == NULL) { target 223 lib/pacemaker/pcmk_acl.c pcmk__enable_acl(target, target, cred); target 225 lib/pacemaker/pcmk_acl.c ret = pcmk__acl_annotate_permissions_recursive(target); target 229 lib/pacemaker/pcmk_acl.c comment = xmlNewDocComment(target->doc, (pcmkXmlStr) credentials); target 232 lib/pacemaker/pcmk_acl.c xmlFreeNode(target); target 235 lib/pacemaker/pcmk_acl.c xmlAddPrevSibling(xmlDocGetRootElement(target->doc), comment); target 236 lib/pacemaker/pcmk_acl.c *acl_evaled_doc = target->doc; target 239 lib/pacemaker/pcmk_acl.c xmlFreeNode(target); target 29 lib/pacemaker/pcmk_fence.c const char *target; target 39 lib/pacemaker/pcmk_fence.c handle_level(stonith_t *st, const char *target, int fence_level, target 48 lib/pacemaker/pcmk_fence.c if (target == NULL) { target 54 lib/pacemaker/pcmk_fence.c value = strchr(target, '='); target 56 lib/pacemaker/pcmk_fence.c name = target; target 58 lib/pacemaker/pcmk_fence.c } else if (*target == '@') { target 59 lib/pacemaker/pcmk_fence.c pattern = target + 1; target 61 lib/pacemaker/pcmk_fence.c node = target; target 98 lib/pacemaker/pcmk_fence.c if (pcmk__str_eq(hp->target, np->target, pcmk__str_casei) && target 123 lib/pacemaker/pcmk_fence.c if (pcmk__str_eq(async_fence_data.target, e->target, pcmk__str_casei) target 161 lib/pacemaker/pcmk_fence.c async_fence_data.target, target 184 lib/pacemaker/pcmk_fence.c pcmk__request_fencing(stonith_t *st, const char *target, const char *action, target 193 lib/pacemaker/pcmk_fence.c async_fence_data.target = target; target 221 lib/pacemaker/pcmk_fence.c pcmk_request_fencing(stonith_t *st, const char *target, const char *action, target 225 lib/pacemaker/pcmk_fence.c return pcmk__request_fencing(st, target, action, name, timeout, tolerance, target 231 lib/pacemaker/pcmk_fence.c pcmk__fence_history(pcmk__output_t *out, stonith_t *st, const char *target, target 241 lib/pacemaker/pcmk_fence.c target ? " for node " : "", target ? target : ""); target 247 lib/pacemaker/pcmk_fence.c stonith__set_call_options(opts, target, st_opts); target 249 lib/pacemaker/pcmk_fence.c stonith__set_call_options(opts, target, st_opt_cleanup); target 252 lib/pacemaker/pcmk_fence.c stonith__set_call_options(opts, target, st_opt_broadcast); target 255 lib/pacemaker/pcmk_fence.c pcmk__str_eq(target, "*", pcmk__str_none)? NULL : target, target 301 lib/pacemaker/pcmk_fence.c pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, const char *target, target 317 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_history(out, st, target, timeout, verbose, broadcast, cleanup); target 366 lib/pacemaker/pcmk_fence.c pcmk__fence_last(pcmk__output_t *out, const char *target, bool as_nodeid) target 370 lib/pacemaker/pcmk_fence.c if (target == NULL) { target 375 lib/pacemaker/pcmk_fence.c when = stonith_api_time(atol(target), NULL, FALSE); target 377 lib/pacemaker/pcmk_fence.c when = stonith_api_time(0, target, FALSE); target 380 lib/pacemaker/pcmk_fence.c return out->message(out, "last-fenced", target, when); target 385 lib/pacemaker/pcmk_fence.c pcmk_fence_last(xmlNodePtr *xml, const char *target, bool as_nodeid) target 397 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_last(out, target, as_nodeid); target 489 lib/pacemaker/pcmk_fence.c pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, const char *target, target 495 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); target 517 lib/pacemaker/pcmk_fence.c pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, const char *target, target 530 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_registered(out, st, target, timeout); target 537 lib/pacemaker/pcmk_fence.c pcmk__fence_register_level(stonith_t *st, const char *target, int fence_level, target 540 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, devices, true); target 545 lib/pacemaker/pcmk_fence.c pcmk_fence_register_level(stonith_t *st, const char *target, int fence_level, target 548 lib/pacemaker/pcmk_fence.c return pcmk__fence_register_level(st, target, fence_level, devices); target 553 lib/pacemaker/pcmk_fence.c pcmk__fence_unregister_level(stonith_t *st, const char *target, int fence_level) target 555 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, NULL, false); target 560 lib/pacemaker/pcmk_fence.c pcmk_fence_unregister_level(stonith_t *st, const char *target, int fence_level) target 562 lib/pacemaker/pcmk_fence.c return pcmk__fence_unregister_level(st, target, fence_level); target 1391 lib/pacemaker/pcmk_output.c const char *target = va_arg(args, const char *); target 1398 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Fencing %s (%s)", target, op); target 1406 lib/pacemaker/pcmk_output.c const char *target = va_arg(args, const char *); target 1414 lib/pacemaker/pcmk_output.c "target", target, target 56 lib/pacemaker/pcmk_sched_fencing.c pe_node_t *target; target 60 lib/pacemaker/pcmk_sched_fencing.c target = stonith_op->node; target 76 lib/pacemaker/pcmk_sched_fencing.c && pe_hash_table_lookup(rsc->allowed_nodes, target->details->id) target 77 lib/pacemaker/pcmk_sched_fencing.c && !rsc_is_known_on(rsc, target)) { target 89 lib/pacemaker/pcmk_sched_fencing.c pe__node_name(target)); target 114 lib/pacemaker/pcmk_sched_fencing.c pe_node_t *target; target 117 lib/pacemaker/pcmk_sched_fencing.c target = stonith_op->node; target 120 lib/pacemaker/pcmk_sched_fencing.c action_list = pe__resource_actions(rsc, target, RSC_STOP, FALSE); target 129 lib/pacemaker/pcmk_sched_fencing.c || pe__is_guest_node(target)) { target 168 lib/pacemaker/pcmk_sched_fencing.c pe__node_name(target)); target 172 lib/pacemaker/pcmk_sched_fencing.c pe__node_name(target)); target 209 lib/pacemaker/pcmk_sched_fencing.c action_list = pe__resource_actions(rsc, target, RSC_DEMOTE, FALSE); target 220 lib/pacemaker/pcmk_sched_fencing.c rsc->id, pe__node_name(target)); target 223 lib/pacemaker/pcmk_sched_fencing.c action->uuid, pe__node_name(target)); target 29 lib/pacemaker/pcmk_sched_migration.c const pe_node_t *target) target 35 lib/pacemaker/pcmk_sched_migration.c target->details->uname); target 683 lib/pacemaker/pcmk_simulate.c char *target = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET); target 685 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-fencing-action", target, op); target 692 lib/pacemaker/pcmk_simulate.c xmlNode *cib_node = pcmk__inject_node_state_change(fake_cib, target, target 704 lib/pacemaker/pcmk_simulate.c "[@" XML_ATTR_UNAME "='", target, "']/" XML_CIB_TAG_LRM, target 712 lib/pacemaker/pcmk_simulate.c "[@" XML_ATTR_UNAME "='", target, "']" target 723 lib/pacemaker/pcmk_simulate.c free(target); target 320 lib/pengine/bundle.c ":", mount->target, NULL); target 334 lib/pengine/bundle.c volid, mount->target); target 352 lib/pengine/bundle.c ":", port->target, NULL); target 358 lib/pengine/bundle.c " -p ", port->source, ":", port->target, target 365 lib/pengine/bundle.c " --port=", port->target, target 370 lib/pengine/bundle.c " --port=", port->target, ":", port->source, target 668 lib/pengine/bundle.c const char *target, const char *options, uint32_t flags) target 674 lib/pengine/bundle.c mount->target = strdup(target); target 684 lib/pengine/bundle.c free(mount->target); target 693 lib/pengine/bundle.c free(port->target); target 874 lib/pengine/bundle.c port->target = crm_element_value_copy(xml_child, "internal-port"); target 878 lib/pengine/bundle.c if(port->target == NULL) { target 879 lib/pengine/bundle.c port->target = strdup(port->source); target 895 lib/pengine/bundle.c const char *target = crm_element_value(xml_child, "target-dir"); target 905 lib/pengine/bundle.c if (source && target) { target 906 lib/pengine/bundle.c mount_add(bundle_data, source, target, options, flags); target 907 lib/pengine/bundle.c if (strcmp(target, "/var/log") == 0) { target 1022 lib/pengine/bundle.c port->target = strdup(port->source); target 2793 lib/pengine/unpack.c const char *target = NULL; target 2801 lib/pengine/unpack.c target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); target 2806 lib/pengine/unpack.c if (pcmk__str_eq(node_name, target, pcmk__str_casei)) { target 2948 lib/pengine/unpack.c const char *target = NULL; target 2955 lib/pengine/unpack.c &target) != pcmk_rc_ok) { target 2964 lib/pengine/unpack.c migrate_from = find_lrm_op(history->rsc->id, CRMD_ACTION_MIGRATED, target, target 2982 lib/pengine/unpack.c target_newer_state = newer_state_after_migrate(history->rsc->id, target, target 3003 lib/pengine/unpack.c target_node = pe_find_node(history->rsc->cluster->nodes, target); target 3026 lib/pengine/unpack.c && unknown_on_node(history->rsc, target)) { target 3065 lib/pengine/unpack.c const char *target = NULL; target 3069 lib/pengine/unpack.c &target) != pcmk_rc_ok) { target 3080 lib/pengine/unpack.c target, source, PCMK_OCF_OK, target 3088 lib/pengine/unpack.c !unknown_on_node(history->rsc, target) target 3092 lib/pengine/unpack.c && !newer_state_after_migrate(history->rsc->id, target, history->xml, target 3100 lib/pengine/unpack.c target); target 3132 lib/pengine/unpack.c const char *target = NULL; target 3136 lib/pengine/unpack.c &target) != pcmk_rc_ok) { target 3147 lib/pengine/unpack.c source, target, PCMK_OCF_OK, target 4408 lib/pengine/unpack.c pe_node_t *target = NULL; target 4412 lib/pengine/unpack.c target = pe_find_node(history->rsc->cluster->nodes, migrate_target); target 4413 lib/pengine/unpack.c if (target != NULL) { target 4414 lib/pengine/unpack.c stop_action(history->rsc, target, FALSE); target 34 lib/pengine/variant.h char *target; target 41 lib/pengine/variant.h char *target; target 573 lib/services/dbus.c char *target; // Name of DBus bus that query should be sent to target 582 lib/services/dbus.c free(data->target); target 693 lib/services/dbus.c pcmk_dbus_get_property(DBusConnection *connection, const char *target, target 702 lib/services/dbus.c CRM_CHECK((connection != NULL) && (target != NULL) && (obj != NULL) target 706 lib/services/dbus.c target, obj, name); target 709 lib/services/dbus.c msg = dbus_message_new_method_call(target, obj, BUS_PROPERTY_IFACE, "Get"); target 735 lib/services/dbus.c query_data->target = strdup(target); target 740 lib/services/dbus.c CRM_CHECK((query_data->target != NULL) target 37 lib/services/pcmk-dbus.h DBusConnection *connection, const char *target, const char *obj, const gchar * iface, const char *name, target 173 maint/gnulib/lib/fcntl.c static int rpl_fcntl_DUPFD (int fd, int target); target 175 maint/gnulib/lib/fcntl.c static int rpl_fcntl_DUPFD_CLOEXEC (int fd, int target); target 215 maint/gnulib/lib/fcntl.c int target = va_arg (arg, int); target 216 maint/gnulib/lib/fcntl.c result = rpl_fcntl_DUPFD (fd, target); target 222 maint/gnulib/lib/fcntl.c int target = va_arg (arg, int); target 223 maint/gnulib/lib/fcntl.c result = rpl_fcntl_DUPFD_CLOEXEC (fd, target); target 447 maint/gnulib/lib/fcntl.c rpl_fcntl_DUPFD (int fd, int target) target 451 maint/gnulib/lib/fcntl.c result = dupfd (fd, target, 0); target 454 maint/gnulib/lib/fcntl.c if (target < 0 || getdtablesize () <= target) target 467 maint/gnulib/lib/fcntl.c result = fcntl (fd, F_DUPFD, target); target 482 maint/gnulib/lib/fcntl.c result = fcntl (fd, F_DUPFD, target); target 488 maint/gnulib/lib/fcntl.c rpl_fcntl_DUPFD_CLOEXEC (int fd, int target) target 492 maint/gnulib/lib/fcntl.c result = dupfd (fd, target, O_CLOEXEC); target 512 maint/gnulib/lib/fcntl.c result = fcntl (fd, F_DUPFD_CLOEXEC, target); target 523 maint/gnulib/lib/fcntl.c result = rpl_fcntl_DUPFD (fd, target); target 530 maint/gnulib/lib/fcntl.c result = rpl_fcntl_DUPFD (fd, target); target 46 maint/gnulib/lib/linkat.c char *target = areadlink (file1); target 47 maint/gnulib/lib/linkat.c if (target) target 58 maint/gnulib/lib/linkat.c free (target); target 66 maint/gnulib/lib/linkat.c int result = symlink (target, file2); target 67 maint/gnulib/lib/linkat.c free (target); target 71 maint/gnulib/lib/linkat.c free (target); target 76 maint/gnulib/lib/linkat.c free (target); target 94 maint/gnulib/lib/linkat.c char *target; target 101 maint/gnulib/lib/linkat.c while (i-- && (target = areadlink (name))) target 103 maint/gnulib/lib/linkat.c if (IS_ABSOLUTE_FILE_NAME (target)) target 107 maint/gnulib/lib/linkat.c name = target; target 116 maint/gnulib/lib/linkat.c free (target); target 120 maint/gnulib/lib/linkat.c name = mfile_name_concat (dir, target, NULL); target 122 maint/gnulib/lib/linkat.c free (target); target 132 maint/gnulib/lib/linkat.c target = NULL; target 135 maint/gnulib/lib/linkat.c if (!target && errno != EINVAL) target 212 maint/gnulib/lib/linkat.c char *target; target 217 maint/gnulib/lib/linkat.c while (i-- && (target = areadlinkat (fd1, name))) target 219 maint/gnulib/lib/linkat.c if (IS_ABSOLUTE_FILE_NAME (target)) target 223 maint/gnulib/lib/linkat.c name = target; target 232 maint/gnulib/lib/linkat.c free (target); target 236 maint/gnulib/lib/linkat.c name = mfile_name_concat (dir, target, NULL); target 238 maint/gnulib/lib/linkat.c free (target); target 248 maint/gnulib/lib/linkat.c target = NULL; target 251 maint/gnulib/lib/linkat.c if (!target && errno != EINVAL) target 502 maint/gnulib/lib/mountlist.c char *target = blank + 1; target 503 maint/gnulib/lib/mountlist.c blank = terminate_at_blank (target); target 525 maint/gnulib/lib/mountlist.c unescape_tab (target); target 532 maint/gnulib/lib/mountlist.c me->me_mountdir = xstrdup (target); target 149 maint/gnulib/lib/regexec.c Idx target, Idx ex_subexp, target 3102 maint/gnulib/lib/regexec.c Idx target, Idx ex_subexp, int type) target 3105 maint/gnulib/lib/regexec.c for (cur_node = target; !re_node_set_contains (dst_nodes, cur_node);) target 762 tools/crm_attribute.c const char *target = pcmk__node_attr_target(options.dest_uname); target 764 tools/crm_attribute.c if (target != NULL) { target 766 tools/crm_attribute.c options.dest_uname = g_strdup(target); target 2139 tools/crm_mon.c send_custom_trap(e->target, NULL, e->operation, pcmk_ok, e->result, 0, desc); target 409 tools/crm_node.c tools_remove_node_cache(const char *node_name, long nodeid, const char *target) target 415 tools/crm_node.c conn = crm_ipc_new(target, 0); target 420 tools/crm_node.c crm_perror(LOG_ERR, "Connection to %s failed", target); target 426 tools/crm_node.c node_name, nodeid, target); target 428 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 87 tools/crm_resource_ban.c pe_node_t *target = n->data; target 89 tools/crm_resource_ban.c rc = cli_resource_ban(out, rsc_id, target->details->uname, move_lifetime, target 338 tools/crm_resource_ban.c pe_node_t *target = n->data; target 340 tools/crm_resource_ban.c rc = cli_resource_clear(rsc_id, target->details->uname, NULL, target 336 tools/stonith_admin.c request_fencing(stonith_t *st, const char *target, const char *command, target 340 tools/stonith_admin.c int rc = pcmk__request_fencing(st, target, command, name, target 357 tools/stonith_admin.c what, target, rc_str, target 374 tools/stonith_admin.c char *target = NULL; target 452 tools/stonith_admin.c target = options.terminate; target 464 tools/stonith_admin.c target = options.reboot_host; target 471 tools/stonith_admin.c target = options.fence_host; target 478 tools/stonith_admin.c target = options.unfence_host; target 484 tools/stonith_admin.c target = options.confirm_host; target 490 tools/stonith_admin.c target = options.last_fenced; target 495 tools/stonith_admin.c target = options.history; target 500 tools/stonith_admin.c target = options.register_level; target 505 tools/stonith_admin.c target = options.unregister_level; target 551 tools/stonith_admin.c rc = pcmk__fence_registered(out, st, target, options.timeout*1000); target 594 tools/stonith_admin.c rc = pcmk__fence_unregister_level(st, target, options.fence_level); target 597 tools/stonith_admin.c options.fence_level, target, pcmk_rc_str(rc)); target 602 tools/stonith_admin.c rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices); target 605 tools/stonith_admin.c options.fence_level, target, pcmk_rc_str(rc)); target 619 tools/stonith_admin.c rc = st->cmds->confirm(st, st_opts, target); target 624 tools/stonith_admin.c rc = request_fencing(st, target, "reboot", &error); target 628 tools/stonith_admin.c rc = request_fencing(st, target, "off", &error); target 632 tools/stonith_admin.c rc = request_fencing(st, target, "on", &error); target 636 tools/stonith_admin.c rc = pcmk__fence_last(out, target, options.as_nodeid); target 640 tools/stonith_admin.c rc = pcmk__fence_history(out, st, target, options.timeout*1000, args->verbosity,