Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:response_parse_long

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

Type:ssize_t

Parameter:

TypeParameterName
struct opal_resp_tok *tok
const u8 *pos
823  pos = pos
824  len = ( pos[1] << 16 | pos[2] << 8 | pos[3]) + 4
825  width = OPAL_WIDTH_LONG
827  If pos[0] & LONG_ATOM_BYTESTRING Then type = OPAL_DTA_TOKENID_BYTESTRING
829  Else if pos[0] & LONG_ATOM_SIGNED Then type = OPAL_DTA_TOKENID_SINT
831  Else type = OPAL_DTA_TOKENID_UINT
834  Return len
Caller
NameDescribe
response_parse