Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:check_stats_zero

Proto:static int check_stats_zero(struct objagg *objagg)

Type:int

Parameter:

TypeParameterName
struct objagg *objagg
229  err = 0
231  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:
232  If IS_ERR(stats) Then Return PTR_ERR(stats)
235  If stats_info_count != 0 Then
236  pr_err("Stats: Object count is not zero while it should be\n")
237  err = -EINVAL
240  objagg_stats_put(stats)
241  Return err
Caller
NameDescribe
test_nodelta