Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/
Dobjagg.c30 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 …]
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c984 struct hinic_port_stats_info stats_info = { 0 }; in hinic_get_vport_stats() local
991 stats_info.stats_version = HINIC_PORT_STATS_VERSION; in hinic_get_vport_stats()
992 stats_info.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_get_vport_stats()
993 stats_info.stats_size = sizeof(vport_stats); in hinic_get_vport_stats()
996 &stats_info, sizeof(stats_info), in hinic_get_vport_stats()
1012 struct hinic_port_stats_info stats_info = { 0 }; in hinic_get_phy_port_stats() local
1024 stats_info.stats_version = HINIC_PORT_STATS_VERSION; in hinic_get_phy_port_stats()
1025 stats_info.stats_size = sizeof(*port_stats); in hinic_get_phy_port_stats()
1028 &stats_info, sizeof(stats_info), in hinic_get_phy_port_stats()
/kernel/linux/linux-5.10/include/linux/
Dobjagg.h47 struct objagg_obj_stats_info stats_info[]; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_main.c1311 struct i40iw_vsi_stats_info stats_info; in i40iw_initialize_dev() local
1368 memset(&stats_info, 0, sizeof(stats_info)); in i40iw_initialize_dev()
1369 stats_info.fcn_id = ldev->fid; in i40iw_initialize_dev()
1370 stats_info.pestat = kzalloc(sizeof(*stats_info.pestat), GFP_KERNEL); in i40iw_initialize_dev()
1371 if (!stats_info.pestat) { in i40iw_initialize_dev()
1375 stats_info.stats_initialize = true; in i40iw_initialize_dev()
1376 if (stats_info.pestat) in i40iw_initialize_dev()
1377 i40iw_vsi_stats_init(&iwdev->vsi, &stats_info); in i40iw_initialize_dev()
/kernel/linux/linux-5.10/drivers/net/team/
Dteam_mode_loadbalance.c84 struct lb_stats_info stats_info; member
430 lb_port_priv->stats_info.opt_inst_info = info; in lb_port_stats_init()
439 ctx->data.bin_val.ptr = &lb_port_priv->stats_info.stats; in lb_port_stats_get()
514 s_info = &lb_port_priv->stats_info; in lb_stats_refresh()
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/
Ds2io.c854 mac_control->stats_info = tmp_v_addr; in init_shared_mem()
858 mac_control->stats_info->sw_stat.mem_allocated += mem_allocated; in init_shared_mem()
889 stats = mac_control->stats_info; in free_shared_mem()
2373 struct stat_block *stats = mac_control->stats_info; in free_tx_buffers()
2465 struct swStat *swstats = &ring->nic->mac_control.stats_info->sw_stat; in fill_rx_buffers()
2667 struct stat_block *stats = mac_control->stats_info; in free_rxd_blk()
3003 struct stat_block *stats = nic->mac_control.stats_info; in tx_intr_handler()
3238 struct stat_block *stats = sp->mac_control.stats_info; in s2io_updt_xpak_counter()
3461 stats = sp->mac_control.stats_info; in s2io_reset()
3728 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
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c1608 *p_addr = p_resp->pfdev_info.stats_info.pstats.address; in __qed_get_vport_pstats_addrlen()
1609 *p_len = p_resp->pfdev_info.stats_info.pstats.len; in __qed_get_vport_pstats_addrlen()
1657 tstats_addr = p_resp->pfdev_info.stats_info.tstats.address; in __qed_get_vport_tstats()
1658 tstats_len = p_resp->pfdev_info.stats_info.tstats.len; in __qed_get_vport_tstats()
1684 *p_addr = p_resp->pfdev_info.stats_info.ustats.address; in __qed_get_vport_ustats_addrlen()
1685 *p_len = p_resp->pfdev_info.stats_info.ustats.len; in __qed_get_vport_ustats_addrlen()
1725 *p_addr = p_resp->pfdev_info.stats_info.mstats.address; in __qed_get_vport_mstats_addrlen()
1726 *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.c1622 qed_iov_vf_mbx_acquire_stats(p_hwfn, &pfdev_info->stats_info); in qed_iov_vf_mbx_acquire()