Function report |
Source Code:block\sed-opal.c |
Create Date:2022-07-28 18:10:21 |
Last Modify:2020-03-17 23:36:33 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:add_bytestring_header
Proto:static u8 *add_bytestring_header(int *err, struct opal_dev *cmd, size_t len)
Type:u8
Parameter:
Type | Parameter | Name |
---|---|---|
int * | err | |
struct opal_dev * | cmd | |
size_t | len |
611 | header_len = 1 |
612 | bool is_short_atom = true |
614 | If len & ~SHORT_ATOM_LEN_MASK Then |
615 | header_len = 2 |
616 | is_short_atom = false |
619 | If Not can_add(err, cmd, header_len + len) Then |
620 | pr_debug("Error adding bytestring: end of buffer.\n") |
621 | Return NULL |
624 | If is_short_atom Then 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 | Else 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) |
Name | Describe |
---|---|
add_token_bytestring | |
generic_table_write_data |
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 |