函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:erase_locking_range

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

返回类型:int

参数:

类型参数名称
struct opal_dev *dev
void *data
1585  session等于data
1589  如果build_locking_range(uid, uid的长度, lr)小于0则返回:负ERANGE
1592  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_ERASE])
1594  如果err
1595  pr_debug("Error building Erase Locking Range Command.\n")
1596  返回:err
1599  返回:finalize_and_send(dev, Parses and checks for errors )