prefix 2554 crmd/lrm.c char *prefix = prefix 2558 crmd/lrm.c crm_log_output(LOG_NOTICE, prefix, op->output); prefix 2560 crmd/lrm.c crm_log_output(LOG_DEBUG, prefix, op->output); prefix 2562 crmd/lrm.c free(prefix); prefix 1997 fencing/commands.c char *prefix = crm_strdup_printf("%s:%d", cmd->device, pid); prefix 1999 fencing/commands.c crm_log_output(rc == 0 ? LOG_DEBUG : LOG_WARNING, prefix, output); prefix 2000 fencing/commands.c free(prefix); prefix 420 include/crm/cluster/internal.h int corosync_cmap_has_config(const char *prefix); prefix 63 include/crm/common/internal.h char *crm_concat(const char *prefix, const char *suffix, char join); prefix 66 include/crm/common/internal.h bool crm_starts_with(const char *str, const char *prefix); prefix 109 include/crm/common/internal.h crm_fail_attr_name(const char *prefix, const char *rsc_id, const char *op, prefix 112 include/crm/common/internal.h CRM_CHECK(prefix && rsc_id && op, return NULL); prefix 113 include/crm/common/internal.h return crm_strdup_printf("%s-%s#%s_%d", prefix, rsc_id, op, interval); prefix 66 include/crm/common/iso8601.h # define crm_time_log(level, prefix, dt, flags) crm_time_log_alias(level, __FILE__, __FUNCTION__, __LINE__, prefix, dt, flags) prefix 68 include/crm/common/iso8601.h const char *prefix, crm_time_t * date_time, int flags); prefix 91 include/crm/common/logging.h const char *prefix, const char *output); prefix 92 include/crm/common/logging.h # define crm_log_output(level, prefix, output) crm_log_output_fn(__FILE__, __FUNCTION__, __LINE__, level, prefix, output) prefix 103 include/crm/common/logging.h const char *prefix, xmlNode * data, int depth, gboolean formatted); prefix 132 include/crm/common/util.h xmlNode *crm_create_op_xml(xmlNode *parent, const char *prefix, prefix 67 include/crm/common/xml_internal.h #define CRM_XML_LOG_BASE(priority, dechunk, postemit, prefix, fmt, ap) \ prefix 69 include/crm/common/xml_internal.h if (!(dechunk) && (prefix) == NULL) { /* quick pass */ \ prefix 91 include/crm/common/xml_internal.h (prefix) != NULL ? (prefix) : "", \ prefix 97 include/crm/common/xml_internal.h (prefix) != NULL ? (prefix) : "", \ prefix 146 include/crm/transition.h void print_action(int log_level, const char *prefix, crm_action_t * action); prefix 745 lib/ais/plugin.c const char *prefix = "new: "; prefix 748 lib/ais/plugin.c ais_info("%s %s %u", prefix, member_uname(nodeid), nodeid); prefix 751 lib/ais/plugin.c const char *prefix = "memb:"; prefix 754 lib/ais/plugin.c ais_info("%s %s %u", prefix, member_uname(nodeid), nodeid); prefix 757 lib/ais/plugin.c const char *prefix = "lost:"; prefix 760 lib/ais/plugin.c ais_info("%s %s %u", prefix, member_uname(nodeid), nodeid); prefix 766 lib/ais/plugin.c const char *prefix = "NEW: "; prefix 772 lib/ais/plugin.c ais_info("%s %s %u", prefix, member_uname(nodeid), nodeid); prefix 784 lib/ais/plugin.c const char *prefix = "MEMB:"; prefix 789 lib/ais/plugin.c ais_info("%s %s %u", prefix, member_uname(nodeid), nodeid); prefix 793 lib/ais/plugin.c const char *prefix = "LOST:"; prefix 797 lib/ais/plugin.c ais_info("%s %s %u", prefix, member_uname(nodeid), nodeid); prefix 604 lib/ais/utils.c ais_concat(const char *prefix, const char *suffix, char join) prefix 609 lib/ais/utils.c AIS_ASSERT(prefix != NULL); prefix 611 lib/ais/utils.c len = strlen(prefix) + strlen(suffix) + 2; prefix 614 lib/ais/utils.c sprintf(new_str, "%s%c%s", prefix, join, suffix); prefix 116 lib/ais/utils.h extern char *ais_concat(const char *prefix, const char *suffix, char join); prefix 594 lib/cluster/corosync.c corosync_cmap_has_config(const char *prefix) prefix 624 lib/cluster/corosync.c rc = cmap_iter_init(cmap_handle, prefix, &iter_handle); prefix 627 lib/cluster/corosync.c prefix, cs_strerror(rc), rc); prefix 633 lib/cluster/corosync.c crm_trace("'%s' is configured in corosync cmap: %s", prefix, key_name); prefix 214 lib/common/iso8601.c const char *prefix, crm_time_t * date_time, int flags) prefix 220 lib/common/iso8601.c prefix ? prefix : "", prefix ? ": " : "", date_s ? date_s : "__invalid_date__"); prefix 223 lib/common/iso8601.c prefix ? prefix : "", prefix ? ": " : "", prefix 1231 lib/common/logging.c crm_log_output_fn(const char *file, const char *function, int line, int level, const char *prefix, prefix 1246 lib/common/logging.c do_crm_log_alias(level, file, function, line, "%s [ %.*s ]", prefix, prefix 439 lib/common/operations.c crm_create_op_xml(xmlNode *parent, const char *prefix, const char *task, prefix 444 lib/common/operations.c CRM_CHECK(prefix && task && interval, return NULL); prefix 447 lib/common/operations.c crm_xml_set_id(xml_op, "%s-%s-%s", prefix, task, interval); prefix 48 lib/common/schemas.c #define schema_scanf(s, prefix, version, suffix) \ prefix 49 lib/common/schemas.c sscanf((s), prefix "%hhu.%hhu" suffix, &((version).v[0]), &((version).v[1])) prefix 51 lib/common/schemas.c #define schema_strdup_printf(prefix, version, suffix) \ prefix 52 lib/common/schemas.c crm_strdup_printf(prefix "%u.%u" suffix, (version).v[0], (version).v[1]) prefix 32 lib/common/strings.c crm_concat(const char *prefix, const char *suffix, char join) prefix 37 lib/common/strings.c CRM_ASSERT(prefix != NULL); prefix 39 lib/common/strings.c len = strlen(prefix) + strlen(suffix) + 2; prefix 43 lib/common/strings.c sprintf(new_str, "%s%c%s", prefix, join, suffix); prefix 252 lib/common/strings.c crm_starts_with(const char *str, const char *prefix) prefix 255 lib/common/strings.c const char *p = prefix; prefix 49 lib/common/xml.c __get_prefix(const char *prefix, xmlNode *xml, char *buffer, int offset); prefix 1384 lib/common/xml.c const char *prefix, xmlNode * data, int depth, int options); prefix 1445 lib/common/xml.c char *prefix = crm_strdup_printf("++ %s: ", xpath); prefix 1447 lib/common/xml.c max = strlen(prefix); prefix 1448 lib/common/xml.c __xml_log_element(log_level, __FILE__, function, __LINE__, prefix, change->children, prefix 1452 lib/common/xml.c prefix[lpc] = ' '; prefix 1455 lib/common/xml.c __xml_log_element(log_level, __FILE__, function, __LINE__, prefix, change->children, prefix 1457 lib/common/xml.c free(prefix); prefix 2613 lib/common/xml.c __get_prefix(const char *prefix, xmlNode *xml, char *buffer, int offset) prefix 2617 lib/common/xml.c if(offset == 0 && prefix == NULL && xml->parent) { prefix 3306 lib/common/xml.c const char *prefix, xmlNode * data, int depth, int options) prefix 3369 lib/common/xml.c do_crm_log_alias(log_level, file, function, line, "%s %s", prefix, buffer); prefix 3384 lib/common/xml.c __xml_log_element(log_level, file, function, line, prefix, child, depth + 1, options|xml_log_option_open|xml_log_option_close); prefix 3394 lib/common/xml.c do_crm_log_alias(log_level, file, function, line, "%s %s", prefix, buffer); prefix 3401 lib/common/xml.c const char *prefix, xmlNode * data, int depth, int options) prefix 3414 lib/common/xml.c prefix_m = strdup(prefix); prefix 3427 lib/common/xml.c const char *flags = prefix; prefix 3430 lib/common/xml.c prefix_del = strdup(prefix); prefix 3433 lib/common/xml.c prefix_moved = strdup(prefix); prefix 3439 lib/common/xml.c flags = prefix; prefix 3462 lib/common/xml.c flags = prefix; prefix 3468 lib/common/xml.c flags = prefix; prefix 3479 lib/common/xml.c __xml_log_change_element(log_level, file, function, line, prefix, child, depth + 1, options); prefix 3483 lib/common/xml.c prefix, data, depth, options|xml_log_option_close); prefix 3487 lib/common/xml.c __xml_log_change_element(log_level, file, function, line, prefix, child, depth + 1, options); prefix 3497 lib/common/xml.c const char *prefix, xmlNode * data, int depth, int options) prefix 3503 lib/common/xml.c if (prefix == NULL) { prefix 3504 lib/common/xml.c prefix = ""; prefix 3509 lib/common/xml.c do_crm_log_alias(log_level, file, function, line, "%s: %s", prefix, prefix 3515 lib/common/xml.c __xml_log_change_element(log_level, file, function, line, prefix, data, depth, options); prefix 3523 lib/common/xml.c prefix_m = strdup(prefix); prefix 3525 lib/common/xml.c prefix = prefix_m; prefix 3530 lib/common/xml.c prefix_m = strdup(prefix); prefix 3532 lib/common/xml.c prefix = prefix_m; prefix 3540 lib/common/xml.c log_data_element(log_level, file, function, line, prefix, a_child, depth + 1, options); prefix 3543 lib/common/xml.c __xml_log_element(log_level, file, function, line, prefix, data, depth, prefix 166 lib/fencing/st_client.c char *prefix = crm_strdup_printf("%s[%d] stdout:", action->agent, pid); prefix 168 lib/fencing/st_client.c crm_log_output(LOG_TRACE, prefix, action->output); prefix 169 lib/fencing/st_client.c free(prefix); prefix 174 lib/fencing/st_client.c char *prefix = crm_strdup_printf("%s[%d] stderr:", action->agent, pid); prefix 176 lib/fencing/st_client.c crm_log_output(LOG_WARNING, prefix, action->error); prefix 177 lib/fencing/st_client.c free(prefix); prefix 273 lib/pengine/clone.c short_print(char *list, const char *prefix, const char *type, const char *suffix, long options, void *print_data) prefix 283 lib/pengine/clone.c status_print("%s%s: [%s ]%s", prefix, type, list, suffix); prefix 77 lib/pengine/container.c data->prefix, tuple->offset, tuple->ipaddr, prefix 78 lib/pengine/container.c data->prefix, tuple->offset, data->prefix, tuple->offset); prefix 82 lib/pengine/container.c data->prefix, tuple->offset, tuple->ipaddr); prefix 85 lib/pengine/container.c tuple->ipaddr, data->prefix, tuple->offset); prefix 125 lib/pengine/container.c pe_err("Specifying the 'control-port' for %s requires 'replicas-per-host=1'", data->prefix); prefix 144 lib/pengine/container.c id = crm_strdup_printf("%s-ip-%s", data->prefix, tuple->ipaddr); prefix 150 lib/pengine/container.c crm_xml_set_id(xml_obj, "%s-attributes-%d", data->prefix, tuple->offset); prefix 195 lib/pengine/container.c id = crm_strdup_printf("%s-docker-%d", data->prefix, tuple->offset); prefix 201 lib/pengine/container.c crm_xml_set_id(xml_obj, "%s-attributes-%d", data->prefix, tuple->offset); prefix 217 lib/pengine/container.c data->prefix, tuple->offset); prefix 238 lib/pengine/container.c "%s/%s-%d", mount->source, data->prefix, tuple->offset); prefix 354 lib/pengine/container.c id = crm_strdup_printf("%s-rkt-%d", data->prefix, tuple->offset); prefix 360 lib/pengine/container.c crm_xml_set_id(xml_obj, "%s-attributes-%d", data->prefix, tuple->offset); prefix 374 lib/pengine/container.c data->prefix, tuple->offset); prefix 395 lib/pengine/container.c "%s/%s-%d", mount->source, data->prefix, tuple->offset); prefix 532 lib/pengine/container.c char *id = crm_strdup_printf("%s-%d", data->prefix, tuple->offset); prefix 841 lib/pengine/container.c container_data->prefix = strdup(rsc->id); prefix 961 lib/pengine/container.c crm_xml_set_id(xml_resource, "%s-%s", container_data->prefix, xml_resource->name); prefix 964 lib/pengine/container.c crm_xml_set_id(xml_set, "%s-%s-meta", container_data->prefix, xml_resource->name); prefix 1407 lib/pengine/container.c free(container_data->prefix); prefix 184 lib/pengine/failcounts.c generate_fail_regex(const char *prefix, const char *rsc_name, prefix 202 lib/pengine/failcounts.c pattern = crm_strdup_printf("^%s-%s%s%s$", prefix, rsc_name, prefix 102 lib/pengine/variant.h char *prefix; prefix 977 lib/services/services.c lsb_meta_helper_get_value(const char *line, char **value, const char *prefix) prefix 979 lib/services/services.c if (!*value && crm_starts_with(line, prefix)) { prefix 980 lib/services/services.c *value = (char *)xmlEncodeEntitiesReentrant(NULL, BAD_CAST line+strlen(prefix)); prefix 258 lib/services/services_linux.c char *prefix = crm_strdup_printf("%s:%d", op->id, op->pid); prefix 264 lib/services/services_linux.c crm_trace("%s %p %p", prefix, op->opaque->stderr_gsource, op->opaque->stdout_gsource); prefix 269 lib/services/services_linux.c crm_trace("%s dispatching stderr", prefix); prefix 280 lib/services/services_linux.c crm_trace("%s dispatching stdout", prefix); prefix 289 lib/services/services_linux.c crm_warn("%s - timed out after %dms", prefix, op->timeout); prefix 295 lib/services/services_linux.c "%s - terminated with signal %d", prefix, signo); prefix 302 lib/services/services_linux.c crm_debug("%s - exited with rc=%d", prefix, exitcode); prefix 305 lib/services/services_linux.c free(prefix); prefix 306 lib/services/services_linux.c prefix = crm_strdup_printf("%s:%d:stderr", op->id, op->pid); prefix 307 lib/services/services_linux.c crm_log_output(LOG_NOTICE, prefix, op->stderr_data); prefix 309 lib/services/services_linux.c free(prefix); prefix 310 lib/services/services_linux.c prefix = crm_strdup_printf("%s:%d:stdout", op->id, op->pid); prefix 311 lib/services/services_linux.c crm_log_output(LOG_DEBUG, prefix, op->stdout_data); prefix 313 lib/services/services_linux.c free(prefix); prefix 217 lib/transition/utils.c print_action(int log_level, const char *prefix, crm_action_t * action) prefix 486 libltdl/ltdl.c tryall_dlopen_module (lt_dlhandle *handle, const char *prefix, prefix 520 libltdl/ltdl.c if (prefix) prefix 523 libltdl/ltdl.c prefix, filename, advise); prefix 1168 tools/crm_mon.c const char *prefix = NULL; prefix 1181 tools/crm_mon.c prefix = " "; prefix 1228 tools/crm_mon.c rsc->fns->print(rsc, prefix, print_opts, stream); prefix 59 tools/crm_resource.h void cli_resource_print_location(resource_t * rsc, const char *prefix); prefix 207 tools/crm_resource_print.c cli_resource_print_location(resource_t * rsc, const char *prefix) prefix 213 tools/crm_resource_print.c if (prefix) { prefix 214 tools/crm_resource_print.c offset = strlen(prefix) - 2; prefix 227 tools/crm_resource_print.c prefix ? prefix : " ", 71 - offset, node->details->uname, score, cons->id); prefix 236 tools/crm_resource_print.c char *prefix = NULL; prefix 240 tools/crm_resource_print.c prefix = calloc(1, (offset * 4) + 1); prefix 241 tools/crm_resource_print.c memset(prefix, ' ', offset * 4); prefix 250 tools/crm_resource_print.c free(prefix); prefix 267 tools/crm_resource_print.c fprintf(stdout, "%s%-*s (id=%s - loop)\n", prefix, 80 - (4 * offset), peer->id, prefix 279 tools/crm_resource_print.c fprintf(stdout, "%s%-*s (score=%s, %s role=%s, id=%s)\n", prefix, 80 - (4 * offset), prefix 283 tools/crm_resource_print.c fprintf(stdout, "%s%-*s (score=%s, id=%s)\n", prefix, 80 - (4 * offset), prefix 286 tools/crm_resource_print.c cli_resource_print_location(peer, prefix); prefix 293 tools/crm_resource_print.c free(prefix); prefix 211 tools/crm_simulate.c const char *prefix = NULL; prefix 222 tools/crm_simulate.c prefix = "Cancel "; prefix 247 tools/crm_simulate.c action_name = crm_strdup_printf("%s%s %s", prefix ? prefix : "", key, action_host); prefix 249 tools/crm_simulate.c action_name = crm_strdup_printf("%s%s", prefix ? prefix : "", key); prefix 256 tools/crm_simulate.c action_name = crm_strdup_printf("%s%s '%s' %s", prefix ? prefix : "", action->task, op, action_host); prefix 259 tools/crm_simulate.c action_name = crm_strdup_printf("%s%s %s", prefix ? prefix : "", action->uuid, action_host); prefix 262 tools/crm_simulate.c action_name = crm_strdup_printf("%s%s %s", prefix ? prefix : "", action->task, action_host);