Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/
Dscsi_logging.c38 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()
47 if (WARN_ON(off >= logbuf_len)) in sdev_format_header()
51 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header()
61 size_t off = 0, logbuf_len; in sdev_prefix_printk() local
66 logbuf = scsi_log_reserve_buffer(&logbuf_len); in sdev_prefix_printk()
71 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_prefix_printk()
73 if (!WARN_ON(off >= logbuf_len)) { in sdev_prefix_printk()
75 off += vscnprintf(logbuf + off, logbuf_len - off, fmt, args); in sdev_prefix_printk()
88 size_t off = 0, logbuf_len; in scmd_printk() local
[all …]
/linux-6.6.21/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()
689 priv->logbuf_len = 0; in olpc_xo175_ec_probe()