Searched refs:logbuf (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/scsi/ |
D | scsi_logging.c | 38 static size_t sdev_format_header(char *logbuf, size_t logbuf_len, in sdev_format_header() argument 44 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header() 51 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header() 60 char *logbuf; in sdev_prefix_printk() local 66 logbuf = scsi_log_reserve_buffer(&logbuf_len); in sdev_prefix_printk() 67 if (!logbuf) in sdev_prefix_printk() 71 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_prefix_printk() 75 off += vscnprintf(logbuf + off, logbuf_len - off, fmt, args); in sdev_prefix_printk() 78 dev_printk(level, &sdev->sdev_gendev, "%s", logbuf); in sdev_prefix_printk() 79 scsi_log_release_buffer(logbuf); in sdev_prefix_printk() [all …]
|
/linux-6.1.9/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()
|