Lines Matching full: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, ...) in emit_log_message_to_kernel() argument
57 if (priority > vdo_get_log_level()) in emit_log_message_to_kernel()
64 switch (priority) { in emit_log_message_to_kernel()
104 * @priority: the priority at which to log the message
110 static void emit_log_message(int priority, const char *module, const char *prefix, in emit_log_message() argument
122 emit_log_message_to_kernel(priority, "%s[%s]: %s%pV%pV\n", module, type, in emit_log_message()
130 emit_log_message_to_kernel(priority, "%s%u:%s: %s%pV%pV\n", module, in emit_log_message()
142 emit_log_message_to_kernel(priority, "%s: %s%pV%pV\n", current->comm, in emit_log_message()
148 emit_log_message_to_kernel(priority, "%s: %s: %s%pV%pV\n", module, current->comm, in emit_log_message()
154 * @priority: the priority at which to log the message
161 void vdo_log_embedded_message(int priority, const char *module, const char *prefix, in vdo_log_embedded_message() argument
188 emit_log_message(priority, module, prefix, &vaf1, &vaf2); in vdo_log_embedded_message()
194 int vdo_vlog_strerror(int priority, int errnum, const char *module, const char *format, in vdo_vlog_strerror() argument
200 vdo_log_embedded_message(priority, module, NULL, format, args, ": %s (%d)", in vdo_vlog_strerror()
205 int __vdo_log_strerror(int priority, int errnum, const char *module, const char *format, ...) in __vdo_log_strerror() argument
210 vdo_vlog_strerror(priority, errnum, module, format, args); in __vdo_log_strerror()
215 void vdo_log_backtrace(int priority) in vdo_log_backtrace() argument
217 if (priority > vdo_get_log_level()) in vdo_log_backtrace()
223 void __vdo_log_message(int priority, const char *module, const char *format, ...) in __vdo_log_message() argument
228 vdo_log_embedded_message(priority, module, NULL, format, args, "%s", ""); in __vdo_log_message()