函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_active_key_cont

函数原型:static int get_active_key_cont(struct opal_dev *dev)

返回类型:int

参数:

类型参数名称
struct opal_dev *dev
1186  error等于0
1188  error等于Parses and checks for errors
1189  如果error则返回:error
1192  keylen等于response_get_string( & parsed, 4, & activekey)
1193  如果非activekey
1194  pr_debug("%s: Couldn't extract the Activekey from the response\n", __func__)
1196  返回: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  如果非prev_data则返回:负ENOMEM
1204  prev_d_len等于keylen
1206  返回:0
调用者
名称描述
get_active_key