strdup 280 attrd/attrd_common.c pattern = strdup(ATTRD_RE_CLEAR_ALL); strdup 243 attrd/commands.c host = strdup(attrd_cluster->uname); strdup 548 attrd/commands.c peer_writer = strdup(peer->uname); strdup 594 attrd/commands.c peer_writer = strdup(peer->uname); strdup 600 attrd/commands.c peer_writer = strdup(peer->uname); strdup 723 attrd/commands.c v->nodename = strdup(host); strdup 845 attrd/commands.c v->current = (value? strdup(value) : NULL); strdup 897 attrd/commands.c peer_writer = strdup(attrd_cluster->uname); strdup 1051 attrd/commands.c a_v->nodename = strdup(v->nodename); strdup 1054 attrd/commands.c a_v->current = strdup(v->current); strdup 1170 attrd/commands.c v->requested = strdup(v->current); strdup 1194 attrd/commands.c strdup(a->id), strdup 187 attrd/legacy.c hash_entry->id = strdup(attr); strdup 197 attrd/legacy.c hash_entry->set = strdup(value); strdup 206 attrd/legacy.c hash_entry->section = strdup(value); strdup 212 attrd/legacy.c hash_entry->dampen = strdup(value); strdup 223 attrd/legacy.c hash_entry->user = strdup(value); strdup 796 attrd/legacy.c hash_entry->stored_value = strdup(data->value); strdup 879 attrd/legacy.c data->attr = strdup(hash_entry->id); strdup 881 attrd/legacy.c data->value = strdup(hash_entry->value); strdup 924 attrd/legacy.c hash_entry->uuid = strdup(key); strdup 954 attrd/legacy.c hash_entry->value = (expanded? expanded : strdup(value)); strdup 283 cib/callbacks.c cib_client->name = strdup(value); strdup 506 cib/callbacks.c notify->client_id = strdup(client_id); strdup 525 cib/main.c cib_our_uname = strdup("localhost"); strdup 422 cib/remote.c client->name = strdup(client->id); strdup 424 cib/remote.c client->name = strdup(value); strdup 431 cib/remote.c client->userdata = strdup(value); strdup 435 cib/remote.c client->userdata = strdup(client->id); strdup 530 cib/remote.c client->user = strdup(user); strdup 650 cib/remote.c p_conv.appdata_ptr = strdup(passwd); strdup 1100 crmd/control.c fsa_cluster_name = strdup(value); strdup 139 crmd/crmd_metadata.c return strdup(version); strdup 156 crmd/crmd_metadata.c p->rap_name = strdup(param_name); strdup 156 crmd/join_client.c fsa_register_cib_callback(query_call_id, FALSE, strdup(join_id), join_query_callback); strdup 356 crmd/join_dc.c max_generation_from = strdup(join_from); strdup 369 crmd/join_dc.c max_generation_from = strdup(join_from); strdup 440 crmd/join_dc.c sync_from = strdup(max_generation_from); strdup 448 crmd/join_dc.c sync_from = strdup(fsa_our_uname); strdup 98 crmd/lrm.c g_hash_table_replace(user_data, strdup((const char *)key), strdup((const char *)value)); strdup 106 crmd/lrm.c g_hash_table_replace(user_data, strdup((const char *)key), strdup((const char *)value)); strdup 205 crmd/lrm.c entry->id = strdup(op->rsc_id); strdup 209 crmd/lrm.c entry->rsc.type = strdup(rsc->type); strdup 210 crmd/lrm.c entry->rsc.class = strdup(rsc->class); strdup 212 crmd/lrm.c entry->rsc.provider = strdup(rsc->provider); strdup 980 crmd/lrm.c char *rsc_id_copy = strdup(rsc_id); strdup 1332 crmd/lrm.c op->rsc = strdup(rsc->id); strdup 1451 crmd/lrm.c rsc.id = strdup(op->rsc_id); strdup 1816 crmd/lrm.c op->op_type = strdup(operation); strdup 1819 crmd/lrm.c op->rsc_id = strdup(rsc_id); strdup 1834 crmd/lrm.c g_hash_table_insert(op->params, strdup(XML_ATTR_CRM_VERSION), strdup(CRM_FEATURE_SET)); strdup 1877 crmd/lrm.c g_hash_table_replace(params, crm_meta_name(key), strdup(value)); strdup 1885 crmd/lrm.c g_hash_table_replace(params, crm_meta_name(key), strdup(value)); strdup 1945 crmd/lrm.c op->user_data = strdup(transition); strdup 1971 crmd/lrm.c op->rsc_id = strdup(rsc_id); strdup 2237 crmd/lrm.c pending->op_type = strdup(operation); strdup 2238 crmd/lrm.c pending->op_key = strdup(op_id); strdup 2239 crmd/lrm.c pending->rsc_id = strdup(rsc->id); strdup 2241 crmd/lrm.c pending->user_data = strdup(op->user_data); strdup 2413 crmd/lrm.c ret = strdup(string); strdup 133 crmd/lrm_state.c state->node_name = strdup(node_name); strdup 278 crmd/membership.c fsa_register_cib_callback(delete_call_id, FALSE, strdup(node_uuid), strdup 287 crmd/membership.c fsa_register_cib_callback(delete_call_id, FALSE, strdup(node_uuid), strdup 360 crmd/membership.c fsa_register_cib_callback(call_id, FALSE, strdup(node->uuid), strdup 525 crmd/messages.c *client_name = strdup(local_client_name); strdup 526 crmd/messages.c *major_version = strdup(local_major_version); strdup 527 crmd/messages.c *minor_version = strdup(local_minor_version); strdup 579 crmd/messages.c curr_client->userdata = strdup(client_name); strdup 385 crmd/remote_lrmd_ra.c g_hash_table_insert(op.params, strdup(tmp->key), strdup(tmp->value)); strdup 601 crmd/remote_lrmd_ra.c cmd->exit_reason = strdup("Authentication key not readable"); strdup 890 crmd/remote_lrmd_ra.c info->id = strdup(rsc_id); strdup 891 crmd/remote_lrmd_ra.c info->type = strdup(REMOTE_LRMD_RA); strdup 892 crmd/remote_lrmd_ra.c info->class = strdup(PCMK_RESOURCE_CLASS_OCF); strdup 893 crmd/remote_lrmd_ra.c info->provider = strdup("pacemaker"); strdup 1038 crmd/remote_lrmd_ra.c cmd->userdata = strdup(userdata); strdup 1091 crmd/remote_lrmd_ra.c cmd->owner = strdup(lrm_state->node_name); strdup 1092 crmd/remote_lrmd_ra.c cmd->rsc_id = strdup(rsc_id); strdup 1093 crmd/remote_lrmd_ra.c cmd->action = strdup(action); strdup 1094 crmd/remote_lrmd_ra.c cmd->userdata = strdup(userdata); strdup 162 crmd/subsystems.c opts[0] = strdup(the_subsystem->command); strdup 124 crmd/te_actions.c peer->uuid = strdup(uuid); strdup 148 crmd/te_actions.c fsa_register_cib_callback(rc, FALSE, strdup(target), cib_fencing_updated); strdup 561 crmd/te_actions.c r->name = strdup(target); strdup 626 crmd/te_actions.c r->name = strdup(target); strdup 301 crmd/te_callbacks.c nodeid = strdup(tmp); strdup 311 crmd/te_callbacks.c char *mutable_path = strdup(xpath); strdup 330 crmd/te_callbacks.c node_uuid = strdup(match); strdup 469 crmd/te_callbacks.c char *mutable_key = strdup(xpath); strdup 723 crmd/te_callbacks.c g_hash_table_insert(stonith_failures, strdup(target), rec); strdup 161 crmd/te_events.c failed_start_offset = strdup(INFINITY_S); strdup 168 crmd/te_events.c failed_stop_offset = strdup(INFINITY_S); strdup 54 crmd/te_utils.c stonith_cleanup_list = g_list_append(stonith_cleanup_list, strdup(target)); strdup 288 crmd/te_utils.c char *target_copy = strdup(st_event->target); strdup 206 crmd/tengine.c failed_stop_offset = strdup(value); strdup 212 crmd/tengine.c failed_start_offset = strdup(value); strdup 517 crmd/throttle.c r->node = strdup(node); strdup 561 crmd/throttle.c r->node = strdup(from); strdup 963 crmd/utils.c fsa_our_dc = strdup(welcome_from); strdup 966 crmd/utils.c fsa_our_dc_version = strdup(dc_version); strdup 326 fencing/admin.c str = strdup("unknown"); strdup 330 fencing/admin.c str = strdup(action); strdup 434 fencing/admin.c async_fence_data.name = strdup(crm_system_name); strdup 262 fencing/commands.c cmd->action = strdup(action); strdup 460 fencing/commands.c cmd->device = strdup(device->id); strdup 568 fencing/commands.c *targets = g_list_append(*targets, strdup(value)); strdup 711 fencing/commands.c g_hash_table_replace(metadata_cache, strdup(agent), buffer); strdup 839 fencing/commands.c g_hash_table_insert(params, key, strdup(value)); strdup 977 fencing/commands.c cmd->action = strdup(action); strdup 978 fencing/commands.c cmd->victim = victim ? strdup(victim) : NULL; strdup 979 fencing/commands.c cmd->device = strdup(device->id); strdup 980 fencing/commands.c cmd->origin = strdup(origin); strdup 981 fencing/commands.c cmd->client = strdup(crm_system_name); strdup 982 fencing/commands.c cmd->client_name = strdup(crm_system_name); strdup 1065 fencing/commands.c g_hash_table_replace(dev->params, strdup(STONITH_ATTR_HOSTCHECK), strdup("status")); strdup 1424 fencing/commands.c tp->levels[id] = g_list_append(tp->levels[id], strdup(device)); strdup 1518 fencing/commands.c search->capable = g_list_append(search->capable, strdup(device)); strdup 1722 fencing/commands.c search->host = host ? strdup(host) : NULL; strdup 1723 fencing/commands.c search->action = action ? strdup(action) : NULL; strdup 1964 fencing/commands.c query->remote_peer = remote_peer ? strdup(remote_peer) : NULL; strdup 1965 fencing/commands.c query->client_id = client_id ? strdup(client_id) : NULL; strdup 1966 fencing/commands.c query->target = target ? strdup(target) : NULL; strdup 1967 fencing/commands.c query->action = action ? strdup(action) : NULL; strdup 770 fencing/main.c mutable = strdup(xpath); strdup 1264 fencing/main.c g_hash_table_insert(known_peer_names, GUINT_TO_POINTER(node->id), strdup(node->uname)); strdup 1514 fencing/main.c stonith_our_uname = strdup("localhost"); strdup 654 fencing/remote.c op->automatic_list = g_list_prepend(op->automatic_list, strdup(device)); strdup 687 fencing/remote.c op->devices_list = g_list_append(op->devices_list, strdup(lpc->data)); strdup 912 fencing/remote.c op->delegate = strdup("a human"); strdup 930 fencing/remote.c return strdup(node->uname); strdup 940 fencing/remote.c return strdup(last_known_name); strdup 1006 fencing/remote.c op->originator = strdup(stonith_our_uname); strdup 1011 fencing/remote.c op->client_id = strdup(client); strdup 1729 fencing/remote.c g_hash_table_insert(result->devices, strdup(device), props); strdup 1775 fencing/remote.c result->host = strdup(host); strdup 114 fencing/standalone_config.c dev->name = strdup(device); strdup 115 fencing/standalone_config.c dev->agent = strdup(agent); strdup 136 fencing/standalone_config.c dev->key_vals[dev->key_vals_count].key = strdup(key); strdup 137 fencing/standalone_config.c dev->key_vals[dev->key_vals_count].val = strdup(value); strdup 203 fencing/standalone_config.c topo->node_name = strdup(node); strdup 208 fencing/standalone_config.c topo->priority_levels[topo->priority_levels_count].device_name = strdup(device); strdup 135 include/crm/compatibility.h # define crm_strdup strdup strdup 461 lib/ais/utils.c uncompressed = strdup(msg->data); strdup 165 lib/cib/cib_attrs.c *value = strdup(tmp); strdup 249 lib/cib/cib_attrs.c local_set_name = strdup(CIB_OPTIONS_FIRST); strdup 457 lib/cib/cib_attrs.c *uuid = strdup(parsed_uuid); strdup 554 lib/cib/cib_attrs.c *uname = strdup(child_name); strdup 496 lib/cib/cib_file.c private->filename = strdup(cib_location); strdup 163 lib/cib/cib_ops.c new_value = strdup("1"); strdup 127 lib/cib/cib_remote.c private->server = strdup(server); strdup 131 lib/cib/cib_remote.c private->user = strdup(user); strdup 135 lib/cib/cib_remote.c private->passwd = strdup(passwd); strdup 292 lib/cib/cib_remote.c connection->token = strdup(tmp_ticket); strdup 128 lib/cluster/cluster.c return strdup(node->uname); strdup 156 lib/cluster/cluster.c uuid = strdup(peer->uname); strdup 310 lib/cluster/cluster.c return strdup(isolation_host); strdup 348 lib/cluster/cluster.c name = strdup(res.nodename); strdup 415 lib/cluster/cluster.c node->uuid = strdup(uuid); strdup 428 lib/cluster/cluster.c char *uuid_copy = strdup(uuid); strdup 446 lib/cluster/cluster.c node->uuid = strdup(uuid); strdup 325 lib/cluster/cpg.c data = strdup(msg->data); strdup 573 lib/cluster/cpg.c target = strdup(node->uname); strdup 582 lib/cluster/cpg.c target = strdup("all"); strdup 604 lib/cluster/cpg.c char *uncompressed = strdup(data); strdup 78 lib/cluster/election.c e->uname = strdup(uname); strdup 380 lib/cluster/election.c char *op_copy = strdup(op); strdup 381 lib/cluster/election.c char *uname_copy = strdup(from); strdup 404 lib/cluster/election.c char *op_copy = strdup(op); strdup 405 lib/cluster/election.c char *uname_copy = strdup(from); strdup 196 lib/cluster/heartbeat.c parent->names[next] = strdup(field); strdup 569 lib/cluster/heartbeat.c cluster->uname = strdup(const_uname); strdup 570 lib/cluster/heartbeat.c cluster->uuid = strdup(const_uuid); strdup 86 lib/cluster/legacy.c if(uname) *uname = strdup(local_uname); strdup 127 lib/cluster/legacy.c local_uname = strdup(answer.uname); strdup 130 lib/cluster/legacy.c if(uname) *uname = strdup(local_uname); strdup 663 lib/cluster/legacy.c name = strdup(us.cn_name); strdup 809 lib/cluster/legacy.c *value = strdup(buffer); strdup 824 lib/cluster/legacy.c *value = strdup(env_value); strdup 830 lib/cluster/legacy.c *value = strdup(fallback); strdup 112 lib/cluster/membership.c node->uuid = strdup(node_name); strdup 363 lib/cluster/membership.c search.uname = name ? strdup(name) : NULL; strdup 776 lib/cluster/membership.c node->uuid = strdup(uuid); strdup 812 lib/cluster/membership.c node->addr = strdup(addr); strdup 860 lib/cluster/membership.c node->uname = strdup(uname); strdup 980 lib/cluster/membership.c node->expected = strdup(expected); strdup 1030 lib/cluster/membership.c node->state = strdup(state); strdup 75 lib/common/alerts.c entry->id = strdup(id); strdup 76 lib/common/alerts.c entry->path = strdup(path); strdup 105 lib/common/alerts.c dst->name = strdup(src->name); strdup 106 lib/common/alerts.c dst->value = src->value?strdup(src->value):NULL; strdup 127 lib/common/alerts.c new_entry->tstamp_format = strdup(entry->tstamp_format); strdup 130 lib/common/alerts.c new_entry->recipient = strdup(entry->recipient); strdup 159 lib/common/alerts.c g_hash_table_insert(table, strdup(*key), strdup(value)); strdup 172 lib/common/alerts.c g_hash_table_insert(table, strdup(*key), crm_itoa(value)); strdup 80 lib/common/cib_secrets.c return strdup(buf); strdup 195 lib/common/cib_secrets.c g_hash_table_replace(params, strdup(key), secret_value); strdup 53 lib/common/io.c char *path = strdup(path_c); strdup 116 lib/common/ipc.c true_from = strdup(sys_from); strdup 851 lib/common/ipc.c client->name = strdup(name); strdup 418 lib/common/iso8601.c return strdup(""); strdup 1451 lib/common/iso8601.c return (date_len == 0)?NULL:strdup(date_s); strdup 258 lib/common/logging.c filename_cp = strdup(filename); strdup 685 lib/common/logging.c crm_system_name = strdup(entity); strdup 688 lib/common/logging.c char *mutable = strdup(argv[0]); strdup 696 lib/common/logging.c crm_system_name = strdup(modified); strdup 700 lib/common/logging.c crm_system_name = strdup("Unknown"); strdup 733 lib/common/mainloop.c char *c_name = strdup(client->name); strdup 820 lib/common/mainloop.c client->name = strdup(name); strdup 1111 lib/common/mainloop.c child->desc = strdup(desc); strdup 78 lib/common/operations.c mutable_key = strdup(key); strdup 93 lib/common/operations.c *op_type = strdup(mutable_key_ptr); strdup 506 lib/common/operations.c op_id = strdup(key); strdup 529 lib/common/operations.c op_id = strdup(key); strdup 239 lib/common/schemas.c known_schemas[last].name = strdup(name); strdup 240 lib/common/schemas.c known_schemas[last].location = strdup(location); strdup 244 lib/common/schemas.c known_schemas[last].transform = strdup(transform); strdup 628 lib/common/schemas.c char *filename = strdup(CRM_STATE_DIR "/cib-invalid.XXXXXX"); strdup 930 lib/common/schemas.c char *const orig_value = strdup(value == NULL ? "(none)" : value); strdup 377 lib/common/strings.c g_hash_table_insert((GHashTable*)user_data, strdup(key), strdup(value)); strdup 417 lib/common/strings.c char *uncompressed = strdup(data); strdup 285 lib/common/utils.c return strdup(INFINITY_S); strdup 288 lib/common/utils.c return strdup("-" INFINITY_S); strdup 313 lib/common/utils.c new_value = strdup(value); strdup 314 lib/common/utils.c g_hash_table_insert(options, strdup(name), new_value); strdup 348 lib/common/utils.c new_value = strdup(value); strdup 349 lib/common/utils.c g_hash_table_insert(options, strdup(name), new_value); strdup 501 lib/common/utils.c ver1_copy = strdup(version1); strdup 502 lib/common/utils.c ver2_copy = strdup(version2); strdup 1016 lib/common/utils.c crm_short_options = strdup(short_options); strdup 1268 lib/common/utils.c return strdup(pwent->pw_name); strdup 1548 lib/common/utils.c *type = strdup(spec); strdup 404 lib/common/xml.c acl->xpath = strdup(xpath); strdup 438 lib/common/xml.c acl->xpath = strdup(buffer); strdup 614 lib/common/xml.c p->user = strdup(user); strdup 1955 lib/common/xml.c char *current = strdup(key); strdup 2637 lib/common/xml.c return strdup(buffer); strdup 2676 lib/common/xml.c deleted_obj->path = strdup(buffer); strdup 3202 lib/common/xml.c char *copy = strdup(text); strdup 3348 lib/common/xml.c p_copy = strdup("*****"); strdup 3414 lib/common/xml.c prefix_m = strdup(prefix); strdup 3430 lib/common/xml.c prefix_del = strdup(prefix); strdup 3433 lib/common/xml.c prefix_moved = strdup(prefix); strdup 3523 lib/common/xml.c prefix_m = strdup(prefix); strdup 3530 lib/common/xml.c prefix_m = strdup(prefix); strdup 3742 lib/common/xml.c *buffer = strdup((char *)xml_buffer->content); strdup 3875 lib/common/xml.c value_copy = strdup(value); strdup 4110 lib/common/xml.c char *name = strdup((const char *)prop->name); strdup 4954 lib/common/xml.c g_hash_table_insert(nvpair_hash, strdup(p_name), strdup(p_value)); strdup 4964 lib/common/xml.c g_hash_table_insert(nvpair_hash, strdup(key), strdup(value)); strdup 686 lib/fencing/st_client.c action->agent = strdup(agent); strdup 687 lib/fencing/st_client.c action->action = strdup(_action); strdup 689 lib/fencing/st_client.c action->victim = strdup(victim); strdup 1203 lib/fencing/st_client.c return strdup(val); strdup 1352 lib/fencing/st_client.c meta_longdesc = strdup(no_parameter_info); strdup 1358 lib/fencing/st_client.c meta_shortdesc = strdup(no_parameter_info); strdup 1364 lib/fencing/st_client.c meta_param = strdup(no_parameter_info); strdup 1487 lib/fencing/st_client.c *list_info = strdup(list_str); strdup 1802 lib/fencing/st_client.c native->token = strdup(tmp_ticket); strdup 2510 lib/fencing/st_client.c p->key = strdup(key); strdup 2513 lib/fencing/st_client.c p->value = strdup(value); strdup 2571 lib/fencing/st_client.c name = strdup(uname); strdup 2620 lib/fencing/st_client.c name = strdup(uname); strdup 121 lib/lrmd/lrmd_client.c p->val = strdup(value); strdup 158 lib/lrmd/lrmd_client.c p->key = strdup(key); strdup 159 lib/lrmd/lrmd_client.c p->value = strdup(value); strdup 201 lib/lrmd/lrmd_client.c copy->rsc_id = event->rsc_id ? strdup(event->rsc_id) : NULL; strdup 202 lib/lrmd/lrmd_client.c copy->op_type = event->op_type ? strdup(event->op_type) : NULL; strdup 203 lib/lrmd/lrmd_client.c copy->user_data = event->user_data ? strdup(event->user_data) : NULL; strdup 204 lib/lrmd/lrmd_client.c copy->output = event->output ? strdup(event->output) : NULL; strdup 205 lib/lrmd/lrmd_client.c copy->exit_reason = event->exit_reason ? strdup(event->exit_reason) : NULL; strdup 206 lib/lrmd/lrmd_client.c copy->remote_nodename = event->remote_nodename ? strdup(event->remote_nodename) : NULL; strdup 942 lib/lrmd/lrmd_client.c native->token = strdup(tmp_ticket); strdup 943 lib/lrmd/lrmd_client.c native->peer_version = strdup(version?version:"1.0"); /* Included since 1.1 */ strdup 1464 lib/lrmd/lrmd_client.c copy->id = strdup(rsc_info->id); strdup 1465 lib/lrmd/lrmd_client.c copy->type = strdup(rsc_info->type); strdup 1466 lib/lrmd/lrmd_client.c copy->class = strdup(rsc_info->class); strdup 1468 lib/lrmd/lrmd_client.c copy->provider = strdup(rsc_info->provider); strdup 1519 lib/lrmd/lrmd_client.c rsc_info->id = strdup(rsc_id); strdup 1520 lib/lrmd/lrmd_client.c rsc_info->class = strdup(class); strdup 1522 lib/lrmd/lrmd_client.c rsc_info->provider = strdup(provider); strdup 1524 lib/lrmd/lrmd_client.c rsc_info->type = strdup(type); strdup 1623 lib/lrmd/lrmd_client.c *output = strdup(action->stdout_data); strdup 1867 lib/lrmd/lrmd_client.c native->remote_nodename = nodename ? strdup(nodename) : strdup(server); strdup 1868 lib/lrmd/lrmd_client.c native->server = server ? strdup(server) : strdup(nodename); strdup 188 lib/lrmd/proxy_common.c proxy->node_name = strdup(node_name); strdup 189 lib/lrmd/proxy_common.c proxy->session_id = strdup(session_id); strdup 140 lib/pengine/clone.c g_hash_table_replace(rsc->meta, strdup("stateful"), strdup(XML_BOOLEAN_TRUE)); strdup 435 lib/pengine/common.c g_hash_table_insert(hash, strdup(name), strdup(value)); strdup 541 lib/pengine/complex.c (*rsc)->id = strdup(id); strdup 71 lib/pengine/container.c tuple->ipaddr = strdup(data->ip_range_start); strdup 642 lib/pengine/container.c strdup(CRM_ATTR_KIND), strdup("container")); strdup 705 lib/pengine/container.c mount->source = strdup(source); strdup 706 lib/pengine/container.c mount->target = strdup(target); strdup 708 lib/pengine/container.c mount->options = strdup(options); strdup 841 lib/pengine/container.c container_data->prefix = strdup(rsc->id); strdup 917 lib/pengine/container.c port->target = strdup(port->source); strdup 1046 lib/pengine/container.c port->source = strdup(container_data->control_port); strdup 1058 lib/pengine/container.c port->target = strdup(port->source); strdup 1079 lib/pengine/container.c g_hash_table_replace(rsc->meta, strdup(XML_RSC_ATTR_TARGET), strdup(container_data->attribute_target)); strdup 1080 lib/pengine/container.c g_hash_table_replace(container_data->child->meta, strdup(XML_RSC_ATTR_TARGET), strdup(container_data->attribute_target)); strdup 1191 lib/pengine/container.c rsc->clone_name = strdup(stem); strdup 167 lib/pengine/failcounts.c return is_set(rsc->flags, pe_rsc_unique)? strdup(name) : clone_strip(name); strdup 276 lib/pengine/native.c value_copy = strdup(value); strdup 838 lib/pengine/native.c g_hash_table_insert(rsc_table, strdup(buffer), rsc_counter); strdup 857 lib/pengine/native.c g_hash_table_insert(active_table, strdup(node->details->uname), node_table); strdup 864 lib/pengine/native.c g_hash_table_insert(node_table, strdup(buffer), active_counter); strdup 522 lib/pengine/rules.c value_low = strdup(value); \ strdup 755 lib/pengine/rules.c g_hash_table_insert(hash, strdup(name), strdup(value)); strdup 759 lib/pengine/rules.c g_hash_table_replace(hash, strdup(name), strdup(value)); strdup 1017 lib/pengine/rules.c g_hash_table_insert(node_hash, strdup(CRM_ATTR_RA_VERSION), strdup 1018 lib/pengine/rules.c strdup(ra_version)); strdup 29 lib/pengine/rules_alerts.c strdup(script) : NULL; strdup 32 lib/pengine/rules_alerts.c notify_target = target? strdup(target): NULL; strdup 82 lib/pengine/rules_alerts.c entry->tstamp_format = strdup(value); strdup 117 lib/pengine/rules_alerts.c g_hash_table_insert(entry->envvars, strdup(name), strdup(value)); strdup 166 lib/pengine/rules_alerts.c entry->select_attribute_name[nattrs - 1] = strdup(attr_name); strdup 222 lib/pengine/rules_alerts.c entry->recipient = strdup(notify_target); strdup 223 lib/pengine/rules_alerts.c entry->tstamp_format = strdup(CRM_ALERT_DEFAULT_TSTAMP_FORMAT); strdup 250 lib/pengine/rules_alerts.c entry->tstamp_format = strdup(CRM_ALERT_DEFAULT_TSTAMP_FORMAT); strdup 263 lib/pengine/rules_alerts.c recipient_entry->recipient = strdup(crm_element_value(recipient, strdup 400 lib/pengine/unpack.c g_hash_table_insert(new_node->details->attrs, strdup(CRM_ATTR_KIND), strdup 401 lib/pengine/unpack.c strdup("remote")); strdup 403 lib/pengine/unpack.c g_hash_table_insert(new_node->details->attrs, strdup(CRM_ATTR_KIND), strdup 404 lib/pengine/unpack.c strdup("cluster")); strdup 707 lib/pengine/unpack.c g_hash_table_replace(remote_node->details->attrs, strdup(CRM_ATTR_KIND), strdup 708 lib/pengine/unpack.c strdup("container")); strdup 755 lib/pengine/unpack.c g_hash_table_insert(data_set->template_rsc_sets, strdup(template_id), NULL); strdup 875 lib/pengine/unpack.c g_hash_table_replace(ticket->state, strdup(prop_name), strdup(prop_value)); strdup 954 lib/pengine/unpack.c state_key = strdup("granted"); strdup 960 lib/pengine/unpack.c state_key = strdup("last-granted"); strdup 987 lib/pengine/unpack.c g_hash_table_replace(ticket->state, state_key, strdup(value)); strdup 1831 lib/pengine/unpack.c rsc->clone_name = strdup(rsc_id); strdup 2645 lib/pengine/unpack.c action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); strdup 2992 lib/pengine/unpack.c action_t *action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); strdup 3236 lib/pengine/unpack.c rsc->pending_task = strdup(task); strdup 3315 lib/pengine/unpack.c strdup(CRM_ATTR_UNAME), strdup(node->details->uname)); strdup 3317 lib/pengine/unpack.c g_hash_table_insert(node->details->attrs, strdup(CRM_ATTR_ID), strdup 3318 lib/pengine/unpack.c strdup(node->details->id)); strdup 3323 lib/pengine/unpack.c strdup(CRM_ATTR_IS_DC), strdup(XML_BOOLEAN_TRUE)); strdup 3326 lib/pengine/unpack.c strdup(CRM_ATTR_IS_DC), strdup(XML_BOOLEAN_FALSE)); strdup 3331 lib/pengine/unpack.c g_hash_table_insert(node->details->attrs, strdup(CRM_ATTR_CLUSTER_NAME), strdup 3332 lib/pengine/unpack.c strdup(cluster_name)); strdup 3343 lib/pengine/unpack.c strdup(CRM_ATTR_SITE_NAME), strdup 3344 lib/pengine/unpack.c strdup(site_name)); strdup 3349 lib/pengine/unpack.c strdup(CRM_ATTR_SITE_NAME), strdup 3350 lib/pengine/unpack.c strdup(cluster_name)); strdup 473 lib/pengine/utils.c action->task = strdup(task); strdup 477 lib/pengine/utils.c action->uuid = strdup(key); strdup 731 lib/pengine/utils.c g_hash_table_replace(meta, strdup(XML_OP_ATTR_START_DELAY), crm_itoa(start_delay)); strdup 787 lib/pengine/utils.c g_hash_table_replace(meta, strdup(XML_OP_ATTR_START_DELAY), strdup 938 lib/pengine/utils.c g_hash_table_replace(action->meta, strdup(prop_name), strdup(prop_value)); strdup 964 lib/pengine/utils.c g_hash_table_replace(action->meta, strdup(field), value_ms); strdup 1026 lib/pengine/utils.c g_hash_table_insert(action->meta, strdup(XML_OP_ATTR_ON_FAIL), strdup("block")); strdup 1159 lib/pengine/utils.c g_hash_table_replace(action->meta, strdup(XML_ATTR_TIMEOUT), crm_itoa(timeout)); strdup 1255 lib/pengine/utils.c char *pe_mutable = strdup("\t\t"); strdup 1786 lib/pengine/utils.c op = custom_action(NULL, strdup(name), name, NULL, TRUE, TRUE, data_set); strdup 1831 lib/pengine/utils.c ticket->id = strdup(ticket_id); strdup 1837 lib/pengine/utils.c g_hash_table_insert(data_set->tickets, strdup(ticket->id), ticket); strdup 1897 lib/pengine/utils.c action_t *action = custom_action(rsc, strdup(key), task, node, TRUE, FALSE, data_set); strdup 1973 lib/pengine/utils.c g_hash_table_insert(node->details->digest_cache, strdup(key), data); strdup 2200 lib/pengine/utils.c strdup(XML_OP_ATTR_DIGESTS_ALL), strdup 2203 lib/pengine/utils.c strdup(XML_OP_ATTR_DIGESTS_SECURE), strdup 2214 lib/pengine/utils.c stonith_op->reason = strdup(reason); strdup 2269 lib/pengine/utils.c tag->id = strdup(tag_name); strdup 2271 lib/pengine/utils.c g_hash_table_insert(tags, strdup(tag_name), tag); strdup 2284 lib/pengine/utils.c tag->refs = g_list_append(tag->refs, strdup(obj_ref)); strdup 2361 lib/pengine/utils.c action->reason = strdup(reason); strdup 339 lib/services/dbus.c output = strdup(value.str); strdup 417 lib/services/dbus.c query_data->target = strdup(target); strdup 418 lib/services/dbus.c query_data->object = strdup(obj); strdup 424 lib/services/dbus.c query_data->name = strdup(name); strdup 151 lib/services/services.c expanded_class = strdup(found_class); strdup 155 lib/services/services.c expanded_class = strdup(PCMK_RESOURCE_CLASS_LSB); strdup 158 lib/services/services.c expanded_class = strdup(standard); strdup 207 lib/services/services.c op->rsc = strdup(name); strdup 211 lib/services/services.c op->agent = strdup(agent); strdup 223 lib/services/services.c op->action = strdup(action); strdup 226 lib/services/services.c op->provider = strdup(provider); strdup 234 lib/services/services.c op->opaque->args[0] = strdup(op->opaque->exec); strdup 235 lib/services/services.c op->opaque->args[1] = strdup(action); strdup 241 lib/services/services.c op->opaque->exec = strdup(op->agent); strdup 246 lib/services/services.c op->opaque->args[0] = strdup(op->opaque->exec); strdup 247 lib/services/services.c op->opaque->args[1] = strdup(op->action); strdup 259 lib/services/services.c op->opaque->exec = strdup(op->agent); strdup 264 lib/services/services.c op->opaque->args[0] = strdup(op->opaque->exec); strdup 278 lib/services/services.c op->opaque->args[param_num++] = strdup(value_tmp); strdup 284 lib/services/services.c op->opaque->args[param_num++] = strdup(op->action); strdup 289 lib/services/services.c op->opaque->exec = strdup("systemd-dbus"); strdup 293 lib/services/services.c op->opaque->exec = strdup("upstart-dbus"); strdup 302 lib/services/services.c op->opaque->exec = strdup(op->agent); strdup 309 lib/services/services.c op->opaque->args[0] = strdup(op->opaque->exec); strdup 314 lib/services/services.c op->opaque->args[index] = strdup("--version"); strdup 340 lib/services/services.c op->opaque->args[index + 1] = strdup(value); strdup 375 lib/services/services.c op->opaque->exec = strdup(exec); strdup 376 lib/services/services.c op->opaque->args[0] = strdup(exec); strdup 379 lib/services/services.c op->opaque->args[cur_arg] = strdup(args[cur_arg - 1]); strdup 412 lib/services/services.c action->id = strdup(id); strdup 1376 lib/services/services.c standards = g_list_append(standards, strdup(PCMK_RESOURCE_CLASS_OCF)); strdup 1377 lib/services/services.c standards = g_list_append(standards, strdup(PCMK_RESOURCE_CLASS_LSB)); strdup 1378 lib/services/services.c standards = g_list_append(standards, strdup(PCMK_RESOURCE_CLASS_SERVICE)); strdup 1384 lib/services/services.c strdup(PCMK_RESOURCE_CLASS_SYSTEMD)); strdup 1393 lib/services/services.c strdup(PCMK_RESOURCE_CLASS_UPSTART)); strdup 1402 lib/services/services.c strdup(PCMK_RESOURCE_CLASS_NAGIOS)); strdup 1408 lib/services/services.c standards = g_list_append(standards, strdup(PCMK_RESOURCE_CLASS_HB)); strdup 854 lib/services/services_linux.c list = g_list_append(list, strdup(namelist[lpc]->d_name)); strdup 919 lib/services/services_linux.c result = g_list_append(result, strdup(plugin)); strdup 176 lib/services/systemd.c return strdup(name); strdup 340 lib/services/systemd.c munit = strdup(unit); strdup 445 lib/services/systemd.c unit_name = strdup(basename); strdup 100 lib/services/upstart.c *out_unit = strdup(path); strdup 137 lib/services/upstart.c char *output = strdup(input); strdup 283 lib/services/upstart.c instance = strdup(value.str); strdup 199 lib/transition/unpack.c new_graph->source = strdup(reference); strdup 201 lib/transition/unpack.c new_graph->source = strdup("unknown"); strdup 315 lib/transition/unpack.c op->rsc_id = strdup(ID(action_resource)); strdup 317 lib/transition/unpack.c op->op_type = strdup(crm_element_value(action->xml, XML_LRM_ATTR_TASK)); strdup 329 lib/transition/unpack.c g_hash_table_insert(op->params, strdup(name), strdup(value)); strdup 98 lrmd/ipc_proxy.c client->userdata = strdup(ipc_proxy->id); strdup 175 lrmd/lrmd.c cmd->client_id = strdup(client->id); strdup 193 lrmd/lrmd.c g_hash_table_insert(cmd->params, strdup("CRM_meta_isolation_instance"), strdup(rsc->rsc_id)); strdup 196 lrmd/lrmd.c g_hash_table_insert(cmd->params, strdup("CRM_meta_provider"), strdup(rsc->provider)); strdup 198 lrmd/lrmd.c g_hash_table_insert(cmd->params, strdup("CRM_meta_class"), strdup(rsc->class)); strdup 199 lrmd/lrmd.c g_hash_table_insert(cmd->params, strdup("CRM_meta_type"), strdup(rsc->type)); strdup 898 lrmd/lrmd.c cmd->action = strdup("monitor"); strdup 903 lrmd/lrmd.c cmd->action = strdup("monitor"); strdup 995 lrmd/lrmd.c cmd->output = strdup(action->stderr_data); strdup 999 lrmd/lrmd.c cmd->output = strdup(action->stdout_data); strdup 113 lrmd/lrmd_alert_api.c cb_data->client_id = strdup(client->id); strdup 149 lrmd/main.c client->name = strdup(value); strdup 108 lrmd/tls_backend.c client->name = strdup(value); strdup 170 mcp/corosync.c *value = strdup(buffer); strdup 185 mcp/corosync.c *value = strdup(env_value); strdup 191 mcp/corosync.c *value = strdup(fallback); strdup 247 mcp/corosync.c *value = strdup(fallback); strdup 298 mcp/pacemaker.c opts_vgrind[0] = strdup(VALGRIND_BIN); strdup 300 mcp/pacemaker.c opts_vgrind[1] = strdup("--tool=callgrind"); strdup 301 mcp/pacemaker.c opts_vgrind[2] = strdup("--callgrind-out-file=" CRM_STATE_DIR "/callgrind.out.%p"); strdup 302 mcp/pacemaker.c opts_vgrind[3] = strdup(child->command); strdup 305 mcp/pacemaker.c opts_vgrind[1] = strdup(child->command); strdup 310 mcp/pacemaker.c opts_default[0] = strdup(child->command); strdup 618 mcp/pacemaker.c iov->iov_base = strdup(buffer); strdup 227 pengine/allocate.c cancel = custom_action(rsc, strdup(key), RSC_CANCEL, active_node, FALSE, TRUE, data_set); strdup 231 pengine/allocate.c cancel->task = strdup(RSC_CANCEL); strdup 232 pengine/allocate.c cancel->cancel_task = strdup(task); strdup 2503 pengine/allocate.c task = strdup("Shutdown"); strdup 1125 pengine/clone.c task_mutable = strdup(key + lpc); strdup 1327 pengine/constraints.c res = strdup(action->task); strdup 1507 pengine/constraints.c order->lh_action_task = strdup(lh_action->uuid); strdup 1511 pengine/constraints.c order->rh_action_task = strdup(rh_action->uuid); strdup 1670 pengine/constraints.c custom_action_order(resource, strdup(key), NULL, then_rsc, then_key, NULL, strdup 841 pengine/container.c g_hash_table_replace(tuple->remote->parameters, strdup("addr"), strdup(calculated_addr)); strdup 134 pengine/graph.c uuid = strdup(old_uuid); strdup 749 pengine/graph.c NULL, strdup(CRM_OP_SHUTDOWN), shutdown_op, strdup 1076 pengine/graph.c g_hash_table_insert(action->meta, strdup(XML_LRM_ATTR_TARGET), strdup(action->node->details->uname)); strdup 1077 pengine/graph.c g_hash_table_insert(action->meta, strdup(XML_LRM_ATTR_TARGET_UUID), strdup(action->node->details->id)); strdup 722 pengine/native.c char *local_key = strdup(key); strdup 732 pengine/native.c mon->task = strdup(RSC_CANCEL); strdup 733 pengine/native.c mon->cancel_task = strdup(name); strdup 803 pengine/native.c NULL, strdup(key), mon, strdup 807 pengine/native.c NULL, strdup(key), mon, strdup 905 pengine/native.c char *local_key = strdup(key); strdup 913 pengine/native.c cancel_op->task = strdup(RSC_CANCEL); strdup 914 pengine/native.c cancel_op->cancel_task = strdup(name); strdup 965 pengine/native.c stopped_mon = custom_action(rsc, strdup(key), name, stop_node, is_optional, TRUE, data_set); strdup 1008 pengine/native.c custom_action_order(rsc, strdup(stop_op_key), stop, strdup 1009 pengine/native.c NULL, strdup(key), stopped_mon, strdup 1404 pengine/native.c NULL, strdup(unfence->uuid), unfence, strdup 1407 pengine/native.c custom_action_order(NULL, strdup(unfence->uuid), unfence, strdup 1423 pengine/native.c NULL, strdup(all_stopped->task), all_stopped, strdup 1461 pengine/native.c custom_action_order(NULL, strdup(load_stopped_task), load_stopped, strdup 1464 pengine/native.c custom_action_order(NULL, strdup(load_stopped_task), load_stopped, strdup 2268 pengine/native.c reason = strdup(" blocked"); strdup 2271 pengine/native.c reason = strdup(""); strdup 94 pengine/notif.c *uname = strdup(" "); strdup 96 pengine/notif.c *metal = strdup(" "); strdup 159 pengine/notif.c *rsc_list = strdup(" "); strdup 162 pengine/notif.c *node_list = strdup(" "); strdup 551 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_stop_resource"), rsc_list); strdup 552 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_stop_uname"), node_list); strdup 561 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_start_resource"), rsc_list); strdup 562 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_start_uname"), node_list); strdup 572 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_demote_resource"), rsc_list); strdup 573 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_demote_uname"), node_list); strdup 582 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_promote_resource"), rsc_list); strdup 583 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_promote_uname"), node_list); strdup 589 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_active_resource"), rsc_list); strdup 590 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_active_uname"), node_list); strdup 596 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_slave_resource"), rsc_list); strdup 597 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_slave_uname"), node_list); strdup 603 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_master_resource"), rsc_list); strdup 604 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_master_uname"), node_list); strdup 610 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_inactive_resource"), rsc_list); strdup 614 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_available_uname"), node_list); strdup 620 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_all_hosts"), strdup 625 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_all_uname"), node_list); strdup 756 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_stop_resource"), strdup 757 pengine/notif.c strdup(rsc->id)); strdup 758 pengine/notif.c g_hash_table_insert(n_data->keys, strdup("notify_stop_uname"), strdup 759 pengine/notif.c strdup(action->node->details->uname)); strdup 103 pengine/ptest.c action_name = strdup(action->uuid); strdup 111 pengine/utilization.c g_hash_table_replace(data->current_utilization, strdup(key), result); strdup 115 pengine/utilization.c g_hash_table_replace(data->current_utilization, strdup(key), result); strdup 79 pengine/utils.c new_con->id = strdup(id); strdup 124 tools/attrd_updater.c attr_name = strdup(optarg); strdup 127 tools/attrd_updater.c attr_set = strdup(optarg); strdup 130 tools/attrd_updater.c attr_dampen = strdup(optarg); strdup 134 tools/attrd_updater.c attr_section = strdup(optarg); strdup 137 tools/attrd_updater.c attr_node = strdup(optarg); strdup 204 tools/cib_shadow.c shadow = strdup(env); strdup 220 tools/cib_shadow.c shadow = strdup(optarg); strdup 227 tools/cib_shadow.c shadow = strdup(optarg); strdup 321 tools/cibadmin.c host = strdup(optarg); strdup 167 tools/crm_attribute.c dest_uname = strdup(optarg); strdup 170 tools/crm_attribute.c dest_node = strdup(optarg); strdup 173 tools/crm_attribute.c set_name = strdup(optarg); strdup 184 tools/crm_attribute.c attr_name = strdup(optarg); strdup 187 tools/crm_attribute.c attr_pattern = strdup(optarg); strdup 190 tools/crm_attribute.c attr_id = strdup(optarg); strdup 319 tools/crm_attribute.c read_value = strdup(attr_default); strdup 548 tools/crm_mon.c pid_file = strdup("/tmp/ClusterMon.pid"); strdup 628 tools/crm_mon.c pid_file = strdup(optarg); strdup 634 tools/crm_mon.c xml_file = strdup(optarg); strdup 643 tools/crm_mon.c output_filename = strdup(optarg); strdup 3392 tools/crm_mon.c char *debug_tokens = strdup("run:shell,snmptrap,tdomain"); strdup 3917 tools/crm_mon.c nodeid = strdup(tmp); strdup 171 tools/crm_node.c name = strdup(node); strdup 593 tools/crm_resource.c xml_file = strdup(optarg); strdup 605 tools/crm_resource.c move_lifetime = strdup(optarg); strdup 157 tools/crm_resource_runtime.c *value = strdup(tmp); strdup 558 tools/crm_resource_runtime.c return is_set(rsc->flags, pe_rsc_unique)? strdup(name) : clone_strip(name); strdup 757 tools/crm_resource_runtime.c g_hash_table_insert(combined, strdup(key), strdup(value)); strdup 770 tools/crm_resource_runtime.c g_hash_table_insert(combined, crm_name, strdup(value)); strdup 842 tools/crm_resource_runtime.c active = g_list_append(active, strdup(rsc->id)); strdup 1111 tools/crm_resource_runtime.c rsc_id = strdup(rsc->id); strdup 1522 tools/crm_resource_runtime.c g_hash_table_insert(params, strdup("CRM_meta_timeout"), strdup 1526 tools/crm_resource_runtime.c g_hash_table_insert(params, strdup(XML_ATTR_CRM_VERSION), strdup(CRM_FEATURE_SET)); strdup 1559 tools/crm_resource_runtime.c g_hash_table_replace(op->params, strdup(name), strdup(value)); strdup 1582 tools/crm_resource_runtime.c local_copy = strdup(op->stdout_data); strdup 1596 tools/crm_resource_runtime.c local_copy = strdup(op->stderr_data); strdup 438 tools/crm_simulate.c temp_shadow = strdup(local_output); strdup 699 tools/crm_simulate.c use_date = strdup(optarg); strdup 355 tools/crm_ticket.c *value = strdup(tmp); strdup 755 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup("granted"), strdup("true")); strdup 759 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup("granted"), strdup("false")); strdup 763 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup("standby"), strdup("true")); strdup 767 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup("standby"), strdup("false")); strdup 777 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(attr_name), strdup(attr_value)); strdup 793 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(attr_name), strdup(attr_value)); strdup 806 tools/crm_ticket.c xml_file = strdup(optarg); strdup 166 tools/crm_uuid.c char *buffer = strdup(new_value); strdup 172 tools/crmadmin.c dest_node = strdup(optarg); strdup 181 tools/crmadmin.c dest_node = strdup(optarg); strdup 186 tools/crmadmin.c dest_node = strdup(optarg); strdup 191 tools/crmadmin.c dest_node = strdup(optarg); strdup 152 tools/fake_transition.c op->rsc_id = strdup(ID(cib_resource)); strdup 154 tools/fake_transition.c op->op_type = strdup(task); strdup 211 tools/fake_transition.c found_uuid = strdup(uuid);