函数逻辑报告 |
Source Code:kernel\printk\printk.c |
Create Date:2022-07-27 11:07:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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()
函数原型:void console_unlock(void)
返回类型:void
参数:无
2375 | up_console_sem() |
2376 | 返回 |
2394 | again : |
2404 | up_console_sem() |
2405 | 返回 |
2408 | 循环 |
2410 | ext_len等于0 |
2421 | he next printk record to write to the console 等于dex and sequence number of the first record stored in the buffer |
2422 | console_idx等于log_first_idx |
2423 | 否则 |
2424 | len等于0 |
2426 | skip : |
2427 | 如果he next printk record to write to the console 恒等于dex and sequence number of the next record to store in the buffer 则退出 |
2431 | 如果suppress_message_printing( syslog level )则 |
2439 | 转到:skip |
2448 | len加等于msg_print_text(msg, console_msg_format & MSG_FORMAT_SYSLOG, printk_time, text + len, text的长度 - len) |
2472 | stop_critical_timings() |
2474 | start_critical_timings() |
2478 | 返回 |
2483 | 如果do_cond_resched则cond_resched() |
2491 | up_console_sem() |
2500 | retry等于he next printk record to write to the console 不等于dex and sequence number of the next record to store in the buffer |
名称 | 描述 |
---|---|
vprintk_emit | |
resume_console | |
console_cpu_notify | sole_cpu_notify - print deferred console messages after CPU hotplug*@cpu: unused* If printk() is called from a CPU that is not online yet, the messages* will be printed on the console only if there are CON_ANYTIME consoles |
console_unblank | |
console_flush_on_panic | sole_flush_on_panic - flush console content on panic*@mode: flush all messages in buffer or just the pending ones* Immediately output all pending messages no matter what. |
console_device | Return the console tty driver structure and its associated index |
console_stop | Prevent further output on the passed console device so that (for example)* serial drivers can disable console output before suspending a port, and can* re-enable output afterwards. |
console_start | |
register_console | The console driver calls this routine during kernel initialization* to register the console printing procedure with printk() and to* print any messages that were printed by the kernel before the* console driver was initialized |
unregister_console | |
wake_up_klogd_work_func |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |