Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\printk\printk.c Create Date:2022-07-28 10:07:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kmsg_dump_rewind_nolock - reset the interator (unlocked version)*@dumper: registered kmsg dumper* Reset the dumper's iterator so that kmsg_dump_get_line() and* kmsg_dump_get_buffer() can be called again and used multiple* times within the same dumper

Proto:void kmsg_dump_rewind_nolock(struct kmsg_dumper *dumper)

Type:void

Parameter:

TypeParameterName
struct kmsg_dumper *dumper
3331  cur_seq = he next printk record to read after the last 'clear' command
3332  private state of the kmsg iterator = clear_idx
3333  next_seq = dex and sequence number of the next record to store in the buffer
3334  next_idx = log_next_idx
Caller
NameDescribe
kmsg_dump_rewindkmsg_dump_rewind - reset the interator*@dumper: registered kmsg dumper* Reset the dumper's iterator so that kmsg_dump_get_line() and* kmsg_dump_get_buffer() can be called again and used multiple* times within the same dumper.dump() callback.
kdb_dmesgkdb_dmesg - This function implements the 'dmesg' command to display* the contents of the syslog buffer.* dmesg [lines] [adjust]