Searched refs:old_stats (Results 1 – 3 of 3) sorted by relevance
1348 const struct mtd_ecc_stats *old_stats) in mtd_update_ecc_stats() argument1356 diff.failed -= old_stats->failed; in mtd_update_ecc_stats()1357 diff.corrected -= old_stats->corrected; in mtd_update_ecc_stats()1558 struct mtd_ecc_stats old_stats = master->ecc_stats; in mtd_read_oob() local1578 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()
11903 stats->rx_packets = old_stats->rx_packets + in tg3_get_nstats()11908 stats->tx_packets = old_stats->tx_packets + in tg3_get_nstats()11913 stats->rx_bytes = old_stats->rx_bytes + in tg3_get_nstats()11915 stats->tx_bytes = old_stats->tx_bytes + in tg3_get_nstats()11918 stats->rx_errors = old_stats->rx_errors + in tg3_get_nstats()11920 stats->tx_errors = old_stats->tx_errors + in tg3_get_nstats()11926 stats->multicast = old_stats->multicast + in tg3_get_nstats()11928 stats->collisions = old_stats->collisions + in tg3_get_nstats()11931 stats->rx_length_errors = old_stats->rx_length_errors + in tg3_get_nstats()11935 stats->rx_frame_errors = old_stats->rx_frame_errors + in tg3_get_nstats()[all …]
Completed in 40 milliseconds