Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bjagg_hints_stats_get - obtains stats of the hints instance*@objagg_hints: hints instance* Note: all locking must be provided by the caller.* The returned structure contains statistics of all objects* currently in use, ordered by following rules:

Proto:const struct objagg_stats *objagg_hints_stats_get(struct objagg_hints *objagg_hints)

Type:struct objagg_stats

Parameter:

TypeParameterName
struct objagg_hints *objagg_hints
1028  objagg_stats = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
1031  If Not objagg_stats Then Return ERR_PTR( - ENOMEM)
1034  i = 0
1036  No 3D Now!( & stats_info[i], & stats_info, size of stats_info[0] )
1038  If is_root Then root_count++
1040  i++
1042  stats_info_count = i
1044  sort(stats_info, stats_info_count, sizeof(structobjagg_obj_stats_info), objagg_stats_info_sort_cmp_func, NULL)
1048  Return objagg_stats
Caller
NameDescribe
check_expect_hints_stats
pr_debug_hints_stats