Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:response_parse_medium

Proto:static ssize_t response_parse_medium(struct opal_resp_tok *tok, const u8 *pos)

Type:ssize_t

Parameter:

TypeParameterName
struct opal_resp_tok *tok
const u8 *pos
806  pos = pos
807  len = ( (pos[0] & MEDIUM_ATOM_LEN_MASK) << 8 | pos[1]) + 2
808  width = OPAL_WIDTH_MEDIUM
810  If pos[0] & MEDIUM_ATOM_BYTESTRING Then type = OPAL_DTA_TOKENID_BYTESTRING
812  Else if pos[0] & MEDIUM_ATOM_SIGNED Then type = OPAL_DTA_TOKENID_SINT
814  Else type = OPAL_DTA_TOKENID_UINT
817  Return len
Caller
NameDescribe
response_parse