函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:generic_pw_cmd

函数原型:static int generic_pw_cmd(u8 *key, size_t key_len, u8 *cpin_uid, struct opal_dev *dev)

返回类型:int

参数:

类型参数名称
u8 *key
size_tkey_len
u8 *cpin_uid
struct opal_dev *dev
1667  err等于cmd_start(dev, cpin_uid, TCG Storage SSC Methods.* Derived from: TCG_Storage_Architecture_Core_Spec_v2.01_r1.00* Section: 6.3 Assigned UIDs[OPAL_SET])
1669  add_token_u8( & err, dev, OPAL_STARTNAME)
1670  add_token_u8( & err, dev, OPAL_VALUES)
1671  add_token_u8( & err, dev, OPAL_STARTLIST)
1672  add_token_u8( & err, dev, OPAL_STARTNAME)
1673  add_token_u8( & err, dev, OPAL_PIN)
1674  add_token_bytestring( & err, dev, key, key_len)
1675  add_token_u8( & err, dev, OPAL_ENDNAME)
1676  add_token_u8( & err, dev, OPAL_ENDLIST)
1677  add_token_u8( & err, dev, OPAL_ENDNAME)
1679  返回:err
调用者
名称描述
set_new_pw
set_sid_cpin_pin