Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\sed-opal.c Create Date:2022-07-28 18:11:45
Last Modify:2020-03-17 23:36:33 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:erase_locking_range

Proto:static int erase_locking_range(struct opal_dev *dev, void *data)

Type:int

Parameter:

TypeParameterName
struct opal_dev *dev
void *data
1585  session = data
1589  If build_locking_range(uid, size of uid , lr) < 0 Then Return -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  If err Then
1595  pr_debug("Error building Erase Locking Range Command.\n")
1596  Return err
1599  Return finalize_and_send(dev, Parses and checks for errors )