Searched refs:hstats (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
H A D | bfad_attr.c | 263 struct fc_host_statistics *hstats; in bfad_im_get_stats() local 271 hstats = &bfad->link_stats; in bfad_im_get_stats() 274 memset(hstats, 0, sizeof(struct fc_host_statistics)); in bfad_im_get_stats() 286 hstats->seconds_since_last_reset = fcstats->fc.secs_reset; in bfad_im_get_stats() 287 hstats->tx_frames = fcstats->fc.tx_frames; in bfad_im_get_stats() 288 hstats->tx_words = fcstats->fc.tx_words; in bfad_im_get_stats() 289 hstats->rx_frames = fcstats->fc.rx_frames; in bfad_im_get_stats() 290 hstats->rx_words = fcstats->fc.rx_words; in bfad_im_get_stats() 291 hstats->lip_count = fcstats->fc.lip_count; in bfad_im_get_stats() 292 hstats in bfad_im_get_stats() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/bfa/ |
H A D | bfad_attr.c | 263 struct fc_host_statistics *hstats; in bfad_im_get_stats() local 271 hstats = &bfad->link_stats; in bfad_im_get_stats() 274 memset(hstats, 0, sizeof(struct fc_host_statistics)); in bfad_im_get_stats() 286 hstats->seconds_since_last_reset = fcstats->fc.secs_reset; in bfad_im_get_stats() 287 hstats->tx_frames = fcstats->fc.tx_frames; in bfad_im_get_stats() 288 hstats->tx_words = fcstats->fc.tx_words; in bfad_im_get_stats() 289 hstats->rx_frames = fcstats->fc.rx_frames; in bfad_im_get_stats() 290 hstats->rx_words = fcstats->fc.rx_words; in bfad_im_get_stats() 291 hstats->lip_count = fcstats->fc.lip_count; in bfad_im_get_stats() 292 hstats in bfad_im_get_stats() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | counters.c | 41 if (!port_counter->hstats) in rdma_counter_set_auto_mode() 204 if (!port_counter->hstats) in counter_history_stat_update() 210 port_counter->hstats->value[i] += counter->stats->value[i]; in counter_history_stat_update() 393 if (!port_counter->hstats) in rdma_counter_get_hwstat_value() 397 sum += port_counter->hstats->value[index]; in rdma_counter_get_hwstat_value() 508 if (!port_counter->hstats) in rdma_counter_bind_qpn_alloc() 613 port_counter->hstats = dev->ops.alloc_hw_stats(dev, port); in rdma_counter_init() 614 if (!port_counter->hstats) in rdma_counter_init() 623 kfree(port_counter->hstats); in rdma_counter_init() 624 port_counter->hstats in rdma_counter_init() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | counters.c | 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 in rdma_counter_init() [all...] |
/kernel/linux/linux-5.10/include/rdma/ |
H A D | rdma_counter.h | 30 struct rdma_hw_stats *hstats; member
|
/kernel/linux/linux-6.6/include/rdma/ |
H A D | rdma_counter.h | 30 struct rdma_hw_stats *hstats; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_erp.c | 1373 const struct objagg_stats *hstats; in mlxsw_sp_acl_erp_hints_check() local 1386 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_erp.c | 1386 const struct objagg_stats *hstats; in mlxsw_sp_acl_erp_hints_check() local 1399 hstats = objagg_hints_stats_get(hints); in mlxsw_sp_acl_erp_hints_check() 1400 if (IS_ERR(hstats)) { in mlxsw_sp_acl_erp_hints_check() 1402 err = PTR_ERR(hstats); in mlxsw_sp_acl_erp_hints_check() 1407 if (hstats->root_count < ostats->root_count) in mlxsw_sp_acl_erp_hints_check() 1412 objagg_stats_put(hstats); in mlxsw_sp_acl_erp_hints_check()
|
/kernel/linux/linux-5.10/net/tipc/ |
H A D | crypto.c | 84 static const char *hstats[MAX_STATS] = {"ok", "nok", "async", "async_ok", variable 2038 j += scnprintf(buf + j, 200 - j, "|%11s ", hstats[i]); in tipc_crypto_do_cmd()
|
/kernel/linux/linux-6.6/net/tipc/ |
H A D | crypto.c | 84 static const char *hstats[MAX_STATS] = {"ok", "nok", "async", "async_ok", variable 2034 j += scnprintf(buf + j, 200 - j, "|%11s ", hstats[i]); in tipc_crypto_do_cmd()
|
Completed in 15 milliseconds