crm_strdup_printf 386 daemons/attrd/attrd_commands.c pattern = crm_strdup_printf(ATTRD_RE_CLEAR_ONE, rsc); crm_strdup_printf 391 daemons/attrd/attrd_commands.c pattern = crm_strdup_printf(ATTRD_RE_CLEAR_OP, crm_strdup_printf 313 daemons/attrd/attrd_utils.c pattern = crm_strdup_printf(ATTRD_RE_CLEAR_ONE, rsc); crm_strdup_printf 315 daemons/attrd/attrd_utils.c pattern = crm_strdup_printf(ATTRD_RE_CLEAR_OP, rsc, op, interval_ms); crm_strdup_printf 133 daemons/attrd/pacemaker-attrd.c char *xpath = crm_strdup_printf(XPATH_TRANSIENT, attrd_cluster->uname); crm_strdup_printf 250 daemons/attrd/pacemaker-attrd.c client->name = crm_strdup_printf("%s.%d", value?value:"unknown", client->pid); crm_strdup_printf 44 daemons/based/based_io.c char *new = crm_strdup_printf("%s/cib.auto.XXXXXX", cib_root); crm_strdup_printf 106 daemons/based/based_io.c char *a_path = crm_strdup_printf("%s/%s", cib_root, a->d_name); crm_strdup_printf 155 daemons/based/based_io.c char *a_path = crm_strdup_printf("%s/%s", cib_root, a[0]->d_name); crm_strdup_printf 156 daemons/based/based_io.c char *b_path = crm_strdup_printf("%s/%s", cib_root, b[0]->d_name); crm_strdup_printf 197 daemons/based/based_io.c sigfile = crm_strdup_printf("%s.sig", file); crm_strdup_printf 204 daemons/based/based_io.c filename = crm_strdup_printf("%s/%s", dir, file); crm_strdup_printf 205 daemons/based/based_io.c sigfilepath = crm_strdup_printf("%s/%s", dir, sigfile); crm_strdup_printf 226 daemons/based/based_io.c filename = crm_strdup_printf("%s/%s", cib_root, namelist[lpc]->d_name); crm_strdup_printf 227 daemons/based/based_io.c sigfile = crm_strdup_printf("%s.sig", filename); crm_strdup_printf 236 daemons/controld/controld_based.c xpath = crm_strdup_printf(XPATH_NODE_LRM, uname); crm_strdup_printf 237 daemons/controld/controld_based.c desc = crm_strdup_printf("resource history for node %s", uname); crm_strdup_printf 240 daemons/controld/controld_based.c xpath = crm_strdup_printf(XPATH_NODE_LRM_UNLOCKED, uname, uname); crm_strdup_printf 241 daemons/controld/controld_based.c desc = crm_strdup_printf("resource history (other than shutdown " crm_strdup_printf 245 daemons/controld/controld_based.c xpath = crm_strdup_printf(XPATH_NODE_ATTRS, uname); crm_strdup_printf 246 daemons/controld/controld_based.c desc = crm_strdup_printf("transient attributes for node %s", uname); crm_strdup_printf 249 daemons/controld/controld_based.c xpath = crm_strdup_printf(XPATH_NODE_ALL, uname); crm_strdup_printf 250 daemons/controld/controld_based.c desc = crm_strdup_printf("all state for node %s", uname); crm_strdup_printf 253 daemons/controld/controld_based.c xpath = crm_strdup_printf(XPATH_NODE_ALL_UNLOCKED, crm_strdup_printf 255 daemons/controld/controld_based.c desc = crm_strdup_printf("all state (other than shutdown locks) " crm_strdup_printf 306 daemons/controld/controld_based.c desc = crm_strdup_printf("resource history for %s on %s", rsc_id, node); crm_strdup_printf 314 daemons/controld/controld_based.c xpath = crm_strdup_printf(XPATH_RESOURCE_HISTORY, node, rsc_id); crm_strdup_printf 68 daemons/controld/controld_execd.c return crm_strdup_printf("%s:%d", rsc, call_id); crm_strdup_printf 902 daemons/controld/controld_execd.c char *now_s = crm_strdup_printf("%lld", (long long) time(NULL)); crm_strdup_printf 1063 daemons/controld/controld_execd.c op_xpath = crm_strdup_printf(XPATH_HISTORY_CALL, crm_strdup_printf 1068 daemons/controld/controld_execd.c op_xpath = crm_strdup_printf(XPATH_HISTORY_ORIG, crm_strdup_printf 1072 daemons/controld/controld_execd.c op_xpath = crm_strdup_printf(XPATH_HISTORY_ID, crm_strdup_printf 2688 daemons/controld/controld_execd.c char *prefix = crm_strdup_printf("%s-" PCMK__OP_FMT ":%d", node_name, crm_strdup_printf 827 daemons/controld/controld_execd_state.c desc = crm_strdup_printf("Operation %s of %s by %s for %s@%s: %s (ref=%s)", crm_strdup_printf 442 daemons/controld/controld_fencing.c te_client_id = crm_strdup_printf("%s.%lu", crm_system_name, crm_strdup_printf 621 daemons/controld/controld_messages.c interval_spec = crm_strdup_printf("%ums", interval_ms); crm_strdup_printf 63 daemons/controld/controld_schedulerd.c char *filename = crm_strdup_printf(PE_STATE_DIR "/pe-core-%s.bz2", id); crm_strdup_printf 368 daemons/controld/controld_schedulerd.c xpath_string = crm_strdup_printf("%.128s//%s//nvpair[@name='%.128s']", crm_strdup_printf 296 daemons/controld/controld_te_events.c char *xpath = crm_strdup_printf(XPATH_DOWNED, target); crm_strdup_printf 81 daemons/controld/controld_throttle.c return pid? crm_strdup_printf("/proc/%lld/stat", (long long) pid) : NULL; crm_strdup_printf 90 daemons/execd/remoted_proxy.c client->name = crm_strdup_printf("proxy-%s-%d-%.8s", ipc_channel, client->pid, client->id); crm_strdup_printf 913 daemons/fenced/fenced_commands.c char *key = crm_strdup_printf("pcmk_%s_action", action); crm_strdup_printf 1487 daemons/fenced/fenced_commands.c return crm_strdup_printf("%s=%s", name, value); crm_strdup_printf 1491 daemons/fenced/fenced_commands.c return crm_strdup_printf("Unknown-%d-%s", mode, ID(level)); crm_strdup_printf 1589 daemons/fenced/fenced_commands.c *desc = crm_strdup_printf("%s[%d]", target, id); crm_strdup_printf 1655 daemons/fenced/fenced_commands.c *desc = crm_strdup_printf("%s[%d]", target, id); crm_strdup_printf 2322 daemons/fenced/fenced_commands.c char *prefix = crm_strdup_printf("%s[%d]", cmd->device, pid); crm_strdup_printf 1077 daemons/fenced/fenced_remote.c op->client_name = crm_strdup_printf("%s.%lu", crm_system_name, crm_strdup_printf 128 daemons/fenced/pacemaker-fenced.c c->name = crm_strdup_printf("%s.%u", value, c->pid); crm_strdup_printf 863 daemons/fenced/pacemaker-fenced.c reason = crm_strdup_printf("%s %s", op, shortpath+1); crm_strdup_printf 173 daemons/schedulerd/pacemaker-schedulerd.c graph_file = crm_strdup_printf("%s/pengine.graph.XXXXXX", crm_strdup_printf 294 include/crm/common/internal.h return crm_strdup_printf("%lu", (unsigned long) getpid()); crm_strdup_printf 338 include/crm/common/internal.h return crm_strdup_printf("%s-%s#%s_%u", prefix, rsc_id, op, interval_ms); crm_strdup_printf 175 include/crm/common/strings_internal.h return crm_strdup_printf("%d", an_int); crm_strdup_printf 181 include/crm/common/strings_internal.h return crm_strdup_printf("%f", a_float); crm_strdup_printf 187 include/crm/common/strings_internal.h return crm_strdup_printf("%lld", (long long) epoch_time); crm_strdup_printf 52 include/crm/common/util.h char *crm_strdup_printf(char const *format, ...) G_GNUC_PRINTF(1, 2); crm_strdup_printf 131 include/crm/common/util_compat.h return crm_strdup_printf("%d", an_int); crm_strdup_printf 138 include/crm/common/util_compat.h return crm_strdup_printf("%f", a_float); crm_strdup_printf 145 include/crm/common/util_compat.h return crm_strdup_printf("%lld", (long long) epoch_time); crm_strdup_printf 245 lib/cib/cib_attrs.c local_set_name = crm_strdup_printf("%s-%s", section, crm_strdup_printf 249 lib/cib/cib_attrs.c local_set_name = crm_strdup_printf("%s-%s", section, node_uuid); crm_strdup_printf 254 lib/cib/cib_attrs.c local_set_name = crm_strdup_printf("%s-%s", tmp_set_name, crm_strdup_printf 259 lib/cib/cib_attrs.c local_set_name = crm_strdup_printf("%s-options", section); crm_strdup_printf 265 lib/cib/cib_attrs.c local_attr_id = crm_strdup_printf("%s-%s", set_name, attr_name); crm_strdup_printf 500 lib/cib/cib_attrs.c xpath_string = crm_strdup_printf(XPATH_NODE, host_lowercase, host_lowercase, host_lowercase, host_lowercase); crm_strdup_printf 580 lib/cib/cib_attrs.c attr_id = crm_strdup_printf("transient-standby-%.256s", uuid); crm_strdup_printf 584 lib/cib/cib_attrs.c attr_id = crm_strdup_printf("standby-%.256s", uuid); crm_strdup_printf 214 lib/cib/cib_client.c char *name = crm_strdup_printf("shadow.%s", suffix); crm_strdup_printf 247 lib/cib/cib_client.c cib_home = crm_strdup_printf("%s/.cib", home); crm_strdup_printf 262 lib/cib/cib_client.c fullname = crm_strdup_printf("%s/%s", dir, name); crm_strdup_printf 172 lib/cib/cib_file.c sigfile = local_sigfile = crm_strdup_printf("%s.sig", filename); crm_strdup_printf 252 lib/cib/cib_file.c char *cib_path = crm_strdup_printf("%s/%s", cib_dirname, cib_filename); crm_strdup_printf 253 lib/cib/cib_file.c char *cib_digest = crm_strdup_printf("%s.sig", cib_path); crm_strdup_printf 265 lib/cib/cib_file.c backup_digest = crm_strdup_printf("%s.sig", backup_path); crm_strdup_printf 375 lib/cib/cib_file.c char *cib_path = crm_strdup_printf("%s/%s", cib_dirname, cib_filename); crm_strdup_printf 376 lib/cib/cib_file.c char *digest_path = crm_strdup_printf("%s.sig", cib_path); crm_strdup_printf 379 lib/cib/cib_file.c char *tmp_cib = crm_strdup_printf("%s/cib.XXXXXX", cib_dirname); crm_strdup_printf 380 lib/cib/cib_file.c char *tmp_digest = crm_strdup_printf("%s/cib.XXXXXX", cib_dirname); crm_strdup_printf 769 lib/cib/cib_ops.c new_path = crm_strdup_printf("/%s[@id='%s']%s", crm_strdup_printf 773 lib/cib/cib_ops.c new_path = crm_strdup_printf("/%s%s", parent->name, crm_strdup_printf 59 lib/cluster/corosync.c return crm_strdup_printf("%u", node->id); crm_strdup_printf 170 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.nodeid", lpc); crm_strdup_printf 183 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.name", lpc); crm_strdup_printf 189 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.ring0_addr", lpc); crm_strdup_printf 616 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.nodeid", lpc); crm_strdup_printf 975 lib/cluster/cpg.c target = crm_strdup_printf("%u", node->id); crm_strdup_printf 110 lib/cluster/election.c e->name = name? crm_strdup_printf("election-%s", name) crm_strdup_printf 111 lib/cluster/election.c : crm_strdup_printf("election-%u", count++); crm_strdup_printf 1280 lib/cluster/membership.c id_str = crm_strdup_printf("%u", id); crm_strdup_printf 99 lib/common/agents.c return crm_strdup_printf("%s%s%s:%s", crm_strdup_printf 328 lib/common/attrd_client.c return crm_strdup_printf("master-%s", rsc_id); crm_strdup_printf 65 lib/common/cmdline.c char *desc = crm_strdup_printf("Report bugs to %s\n", PACKAGE_BUGREPORT); crm_strdup_printf 103 lib/common/cmdline.c common_args->output_as_descr = crm_strdup_printf("Specify output format as one of: %s", fmts); crm_strdup_printf 127 lib/common/digest.c char *trace_file = crm_strdup_printf("%s/digest-%s", crm_strdup_printf 125 lib/common/io.c return crm_strdup_printf("%s/%s-%d.%s", directory, series, sequence, crm_strdup_printf 151 lib/common/io.c series_file = crm_strdup_printf("%s/%s.last", directory, series); crm_strdup_printf 204 lib/common/io.c series_file = crm_strdup_printf("%s/%s.last", directory, series); crm_strdup_printf 246 lib/common/io.c series_file = crm_strdup_printf("%s/%s.last", directory, series); crm_strdup_printf 339 lib/common/io.c full_file = crm_strdup_printf("%s/%s", dir, file); crm_strdup_printf 639 lib/common/io.c path = crm_strdup_printf("%s/%s", dirname, filename); crm_strdup_printf 408 lib/common/logging.c blackbox_file_prefix = crm_strdup_printf("%s/%s-%lu", crm_strdup_printf 558 lib/common/logging.c char *key = crm_strdup_printf("%s:%d", cs->function, cs->lineno); crm_strdup_printf 1394 lib/common/mainloop.c t->name = crm_strdup_printf("%s-%u-%d", name, period_ms, repeat); crm_strdup_printf 1396 lib/common/mainloop.c t->name = crm_strdup_printf("%p-%u-%d", t, period_ms, repeat); crm_strdup_printf 49 lib/common/messages.c char *reference = crm_strdup_printf("%s-%s-%lld-%u", crm_strdup_printf 55 lib/common/messages.c true_from = crm_strdup_printf("%s_%s", uuid_from, crm_strdup_printf 286 lib/common/nvpair.c return crm_strdup_printf("%s=\"%s%s\"", name, value, units ? units : ""); crm_strdup_printf 307 lib/common/nvpair.c return crm_strdup_printf("%s=\"%s\"", name, now_str ? now_str : ""); crm_strdup_printf 455 lib/common/nvpair.c char *number = crm_strdup_printf("%u", ms); crm_strdup_printf 49 lib/common/operations.c return crm_strdup_printf(PCMK__OP_FMT, rsc_id, op_type, interval_ms); crm_strdup_printf 235 lib/common/operations.c return crm_strdup_printf("%s_%s_notify_%s_0", crm_strdup_printf 300 lib/common/operations.c return crm_strdup_printf("%d:%d:%d:%-*s", crm_strdup_printf 210 lib/common/output_html.c rc_buf = crm_strdup_printf("Return code: %d", exit_status); crm_strdup_printf 233 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, crm_strdup_printf("Version: %s", PACEMAKER_VERSION)); crm_strdup_printf 235 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, crm_strdup_printf("Build: %s", BUILD_VERSION)); crm_strdup_printf 236 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, crm_strdup_printf("Features: %s", CRM_FEATURES)); crm_strdup_printf 372 lib/common/output_xml.c buf = crm_strdup_printf("%lu", xmlChildElementCount(node)); crm_strdup_printf 520 lib/common/patchset.c char *prefix = crm_strdup_printf("++ %s: ", xpath); crm_strdup_printf 235 lib/common/remote.c prio = crm_strdup_printf("%s:%s", prio_base, crm_strdup_printf 42 lib/common/schemas.c crm_strdup_printf(prefix "%u.%u" suffix, (version).v[0], (version).v[1]) crm_strdup_printf 680 lib/common/schemas.c filename = crm_strdup_printf("%s/cib-invalid.XXXXXX", pcmk__get_tmpdir()); crm_strdup_printf 518 lib/common/utils.c crm_name = crm_strdup_printf(CRM_META "_%s", field); crm_strdup_printf 210 lib/common/watchdog.c pidfile = crm_strdup_printf(PCMK_RUN_DIR "/sbd.pid"); crm_strdup_printf 211 lib/common/watchdog.c sbd_path = crm_strdup_printf("%s/sbd", SBIN_DIR); crm_strdup_printf 1403 lib/common/xml.c char *replace = crm_strdup_printf("\\%.3o", copy[index]); crm_strdup_printf 2058 lib/common/xml.c f = crm_strdup_printf("%s/%s", pcmk__get_tmpdir(), uuid); crm_strdup_printf 2879 lib/common/xml.c char *xpath_string = crm_strdup_printf("//%s[@id='%s']", tag, ref); crm_strdup_printf 2920 lib/common/xml.c ret = crm_strdup_printf("%s/base", base); crm_strdup_printf 2936 lib/common/xml.c ret = crm_strdup_printf("%s/%s.rng", base, filespec); crm_strdup_printf 2940 lib/common/xml.c ret = crm_strdup_printf("%s/%s.xsl", base, filespec); crm_strdup_printf 204 lib/common/xpath.c xpath_full = crm_strdup_printf("%s%s", xpath_prefix, xpath); crm_strdup_printf 314 lib/common/xpath.c patt = crm_strdup_printf("/%s[@id=", node); crm_strdup_printf 264 lib/fencing/st_client.c char *prefix = crm_strdup_printf("%s[%d] stdout:", action->agent, pid); crm_strdup_printf 272 lib/fencing/st_client.c char *prefix = crm_strdup_printf("%s[%d] stderr:", action->agent, pid); crm_strdup_printf 581 lib/fencing/st_client.c char *nodeid = crm_strdup_printf("%" PRIu32, victim_nodeid); crm_strdup_printf 854 lib/fencing/st_client.c buffer = crm_strdup_printf(PCMK__FENCE_BINDIR "/%s", crm_strdup_printf 866 lib/fencing/st_client.c svc_action->id = crm_strdup_printf("%s_%s_%d", basename(action->agent), crm_strdup_printf 1801 lib/fencing/st_client.c char *data_addr = crm_strdup_printf("//%s", ntype); crm_strdup_printf 245 lib/fencing/st_lha.c buffer = crm_strdup_printf(META_TEMPLATE, agent, xml_meta_longdesc, crm_strdup_printf 164 lib/fencing/st_output.c char *buf = crm_strdup_printf("Node %s last fenced at: %s", target, ctime(&when)); crm_strdup_printf 384 lib/fencing/st_output.c char *buf = crm_strdup_printf("Validation of %s on %s %s", agent, device, crm_strdup_printf 389 lib/fencing/st_output.c char *buf = crm_strdup_printf("Validation of %s %s", agent, crm_strdup_printf 101 lib/fencing/st_rhcs.c xpath = crm_strdup_printf("//parameter[@name='%s']", parameter); crm_strdup_printf 238 lib/fencing/st_rhcs.c char *buffer = crm_strdup_printf(PCMK__FENCE_BINDIR "/%s", agent); crm_strdup_printf 57 lib/lrmd/lrmd_alerts.c char *value_s = crm_strdup_printf("%u", value); crm_strdup_printf 1351 lib/lrmd/lrmd_client.c char *name = crm_strdup_printf("pacemaker-remote-%s:%d", crm_strdup_printf 90 lib/lrmd/lrmd_output.c char *title = crm_strdup_printf("%s agents", pcmk__str_empty(provider) ? agent_spec : provider); crm_strdup_printf 163 lib/pacemaker/pcmk_graph_logging.c char *desc = crm_strdup_printf("%s %s op %s", crm_strdup_printf 28 lib/pacemaker/pcmk_output.c retval = crm_strdup_printf("%s (score=%s, %s role=%s, id=%s)", crm_strdup_printf 32 lib/pacemaker/pcmk_output.c retval = crm_strdup_printf("%s (score=%s, id=%s)", crm_strdup_printf 158 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s -> %s %s", role2text(rsc->role), role2text(rsc->next_role), destination->details->uname); crm_strdup_printf 162 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s", destination->details->uname); crm_strdup_printf 166 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s %s", role2text(rsc->role), origin->details->uname); crm_strdup_printf 170 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s", origin->details->uname); crm_strdup_printf 174 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s %s", role2text(rsc->role), origin->details->uname); crm_strdup_printf 178 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s", origin->details->uname); crm_strdup_printf 182 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s -> %s %s", origin->details->uname, destination->details->uname, role2text(rsc->role)); crm_strdup_printf 186 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s -> %s", origin->details->uname, destination->details->uname); crm_strdup_printf 190 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s -> %s %s", role2text(rsc->role), role2text(rsc->next_role), origin->details->uname); crm_strdup_printf 194 lib/pacemaker/pcmk_output.c details = crm_strdup_printf("%s %s -> %s %s", role2text(rsc->role), origin->details->uname, role2text(rsc->next_role), destination->details->uname); crm_strdup_printf 203 lib/pacemaker/pcmk_output.c reason = crm_strdup_printf("due to %s (blocked)", source->reason); crm_strdup_printf 206 lib/pacemaker/pcmk_output.c reason = crm_strdup_printf("due to %s", source->reason); crm_strdup_printf 774 lib/pacemaker/pcmk_output.c action_desc = crm_strdup_printf("%ums-interval %s action", interval_ms, crm_strdup_printf 779 lib/pacemaker/pcmk_output.c action_desc = crm_strdup_printf("%s action", crm_strdup_printf 839 lib/pacemaker/pcmk_output.c char *interval_s = crm_strdup_printf("%ums", interval_ms); crm_strdup_printf 38 lib/pacemaker/pcmk_resource.c xpath = crm_strdup_printf(XPATH_OP_HISTORY, node->details->uname, rsc->id); crm_strdup_printf 826 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *probe_op = custom_action(NULL, crm_strdup_printf("%s-%s", CRM_OP_REPROBE, node->details->uname), crm_strdup_printf 2044 lib/pacemaker/pcmk_sched_allocate.c recheck_epoch = crm_strdup_printf("%llu", crm_strdup_printf 2125 lib/pacemaker/pcmk_sched_allocate.c node_name = crm_strdup_printf("%s (resource: %s)", action->node->details->uname, action->node->details->remote_rsc->container->id); crm_strdup_printf 2127 lib/pacemaker/pcmk_sched_allocate.c node_name = crm_strdup_printf("%s", action->node->details->uname); crm_strdup_printf 2135 lib/pacemaker/pcmk_sched_allocate.c task = crm_strdup_printf("Fence (%s)", op); crm_strdup_printf 748 lib/pacemaker/pcmk_sched_colocation.c char *reason_text = crm_strdup_printf("colocation with %s", reason->id); crm_strdup_printf 352 lib/pacemaker/pcmk_sched_fencing.c char *reason = crm_strdup_printf("required by %s %s", crm_strdup_printf 1573 lib/pacemaker/pcmk_sched_native.c char *load_stopped_task = crm_strdup_printf(LOAD_STOPPED "_%s", crm_strdup_printf 1589 lib/pacemaker/pcmk_sched_native.c char *load_stopped_task = crm_strdup_printf(LOAD_STOPPED "_%s", crm_strdup_printf 322 lib/pacemaker/pcmk_sched_ordering.c char *task = crm_strdup_printf(CRM_OP_RELAXED_CLONE ":%s", id); crm_strdup_printf 904 lib/pacemaker/pcmk_sched_ordering.c char *task = crm_strdup_printf(CRM_OP_RELAXED_SET ":%s", ID(set1)); crm_strdup_printf 97 lib/pacemaker/pcmk_sched_transition.c char *xpath = crm_strdup_printf(NEW_NODE_TEMPLATE, node); crm_strdup_printf 159 lib/pacemaker/pcmk_sched_transition.c char *xpath = crm_strdup_printf(NODE_TEMPLATE, node); crm_strdup_printf 230 lib/pacemaker/pcmk_sched_transition.c char *xpath = crm_strdup_printf(RSC_TEMPLATE, node, resource); crm_strdup_printf 693 lib/pacemaker/pcmk_sched_transition.c key = crm_strdup_printf(PCMK__OP_FMT "@%s=", resource, op->op_type, crm_strdup_printf 701 lib/pacemaker/pcmk_sched_transition.c key = crm_strdup_printf(PCMK__OP_FMT "@%s=", lrm_name, op->op_type, crm_strdup_printf 287 lib/pacemaker/pcmk_sched_utilization.c char *rscs_id = crm_strdup_printf("%s and its colocated resources", crm_strdup_printf 456 lib/pacemaker/pcmk_sched_utils.c char *interval_ms_s = crm_strdup_printf("%u", interval_ms); crm_strdup_printf 489 lib/pacemaker/pcmk_sched_utils.c char *shutdown_id = crm_strdup_printf("%s-%s", CRM_OP_SHUTDOWN, crm_strdup_printf 504 lib/pacemaker/pcmk_sched_utils.c return crm_strdup_printf("%d:%d;%s", op_status, op_rc, transition_key); crm_strdup_printf 69 lib/pacemaker/pcmk_simulate.c action_name = crm_strdup_printf("%s%s %s", prefix, key, action_host); crm_strdup_printf 71 lib/pacemaker/pcmk_simulate.c action_name = crm_strdup_printf("%s%s", prefix, key); crm_strdup_printf 78 lib/pacemaker/pcmk_simulate.c action_name = crm_strdup_printf("%s%s '%s' %s", prefix, action->task, op, action_host); crm_strdup_printf 81 lib/pacemaker/pcmk_simulate.c action_name = crm_strdup_printf("%s%s %s", prefix, action->uuid, action_host); crm_strdup_printf 84 lib/pacemaker/pcmk_simulate.c action_name = crm_strdup_printf("%s%s %s", prefix, action->task, action_host); crm_strdup_printf 87 lib/pacemaker/pcmk_simulate.c action_name = crm_strdup_printf("%s", action->uuid); crm_strdup_printf 91 lib/pacemaker/pcmk_simulate.c char *with_id = crm_strdup_printf("%s (%d)", action_name, action->id); crm_strdup_printf 49 lib/pengine/bundle.c return crm_strdup_printf("%u.%u.%u.%u", oct1, oct2, oct3, oct4); crm_strdup_printf 135 lib/pengine/bundle.c id = crm_strdup_printf("%s-ip-%s", data->prefix, replica->ipaddr); crm_strdup_printf 186 lib/pengine/bundle.c id = crm_strdup_printf("%s-docker-%d", data->prefix, replica->offset); crm_strdup_printf 234 lib/pengine/bundle.c char *source = crm_strdup_printf( crm_strdup_printf 350 lib/pengine/bundle.c id = crm_strdup_printf("%s-podman-%d", data->prefix, replica->offset); crm_strdup_printf 400 lib/pengine/bundle.c char *source = crm_strdup_printf( crm_strdup_printf 518 lib/pengine/bundle.c id = crm_strdup_printf("%s-rkt-%d", data->prefix, replica->offset); crm_strdup_printf 564 lib/pengine/bundle.c char *source = crm_strdup_printf( crm_strdup_printf 700 lib/pengine/bundle.c char *id = crm_strdup_printf("%s-%d", data->prefix, replica->offset); crm_strdup_printf 708 lib/pengine/bundle.c id = crm_strdup_printf("pcmk-internal-%s-remote-%d", crm_strdup_printf 1437 lib/pengine/bundle.c child_text = crm_strdup_printf("%s ", pre_text); crm_strdup_printf 1887 lib/pengine/bundle.c child_text = crm_strdup_printf(" %s", pre_text); crm_strdup_printf 1902 lib/pengine/bundle.c child_text = crm_strdup_printf("%s ", pre_text); crm_strdup_printf 94 lib/pengine/clone.c child_id = crm_strdup_printf("%s:%s", child_base, sub_id); crm_strdup_printf 369 lib/pengine/clone.c char *child_text = crm_strdup_printf("%s ", pre_text); crm_strdup_printf 454 lib/pengine/clone.c child_text = crm_strdup_printf("%s ", pre_text); crm_strdup_printf 263 lib/pengine/complex.c key = crm_strdup_printf("%s-%s", name, role); crm_strdup_printf 568 lib/pengine/complex.c (*rsc)->id = crm_strdup_printf("%s:%s", id, value); crm_strdup_printf 95 lib/pengine/failcounts.c char *xpath = crm_strdup_printf("//primitive[@id='%s']//op[@on-fail='block']", crm_strdup_printf 128 lib/pengine/failcounts.c lrm_op_xpath = crm_strdup_printf("//node_state[@uname='%s']" crm_strdup_printf 216 lib/pengine/failcounts.c pattern = crm_strdup_printf("^%s-%s%s%s$", prefix, rsc_name, crm_strdup_printf 47 lib/pengine/group.c char *word = crm_strdup_printf("%d member%s inactive", n_inactive, pcmk__plural_s(n_inactive)); crm_strdup_printf 192 lib/pengine/group.c char *child_text = crm_strdup_printf("%s ", pre_text); crm_strdup_printf 223 lib/pengine/group.c child_text = crm_strdup_printf("%s ", pre_text); crm_strdup_printf 56 lib/pengine/pe_digest.c char *name = crm_strdup_printf(" %s ", (const char *) a->name); crm_strdup_printf 72 lib/pengine/pe_digest.c char *name = crm_strdup_printf(" %s ", (const char *) a->name); crm_strdup_printf 462 lib/pengine/pe_digest.c return crm_strdup_printf("%s:%s:%s", rsc_id, agent_type, param_digest); crm_strdup_printf 170 lib/pengine/pe_output.c char *new_text = crm_strdup_printf("%s %s=%s", crm_strdup_printf 189 lib/pengine/pe_output.c return crm_strdup_printf("%s%s%s%s%s%s%s", crm_strdup_printf 211 lib/pengine/pe_output.c interval_str = crm_strdup_printf(" %s", pair); crm_strdup_printf 228 lib/pengine/pe_output.c last_change_str = crm_strdup_printf(" %s", time); crm_strdup_printf 235 lib/pengine/pe_output.c exec_str = crm_strdup_printf(" %s", pair); crm_strdup_printf 242 lib/pengine/pe_output.c queue_str = crm_strdup_printf(" %s", pair); crm_strdup_printf 246 lib/pengine/pe_output.c buf = crm_strdup_printf("(%s) %s:%s%s%s%s rc=%d (%s)", call, task, crm_strdup_printf 265 lib/pengine/pe_output.c buf = crm_strdup_printf("(%s) %s%s%s", call, task, crm_strdup_printf 283 lib/pengine/pe_output.c buf = crm_strdup_printf("%s: orphan", rsc_id); crm_strdup_printf 289 lib/pengine/pe_output.c failcount_s = crm_strdup_printf(" %s=%d", PCMK__FAIL_COUNT_PREFIX, crm_strdup_printf 295 lib/pengine/pe_output.c lastfail_s = crm_strdup_printf(" %s='%s'", crm_strdup_printf 300 lib/pengine/pe_output.c buf = crm_strdup_printf("%s: migration-threshold=%d%s%s", crm_strdup_printf 306 lib/pengine/pe_output.c buf = crm_strdup_printf("%s:", rsc_id); crm_strdup_printf 548 lib/pengine/pe_output.c char *buf = crm_strdup_printf("%s\tprevents %s from running %son %s", crm_strdup_printf 656 lib/pengine/pe_output.c char *nnodes_str = crm_strdup_printf("%d node%s configured", crm_strdup_printf 663 lib/pengine/pe_output.c char *s = crm_strdup_printf("%d resource instance%s configured (%d ", crm_strdup_printf 671 lib/pengine/pe_output.c s = crm_strdup_printf(", %d ", nblocked); crm_strdup_printf 679 lib/pengine/pe_output.c char *s = crm_strdup_printf("%d resource instance%s configured (%d ", crm_strdup_printf 688 lib/pengine/pe_output.c char *s = crm_strdup_printf("%d resource instance%s configured (%d ", crm_strdup_printf 698 lib/pengine/pe_output.c char *s = crm_strdup_printf("%d resource instance%s configured", crm_strdup_printf 785 lib/pengine/pe_output.c char *buf = crm_strdup_printf("%s (version %s) - partition with quorum", crm_strdup_printf 790 lib/pengine/pe_output.c char *buf = crm_strdup_printf("%s (version %s) - partition", crm_strdup_printf 1398 lib/pengine/pe_output.c char *s = crm_strdup_printf(" standby%s", node->details->running_rsc ? " (with active resources)" : ""); crm_strdup_printf 1470 lib/pengine/pe_output.c char *buf = crm_strdup_printf("Node: %s", node_name); crm_strdup_printf 1503 lib/pengine/pe_output.c buf = crm_strdup_printf("GuestNode %s: %s", node_name, node_mode); crm_strdup_printf 1505 lib/pengine/pe_output.c buf = crm_strdup_printf("RemoteNode %s: %s", node_name, node_mode); crm_strdup_printf 1507 lib/pengine/pe_output.c buf = crm_strdup_printf("Node %s: %s", node_name, node_mode); crm_strdup_printf 1666 lib/pengine/pe_output.c char *s = crm_strdup_printf("%s: %s", name, value); crm_strdup_printf 1681 lib/pengine/pe_output.c char *buf = crm_strdup_printf("(connectivity is degraded -- expected %d", expected_score); crm_strdup_printf 1724 lib/pengine/pe_output.c node_str = crm_strdup_printf("Unknown resource %s", op_rsc); crm_strdup_printf 1729 lib/pengine/pe_output.c last_change_str = crm_strdup_printf(", %s=%s, exec=%sms", crm_strdup_printf 1778 lib/pengine/pe_output.c agent_tuple = crm_strdup_printf("%s:%s:%s", class, crm_strdup_printf 1894 lib/pengine/pe_output.c char *dump_text = crm_strdup_printf("%s: %s capacity:", crm_strdup_printf 2316 lib/pengine/pe_output.c char *s = crm_strdup_printf("%sms", interval_ms_s); crm_strdup_printf 2332 lib/pengine/pe_output.c char *s = crm_strdup_printf("%sms", value); crm_strdup_printf 2338 lib/pengine/pe_output.c char *s = crm_strdup_printf("%sms", value); crm_strdup_printf 2651 lib/pengine/pe_output.c char *dump_text = crm_strdup_printf("%s: %s utilization on %s:", crm_strdup_printf 2007 lib/pengine/unpack.c reason = crm_strdup_printf("%s is active there (fencing will be" crm_strdup_printf 2017 lib/pengine/unpack.c reason = crm_strdup_printf("%s is thought to be active there", rsc->id); crm_strdup_printf 2048 lib/pengine/unpack.c reason = crm_strdup_printf("%s failed there", rsc->id); crm_strdup_printf 1153 lib/pengine/utils.c crm_strdup_printf("%u", interval_ms)); crm_strdup_printf 1361 lib/pengine/utils.c crm_strdup_printf("%lld", start_delay)); crm_strdup_printf 2145 lib/pengine/utils.c op_key = crm_strdup_printf("%s-%s-%s", CRM_OP_FENCE, node->details->uname, op); crm_strdup_printf 2341 lib/pengine/utils.c return crm_strdup_printf("%s%s%s %s", change, crm_strdup_printf 447 lib/services/services_linux.c char *buffer = crm_strdup_printf("%s=%s\n", (char *)key, (char *) value); crm_strdup_printf 586 lib/services/services_linux.c char *prefix = crm_strdup_printf("%s[%d] error output", op->id, op->pid); crm_strdup_printf 218 lib/services/services_lsb.c *output = crm_strdup_printf(lsb_metadata_template, type, crm_strdup_printf 81 lib/services/services_nagios.c op->opaque->args[index++] = crm_strdup_printf("--%s", key); crm_strdup_printf 128 lib/services/services_nagios.c return crm_strdup_printf(NAGIOS_METADATA_DIR "/%s.xml", plugin); crm_strdup_printf 165 lib/services/services_nagios.c buf = crm_strdup_printf(NAGIOS_PLUGIN_DIR "/%s", name); crm_strdup_printf 99 lib/services/services_ocf.c buf = crm_strdup_printf("%s/%s/%s", dir, provider, agent); crm_strdup_printf 134 lib/services/services_ocf.c char *buf = crm_strdup_printf("%s/%s/%s", dir, op->provider, op->agent); crm_strdup_printf 219 lib/services/systemd.c return crm_strdup_printf("%s.service", name); crm_strdup_printf 661 lib/services/systemd.c desc = crm_strdup_printf("Systemd unit file for %s", name); crm_strdup_printf 664 lib/services/systemd.c meta = crm_strdup_printf(METADATA_FORMAT, name, desc, name); crm_strdup_printf 773 lib/services/systemd.c char *override_dir = crm_strdup_printf(SYSTEMD_OVERRIDE_ROOT crm_strdup_printf 787 lib/services/systemd.c return crm_strdup_printf(SYSTEMD_OVERRIDE_ROOT crm_strdup_printf 807 lib/services/systemd.c char *override = crm_strdup_printf(SYSTEMD_OVERRIDE_TEMPLATE, agent); crm_strdup_printf 397 lib/services/upstart.c return crm_strdup_printf(METADATA_FORMAT, name, name, name); crm_strdup_printf 318 tools/crm_mon.c char *s = crm_strdup_printf("%s=%s", option_name, optarg); crm_strdup_printf 326 tools/crm_mon.c char *s = crm_strdup_printf("%s=%s", option_name, optarg); crm_strdup_printf 486 tools/crm_mon.c char *s = crm_strdup_printf("bans:%s", optarg); crm_strdup_printf 1730 tools/crm_mon.c char *s = crm_strdup_printf("offline node: %s", node->details->uname); crm_strdup_printf 1750 tools/crm_mon.c nodes_standby_s = crm_strdup_printf(", %d standby node%s", nodes_standby, crm_strdup_printf 1755 tools/crm_mon.c nodes_maint_s = crm_strdup_printf(", %d maintenance node%s", crm_strdup_printf 2241 tools/crm_mon.c char *desc = crm_strdup_printf("Operation %s requested by %s for peer %s: %s (ref=%s)", crm_strdup_printf 1642 tools/crm_resource.c strv[i] = crm_strdup_printf("[%d of %d] %s\n", i, len, *s); crm_strdup_printf 2115 tools/crm_resource.c char *msg = crm_strdup_printf("%s\nError performing operation: %s", crm_strdup_printf 251 tools/crm_resource_ban.c xpath_string = crm_strdup_printf("//rsc_location[@id='cli-prefer-%s'][rule[@id='cli-prefer-rule-%s']/expression[@attribute='#uname' and @value='%s']]", crm_strdup_printf 354 tools/crm_resource_ban.c date_substr = crm_strdup_printf("//date_expression[@id='%s-lifetime']", crm_strdup_printf 358 tools/crm_resource_ban.c date_substr = crm_strdup_printf("//date_expression[@id='cli-prefer-lifetime-end-%s']", crm_strdup_printf 379 tools/crm_resource_ban.c rsc_role_substr = crm_strdup_printf("@rsc='%s' and @role='%s'", crm_strdup_printf 385 tools/crm_resource_ban.c rsc_role_substr = crm_strdup_printf("@rsc='%s'", rsc); crm_strdup_printf 388 tools/crm_resource_ban.c rsc_role_substr = crm_strdup_printf("@role='%s'", crm_strdup_printf 399 tools/crm_resource_ban.c xpath_string = crm_strdup_printf("%s|//rsc_location[%s]/rule[expression[@attribute='#uname' and @value='%s']]%s", crm_strdup_printf 402 tools/crm_resource_ban.c xpath_string = crm_strdup_printf("%s|//rsc_location/rule[expression[@attribute='#uname' and @value='%s']]%s", crm_strdup_printf 406 tools/crm_resource_ban.c xpath_string = crm_strdup_printf("%s%s", first_half, date_substr); crm_strdup_printf 360 tools/crm_resource_runtime.c local_attr_set = crm_strdup_printf("%s-%s", lookup_id, crm_strdup_printf 365 tools/crm_resource_runtime.c local_attr_id = crm_strdup_printf("%s-%s", attr_set, attr_name); crm_strdup_printf 643 tools/crm_resource_runtime.c interval_ms_s = crm_strdup_printf("%u", crm_strdup_printf 1211 tools/crm_resource_runtime.c char *key = crm_strdup_printf("%s_%s_0", rsc->id, RSC_STOP); crm_strdup_printf 1717 tools/crm_resource_runtime.c crm_strdup_printf("%d", timeout_ms)); crm_strdup_printf 1723 tools/crm_resource_runtime.c char *level = crm_strdup_printf("%d", check_level); crm_strdup_printf 126 tools/crm_rule.c xpath = crm_strdup_printf("//rule[@id='%s']", rule_id); crm_strdup_printf 144 tools/crm_rule.c xpath = crm_strdup_printf("//rule[@id='%s']//date_expression", rule_id); crm_strdup_printf 158 tools/crm_rule.c xpath = crm_strdup_printf("//rule[@id='%s']//date_expression[@operation!='date_spec']", rule_id); crm_strdup_printf 166 tools/crm_rule.c xpath = crm_strdup_printf("//rule[@id='%s']//date_expression[@operation='date_spec' and date_spec/@years and not(date_spec/@moon)]", crm_strdup_printf 39 tools/crm_shadow.c return crm_strdup_printf("shadow[%.40s] # ", name); crm_strdup_printf 244 tools/stonith_admin.c char *key = crm_strdup_printf("OCF_RESKEY_%s", optarg); crm_strdup_printf 300 tools/stonith_admin.c name = crm_strdup_printf("%s.%s", crm_system_name, optarg);