Lines Matching refs:log_buf
103 * logbuf_lock protects log_buf, log_start, log_end, con_start and logged_chars
110 #define LOG_BUF(idx) (log_buf[(idx) & LOG_BUF_MASK])
113 * The indices into log_buf are not constrained to log_buf_len - they
116 static unsigned log_start; /* Index into log_buf: next char to be read by syslog() */
117 static unsigned con_start; /* Index into log_buf: next char to be sent to consoles */
118 static unsigned log_end; /* Index into log_buf: most-recently-written-char + 1 */
165 static char *log_buf = __log_buf;
181 VMCOREINFO_SYMBOL(log_buf);
207 log_buf = new_log_buf;
212 log_buf[dest_idx] = __log_buf[start & (__LOG_BUF_LEN - 1)];
584 syslog_data[0] = log_buf;
585 syslog_data[1] = log_buf + log_buf_len;
586 syslog_data[2] = log_buf + log_end -
588 syslog_data[3] = log_buf + log_end;
593 * Call the console drivers on a range of log_buf
640 * log_buf[start] to log_buf[end - 1].
939 * Copy the output into log_buf. If the caller didn't provide
1744 s1 = log_buf + log_buf_len - chars + end;
1747 s2 = log_buf;
1753 s2 = log_buf + end - chars;
1777 return (log_buf);