Lines Matching refs:module

11 #include <linux/module.h>
102 * Fields: module name, interrupt level, process name, device ID.
105 * @module: The name of the module doing the logging
110 static void emit_log_message(int priority, const char *module, const char *prefix,
116 * In interrupt context, identify the interrupt type and module. Ignore the process/thread
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,
137 * If it's a kernel thread and the module name is a prefix of its name, assume it is ours
141 (strncmp(module, current->comm, strlen(module)) == 0)) {
147 /* Identify the module and the process. */
148 emit_log_message_to_kernel(priority, "%s: %s: %s%pV%pV\n", module, current->comm,
155 * @module: the name of the module doing the logging
161 void vdo_log_embedded_message(int priority, const char *module, const char *prefix,
170 if (module == NULL)
171 module = VDO_LOGGING_MODULE_NAME;
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);
223 void __vdo_log_message(int priority, const char *module, const char *format, ...)
228 vdo_log_embedded_message(priority, module, NULL, format, args, "%s", "");