Searched refs:logbuf (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/scsi/ |
D | scsi_logging.c | 35 static size_t sdev_format_header(char *logbuf, size_t logbuf_len, in sdev_format_header() argument 41 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header() 48 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header() 57 char *logbuf; in sdev_prefix_printk() local 63 logbuf = scsi_log_reserve_buffer(&logbuf_len); in sdev_prefix_printk() 64 if (!logbuf) in sdev_prefix_printk() 68 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_prefix_printk() 72 off += vscnprintf(logbuf + off, logbuf_len - off, fmt, args); in sdev_prefix_printk() 75 dev_printk(level, &sdev->sdev_gendev, "%s", logbuf); in sdev_prefix_printk() 76 scsi_log_release_buffer(logbuf); in sdev_prefix_printk() [all …]
|
/Linux-v5.4/drivers/platform/olpc/ |
D | olpc-xo175-ec.c | 248 char logbuf[LOG_BUF_SIZE]; member 269 priv->logbuf_len, priv->logbuf); in olpc_xo175_ec_flush_logbuf() 450 priv->logbuf[priv->logbuf_len++] = byte; in olpc_xo175_ec_complete()
|