函数逻辑报告 |
Source Code:block\sed-opal.c |
Create Date:2022-07-27 19:45:25 |
Last Modify:2020-03-17 23:36:33 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:add_bytestring_header
函数原型:static u8 *add_bytestring_header(int *err, struct opal_dev *cmd, size_t len)
返回类型:u8
参数:
类型 | 参数 | 名称 |
---|---|---|
int * | err | |
struct opal_dev * | cmd | |
size_t | len |
611 | header_len等于1 |
612 | bool is_short_atom = true |
614 | 如果len按位与SHORT_ATOM_LEN_MASK的反则 |
615 | header_len等于2 |
616 | is_short_atom = false |
619 | 如果非can_add(err, cmd, header_len + len)则 |
620 | pr_debug("Error adding bytestring: end of buffer.\n") |
621 | 返回:NULL |
624 | 如果is_short_atom则add_short_atom_header(cmd, true, TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., len) |
626 | 否则add_medium_atom_header(cmd, true, TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., len) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |