Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_active_key_cont

Proto:static int get_active_key_cont(struct opal_dev *dev)

Type:int

Parameter:

TypeParameterName
struct opal_dev *dev
1186  error = 0
1188  error = Parses and checks for errors
1189  If error Then Return error
1192  keylen = response_get_string( & parsed, 4, & activekey)
1193  If Not activekey Then
1194  pr_debug("%s: Couldn't extract the Activekey from the response\n", __func__)
1196  Return OPAL_INVAL_PARAM
1199  prev_data = kmemdup - duplicate region of memory*@src: memory region to duplicate*@len: memory region length*@gfp: GFP mask to use* Return: newly allocated copy of @src or %NULL in case of error
1201  If Not prev_data Then Return -ENOMEM
1204  prev_d_len = keylen
1206  Return 0
Caller
NameDescribe
get_active_key