Home
last modified time | relevance | path

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

/Linux-v5.4/scripts/gdb/linux/
Ddmesg.py32 log_next_idx = int(gdb.parse_and_eval("'printk.c'::log_next_idx"))
37 if log_first_idx < log_next_idx:
39 length = log_next_idx - log_first_idx
44 b = utils.read_memoryview(inf, log_buf_addr, log_next_idx)
/Linux-v5.4/kernel/printk/
Dprintk.c434 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()
[all …]
/Linux-v5.4/Documentation/admin-guide/kdump/
Dvmcoreinfo.rst212 log_next_idx section in Common variables