Searched refs:hstats (Results 1 – 3 of 3) sorted by relevance
51 if (!port_counter->hstats) in rdma_counter_set_auto_mode()263 if (!port_counter->hstats) in counter_history_stat_update()269 port_counter->hstats->value[i] += counter->stats->value[i]; in counter_history_stat_update()435 if (!port_counter->hstats) in rdma_counter_get_hwstat_value()439 sum += port_counter->hstats->value[index]; in rdma_counter_get_hwstat_value()546 if (!port_counter->hstats) in rdma_counter_bind_qpn_alloc()643 port_counter->hstats = dev->ops.alloc_hw_port_stats(dev, port); in rdma_counter_init()644 if (!port_counter->hstats) in rdma_counter_init()653 rdma_free_hw_stats_struct(port_counter->hstats); in rdma_counter_init()654 port_counter->hstats = NULL; in rdma_counter_init()[all …]
30 struct rdma_hw_stats *hstats; member
1373 const struct objagg_stats *hstats; in mlxsw_sp_acl_erp_hints_check() local1386 hstats = objagg_hints_stats_get(hints); in mlxsw_sp_acl_erp_hints_check()1387 if (IS_ERR(hstats)) { in mlxsw_sp_acl_erp_hints_check()1389 err = PTR_ERR(hstats); in mlxsw_sp_acl_erp_hints_check()1394 if (hstats->root_count < ostats->root_count) in mlxsw_sp_acl_erp_hints_check()1399 objagg_stats_put(hstats); in mlxsw_sp_acl_erp_hints_check()