Lines Matching refs:prb

426 static struct printk_ringbuffer *prb = &printk_rb_static;  variable
732 if (!prb_read_valid(prb, atomic64_read(&user->seq), r)) { in devkmsg_read()
749 prb_read_valid(prb, in devkmsg_read()
805 atomic64_set(&user->seq, prb_first_valid_seq(prb)); in devkmsg_llseek()
817 atomic64_set(&user->seq, prb_next_seq(prb)); in devkmsg_llseek()
836 if (prb_read_valid_info(prb, atomic64_read(&user->seq), &info, NULL)) { in devkmsg_poll()
875 atomic64_set(&user->seq, prb_first_valid_seq(prb)); in devkmsg_open()
917 VMCOREINFO_SYMBOL(prb); in log_buf_vmcoreinfo_setup()
1154 prb = &printk_rb_dynamic; in setup_log_buf()
1463 prb_for_each_info(start_seq, prb, seq, &info, &line_count) { in find_first_fitting_seq()
1482 prb_for_each_info(start_seq, prb, seq, &info, &line_count) { in find_first_fitting_seq()
1527 prb_read_valid(prb, seq, NULL)); /* LMM(syslog_print:A) */ in syslog_print()
1543 if (!prb_read_valid(prb, syslog_seq, &r)) in syslog_print()
1620 prb_for_each_record(seq, prb, seq, &r) { in syslog_print_all()
1652 latched_seq_write(&clear_seq, prb_next_seq(prb)); in syslog_clear()
1725 if (!prb_read_valid_info(prb, syslog_seq, &info, NULL)) { in do_syslog()
1741 error = prb_next_seq(prb) - syslog_seq; in do_syslog()
1747 prb_for_each_info(syslog_seq, prb, seq, &info, in do_syslog()
2170 if (prb_reserve_in_last(&e, prb, &r, caller_id, LOG_LINE_MAX)) { in vprintk_store()
2193 if (!prb_reserve(&e, prb, &r)) { in vprintk_store()
2198 if (!prb_reserve(&e, prb, &r)) in vprintk_store()
2689 if (!prb_read_valid(prb, con->seq, &r)) in console_emit_next_record()
2879 } while (prb_read_valid(prb, next_seq, NULL) && console_trylock()); in console_unlock()
2946 seq = prb_first_valid_seq(prb); in console_flush_on_panic()
3196 newcon->seq = prb_next_seq(prb); in register_console()
3367 seq = prb_next_seq(prb); in __pr_flush()
3708 if (!prb_read_valid(prb, iter->cur_seq, &r)) in kmsg_dump_get_line()
3712 if (!prb_read_valid_info(prb, iter->cur_seq, in kmsg_dump_get_line()
3767 if (prb_read_valid_info(prb, iter->cur_seq, &info, NULL)) { in kmsg_dump_get_buffer()
3796 prb_for_each_record(seq, prb, seq, &r) { in kmsg_dump_get_buffer()
3826 iter->next_seq = prb_next_seq(prb); in kmsg_dump_rewind()