Lines Matching refs:priority

47  * emit_log_message_to_kernel() - Emit a log message to the kernel at the specified priority.
49 * @priority: The priority at which to log the message
52 static void emit_log_message_to_kernel(int priority, const char *fmt, ...)
57 if (priority > vdo_get_log_level())
64 switch (priority) {
104 * @priority: the priority at which to log the message
110 static void emit_log_message(int priority, const char *module, const char *prefix,
122 emit_log_message_to_kernel(priority, "%s[%s]: %s%pV%pV\n", module, type,
130 emit_log_message_to_kernel(priority, "%s%u:%s: %s%pV%pV\n", module,
142 emit_log_message_to_kernel(priority, "%s: %s%pV%pV\n", current->comm,
148 emit_log_message_to_kernel(priority, "%s: %s: %s%pV%pV\n", module, current->comm,
154 * @priority: the priority at which to log the message
161 void vdo_log_embedded_message(int priority, const char *module, const char *prefix,
188 emit_log_message(priority, module, prefix, &vaf1, &vaf2);
194 int vdo_vlog_strerror(int priority, int errnum, const char *module, const char *format,
200 vdo_log_embedded_message(priority, module, NULL, format, args, ": %s (%d)",
205 int __vdo_log_strerror(int priority, int errnum, const char *module, const char *format, ...)
210 vdo_vlog_strerror(priority, errnum, module, format, args);
215 void vdo_log_backtrace(int priority)
217 if (priority > vdo_get_log_level())
223 void __vdo_log_message(int priority, const char *module, const char *format, ...)
228 vdo_log_embedded_message(priority, module, NULL, format, args, "%s", "");