函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:set_mbr_done

函数原型:static int set_mbr_done(struct opal_dev *dev, void *data)

返回类型:int

参数:

类型参数名称
struct opal_dev *dev
void *data
1604  mbr_done_tf等于data
1607  err等于cmd_start(dev, opaluid[OPAL_MBRCONTROL], TCG Storage SSC Methods.* Derived from: TCG_Storage_Architecture_Core_Spec_v2.01_r1.00* Section: 6.3 Assigned UIDs[OPAL_SET])
1610  add_token_u8( & err, dev, OPAL_STARTNAME)
1611  add_token_u8( & err, dev, OPAL_VALUES)
1612  add_token_u8( & err, dev, OPAL_STARTLIST)
1613  add_token_u8( & err, dev, OPAL_STARTNAME)
1614  add_token_u8( & err, dev, OPAL_MBRDONE)
1615  add_token_u8( & err, dev, * mbr_done_tf)
1616  add_token_u8( & err, dev, OPAL_ENDNAME)
1617  add_token_u8( & err, dev, OPAL_ENDLIST)
1618  add_token_u8( & err, dev, OPAL_ENDNAME)
1620  如果err
1621  pr_debug("Error Building set MBR Done command\n")
1622  返回:err
1625  返回:finalize_and_send(dev, Parses and checks for errors )