函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:add_medium_atom_header

函数原型:static void add_medium_atom_header(struct opal_dev *cmd, bool bytestring, bool has_sign, int len)

返回类型:void

参数:

类型参数名称
struct opal_dev *cmd
boolbytestring
boolhas_sign
intlen
578  header0等于MEDIUM_ATOM_ID
579  header0或等于如果bytestringMEDIUM_ATOM_BYTESTRING否则0
580  header0或等于如果has_signMEDIUM_ATOM_SIGNED否则0
581  header0或等于len右移8位按位与MEDIUM_ATOM_LEN_MASK
583  cmd[pos++]等于header0
584  cmd[pos++]等于len
调用者
名称描述
add_bytestring_header