Home
last modified time | relevance | path

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

/linux-6.12.1/lib/
Dobjagg.c30 struct objagg_obj_stats_info stats_info; member
613 objagg_stats = kzalloc(struct_size(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 …]
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-6.12.1/drivers/net/ethernet/huawei/hinic/
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-6.12.1/include/linux/
Dobjagg.h46 struct objagg_obj_stats_info stats_info[]; member
/linux-6.12.1/drivers/net/team/
Dteam_mode_loadbalance.c82 struct lb_stats_info stats_info; member
419 lb_port_priv->stats_info.opt_inst_info = info; in lb_port_stats_init()
427 ctx->data.bin_val.ptr = &lb_port_priv->stats_info.stats; in lb_port_stats_get()
501 s_info = &lb_port_priv->stats_info; in lb_stats_refresh()
/linux-6.12.1/drivers/infiniband/hw/irdma/
Dprotos.h39 struct irdma_stats_inst_info *stats_info);
Dhw.c1800 struct irdma_vsi_stats_info stats_info = {}; in irdma_rt_init_hw() local
1816 stats_info.pestat = kzalloc(sizeof(*stats_info.pestat), GFP_KERNEL); in irdma_rt_init_hw()
1817 if (!stats_info.pestat) { in irdma_rt_init_hw()
1821 stats_info.fcn_id = dev->hmc_fn_id; in irdma_rt_init_hw()
1822 status = irdma_vsi_stats_init(&iwdev->vsi, &stats_info); in irdma_rt_init_hw()
1825 kfree(stats_info.pestat); in irdma_rt_init_hw()
Dutils.c1791 struct irdma_stats_inst_info *stats_info) in irdma_cqp_stats_inst_cmd() argument
1810 cqp_info->in.u.stats_manage.info = *stats_info; in irdma_cqp_stats_inst_cmd()
1815 stats_info->stats_idx = cqp_request->compl_info.op_ret_val; in irdma_cqp_stats_inst_cmd()
Dctrl.c1893 struct irdma_stats_inst_info stats_info = {}; in irdma_get_stats_idx() local
1899 &stats_info)) in irdma_get_stats_idx()
1900 return stats_info.stats_idx; in irdma_get_stats_idx()
1994 struct irdma_stats_inst_info stats_info = {}; in irdma_vsi_stats_free() local
2000 stats_info.stats_idx = vsi->stats_idx; in irdma_vsi_stats_free()
2002 &stats_info); in irdma_vsi_stats_free()
/linux-6.12.1/drivers/net/ethernet/neterion/
Ds2io.c855 mac_control->stats_info = tmp_v_addr; in init_shared_mem()
859 mac_control->stats_info->sw_stat.mem_allocated += mem_allocated; in init_shared_mem()
890 stats = mac_control->stats_info; in free_shared_mem()
2376 struct stat_block *stats = mac_control->stats_info; in free_tx_buffers()
2468 struct swStat *swstats = &ring->nic->mac_control.stats_info->sw_stat; in fill_rx_buffers()
2670 struct stat_block *stats = mac_control->stats_info; in free_rxd_blk()
3006 struct stat_block *stats = nic->mac_control.stats_info; in tx_intr_handler()
3241 struct stat_block *stats = sp->mac_control.stats_info; in s2io_updt_xpak_counter()
3466 stats = sp->mac_control.stats_info; in s2io_reset()
3733 struct stat_block *stats = nic->mac_control.stats_info; in s2io_enable_msi_x()
[all …]
Ds2io.h816 struct stat_block *stats_info; /* Logical address of the stat block */ member
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c1609 *p_addr = p_resp->pfdev_info.stats_info.pstats.address; in __qed_get_vport_pstats_addrlen()
1610 *p_len = p_resp->pfdev_info.stats_info.pstats.len; in __qed_get_vport_pstats_addrlen()
1658 tstats_addr = p_resp->pfdev_info.stats_info.tstats.address; in __qed_get_vport_tstats()
1659 tstats_len = p_resp->pfdev_info.stats_info.tstats.len; in __qed_get_vport_tstats()
1685 *p_addr = p_resp->pfdev_info.stats_info.ustats.address; in __qed_get_vport_ustats_addrlen()
1686 *p_len = p_resp->pfdev_info.stats_info.ustats.len; in __qed_get_vport_ustats_addrlen()
1726 *p_addr = p_resp->pfdev_info.stats_info.mstats.address; in __qed_get_vport_mstats_addrlen()
1727 *p_len = p_resp->pfdev_info.stats_info.mstats.len; in __qed_get_vport_mstats_addrlen()
Dqed_vf.h187 struct pfvf_stats_info stats_info; member
Dqed_sriov.c1624 qed_iov_vf_mbx_acquire_stats(p_hwfn, &pfdev_info->stats_info); in qed_iov_vf_mbx_acquire()
/linux-6.12.1/drivers/net/wireless/ath/ath12k/
Ddebugfs_htt_stats.c1568 u32 len, pdev_id, stats_info; in ath12k_debugfs_htt_ext_stats_handler() local
1596 stats_info = le32_to_cpu(msg->info1); in ath12k_debugfs_htt_ext_stats_handler()
1597 stats_req->done = u32_get_bits(stats_info, ATH12K_HTT_T2H_EXT_STATS_INFO1_DONE); in ath12k_debugfs_htt_ext_stats_handler()
1603 len = u32_get_bits(stats_info, ATH12K_HTT_T2H_EXT_STATS_INFO1_LENGTH); in ath12k_debugfs_htt_ext_stats_handler()
/linux-6.12.1/drivers/net/wireless/ath/wcn36xx/
Dsmd.c2636 struct ani_global_class_a_stats_info *stats_info = rsp_body; in wcn36xx_smd_get_stats() local
2638 wcn36xx_process_tx_rate(stats_info, &sinfo->txrate); in wcn36xx_smd_get_stats()