Home
last modified time | relevance | path

Searched refs:stats_info (Results 1 – 9 of 9) sorted by relevance

/linux/lib/
H A Dobjagg.c30 struct objagg_obj_stats_info stats_info; member
613 objagg_stats = kzalloc_flex(*objagg_stats, stats_info, in objagg_stats_get()
620 memcpy(&objagg_stats->stats_info[i].stats, &objagg_obj->stats, in objagg_stats_get()
621 sizeof(objagg_stats->stats_info[0].stats)); in objagg_stats_get()
622 objagg_stats->stats_info[i].objagg_obj = objagg_obj; in objagg_stats_get()
623 objagg_stats->stats_info[i].is_root = in objagg_stats_get()
625 if (objagg_stats->stats_info[i].is_root) in objagg_stats_get()
631 sort(objagg_stats->stats_info, objagg_stats->stats_info_count, in objagg_stats_get()
664 hnode->stats_info.stats.user_count = user_count; in objagg_hints_node_create()
665 hnode->stats_info.stats.delta_user_count = user_count; in objagg_hints_node_create()
[all …]
H A Dtest_objagg.c262 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 …]
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_port.c999 struct hinic_port_stats_info stats_info = { 0 }; in hinic_get_vport_stats() local
1006 stats_info.stats_version = HINIC_PORT_STATS_VERSION; in hinic_get_vport_stats()
1007 stats_info.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_get_vport_stats()
1008 stats_info.stats_size = sizeof(vport_stats); in hinic_get_vport_stats()
1011 &stats_info, sizeof(stats_info), in hinic_get_vport_stats()
1027 struct hinic_port_stats_info stats_info = { 0 }; in hinic_get_phy_port_stats() local
1039 stats_info.stats_version = HINIC_PORT_STATS_VERSION; in hinic_get_phy_port_stats()
1040 stats_info.stats_size = sizeof(*port_stats); in hinic_get_phy_port_stats()
1043 &stats_info, sizeof(stats_info), in hinic_get_phy_port_stats()
/linux/include/linux/
H A Dobjagg.h46 struct objagg_obj_stats_info stats_info[]; member
/linux/drivers/net/ethernet/airoha/
H A Dairoha_npu.c152 } stats_info; member
443 ppe_data->stats_info.foe_stats_addr = foe_stats_addr; in airoha_npu_ppe_stats_setup()
451 ppe_data->stats_info.npu_stats_addr, in airoha_npu_ppe_stats_setup()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_vf.h187 struct pfvf_stats_info stats_info; member
H A Dqed_sriov.c1624 qed_iov_vf_mbx_acquire_stats(p_hwfn, &pfdev_info->stats_info); in qed_iov_vf_mbx_acquire()
/linux/drivers/infiniband/hw/irdma/
H A Dutils.c1771 * @stats_info: pointer to allocate stats info
1774 struct irdma_stats_inst_info *stats_info)
1792 cqp_info->in.u.stats_manage.info = *stats_info; in irdma_cqp_stats_inst_cmd()
1797 stats_info->stats_idx = cqp_request->compl_info.op_ret_val; in irdma_cqp_stats_inst_cmd()
1776 irdma_cqp_stats_inst_cmd(struct irdma_sc_vsi * vsi,u8 cmd,struct irdma_stats_inst_info * stats_info) irdma_cqp_stats_inst_cmd() argument
/linux/drivers/net/wireless/ath/wcn36xx/
H A Dsmd.c2576 struct ani_global_class_a_stats_info *stats_info = rsp_body; in wcn36xx_smd_get_stats() local
2578 wcn36xx_process_tx_rate(stats_info, &sinfo->txrate); in wcn36xx_smd_get_stats()