函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_msid_cpin_pin

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

返回类型:int

参数:

类型参数名称
struct opal_dev *dev
void *data
1949  err等于quest @column from table @table on device @dev. On success, the column* data will be available in dev->resp->tok[4]
1950  如果err则返回:err
1953  strlen等于response_get_string( & parsed, 4, & msid_pin)
1954  如果非msid_pin
1955  pr_debug("Couldn't extract MSID_CPIN from response\n")
1956  返回:OPAL_INVAL_PARAM
1959  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
1960  如果非prev_data则返回:负ENOMEM
1963  prev_d_len等于strlen
1965  返回:0