fmt 31 daemons/controld/controld_fsa.c #define do_dot_log(fmt, args...) crm_trace( fmt, ##args) fmt 172 daemons/execd/cts-exec-helper.c #define print_result(fmt, args...) \ fmt 174 daemons/execd/cts-exec-helper.c printf(fmt "\n" , ##args); \ fmt 149 include/crm/common/logging.h #define do_crm_log(level, fmt, args...) do { \ fmt 154 include/crm/common/logging.h printf(fmt "\n" , ##args); \ fmt 159 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 174 include/crm/common/logging.h #define do_crm_log_unlikely(level, fmt, args...) do { \ fmt 183 include/crm/common/logging.h trace_cs = qb_log_callsite_get(__func__, __FILE__, fmt, \ fmt 187 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 268 include/crm/common/logging.h #define do_crm_log_alias(level, file, function, line, fmt, args...) do { \ fmt 273 include/crm/common/logging.h printf(fmt "\n" , ##args); \ fmt 278 include/crm/common/logging.h qb_log_from_external_source(function, file, fmt, _level, \ fmt 299 include/crm/common/logging.h #define crm_perror(level, fmt, args...) do { \ fmt 308 include/crm/common/logging.h fprintf(stderr, fmt ": %s (%d)\n" , ##args, err, \ fmt 314 include/crm/common/logging.h do_crm_log((level), fmt ": %s (%d)" , ##args, err, errno); \ fmt 330 include/crm/common/logging.h #define crm_log_tag(level, tag, fmt, args...) do { \ fmt 341 include/crm/common/logging.h fmt, _level, \ fmt 347 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 355 include/crm/common/logging.h #define crm_emerg(fmt, args...) qb_log(LOG_EMERG, fmt , ##args) fmt 356 include/crm/common/logging.h #define crm_crit(fmt, args...) qb_logt(LOG_CRIT, 0, fmt , ##args) fmt 359 include/crm/common/logging.h #define crm_err(fmt, args...) qb_logt(LOG_ERR, 0, fmt , ##args) fmt 362 include/crm/common/logging.h #define crm_warn(fmt, args...) qb_logt(LOG_WARNING, 0, fmt , ##args) fmt 365 include/crm/common/logging.h #define crm_notice(fmt, args...) qb_logt(LOG_NOTICE, 0, fmt , ##args) fmt 367 include/crm/common/logging.h #define crm_info(fmt, args...) qb_logt(LOG_INFO, 0, fmt , ##args) fmt 370 include/crm/common/logging.h #define crm_debug(fmt, args...) do_crm_log_unlikely(LOG_DEBUG, fmt , ##args) fmt 372 include/crm/common/logging.h #define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE, fmt , ##args) fmt 50 include/crm/common/logging_internal.h #define pcmk__warn_once(wo_flag, fmt...) do { \ fmt 53 include/crm/common/logging_internal.h crm_warn(fmt); \ fmt 55 include/crm/common/logging_internal.h pcmk__config_warn(fmt); \ fmt 95 include/crm/common/logging_internal.h #define pcmk__config_err(fmt...) do { \ fmt 98 include/crm/common/logging_internal.h crm_err(fmt); \ fmt 100 include/crm/common/logging_internal.h pcmk__config_error_handler(pcmk__config_error_context, fmt); \ fmt 110 include/crm/common/logging_internal.h #define pcmk__config_warn(fmt...) do { \ fmt 113 include/crm/common/logging_internal.h crm_warn(fmt); \ fmt 115 include/crm/common/logging_internal.h pcmk__config_warning_handler(pcmk__config_warning_context, fmt);\ fmt 207 include/crm/common/scheduler_internal.h #define pcmk__rsc_info(rsc, fmt, args...) \ fmt 208 include/crm/common/scheduler_internal.h crm_log_tag(LOG_INFO, ((rsc) == NULL)? "<NULL>" : (rsc)->id, (fmt), ##args) fmt 217 include/crm/common/scheduler_internal.h #define pcmk__rsc_debug(rsc, fmt, args...) \ fmt 218 include/crm/common/scheduler_internal.h crm_log_tag(LOG_DEBUG, ((rsc) == NULL)? "<NULL>" : (rsc)->id, (fmt), ##args) fmt 227 include/crm/common/scheduler_internal.h #define pcmk__rsc_trace(rsc, fmt, args...) \ fmt 228 include/crm/common/scheduler_internal.h crm_log_tag(LOG_TRACE, ((rsc) == NULL)? "<NULL>" : (rsc)->id, (fmt), ##args) fmt 237 include/crm/common/scheduler_internal.h #define pcmk__sched_err(scheduler, fmt...) do { \ fmt 240 include/crm/common/scheduler_internal.h crm_err(fmt); \ fmt 250 include/crm/common/scheduler_internal.h #define pcmk__sched_warn(scheduler, fmt...) do { \ fmt 253 include/crm/common/scheduler_internal.h crm_warn(fmt); \ fmt 81 include/crm/common/xml_internal.h #define PCMK__XML_LOG_BASE(priority, dechunk, postemit, prefix, fmt, ap) \ fmt 84 include/crm/common/xml_internal.h qb_log_from_external_source_va(__func__, __FILE__, (fmt), \ fmt 94 include/crm/common/xml_internal.h CXLB_len = vasprintf(&CXLB_buf, (fmt), (ap)); \ fmt 832 lib/cib/cib_utils.c #define log_signon_query_err(out, fmt, args...) do { \ fmt 834 lib/cib/cib_utils.c out->err(out, fmt, ##args); \ fmt 836 lib/cib/cib_utils.c crm_err(fmt, ##args); \ fmt 151 lib/common/crmcommon_private.h void pcmk__log_xmllib_err(void *ctx, const char *fmt, ...) fmt 179 lib/common/logging.c char fmt[FMT_MAX]; fmt 183 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, fmt 189 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "(%%n"); fmt 192 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "@%%f:%%l"); fmt 194 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, ")"); fmt 197 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, " %%g\t%%p: %%b"); fmt 200 lib/common/logging.c qb_log_format_set(method, fmt); fmt 37 lib/common/output_log.c #define logger(priv, fmt, args...) do { \ fmt 39 lib/common/output_log.c pcmk__s((priv)->file, __FILE__), fmt, (priv)->log_level, \ fmt 53 lib/common/output_log.c #define logger_va(priv, level, fmt, ap) do { \ fmt 55 lib/common/output_log.c pcmk__s((priv)->file, __FILE__), fmt, level, \ fmt 50 lib/common/patchset_display.c const char *fmt = crm_element_value(patchset, PCMK_XA_FORMAT); fmt 53 lib/common/patchset_display.c out->info(out, "Diff: --- %d.%d.%d %s", del[0], del[1], del[2], fmt); fmt 46 lib/common/schemas.c xml_log(int priority, const char *fmt, ...) fmt 50 lib/common/schemas.c va_start(ap, fmt); fmt 53 lib/common/schemas.c PCMK__XML_LOG_BASE(priority, FALSE, 0, NULL, fmt, ap); fmt 795 lib/common/schemas.c cib_upgrade_err(void *ctx, const char *fmt, ...) fmt 801 lib/common/schemas.c const char *fmt_iter = fmt; fmt 809 lib/common/schemas.c va_start(ap, fmt); fmt 886 lib/common/schemas.c vfprintf(stderr, fmt, ap); fmt 889 lib/common/schemas.c PCMK__XML_LOG_BASE(msg_log_level, TRUE, 0, "CIB upgrade: ", fmt, ap); fmt 25 lib/common/xml_display.c pcmk__log_xmllib_err(void *ctx, const char *fmt, ...) fmt 29 lib/common/xml_display.c va_start(ap, fmt); fmt 36 lib/common/xml_display.c "XML Error: ", fmt, ap); fmt 39 lib/common/xml_display.c PCMK__XML_LOG_BASE(LOG_ERR, TRUE, 0, "XML Error: ", fmt, ap); fmt 1998 lib/fencing/st_client.c #define api_log(level, fmt, args...) syslog(level, "%s: "fmt, __func__, args) fmt 155 lib/fencing/st_lha.c stonith_plugin(int priority, const char *fmt, ...) G_GNUC_PRINTF(2, 3); fmt 150 tools/crm_diff.c const char *fmt = NULL; fmt 154 tools/crm_diff.c fmt = crm_element_value(patch, PCMK_XA_FORMAT); fmt 158 tools/crm_diff.c crm_info("Patch: --- %d.%d.%d %s", del[0], del[1], del[2], fmt); fmt 241 tools/crm_mon.c all_includes(mon_output_format_t fmt) { fmt 242 tools/crm_mon.c if ((fmt == mon_output_plain) || (fmt == mon_output_console)) { fmt 250 tools/crm_mon.c default_includes(mon_output_format_t fmt) { fmt 251 tools/crm_mon.c switch (fmt) { fmt 261 tools/crm_mon.c return all_includes(fmt);