Function report |
Source Code:kernel\printk\printk.c |
Create Date:2022-07-28 10:05:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mpute the message size including the padding bytes
Proto:static unsigned int msg_used_size(u16 text_len, u16 dict_len, unsigned int *pad_len)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| u16 | text_len | |
| u16 | dict_len | |
| unsigned int * | pad_len |
| 570 | size = sizeof(structprintk_log) + text_len + dict_len |
| 571 | pad_len = -size & cord buffer - 1 |
| 574 | Return size |
| Name | Describe |
|---|---|
| truncate_msg | |
| log_store | sert record into the buffer, discard old ones, update heads |
| 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 |