Lines Matching refs:log_next_idx
434 static u32 log_next_idx; variable
532 if (log_next_idx > log_first_idx || empty) in logbuf_has_space()
533 free = max(log_buf_len - log_next_idx, log_first_idx); in logbuf_has_space()
535 free = log_first_idx - log_next_idx; in logbuf_has_space()
625 if (log_next_idx + size + sizeof(struct printk_log) > log_buf_len) { in log_store()
631 memset(log_buf + log_next_idx, 0, sizeof(struct printk_log)); in log_store()
632 log_next_idx = 0; in log_store()
636 msg = (struct printk_log *)(log_buf + log_next_idx); in log_store()
659 log_next_idx += msg->len; in log_store()
962 user->idx = log_next_idx; in devkmsg_llseek()
1067 VMCOREINFO_SYMBOL(log_next_idx); in log_buf_vmcoreinfo_setup()
1175 free = __LOG_BUF_LEN - log_next_idx; in setup_log_buf()
1487 clear_idx = log_next_idx; in syslog_print_all()
1499 clear_idx = log_next_idx; in syslog_clear()
3132 dumper->next_idx = log_next_idx; in kmsg_dump()
3334 dumper->next_idx = log_next_idx; in kmsg_dump_rewind_nolock()