Function report |
Source Code:kernel\printk\printk_safe.c |
Create Date:2022-07-28 10:07:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:printk part of the temporary buffer line by line
Proto:static int printk_safe_flush_buffer(const char *start, size_t len)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | start | |
size_t | len |
129 | header = true |
133 | If c == '\n' Then |
141 | If c + 1 < end && printk_get_level(c) Then |
142 | If header Then |
143 | c = printk_skip_level(c) |
144 | Continue |
147 | printk_safe_flush_line(start, c - start) |
149 | header = true |
150 | Continue |
153 | header = false |
154 | c++ |
161 | printk_safe_flush_line(start, end - start) |
165 | Return len |
Name | Describe |
---|---|
__printk_safe_flush | Flush data from the associated per-CPU buffer. The function* can be called either via IRQ work or independently. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |