函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:wake_up_klogd_work_func

函数原型:static void wake_up_klogd_work_func(struct irq_work *irq_work)

返回类型:void

参数:

类型参数名称
struct irq_work *irq_work
2950  pending等于__this_cpu_xchg(printk_pending, 0)
2952  如果pending按位与PRINTK_PENDING_OUTPUT
2954  如果sole_trylock - try to lock the console system for exclusive use.* Try to acquire a lock which guarantees that the caller has exclusive* access to the console system and the console_drivers list.* returns 1 on success, and 0 on failure to acquire the lock.sole_unlock - unlock the console system* Releases the console_lock which the caller holds on the console system* and the console driver list.* While the console_lock was held, console output may have been buffered* by printk()
2958  如果pending按位与Delayed printk version, for scheduler-internal messages:wake_up_interruptible( & log_wait)