Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_msid_cpin_pin

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

Type:int

Parameter:

TypeParameterName
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  If err Then Return err
1953  strlen = response_get_string( & parsed, 4, & msid_pin)
1954  If Not msid_pin Then
1955  pr_debug("Couldn't extract MSID_CPIN from response\n")
1956  Return 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  If Not prev_data Then Return -ENOMEM
1963  prev_d_len = strlen
1965  Return 0