Home
last modified time | relevance | path

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

/drivers/scsi/
Dscsi_logging.c36 static size_t sdev_format_header(char *logbuf, size_t logbuf_len, in sdev_format_header() argument
42 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header()
49 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header()
58 char *logbuf; in sdev_prefix_printk() local
64 logbuf = scsi_log_reserve_buffer(&logbuf_len); in sdev_prefix_printk()
65 if (!logbuf) in sdev_prefix_printk()
69 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_prefix_printk()
73 off += vscnprintf(logbuf + off, logbuf_len - off, fmt, args); in sdev_prefix_printk()
76 dev_printk(level, &sdev->sdev_gendev, "%s", logbuf); in sdev_prefix_printk()
77 scsi_log_release_buffer(logbuf); in sdev_prefix_printk()
[all …]