Searched refs:old_stats (Results 1 – 3 of 3) sorted by relevance
1359 const struct mtd_ecc_stats *old_stats) in mtd_update_ecc_stats() argument1367 diff.failed -= old_stats->failed; in mtd_update_ecc_stats()1368 diff.corrected -= old_stats->corrected; in mtd_update_ecc_stats()1569 struct mtd_ecc_stats old_stats = master->ecc_stats; in mtd_read_oob() local1589 mtd_update_ecc_stats(mtd, master, &old_stats); in mtd_read_oob()
1289 struct ocrdma_rdma_stats_resp *old_stats; in ocrdma_mbx_rdma_stats() local1292 old_stats = kmalloc(sizeof(*old_stats), GFP_KERNEL); in ocrdma_mbx_rdma_stats()1293 if (old_stats == NULL) in ocrdma_mbx_rdma_stats()1306 memcpy(old_stats, req, sizeof(struct ocrdma_rdma_stats_resp)); in ocrdma_mbx_rdma_stats()1319 memcpy(req, old_stats, sizeof(struct ocrdma_rdma_stats_resp)); in ocrdma_mbx_rdma_stats()1323 kfree(old_stats); in ocrdma_mbx_rdma_stats()
11925 struct rtnl_link_stats64 *old_stats = &tp->net_stats_prev; in tg3_get_nstats() local11931 stats->rx_packets = old_stats->rx_packets + in tg3_get_nstats()11936 stats->tx_packets = old_stats->tx_packets + in tg3_get_nstats()11941 stats->rx_bytes = old_stats->rx_bytes + in tg3_get_nstats()11943 stats->tx_bytes = old_stats->tx_bytes + in tg3_get_nstats()11946 stats->rx_errors = old_stats->rx_errors + in tg3_get_nstats()11948 stats->tx_errors = old_stats->tx_errors + in tg3_get_nstats()11954 stats->multicast = old_stats->multicast + in tg3_get_nstats()11956 stats->collisions = old_stats->collisions + in tg3_get_nstats()11959 stats->rx_length_errors = old_stats->rx_length_errors + in tg3_get_nstats()[all …]