Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:add_short_atom_header

Proto:static void add_short_atom_header(struct opal_dev *cmd, bool bytestring, bool has_sign, int len)

Type:void

Parameter:

TypeParameterName
struct opal_dev *cmd
boolbytestring
boolhas_sign
intlen
563  err = 0
565  atom = SHORT_ATOM_ID
566  atom |= If bytestring Then SHORT_ATOM_BYTESTRING Else 0
567  atom |= If has_sign Then SHORT_ATOM_SIGNED Else 0
568  atom |= len & SHORT_ATOM_LEN_MASK
570  add_token_u8( & err, cmd, atom)
Caller
NameDescribe
add_token_u64
add_bytestring_header