Searched refs:stats_info (Results 1 – 2 of 2) sorted by relevance
/lib/ |
D | objagg.c | 30 struct objagg_obj_stats_info stats_info; member 610 objagg_stats = kzalloc(struct_size(objagg_stats, stats_info, in objagg_stats_get() 617 memcpy(&objagg_stats->stats_info[i].stats, &objagg_obj->stats, in objagg_stats_get() 618 sizeof(objagg_stats->stats_info[0].stats)); in objagg_stats_get() 619 objagg_stats->stats_info[i].objagg_obj = objagg_obj; in objagg_stats_get() 620 objagg_stats->stats_info[i].is_root = in objagg_stats_get() 622 if (objagg_stats->stats_info[i].is_root) in objagg_stats_get() 628 sort(objagg_stats->stats_info, objagg_stats->stats_info_count, in objagg_stats_get() 661 hnode->stats_info.stats.user_count = user_count; in objagg_hints_node_create() 662 hnode->stats_info.stats.delta_user_count = user_count; in objagg_hints_node_create() [all …]
|
D | test_objagg.c | 262 if (stats->stats_info[i].stats.user_count != 2) { in check_stats_nodelta() 267 if (stats->stats_info[i].stats.delta_user_count != 2) { in check_stats_nodelta() 641 check_expect_stats_nums(const struct objagg_obj_stats_info *stats_info, in check_expect_stats_nums() argument 645 if (stats_info->is_root != expect_stats_info->is_root) { in check_expect_stats_nums() 650 if (stats_info->stats.user_count != in check_expect_stats_nums() 656 if (stats_info->stats.delta_user_count != in check_expect_stats_nums() 666 check_expect_stats_key_id(const struct objagg_obj_stats_info *stats_info, in check_expect_stats_key_id() argument 670 if (obj_to_key_id(stats_info->objagg_obj) != in check_expect_stats_key_id() 687 err = check_expect_stats_nums(&stats->stats_info[i], in check_expect_stats_neigh() 691 err = check_expect_stats_key_id(&stats->stats_info[i], in check_expect_stats_neigh() [all …]
|