Searched refs:prev_stats (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/include/linux/ |
D | net_dim.h | 60 struct net_dim_stats prev_stats; member 312 stats_res = net_dim_stats_compare(curr_stats, &dim->prev_stats); in net_dim_decision() 325 stats_res = net_dim_stats_compare(curr_stats, &dim->prev_stats); in net_dim_decision() 349 dim->prev_stats = *curr_stats; in net_dim_decision()
|
/Linux-v4.19/drivers/scsi/bnx2fc/ |
D | bnx2fc.h | 159 if (hba->prev_stats.stat.cnt <= val) \ 160 val -= hba->prev_stats.stat.cnt; \ 162 val += (0xfffffff - hba->prev_stats.stat.cnt); \ 234 struct fcoe_statistics_params prev_stats; member
|
D | bnx2fc_fcoe.c | 730 memcpy(&hba->prev_stats, hba->stats_buffer, in bnx2fc_get_host_stats()
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/abm/ |
D | main.c | 213 struct nfp_alink_stats *prev_stats; in nfp_abm_red_stats() local 220 prev_stats = &alink->qdiscs[i].stats; in nfp_abm_red_stats() 229 nfp_abm_update_stats(&stats, prev_stats, &opt->stats); in nfp_abm_red_stats() 231 *prev_stats = stats; in nfp_abm_red_stats()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_tc.h | 115 struct bnxt_tc_flow_stats prev_stats; member
|
D | bnxt_tc.c | 1387 struct bnxt_tc_flow_stats stats, *curr_stats, *prev_stats; in bnxt_tc_get_flow_stats() local 1401 prev_stats = &flow->prev_stats; in bnxt_tc_get_flow_stats() 1404 stats.packets = curr_stats->packets - prev_stats->packets; in bnxt_tc_get_flow_stats() 1405 stats.bytes = curr_stats->bytes - prev_stats->bytes; in bnxt_tc_get_flow_stats() 1406 *prev_stats = *curr_stats; in bnxt_tc_get_flow_stats() 1499 if (flow->stats.packets != flow->prev_stats.packets) in bnxt_tc_flow_stats_batch_update()
|
/Linux-v4.19/drivers/net/wireless/intel/iwlegacy/ |
D | 3945.c | 388 __le32 *prev_stats; in il3945_accumulative_stats() local 392 prev_stats = (__le32 *) &il->_3945.stats; in il3945_accumulative_stats() 399 sizeof(__le32), stats++, prev_stats++, delta++, max_delta++, in il3945_accumulative_stats() 401 if (le32_to_cpu(*stats) > le32_to_cpu(*prev_stats)) { in il3945_accumulative_stats() 403 (le32_to_cpu(*stats) - le32_to_cpu(*prev_stats)); in il3945_accumulative_stats()
|
D | 4965-mac.c | 1337 __le32 *prev_stats; in il4965_accumulative_stats() local 1342 prev_stats = (__le32 *) &il->_4965.stats; in il4965_accumulative_stats() 1352 sizeof(__le32), stats++, prev_stats++, delta++, max_delta++, in il4965_accumulative_stats() 1354 if (le32_to_cpu(*stats) > le32_to_cpu(*prev_stats)) { in il4965_accumulative_stats() 1356 (le32_to_cpu(*stats) - le32_to_cpu(*prev_stats)); in il4965_accumulative_stats()
|