Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:printk_safe_flush - flush all per-cpu nmi buffers.* The buffers are flushed automatically via IRQ work. This function* is useful only when someone wants to be sure that all buffers have* been flushed at some point.

Proto:void printk_safe_flush(void)

Type:void

Parameter:Nothing

248  for_each_possible_cpu(cpu)
252  Flush data from the associated per-CPU buffer. The function* can be called either via IRQ work or independently.
Caller
NameDescribe
printk_safe_flush_on_panicprintk_safe_flush_on_panic - flush all per-cpu nmi buffers when the system* goes down.* Similar to printk_safe_flush() but it can be called even in NMI context when* the system goes down. It does the best effort to get NMI messages into
printk_safe_init