Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:syslog_clear

Proto:static void syslog_clear(void)

Type:void

Parameter:Nothing

1497  Helper macros to lock/unlock logbuf_lock and switch between* printk-safe/unsafe modes.()
1498  he next printk record to read after the last 'clear' command = dex and sequence number of the next record to store in the buffer
1499  clear_idx = log_next_idx
1500  logbuf_unlock_irq()
Caller
NameDescribe
do_syslog