Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:can_add

Proto:static bool can_add(int *err, struct opal_dev *cmd, size_t len)

Type:bool

Parameter:

TypeParameterName
int *err
struct opal_dev *cmd
size_tlen
539  If err Then Return false
542  If remaining_size(cmd) < len Then
543  pr_debug("Error adding %zu bytes: end of buffer.\n", len)
544  err = -ERANGE
545  Return false
548  Return true
Caller
NameDescribe
add_token_u8
add_token_u64
add_bytestring_header