Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_logging.c35 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()
44 if (WARN_ON(off >= logbuf_len)) in sdev_format_header()
48 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header()
58 size_t off = 0, logbuf_len; in sdev_prefix_printk() local
63 logbuf = scsi_log_reserve_buffer(&logbuf_len); in sdev_prefix_printk()
68 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_prefix_printk()
70 if (!WARN_ON(off >= logbuf_len)) { in sdev_prefix_printk()
72 off += vscnprintf(logbuf + off, logbuf_len - off, fmt, args); in sdev_prefix_printk()
85 size_t off = 0, logbuf_len; in scmd_printk() local
[all …]
/kernel/linux/linux-5.10/drivers/platform/olpc/
Dolpc-xo175-ec.c249 int logbuf_len; member
269 priv->logbuf_len, priv->logbuf); in olpc_xo175_ec_flush_logbuf()
270 priv->logbuf_len = 0; in olpc_xo175_ec_flush_logbuf()
450 priv->logbuf[priv->logbuf_len++] = byte; in olpc_xo175_ec_complete()
451 if (priv->logbuf_len == LOG_BUF_SIZE) in olpc_xo175_ec_complete()
691 priv->logbuf_len = 0; in olpc_xo175_ec_probe()