函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\objagg.c Create Date:2022-07-27 08:22:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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:

函数原型:const struct objagg_stats *objagg_hints_stats_get(struct objagg_hints *objagg_hints)

返回类型:struct objagg_stats

参数:

类型参数名称
struct objagg_hints *objagg_hints
1028  objagg_stats等于分配内存并置零
1031  如果非objagg_stats则返回:错误号
1034  i等于0
1036  内存复制( & stats_info[i], & stats_info, stats_info[0]的长度)
1038  如果is_rootroot_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  返回:objagg_stats
调用者
名称描述
check_expect_hints_stats
pr_debug_hints_stats