Lines Matching refs:log_end
94 static unsigned long log_end; /* Index into log_buf: most-recently-written-char + 1 */ variable
195 error = wait_event_interruptible(log_wait, (log_start - log_end)); in do_syslog()
200 while ((log_start != log_end) && i < len) { in do_syslog()
233 limit = log_end; in do_syslog()
242 if (j+LOG_BUF_LEN < log_end) in do_syslog()
289 error = log_end - log_start; in do_syslog()
389 LOG_BUF(log_end) = c; in emit_log_char()
390 log_end++; in emit_log_char()
391 if (log_end - log_start > LOG_BUF_LEN) in emit_log_char()
392 log_start = log_end - LOG_BUF_LEN; in emit_log_char()
393 if (log_end - con_start > LOG_BUF_LEN) in emit_log_char()
394 con_start = log_end - LOG_BUF_LEN; in emit_log_char()
522 must_wake_klogd |= log_start - log_end; in release_console_sem()
523 if (con_start == log_end) in release_console_sem()
526 _log_end = log_end; in release_console_sem()
527 con_start = log_end; /* Flush */ in release_console_sem()