Home
last modified time | relevance | path

Searched refs:old_stats (Results 1 – 9 of 9) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_mirror.c108 struct flow_stats *old_stats; in lan966x_mirror_port_stats() local
110 old_stats = &port->tc.mirror_stat; in lan966x_mirror_port_stats()
118 old_stats->lastused, in lan966x_mirror_port_stats()
121 old_stats->bytes = new_stats.rx_bytes; in lan966x_mirror_port_stats()
122 old_stats->pkts = new_stats.rx_packets; in lan966x_mirror_port_stats()
123 old_stats->drops = new_stats.rx_dropped; in lan966x_mirror_port_stats()
124 old_stats->lastused = jiffies; in lan966x_mirror_port_stats()
130 old_stats->lastused, in lan966x_mirror_port_stats()
133 old_stats->bytes = new_stats.tx_bytes; in lan966x_mirror_port_stats()
134 old_stats->pkts = new_stats.tx_packets; in lan966x_mirror_port_stats()
[all …]
A Dlan966x_police.c145 struct flow_stats *old_stats; in lan966x_police_port_add() local
174 old_stats = &port->tc.police_stat; in lan966x_police_port_add()
176 old_stats->bytes = new_stats.rx_bytes; in lan966x_police_port_add()
177 old_stats->pkts = new_stats.rx_packets; in lan966x_police_port_add()
179 old_stats->lastused = jiffies; in lan966x_police_port_add()
219 struct flow_stats *old_stats; in lan966x_police_port_stats() local
221 old_stats = &port->tc.police_stat; in lan966x_police_port_stats()
228 old_stats->lastused, in lan966x_police_port_stats()
231 old_stats->bytes = new_stats.rx_bytes; in lan966x_police_port_stats()
232 old_stats->pkts = new_stats.rx_packets; in lan966x_police_port_stats()
[all …]
/linux-6.3-rc2/drivers/mtd/nand/spi/
A Dcore.c638 struct mtd_ecc_stats old_stats; in spinand_mtd_read() local
650 old_stats = mtd->ecc_stats; in spinand_mtd_read()
676 mtd->ecc_stats.failed - old_stats.failed; in spinand_mtd_read()
678 mtd->ecc_stats.corrected - old_stats.corrected; in spinand_mtd_read()
/linux-6.3-rc2/drivers/mtd/
A Dmtdcore.c1438 const struct mtd_ecc_stats *old_stats) in mtd_update_ecc_stats() argument
1446 diff.failed -= old_stats->failed; in mtd_update_ecc_stats()
1447 diff.corrected -= old_stats->corrected; in mtd_update_ecc_stats()
1648 struct mtd_ecc_stats old_stats = master->ecc_stats; in mtd_read_oob() local
1671 mtd_update_ecc_stats(mtd, master, &old_stats); in mtd_read_oob()
/linux-6.3-rc2/drivers/mtd/devices/
A Ddocg3.c874 struct mtd_ecc_stats old_stats; in doc_read_oob() local
899 old_stats = mtd->ecc_stats; in doc_read_oob()
973 mtd->ecc_stats.failed - old_stats.failed; in doc_read_oob()
975 mtd->ecc_stats.corrected - old_stats.corrected; in doc_read_oob()
/linux-6.3-rc2/drivers/infiniband/hw/ocrdma/
A Docrdma_hw.c1289 struct ocrdma_rdma_stats_resp *old_stats; in ocrdma_mbx_rdma_stats() local
1292 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()
/linux-6.3-rc2/drivers/mtd/nand/onenand/
A Donenand_base.c1443 struct mtd_ecc_stats old_stats; in onenand_read_oob() local
1458 old_stats = mtd->ecc_stats; in onenand_read_oob()
1469 mtd->ecc_stats.failed - old_stats.failed; in onenand_read_oob()
1471 mtd->ecc_stats.corrected - old_stats.corrected; in onenand_read_oob()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/
A Dtg3.c11895 stats->rx_packets = old_stats->rx_packets + in tg3_get_nstats()
11900 stats->tx_packets = old_stats->tx_packets + in tg3_get_nstats()
11905 stats->rx_bytes = old_stats->rx_bytes + in tg3_get_nstats()
11907 stats->tx_bytes = old_stats->tx_bytes + in tg3_get_nstats()
11910 stats->rx_errors = old_stats->rx_errors + in tg3_get_nstats()
11912 stats->tx_errors = old_stats->tx_errors + in tg3_get_nstats()
11918 stats->multicast = old_stats->multicast + in tg3_get_nstats()
11920 stats->collisions = old_stats->collisions + in tg3_get_nstats()
11923 stats->rx_length_errors = old_stats->rx_length_errors + in tg3_get_nstats()
11927 stats->rx_frame_errors = old_stats->rx_frame_errors + in tg3_get_nstats()
[all …]
/linux-6.3-rc2/drivers/mtd/nand/raw/
A Dnand_base.c3915 struct mtd_ecc_stats old_stats; in nand_read_oob() local
3927 old_stats = mtd->ecc_stats; in nand_read_oob()
3936 mtd->ecc_stats.failed - old_stats.failed; in nand_read_oob()
3938 mtd->ecc_stats.corrected - old_stats.corrected; in nand_read_oob()

Completed in 59 milliseconds