函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:const struct objagg_stats *objagg_stats_get(struct objagg *objagg)

返回类型:struct objagg_stats

参数:

类型参数名称
struct objagg *objagg
610  objagg_stats等于分配内存并置零
612  如果非objagg_stats则返回:错误号
615  i等于0
617  内存复制( & stats, & stats, stats的长度)
619  associated object 等于objagg_obj
620  is_root等于objagg_obj_is_root(objagg_obj)
622  如果is_rootroot_count自加
624  i自加
626  stats_info_count等于i
628  sort(stats_info, stats_info_count, sizeof(structobjagg_obj_stats_info), objagg_stats_info_sort_cmp_func, NULL)
632  返回:objagg_stats
调用者
名称描述
check_stats_nodelta
check_expect_stats
pr_debug_stats
check_stats_zero