Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:check_expect_stats

Proto:static int check_expect_stats(struct objagg *objagg, const struct expect_stats *expect_stats, const char **errmsg)

Type:int

Parameter:

TypeParameterName
struct objagg *objagg
const struct expect_stats *expect_stats
const char **errmsg
747  stats = bjagg_stats_get - obtains stats of the objagg instance*@objagg: objagg instance* Note: all locking must be provided by the caller.* The returned structure contains statistics of all object* currently in use, ordered by following rules:
748  If IS_ERR(stats) Then
749  errmsg = "objagg_stats_get() failed."
750  Return PTR_ERR(stats)
752  err = __check_expect_stats(stats, expect_stats, errmsg)
753  objagg_stats_put(stats)
754  Return err
Caller
NameDescribe
test_delta_action_item
test_hints_case