Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 7 of 7) sorted by relevance

/kernel/printk/
Dprintk.c291 static char *log_text(const struct printk_log *msg) in log_text() argument
293 return (char *)msg + sizeof(struct printk_log); in log_text()
297 static char *log_dict(const struct printk_log *msg) in log_dict() argument
299 return (char *)msg + sizeof(struct printk_log) + msg->text_len; in log_dict()
305 struct printk_log *msg = (struct printk_log *)(log_buf + idx); in log_from_idx() local
311 if (!msg->len) in log_from_idx()
313 return msg; in log_from_idx()
319 struct printk_log *msg = (struct printk_log *)(log_buf + idx); in log_next() local
327 if (!msg->len) { in log_next()
328 msg = (struct printk_log *)log_buf; in log_next()
[all …]
/kernel/locking/
Dspinlock_debug.c52 static void spin_dump(raw_spinlock_t *lock, const char *msg) in spin_dump() argument
59 msg, raw_smp_processor_id(), in spin_dump()
70 static void spin_bug(raw_spinlock_t *lock, const char *msg) in spin_bug() argument
75 spin_dump(lock, msg); in spin_bug()
78 #define SPIN_BUG_ON(cond, lock, msg) if (unlikely(cond)) spin_bug(lock, msg) argument
162 static void rwlock_bug(rwlock_t *lock, const char *msg) in rwlock_bug() argument
168 msg, raw_smp_processor_id(), current->comm, in rwlock_bug()
173 #define RWLOCK_BUG_ON(cond, lock, msg) if (unlikely(cond)) rwlock_bug(lock, msg) argument
/kernel/power/
Dhibernate.c236 unsigned nr_pages, char *msg) in swsusp_show_speed() argument
255 msg, k, in swsusp_show_speed()
341 pm_message_t msg; in hibernation_snapshot() local
393 msg = in_suspend ? (error ? PMSG_RECOVER : PMSG_THAW) : PMSG_RESTORE; in hibernation_snapshot()
394 dpm_resume(msg); in hibernation_snapshot()
400 dpm_complete(msg); in hibernation_snapshot()
/kernel/trace/
Dblktrace.c346 char *msg; in blk_msg_write() local
352 msg = kmalloc(count + 1, GFP_KERNEL); in blk_msg_write()
353 if (msg == NULL) in blk_msg_write()
356 if (copy_from_user(msg, buffer, count)) { in blk_msg_write()
357 kfree(msg); in blk_msg_write()
361 msg[count] = '\0'; in blk_msg_write()
363 __trace_note_message(bt, "%s", msg); in blk_msg_write()
364 kfree(msg); in blk_msg_write()
Dtrace_mmiotrace.c260 const char *msg = print->buf; in mmio_print_mark() local
268 ret = trace_seq_printf(s, "MARK %u.%06lu %s", secs, usec_rem, msg); in mmio_print_mark()
/kernel/
Dauditsc.c1307 char *msg = "(null)"; in audit_log_proctitle() local
1308 int len = strlen(msg); in audit_log_proctitle()
1336 msg = context->proctitle.value; in audit_log_proctitle()
1339 audit_log_n_untrustedstring(ab, msg, len); in audit_log_proctitle()
/kernel/events/
Duprobes.c1452 static void uprobe_warn(struct task_struct *t, const char *msg) in uprobe_warn() argument
1455 current->comm, current->pid, msg); in uprobe_warn()