函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\printk\printk.c Create Date:2022-07-27 11:07:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:void kmsg_dump_rewind_nolock(struct kmsg_dumper *dumper)

返回类型:void

参数:

类型参数名称
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
调用者
名称描述
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]