函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Check if we have any console that is capable of printing while cpu is* booting or shutting down. Requires console_sem.

函数原型:static int have_callable_console(void)

返回类型:int

参数:

2333  r_each_console() allows you to iterate on each console(con)
2334  如果flags按位与CON_ENABLEDflags按位与Safe to call when cpu is offline 则返回:1
2338  返回:0
调用者
名称描述
can_use_consoleCan we actually use the console at this time on this cpu?* Console drivers may assume that per-cpu resources have been allocated. So* unless they're explicitly marked as being able to cope (CON_ANYTIME) don't* call them until this CPU is officially up.