Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_objagg.c Create Date:2022-07-28 06:35:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:check_expect_stats_nums

Proto:static int check_expect_stats_nums(const struct objagg_obj_stats_info *stats_info, const struct expect_stats_info *expect_stats_info, const char **errmsg)

Type:int

Parameter:

TypeParameterName
const struct objagg_obj_stats_info *stats_info
const struct expect_stats_info *expect_stats_info
const char **errmsg
645  If is_root != is_root Then
646  If errmsg Then errmsg = "Incorrect root/delta indication"
648  Return -EINVAL
650  If user_count != user_count Then
652  If errmsg Then errmsg = "Incorrect user count"
654  Return -EINVAL
656  If includes delta object users != includes delta object users Then
658  If errmsg Then errmsg = "Incorrect delta user count"
660  Return -EINVAL
662  Return 0
Caller
NameDescribe
check_expect_stats_neigh
__check_expect_stats