函数逻辑报告 |
Source Code:kernel\printk\printk.c |
Create Date:2022-07-27 11:06:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Call the console drivers, asking them to write out* log_buf[start] to log_buf[end - 1].* The console_lock must be held.
函数原型:static void call_console_drivers(const char *ext_text, size_t ext_len, const char *text, size_t len)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | ext_text | |
size_t | ext_len | |
const char * | text | |
size_t | len |
1773 | trace_console_rcuidle(text, len) |
1775 | 如果非console_drivers则返回 |
1779 | 如果If exclusive_console is non-NULL then only this console is to be printed to.且con不等于If exclusive_console is non-NULL then only this console is to be printed to.则继续下一循环 |
1781 | 如果非flags按位与CON_ENABLED的值则继续下一循环 |
1783 | 如果非write则继续下一循环 |
1785 | 如果非cpu_online(当前cpu ID())且非flags按位与Safe to call when cpu is offline 的值则继续下一循环 |
名称 | 描述 |
---|---|
console_unlock | 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() |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |