Searched refs:logbuf_len (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/scsi/ |
H A 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() 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/drivers/platform/olpc/ |
H A D | olpc-xo175-ec.c | 249 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()
|