函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Determine if we're in the Manufactured Inactive or Active state

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

返回类型:int

参数:

类型参数名称
struct opal_dev *dev
void *data
1927  err等于quest @column from table @table on device @dev. On success, the column* data will be available in dev->resp->tok[4]
1929  如果err则返回:err
1932  lc_status等于response_get_u64( & parsed, 4)
1935  如果lc_status不等于OPAL_MANUFACTURED_INACTIVE
1936  pr_debug("Couldn't determine the status of the Lifecycle state\n")
1937  返回:负ENODEV
1940  返回:0