Function report |
Source Code:block\sed-opal.c |
Create Date:2022-07-28 18:12:18 |
Last Modify:2020-03-17 23:36:33 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_msid_cpin_pin
Proto:static int get_msid_cpin_pin(struct opal_dev *dev, void *data)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct opal_dev * | dev | |
void * | data |
1949 | err = quest @column from table @table on device @dev. On success, the column* data will be available in dev->resp->tok[4] |
1953 | strlen = response_get_string( & parsed, 4, & msid_pin) |
1954 | If Not msid_pin Then |
1955 | pr_debug("Couldn't extract MSID_CPIN from response\n") |
1956 | Return OPAL_INVAL_PARAM |
1959 | prev_data = kmemdup - duplicate region of memory*@src: memory region to duplicate*@len: memory region length*@gfp: GFP mask to use* Return: newly allocated copy of @src or %NULL in case of error |
1963 | prev_d_len = strlen |
1965 | Return 0 |
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 |