Home
last modified time | relevance | path

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

/kernel/printk/
Dprintk.c438 static u32 log_next_idx; variable
548 if (log_next_idx > log_first_idx || empty) in logbuf_has_space()
549 free = max(log_buf_len - log_next_idx, log_first_idx); in logbuf_has_space()
551 free = log_first_idx - log_next_idx; in logbuf_has_space()
641 if (log_next_idx + size + sizeof(struct printk_log) > log_buf_len) { in log_store()
647 memset(log_buf + log_next_idx, 0, sizeof(struct printk_log)); in log_store()
648 log_next_idx = 0; in log_store()
652 msg = (struct printk_log *)(log_buf + log_next_idx); in log_store()
675 log_next_idx += msg->len; in log_store()
978 user->idx = log_next_idx; in devkmsg_llseek()
[all …]