函数逻辑报告 |
Source Code:block\sed-opal.c |
Create Date:2022-07-27 19:47:14 |
Last Modify:2020-03-17 23:36:33 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:activate_lsp
函数原型:static int activate_lsp(struct opal_dev *dev, void *data)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct opal_dev * | dev | |
void * | data |
1891 | err等于cmd_start(dev, opaluid[OPAL_LOCKINGSP_UID], TCG Storage SSC Methods.* Derived from: TCG_Storage_Architecture_Core_Spec_v2.01_r1.00* Section: 6.3 Assigned UIDs[OPAL_ACTIVATE]) |
1894 | 如果sum则 |
1895 | err等于build_locking_range(user_lr, user_lr的长度, lr[0]) |
1900 | add_token_u8( & err, dev, OPAL_STARTNAME) |
1901 | add_token_u64( & err, dev, OPAL_SUM_SET_LIST) |
1903 | add_token_u8( & err, dev, OPAL_STARTLIST) |
1904 | add_token_bytestring( & err, dev, user_lr, OPAL_UID_LENGTH) |
1907 | add_token_bytestring( & err, dev, user_lr, OPAL_UID_LENGTH) |
1909 | add_token_u8( & err, dev, OPAL_ENDLIST) |
1910 | add_token_u8( & err, dev, OPAL_ENDNAME) |
1913 | 如果err则 |
1918 | 返回:finalize_and_send(dev, Parses and checks for errors ) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |