Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:response_get_u64

Proto:static u64 response_get_u64(const struct parsed_resp *resp, int n)

Type:u64

Parameter:

TypeParameterName
const struct parsed_resp *resp
intn
956  tok = response_get_token(resp, n)
957  If IS_ERR(tok) Then Return 0
960  If type != OPAL_DTA_TOKENID_UINT Then
961  pr_debug("Token is not unsigned int: %d\n", type)
962  Return 0
965  If width != OPAL_WIDTH_TINY && width != OPAL_WIDTH_SHORT Then
966  pr_debug("Atom is not short or tiny: %d\n", width)
967  Return 0
970  Return u
Caller
NameDescribe
response_status
start_opal_session_cont
generic_table_write_data
get_lsp_lifecycleDetermine if we're in the Manufactured Inactive or Active state
read_table_data