函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:generic_lr_enable_disable

函数原型:static int generic_lr_enable_disable(struct opal_dev *dev, u8 *uid, bool rle, bool wle, bool rl, bool wl)

返回类型:int

参数:

类型参数名称
struct opal_dev *dev
u8 *uid
boolrle
boolwle
boolrl
boolwl
1301  err等于cmd_start(dev, uid, TCG Storage SSC Methods.* Derived from: TCG_Storage_Architecture_Core_Spec_v2.01_r1.00* Section: 6.3 Assigned UIDs[OPAL_SET])
1303  add_token_u8( & err, dev, OPAL_STARTNAME)
1304  add_token_u8( & err, dev, OPAL_VALUES)
1305  add_token_u8( & err, dev, OPAL_STARTLIST)
1307  add_token_u8( & err, dev, OPAL_STARTNAME)
1308  add_token_u8( & err, dev, OPAL_READLOCKENABLED)
1309  add_token_u8( & err, dev, rle)
1310  add_token_u8( & err, dev, OPAL_ENDNAME)
1312  add_token_u8( & err, dev, OPAL_STARTNAME)
1313  add_token_u8( & err, dev, OPAL_WRITELOCKENABLED)
1314  add_token_u8( & err, dev, wle)
1315  add_token_u8( & err, dev, OPAL_ENDNAME)
1317  add_token_u8( & err, dev, OPAL_STARTNAME)
1318  add_token_u8( & err, dev, OPAL_READLOCKED)
1319  add_token_u8( & err, dev, rl)
1320  add_token_u8( & err, dev, OPAL_ENDNAME)
1322  add_token_u8( & err, dev, OPAL_STARTNAME)
1323  add_token_u8( & err, dev, OPAL_WRITELOCKED)
1324  add_token_u8( & err, dev, wl)
1325  add_token_u8( & err, dev, OPAL_ENDNAME)
1327  add_token_u8( & err, dev, OPAL_ENDLIST)
1328  add_token_u8( & err, dev, OPAL_ENDNAME)
1330  返回:err
调用者
名称描述
enable_global_lr
lock_unlock_locking_range_sum