函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\sed-opal.c Create Date:2022-07-27 19:46:07
Last Modify:2020-03-17 23:36:33 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:quest @column from table @table on device @dev. On success, the column* data will be available in dev->resp->tok[4]

函数原型:static int generic_get_column(struct opal_dev *dev, const u8 *table, u64 column)

返回类型:int

参数:

类型参数名称
struct opal_dev *dev
const u8 *table
u64column
1117  err等于cmd_start(dev, table, TCG Storage SSC Methods.* Derived from: TCG_Storage_Architecture_Core_Spec_v2.01_r1.00* Section: 6.3 Assigned UIDs[OPAL_GET])
1119  add_token_u8( & err, dev, OPAL_STARTLIST)
1121  add_token_u8( & err, dev, OPAL_STARTNAME)
1122  add_token_u8( & err, dev, OPAL_STARTCOLUMN)
1123  add_token_u64( & err, dev, column)
1124  add_token_u8( & err, dev, OPAL_ENDNAME)
1126  add_token_u8( & err, dev, OPAL_STARTNAME)
1127  add_token_u8( & err, dev, OPAL_ENDCOLUMN)
1128  add_token_u64( & err, dev, column)
1129  add_token_u8( & err, dev, OPAL_ENDNAME)
1131  add_token_u8( & err, dev, OPAL_ENDLIST)
1133  如果err则返回:err
1136  返回:finalize_and_send(dev, Parses and checks for errors )
调用者
名称描述
generic_get_table_infosee TCG SAS 5.3.2.3 for a description of the available columns* the result is provided in dev->resp->tok[4]
get_active_key
get_lsp_lifecycleDetermine if we're in the Manufactured Inactive or Active state
get_msid_cpin_pin