next_to_clean 827 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int ntc = ring->next_to_clean; next_to_clean 872 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ring->next_to_clean = 0; next_to_clean 983 drivers/infiniband/hw/hns/hns_roce_hw_v2.c u16 ntc = csq->next_to_clean; next_to_clean 997 drivers/infiniband/hw/hns/hns_roce_hw_v2.c csq->next_to_clean = ntc; next_to_clean 1594 drivers/infiniband/hw/hns/hns_roce_hw_v2.h int next_to_clean; next_to_clean 254 drivers/net/ethernet/amazon/ena/ena_netdev.c tx_ring->next_to_clean = 0; next_to_clean 397 drivers/net/ethernet/amazon/ena/ena_netdev.c rx_ring->next_to_clean = 0; next_to_clean 759 drivers/net/ethernet/amazon/ena/ena_netdev.c u16 next_to_clean; next_to_clean 764 drivers/net/ethernet/amazon/ena/ena_netdev.c next_to_clean = tx_ring->next_to_clean; next_to_clean 800 drivers/net/ethernet/amazon/ena/ena_netdev.c tx_ring->free_ids[next_to_clean] = req_id; next_to_clean 801 drivers/net/ethernet/amazon/ena/ena_netdev.c next_to_clean = ENA_TX_RING_IDX_NEXT(next_to_clean, next_to_clean 805 drivers/net/ethernet/amazon/ena/ena_netdev.c tx_ring->next_to_clean = next_to_clean; next_to_clean 865 drivers/net/ethernet/amazon/ena/ena_netdev.c u16 *next_to_clean) next_to_clean 912 drivers/net/ethernet/amazon/ena/ena_netdev.c rx_ring->free_ids[*next_to_clean] = req_id; next_to_clean 913 drivers/net/ethernet/amazon/ena/ena_netdev.c *next_to_clean = ENA_RX_RING_IDX_ADD(*next_to_clean, descs, next_to_clean 936 drivers/net/ethernet/amazon/ena/ena_netdev.c rx_ring->free_ids[*next_to_clean] = req_id; next_to_clean 937 drivers/net/ethernet/amazon/ena/ena_netdev.c *next_to_clean = next_to_clean 938 drivers/net/ethernet/amazon/ena/ena_netdev.c ENA_RX_RING_IDX_NEXT(*next_to_clean, next_to_clean 1050 drivers/net/ethernet/amazon/ena/ena_netdev.c u16 next_to_clean = rx_ring->next_to_clean; next_to_clean 1087 drivers/net/ethernet/amazon/ena/ena_netdev.c &next_to_clean); next_to_clean 1092 drivers/net/ethernet/amazon/ena/ena_netdev.c rx_ring->free_ids[next_to_clean] = next_to_clean 1094 drivers/net/ethernet/amazon/ena/ena_netdev.c next_to_clean = next_to_clean 1095 drivers/net/ethernet/amazon/ena/ena_netdev.c ENA_RX_RING_IDX_NEXT(next_to_clean, next_to_clean 1127 drivers/net/ethernet/amazon/ena/ena_netdev.c rx_ring->next_to_clean = next_to_clean; next_to_clean 263 drivers/net/ethernet/amazon/ena/ena_netdev.h u16 next_to_clean; next_to_clean 479 drivers/net/ethernet/atheros/atl1c/atl1c.h atomic_t next_to_clean; next_to_clean 490 drivers/net/ethernet/atheros/atl1c/atl1c.h u16 next_to_clean; next_to_clean 501 drivers/net/ethernet/atheros/atl1c/atl1c.h u16 next_to_clean; next_to_clean 872 drivers/net/ethernet/atheros/atl1c/atl1c_main.c atomic_set(&tpd_ring->next_to_clean, 0); next_to_clean 894 drivers/net/ethernet/atheros/atl1c/atl1c_main.c rfd_ring->next_to_clean = 0; next_to_clean 897 drivers/net/ethernet/atheros/atl1c/atl1c_main.c rrd_ring->next_to_clean = 0; next_to_clean 913 drivers/net/ethernet/atheros/atl1c/atl1c_main.c atomic_set(&tpd_ring[i].next_to_clean, 0); next_to_clean 920 drivers/net/ethernet/atheros/atl1c/atl1c_main.c rfd_ring->next_to_clean = 0; next_to_clean 922 drivers/net/ethernet/atheros/atl1c/atl1c_main.c rrd_ring->next_to_clean = 0; next_to_clean 1542 drivers/net/ethernet/atheros/atl1c/atl1c_main.c u16 next_to_clean = atomic_read(&tpd_ring->next_to_clean); next_to_clean 1551 drivers/net/ethernet/atheros/atl1c/atl1c_main.c while (next_to_clean != hw_next_to_clean) { next_to_clean 1552 drivers/net/ethernet/atheros/atl1c/atl1c_main.c buffer_info = &tpd_ring->buffer_info[next_to_clean]; next_to_clean 1558 drivers/net/ethernet/atheros/atl1c/atl1c_main.c if (++next_to_clean == tpd_ring->count) next_to_clean 1559 drivers/net/ethernet/atheros/atl1c/atl1c_main.c next_to_clean = 0; next_to_clean 1560 drivers/net/ethernet/atheros/atl1c/atl1c_main.c atomic_set(&tpd_ring->next_to_clean, next_to_clean); next_to_clean 1763 drivers/net/ethernet/atheros/atl1c/atl1c_main.c rrd_ring->next_to_clean)) { next_to_clean 1765 drivers/net/ethernet/atheros/atl1c/atl1c_main.c if (++rrd_ring->next_to_clean == rrd_ring->count) next_to_clean 1766 drivers/net/ethernet/atheros/atl1c/atl1c_main.c rrd_ring->next_to_clean = 0; next_to_clean 1786 drivers/net/ethernet/atheros/atl1c/atl1c_main.c rfd_ring->next_to_clean = rfd_index; next_to_clean 1806 drivers/net/ethernet/atheros/atl1c/atl1c_main.c rrs = ATL1C_RRD_DESC(rrd_ring, rrd_ring->next_to_clean); next_to_clean 1912 drivers/net/ethernet/atheros/atl1c/atl1c_main.c u16 next_to_clean = 0; next_to_clean 1914 drivers/net/ethernet/atheros/atl1c/atl1c_main.c next_to_clean = atomic_read(&tpd_ring->next_to_clean); next_to_clean 1917 drivers/net/ethernet/atheros/atl1c/atl1c_main.c return (u16)(next_to_clean > next_to_use) ? next_to_clean 1918 drivers/net/ethernet/atheros/atl1c/atl1c_main.c (next_to_clean - next_to_use - 1) : next_to_clean 1919 drivers/net/ethernet/atheros/atl1c/atl1c_main.c (tpd_ring->count + next_to_clean - next_to_use - 1); next_to_clean 402 drivers/net/ethernet/atheros/atl1e/atl1e.h atomic_t next_to_clean; next_to_clean 755 drivers/net/ethernet/atheros/atl1e/atl1e_main.c atomic_set(&tx_ring->next_to_clean, 0); next_to_clean 1234 drivers/net/ethernet/atheros/atl1e/atl1e_main.c u16 next_to_clean = atomic_read(&tx_ring->next_to_clean); next_to_clean 1236 drivers/net/ethernet/atheros/atl1e/atl1e_main.c while (next_to_clean != hw_next_to_clean) { next_to_clean 1237 drivers/net/ethernet/atheros/atl1e/atl1e_main.c tx_buffer = &tx_ring->tx_buffer[next_to_clean]; next_to_clean 1253 drivers/net/ethernet/atheros/atl1e/atl1e_main.c if (++next_to_clean == tx_ring->count) next_to_clean 1254 drivers/net/ethernet/atheros/atl1e/atl1e_main.c next_to_clean = 0; next_to_clean 1257 drivers/net/ethernet/atheros/atl1e/atl1e_main.c atomic_set(&tx_ring->next_to_clean, next_to_clean); next_to_clean 1556 drivers/net/ethernet/atheros/atl1e/atl1e_main.c u16 next_to_clean = 0; next_to_clean 1558 drivers/net/ethernet/atheros/atl1e/atl1e_main.c next_to_clean = atomic_read(&tx_ring->next_to_clean); next_to_clean 1561 drivers/net/ethernet/atheros/atl1e/atl1e_main.c return (u16)(next_to_clean > next_to_use) ? next_to_clean 1562 drivers/net/ethernet/atheros/atl1e/atl1e_main.c (next_to_clean - next_to_use - 1) : next_to_clean 1563 drivers/net/ethernet/atheros/atl1e/atl1e_main.c (tx_ring->count + next_to_clean - next_to_use - 1); next_to_clean 1115 drivers/net/ethernet/atheros/atlx/atl1.c atomic_set(&tpd_ring->next_to_clean, 0); next_to_clean 1117 drivers/net/ethernet/atheros/atlx/atl1.c rfd_ring->next_to_clean = 0; next_to_clean 1121 drivers/net/ethernet/atheros/atlx/atl1.c atomic_set(&rrd_ring->next_to_clean, 0); next_to_clean 1157 drivers/net/ethernet/atheros/atlx/atl1.c rfd_ring->next_to_clean = 0; next_to_clean 1161 drivers/net/ethernet/atheros/atlx/atl1.c atomic_set(&rrd_ring->next_to_clean, 0); next_to_clean 1201 drivers/net/ethernet/atheros/atlx/atl1.c atomic_set(&tpd_ring->next_to_clean, 0); next_to_clean 1501 drivers/net/ethernet/atheros/atlx/atl1.c ((atomic_read(&adapter->rrd_ring.next_to_clean) next_to_clean 1747 drivers/net/ethernet/atheros/atlx/atl1.c rrd_next_to_clean = atomic_read(&adapter->rrd_ring.next_to_clean); next_to_clean 1765 drivers/net/ethernet/atheros/atlx/atl1.c while (rfd_ring->next_to_clean != (rrd->buf_indx + offset)) { next_to_clean 1766 drivers/net/ethernet/atheros/atlx/atl1.c rfd_ring->buffer_info[rfd_ring->next_to_clean].alloced = 0; next_to_clean 1767 drivers/net/ethernet/atheros/atlx/atl1.c if (++rfd_ring->next_to_clean == rfd_ring->count) { next_to_clean 1768 drivers/net/ethernet/atheros/atlx/atl1.c rfd_ring->next_to_clean = 0; next_to_clean 1915 drivers/net/ethernet/atheros/atlx/atl1.c rrd_next_to_clean = atomic_read(&rrd_ring->next_to_clean); next_to_clean 1977 drivers/net/ethernet/atheros/atlx/atl1.c if (++rfd_ring->next_to_clean == rfd_ring->count) next_to_clean 1978 drivers/net/ethernet/atheros/atlx/atl1.c rfd_ring->next_to_clean = 0; next_to_clean 2024 drivers/net/ethernet/atheros/atlx/atl1.c atomic_set(&rrd_ring->next_to_clean, rrd_next_to_clean); next_to_clean 2039 drivers/net/ethernet/atheros/atlx/atl1.c atomic_read(&adapter->rrd_ring.next_to_clean); next_to_clean 2061 drivers/net/ethernet/atheros/atlx/atl1.c sw_tpd_next_to_clean = atomic_read(&tpd_ring->next_to_clean); next_to_clean 2082 drivers/net/ethernet/atheros/atlx/atl1.c atomic_set(&tpd_ring->next_to_clean, sw_tpd_next_to_clean); next_to_clean 2093 drivers/net/ethernet/atheros/atlx/atl1.c u16 next_to_clean = atomic_read(&tpd_ring->next_to_clean); next_to_clean 2095 drivers/net/ethernet/atheros/atlx/atl1.c return (next_to_clean > next_to_use) ? next_to_clean 2096 drivers/net/ethernet/atheros/atlx/atl1.c next_to_clean - next_to_use - 1 : next_to_clean 2097 drivers/net/ethernet/atheros/atlx/atl1.c tpd_ring->count + next_to_clean - next_to_use - 1; next_to_clean 607 drivers/net/ethernet/atheros/atlx/atl1.h atomic_t next_to_clean; next_to_clean 619 drivers/net/ethernet/atheros/atlx/atl1.h u16 next_to_clean; next_to_clean 630 drivers/net/ethernet/atheros/atlx/atl1.h atomic_t next_to_clean; next_to_clean 340 drivers/net/ethernet/freescale/enetc/enetc.c i = tx_ring->next_to_clean; next_to_clean 397 drivers/net/ethernet/freescale/enetc/enetc.c tx_ring->next_to_clean = i; next_to_clean 632 drivers/net/ethernet/freescale/enetc/enetc.c i = rx_ring->next_to_clean; next_to_clean 718 drivers/net/ethernet/freescale/enetc/enetc.c rx_ring->next_to_clean = i; next_to_clean 781 drivers/net/ethernet/freescale/enetc/enetc.c txr->next_to_clean = 0; next_to_clean 845 drivers/net/ethernet/freescale/enetc/enetc.c rxr->next_to_clean = 0; next_to_clean 906 drivers/net/ethernet/freescale/enetc/enetc.c tx_ring->next_to_clean = 0; next_to_clean 929 drivers/net/ethernet/freescale/enetc/enetc.c rx_ring->next_to_clean = 0; next_to_clean 960 drivers/net/ethernet/freescale/enetc/enetc.c cbdr->next_to_clean = 0; next_to_clean 1120 drivers/net/ethernet/freescale/enetc/enetc.c tx_ring->next_to_clean = enetc_txbdr_rd(hw, idx, ENETC_TBCIR); next_to_clean 61 drivers/net/ethernet/freescale/enetc/enetc.h int next_to_clean; next_to_clean 85 drivers/net/ethernet/freescale/enetc/enetc.h if (bdr->next_to_clean > bdr->next_to_use) next_to_clean 86 drivers/net/ethernet/freescale/enetc/enetc.h return bdr->next_to_clean - bdr->next_to_use - 1; next_to_clean 88 drivers/net/ethernet/freescale/enetc/enetc.h return bdr->bd_count + bdr->next_to_clean - bdr->next_to_use - 1; next_to_clean 100 drivers/net/ethernet/freescale/enetc/enetc.h int next_to_clean; next_to_clean 12 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c i = ring->next_to_clean; next_to_clean 26 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c ring->next_to_clean = i; next_to_clean 31 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c return (r->next_to_clean - r->next_to_use - 1 + r->bd_count) % next_to_clean 1343 drivers/net/ethernet/freescale/gianfar.c rx_queue->next_to_clean = 0; next_to_clean 2438 drivers/net/ethernet/freescale/gianfar.c struct gfar_rx_buff *rxb = &rx_queue->rx_buff[rx_queue->next_to_clean]; next_to_clean 2544 drivers/net/ethernet/freescale/gianfar.c i = rx_queue->next_to_clean; next_to_clean 2573 drivers/net/ethernet/freescale/gianfar.c rx_queue->next_to_clean = i; next_to_clean 1015 drivers/net/ethernet/freescale/gianfar.h u16 next_to_clean; next_to_clean 1278 drivers/net/ethernet/freescale/gianfar.h if (rxq->next_to_clean > rxq->next_to_use) next_to_clean 1279 drivers/net/ethernet/freescale/gianfar.h return rxq->next_to_clean - rxq->next_to_use - 1; next_to_clean 1281 drivers/net/ethernet/freescale/gianfar.h return rxq->rx_ring_size + rxq->next_to_clean - rxq->next_to_use - 1; next_to_clean 187 drivers/net/ethernet/hisilicon/hns/hnae.c ring->next_to_clean = 0; next_to_clean 207 drivers/net/ethernet/hisilicon/hns/hnae.c assert(ring->next_to_clean == 0); next_to_clean 288 drivers/net/ethernet/hisilicon/hns/hnae.h int next_to_clean; next_to_clean 327 drivers/net/ethernet/hisilicon/hns/hnae.h ring_dist(ring, ring->next_to_clean, ring->next_to_use) - 1; next_to_clean 333 drivers/net/ethernet/hisilicon/hns/hnae.h assert_is_ring_idx(ring, ring->next_to_clean); next_to_clean 335 drivers/net/ethernet/hisilicon/hns/hnae.h return ring->next_to_use == ring->next_to_clean; next_to_clean 479 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c ring->next_to_clean = 0; next_to_clean 421 drivers/net/ethernet/hisilicon/hns/hns_enet.c desc = &ring->desc[ring->next_to_clean]; next_to_clean 552 drivers/net/ethernet/hisilicon/hns/hns_enet.c desc = &ring->desc[ring->next_to_clean]; next_to_clean 553 drivers/net/ethernet/hisilicon/hns/hns_enet.c desc_cb = &ring->desc_cb[ring->next_to_clean]; next_to_clean 587 drivers/net/ethernet/hisilicon/hns/hns_enet.c ring_ptr_move_fw(ring, next_to_clean); next_to_clean 601 drivers/net/ethernet/hisilicon/hns/hns_enet.c ring_ptr_move_fw(ring, next_to_clean); next_to_clean 608 drivers/net/ethernet/hisilicon/hns/hns_enet.c desc = &ring->desc[ring->next_to_clean]; next_to_clean 609 drivers/net/ethernet/hisilicon/hns/hns_enet.c desc_cb = &ring->desc_cb[ring->next_to_clean]; next_to_clean 612 drivers/net/ethernet/hisilicon/hns/hns_enet.c ring_ptr_move_fw(ring, next_to_clean); next_to_clean 707 drivers/net/ethernet/hisilicon/hns/hns_enet.c int ntc = ring->next_to_clean; next_to_clean 920 drivers/net/ethernet/hisilicon/hns/hns_enet.c struct hnae_desc_cb *desc_cb = &ring->desc_cb[ring->next_to_clean]; next_to_clean 925 drivers/net/ethernet/hisilicon/hns/hns_enet.c hnae_free_buffer_detach(ring, ring->next_to_clean); next_to_clean 927 drivers/net/ethernet/hisilicon/hns/hns_enet.c ring_ptr_move_fw(ring, next_to_clean); next_to_clean 933 drivers/net/ethernet/hisilicon/hns/hns_enet.c int c = ring->next_to_clean; next_to_clean 961 drivers/net/ethernet/hisilicon/hns/hns_enet.c if (is_ring_empty(ring) || head == ring->next_to_clean) next_to_clean 966 drivers/net/ethernet/hisilicon/hns/hns_enet.c ring->next_to_use, ring->next_to_clean); next_to_clean 973 drivers/net/ethernet/hisilicon/hns/hns_enet.c while (head != ring->next_to_clean) { next_to_clean 976 drivers/net/ethernet/hisilicon/hns/hns_enet.c prefetch(&ring->desc_cb[ring->next_to_clean]); next_to_clean 1012 drivers/net/ethernet/hisilicon/hns/hns_enet.c if (head != ring->next_to_clean) { next_to_clean 1027 drivers/net/ethernet/hisilicon/hns/hns_enet.c if (head == ring->next_to_clean) next_to_clean 1044 drivers/net/ethernet/hisilicon/hns/hns_enet.c while (head != ring->next_to_clean) next_to_clean 2007 drivers/net/ethernet/hisilicon/hns/hns_enet.c i, h->qs[i]->tx_ring.next_to_clean); next_to_clean 2011 drivers/net/ethernet/hisilicon/hns/hns_enet.c i, h->qs[i]->rx_ring.next_to_clean); next_to_clean 1723 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c tx_ring->next_to_clean, napi->state); next_to_clean 2296 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c int ntc = ring->next_to_clean; next_to_clean 2316 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c smp_store_release(&ring->next_to_clean, ntc); next_to_clean 2322 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c int c = ring->next_to_clean; next_to_clean 2341 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (is_ring_empty(ring) || head == ring->next_to_clean) next_to_clean 2346 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->next_to_use, ring->next_to_clean); next_to_clean 2385 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c int ntc = ring->next_to_clean; next_to_clean 2436 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct hns3_desc *desc = &ring->desc[ring->next_to_clean]; next_to_clean 2637 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct hns3_desc_cb *desc_cb = &ring->desc_cb[ring->next_to_clean]; next_to_clean 2667 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring_ptr_move_fw(ring, next_to_clean); next_to_clean 2678 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring_ptr_move_fw(ring, next_to_clean); next_to_clean 2698 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c pre_bd = (ring->next_to_clean - 1 + ring->desc_num) % next_to_clean 2707 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c desc = &ring->desc[ring->next_to_clean]; next_to_clean 2708 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c desc_cb = &ring->desc_cb[ring->next_to_clean]; next_to_clean 2742 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring_ptr_move_fw(ring, next_to_clean); next_to_clean 2806 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c pre_ntc = ring->next_to_clean ? (ring->next_to_clean - 1) : next_to_clean 2880 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c desc = &ring->desc[ring->next_to_clean]; next_to_clean 2881 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c desc_cb = &ring->desc_cb[ring->next_to_clean]; next_to_clean 3521 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->next_to_clean = 0; next_to_clean 3634 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->next_to_clean = 0; next_to_clean 4088 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c while (ring->next_to_clean != ring->next_to_use) { next_to_clean 4089 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->desc[ring->next_to_clean].tx.bdtp_fe_sc_vld_ra_ri = 0; next_to_clean 4090 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_free_buffer_detach(ring, ring->next_to_clean); next_to_clean 4091 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring_ptr_move_fw(ring, next_to_clean); next_to_clean 4100 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c while (ring->next_to_use != ring->next_to_clean) { next_to_clean 4136 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c while (ring->next_to_use != ring->next_to_clean) { next_to_clean 4193 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c priv->ring_data[i].ring->next_to_clean = 0; next_to_clean 4208 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c rx_ring->next_to_clean = 0; next_to_clean 422 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h int next_to_clean; next_to_clean 565 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h int begin = smp_load_acquire(&ring->next_to_clean); next_to_clean 574 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h return ring->next_to_use == ring->next_to_clean; next_to_clean 21 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c int ntc = ring->next_to_clean; next_to_clean 30 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c int ntc = ring->next_to_clean; next_to_clean 149 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c csq->next_to_use, csq->next_to_clean); next_to_clean 158 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c clean = (head - csq->next_to_clean + csq->desc_num) % csq->desc_num; next_to_clean 159 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c csq->next_to_clean = head; next_to_clean 280 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c csq->next_to_clean = hclge_read_dev(hw, HCLGE_NIC_CSQ_HEAD_REG); next_to_clean 414 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c hdev->hw.cmq.csq.next_to_clean = 0; next_to_clean 416 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c hdev->hw.cmq.crq.next_to_clean = 0; next_to_clean 34 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h int next_to_clean; next_to_clean 21 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c int ntc = ring->next_to_clean; next_to_clean 34 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c int ntc = ring->next_to_clean; next_to_clean 54 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c csq->next_to_use, csq->next_to_clean); next_to_clean 61 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c clean = (head - csq->next_to_clean + csq->desc_num) % csq->desc_num; next_to_clean 62 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c csq->next_to_clean = head; next_to_clean 246 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c csq->next_to_clean = hclgevf_read_dev(hw, next_to_clean 381 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c hdev->hw.cmq.csq.next_to_clean = 0; next_to_clean 383 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c hdev->hw.cmq.crq.next_to_clean = 0; next_to_clean 42 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h int next_to_clean; next_to_clean 156 drivers/net/ethernet/intel/e1000/e1000.h unsigned int next_to_clean; next_to_clean 177 drivers/net/ethernet/intel/e1000/e1000.h unsigned int next_to_clean; next_to_clean 191 drivers/net/ethernet/intel/e1000/e1000.h unsigned int clean = smp_load_acquire(&(R)->next_to_clean); \ next_to_clean 1000 drivers/net/ethernet/intel/e1000/e1000_ethtool.c txdr->next_to_use = txdr->next_to_clean = 0; next_to_clean 1058 drivers/net/ethernet/intel/e1000/e1000_ethtool.c rxdr->next_to_use = rxdr->next_to_clean = 0; next_to_clean 1551 drivers/net/ethernet/intel/e1000/e1000_main.c txdr->next_to_clean = 0; next_to_clean 1741 drivers/net/ethernet/intel/e1000/e1000_main.c rxdr->next_to_clean = 0; next_to_clean 1999 drivers/net/ethernet/intel/e1000/e1000_main.c tx_ring->next_to_clean = 0; next_to_clean 2122 drivers/net/ethernet/intel/e1000/e1000_main.c rx_ring->next_to_clean = 0; next_to_clean 3408 drivers/net/ethernet/intel/e1000/e1000_main.c if (i == tx_ring->next_to_use && i == tx_ring->next_to_clean) next_to_clean 3412 drivers/net/ethernet/intel/e1000/e1000_main.c else if (i == tx_ring->next_to_clean) next_to_clean 3452 drivers/net/ethernet/intel/e1000/e1000_main.c else if (i == rx_ring->next_to_clean) next_to_clean 3832 drivers/net/ethernet/intel/e1000/e1000_main.c i = tx_ring->next_to_clean; next_to_clean 3868 drivers/net/ethernet/intel/e1000/e1000_main.c smp_store_release(&tx_ring->next_to_clean, i); next_to_clean 3913 drivers/net/ethernet/intel/e1000/e1000_main.c tx_ring->next_to_clean, next_to_clean 4132 drivers/net/ethernet/intel/e1000/e1000_main.c i = rx_ring->next_to_clean; next_to_clean 4295 drivers/net/ethernet/intel/e1000/e1000_main.c rx_ring->next_to_clean = i; next_to_clean 4353 drivers/net/ethernet/intel/e1000/e1000_main.c i = rx_ring->next_to_clean; next_to_clean 4468 drivers/net/ethernet/intel/e1000/e1000_main.c rx_ring->next_to_clean = i; next_to_clean 157 drivers/net/ethernet/intel/e1000e/e1000.h u16 next_to_clean; next_to_clean 1193 drivers/net/ethernet/intel/e1000e/ethtool.c tx_ring->next_to_clean = 0; next_to_clean 1253 drivers/net/ethernet/intel/e1000e/ethtool.c rx_ring->next_to_clean = 0; next_to_clean 245 drivers/net/ethernet/intel/e1000e/netdev.c buffer_info = &tx_ring->buffer_info[tx_ring->next_to_clean]; next_to_clean 247 drivers/net/ethernet/intel/e1000e/netdev.c 0, tx_ring->next_to_use, tx_ring->next_to_clean, next_to_clean 294 drivers/net/ethernet/intel/e1000e/netdev.c if (i == tx_ring->next_to_use && i == tx_ring->next_to_clean) next_to_clean 298 drivers/net/ethernet/intel/e1000e/netdev.c else if (i == tx_ring->next_to_clean) next_to_clean 324 drivers/net/ethernet/intel/e1000e/netdev.c 0, rx_ring->next_to_use, rx_ring->next_to_clean); next_to_clean 370 drivers/net/ethernet/intel/e1000e/netdev.c else if (i == rx_ring->next_to_clean) next_to_clean 436 drivers/net/ethernet/intel/e1000e/netdev.c else if (i == rx_ring->next_to_clean) next_to_clean 474 drivers/net/ethernet/intel/e1000e/netdev.c if (ring->next_to_clean > ring->next_to_use) next_to_clean 475 drivers/net/ethernet/intel/e1000e/netdev.c return ring->next_to_clean - ring->next_to_use - 1; next_to_clean 477 drivers/net/ethernet/intel/e1000e/netdev.c return ring->count + ring->next_to_clean - ring->next_to_use - 1; next_to_clean 922 drivers/net/ethernet/intel/e1000e/netdev.c i = rx_ring->next_to_clean; next_to_clean 1044 drivers/net/ethernet/intel/e1000e/netdev.c rx_ring->next_to_clean = i; next_to_clean 1087 drivers/net/ethernet/intel/e1000e/netdev.c unsigned int i = tx_ring->next_to_clean; next_to_clean 1146 drivers/net/ethernet/intel/e1000e/netdev.c tx_ring->next_to_clean, tx_ring->buffer_info[eop].time_stamp, next_to_clean 1220 drivers/net/ethernet/intel/e1000e/netdev.c i = tx_ring->next_to_clean; next_to_clean 1257 drivers/net/ethernet/intel/e1000e/netdev.c tx_ring->next_to_clean = i; next_to_clean 1318 drivers/net/ethernet/intel/e1000e/netdev.c i = rx_ring->next_to_clean; next_to_clean 1476 drivers/net/ethernet/intel/e1000e/netdev.c rx_ring->next_to_clean = i; next_to_clean 1521 drivers/net/ethernet/intel/e1000e/netdev.c i = rx_ring->next_to_clean; next_to_clean 1658 drivers/net/ethernet/intel/e1000e/netdev.c rx_ring->next_to_clean = i; next_to_clean 1730 drivers/net/ethernet/intel/e1000e/netdev.c rx_ring->next_to_clean = 0; next_to_clean 2341 drivers/net/ethernet/intel/e1000e/netdev.c tx_ring->next_to_clean = 0; next_to_clean 2386 drivers/net/ethernet/intel/e1000e/netdev.c rx_ring->next_to_clean = 0; next_to_clean 2426 drivers/net/ethernet/intel/e1000e/netdev.c tx_ring->next_to_clean = 0; next_to_clean 130 drivers/net/ethernet/intel/fm10k/fm10k.h u16 next_to_clean; next_to_clean 424 drivers/net/ethernet/intel/fm10k/fm10k.h s16 unused = ring->next_to_clean - ring->next_to_use - 1; next_to_clean 307 drivers/net/ethernet/intel/fm10k/fm10k_main.c rx_buffer = &rx_ring->rx_buffer[rx_ring->next_to_clean]; next_to_clean 496 drivers/net/ethernet/intel/fm10k/fm10k_main.c u32 ntc = rx_ring->next_to_clean + 1; next_to_clean 500 drivers/net/ethernet/intel/fm10k/fm10k_main.c rx_ring->next_to_clean = ntc; next_to_clean 582 drivers/net/ethernet/intel/fm10k/fm10k_main.c rx_desc = FM10K_RX_DESC(rx_ring, rx_ring->next_to_clean); next_to_clean 1130 drivers/net/ethernet/intel/fm10k/fm10k_main.c head = ring->next_to_clean; next_to_clean 1197 drivers/net/ethernet/intel/fm10k/fm10k_main.c unsigned int i = tx_ring->next_to_clean; next_to_clean 1279 drivers/net/ethernet/intel/fm10k/fm10k_main.c tx_ring->next_to_clean = i; next_to_clean 280 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c rx_ring->next_to_clean = 0; next_to_clean 652 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (tx_ring->next_to_use != tx_ring->next_to_clean) { next_to_clean 896 drivers/net/ethernet/intel/fm10k/fm10k_pci.c ring->next_to_clean = 0; next_to_clean 1010 drivers/net/ethernet/intel/fm10k/fm10k_pci.c ring->next_to_clean = 0; next_to_clean 355 drivers/net/ethernet/intel/i40e/i40e_adminq.c hw->aq.asq.next_to_clean = 0; next_to_clean 414 drivers/net/ethernet/intel/i40e/i40e_adminq.c hw->aq.arq.next_to_clean = 0; next_to_clean 673 drivers/net/ethernet/intel/i40e/i40e_adminq.c u16 ntc = asq->next_to_clean; next_to_clean 698 drivers/net/ethernet/intel/i40e/i40e_adminq.c asq->next_to_clean = ntc; next_to_clean 949 drivers/net/ethernet/intel/i40e/i40e_adminq.c u16 ntc = hw->aq.arq.next_to_clean; next_to_clean 1024 drivers/net/ethernet/intel/i40e/i40e_adminq.c hw->aq.arq.next_to_clean = ntc; next_to_clean 1042 drivers/net/ethernet/intel/i40e/i40e_adminq.c hw->aq.asq.next_to_clean = 0; next_to_clean 1047 drivers/net/ethernet/intel/i40e/i40e_adminq.c hw->aq.arq.next_to_clean = 0; next_to_clean 31 drivers/net/ethernet/intel/i40e/i40e_adminq.h u16 next_to_clean; next_to_clean 259 drivers/net/ethernet/intel/i40e/i40e_debugfs.c rx_ring->next_to_clean, next_to_clean 299 drivers/net/ethernet/intel/i40e/i40e_debugfs.c tx_ring->next_to_clean, next_to_clean 2121 drivers/net/ethernet/intel/i40e/i40e_ethtool.c rx_rings[i].next_to_clean = 0; next_to_clean 366 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->seid, hung_queue, tx_ring->next_to_clean, next_to_clean 4061 drivers/net/ethernet/intel/i40e/i40e_main.c u16 i = tx_ring->next_to_clean; next_to_clean 4128 drivers/net/ethernet/intel/i40e/i40e_main.c tx_ring->next_to_clean = i; next_to_clean 658 drivers/net/ethernet/intel/i40e/i40e_txrx.c tx_ring->next_to_clean = 0; next_to_clean 702 drivers/net/ethernet/intel/i40e/i40e_txrx.c head = ring->next_to_clean; next_to_clean 777 drivers/net/ethernet/intel/i40e/i40e_txrx.c int i = tx_ring->next_to_clean; next_to_clean 869 drivers/net/ethernet/intel/i40e/i40e_txrx.c tx_ring->next_to_clean = i; next_to_clean 1272 drivers/net/ethernet/intel/i40e/i40e_txrx.c ntc = rx_ring->next_to_clean; next_to_clean 1277 drivers/net/ethernet/intel/i40e/i40e_txrx.c rx_ring->next_to_clean = ntc; next_to_clean 1329 drivers/net/ethernet/intel/i40e/i40e_txrx.c tx_ring->next_to_clean = 0; next_to_clean 1398 drivers/net/ethernet/intel/i40e/i40e_txrx.c rx_ring->next_to_clean = 0; next_to_clean 1458 drivers/net/ethernet/intel/i40e/i40e_txrx.c rx_ring->next_to_clean = 0; next_to_clean 1968 drivers/net/ethernet/intel/i40e/i40e_txrx.c rx_buffer = &rx_ring->rx_bi[rx_ring->next_to_clean]; next_to_clean 2160 drivers/net/ethernet/intel/i40e/i40e_txrx.c u32 ntc = rx_ring->next_to_clean + 1; next_to_clean 2164 drivers/net/ethernet/intel/i40e/i40e_txrx.c rx_ring->next_to_clean = ntc; next_to_clean 2353 drivers/net/ethernet/intel/i40e/i40e_txrx.c rx_desc = I40E_RX_DESC(rx_ring, rx_ring->next_to_clean); next_to_clean 201 drivers/net/ethernet/intel/i40e/i40e_txrx.h r->next_to_clean = i; \ next_to_clean 380 drivers/net/ethernet/intel/i40e/i40e_txrx.h u16 next_to_clean; next_to_clean 39 drivers/net/ethernet/intel/i40e/i40e_type.h ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ next_to_clean 40 drivers/net/ethernet/intel/i40e/i40e_type.h (R)->next_to_clean - (R)->next_to_use - 1) next_to_clean 405 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi = &rx_ring->rx_bi[rx_ring->next_to_clean]; next_to_clean 516 drivers/net/ethernet/intel/i40e/i40e_xsk.c u32 ntc = rx_ring->next_to_clean + 1; next_to_clean 519 drivers/net/ethernet/intel/i40e/i40e_xsk.c rx_ring->next_to_clean = ntc; next_to_clean 554 drivers/net/ethernet/intel/i40e/i40e_xsk.c rx_desc = I40E_RX_DESC(rx_ring, rx_ring->next_to_clean); next_to_clean 630 drivers/net/ethernet/intel/i40e/i40e_xsk.c if (failure || rx_ring->next_to_clean == rx_ring->next_to_use) next_to_clean 729 drivers/net/ethernet/intel/i40e/i40e_xsk.c if (head_idx < tx_ring->next_to_clean) next_to_clean 731 drivers/net/ethernet/intel/i40e/i40e_xsk.c frames_ready = head_idx - tx_ring->next_to_clean; next_to_clean 742 drivers/net/ethernet/intel/i40e/i40e_xsk.c ntc = tx_ring->next_to_clean; next_to_clean 759 drivers/net/ethernet/intel/i40e/i40e_xsk.c tx_ring->next_to_clean += completed_frames; next_to_clean 760 drivers/net/ethernet/intel/i40e/i40e_xsk.c if (unlikely(tx_ring->next_to_clean >= tx_ring->count)) next_to_clean 761 drivers/net/ethernet/intel/i40e/i40e_xsk.c tx_ring->next_to_clean -= tx_ring->count; next_to_clean 843 drivers/net/ethernet/intel/i40e/i40e_xsk.c u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; next_to_clean 119 drivers/net/ethernet/intel/iavf/iavf.h ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ next_to_clean 120 drivers/net/ethernet/intel/iavf/iavf.h (R)->next_to_clean - (R)->next_to_use - 1) next_to_clean 342 drivers/net/ethernet/intel/iavf/iavf_adminq.c hw->aq.asq.next_to_clean = 0; next_to_clean 401 drivers/net/ethernet/intel/iavf/iavf_adminq.c hw->aq.arq.next_to_clean = 0; next_to_clean 575 drivers/net/ethernet/intel/iavf/iavf_adminq.c u16 ntc = asq->next_to_clean; next_to_clean 601 drivers/net/ethernet/intel/iavf/iavf_adminq.c asq->next_to_clean = ntc; next_to_clean 849 drivers/net/ethernet/intel/iavf/iavf_adminq.c u16 ntc = hw->aq.arq.next_to_clean; next_to_clean 925 drivers/net/ethernet/intel/iavf/iavf_adminq.c hw->aq.arq.next_to_clean = ntc; next_to_clean 31 drivers/net/ethernet/intel/iavf/iavf_adminq.h u16 next_to_clean; next_to_clean 77 drivers/net/ethernet/intel/iavf/iavf_txrx.c tx_ring->next_to_clean = 0; next_to_clean 117 drivers/net/ethernet/intel/iavf/iavf_txrx.c head = ring->next_to_clean; next_to_clean 193 drivers/net/ethernet/intel/iavf/iavf_txrx.c int i = tx_ring->next_to_clean; next_to_clean 280 drivers/net/ethernet/intel/iavf/iavf_txrx.c tx_ring->next_to_clean = i; next_to_clean 641 drivers/net/ethernet/intel/iavf/iavf_txrx.c tx_ring->next_to_clean = 0; next_to_clean 704 drivers/net/ethernet/intel/iavf/iavf_txrx.c rx_ring->next_to_clean = 0; next_to_clean 760 drivers/net/ethernet/intel/iavf/iavf_txrx.c rx_ring->next_to_clean = 0; next_to_clean 1269 drivers/net/ethernet/intel/iavf/iavf_txrx.c rx_buffer = &rx_ring->rx_bi[rx_ring->next_to_clean]; next_to_clean 1448 drivers/net/ethernet/intel/iavf/iavf_txrx.c u32 ntc = rx_ring->next_to_clean + 1; next_to_clean 1452 drivers/net/ethernet/intel/iavf/iavf_txrx.c rx_ring->next_to_clean = ntc; next_to_clean 1500 drivers/net/ethernet/intel/iavf/iavf_txrx.c rx_desc = IAVF_RX_DESC(rx_ring, rx_ring->next_to_clean); next_to_clean 180 drivers/net/ethernet/intel/iavf/iavf_txrx.h r->next_to_clean = i; \ next_to_clean 353 drivers/net/ethernet/intel/iavf/iavf_txrx.h u16 next_to_clean; next_to_clean 29 drivers/net/ethernet/intel/iavf/iavf_type.h ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ next_to_clean 30 drivers/net/ethernet/intel/iavf/iavf_type.h (R)->next_to_clean - (R)->next_to_use - 1) next_to_clean 338 drivers/net/ethernet/intel/ice/ice_controlq.c cq->sq.next_to_clean = 0; next_to_clean 397 drivers/net/ethernet/intel/ice/ice_controlq.c cq->rq.next_to_clean = 0; next_to_clean 788 drivers/net/ethernet/intel/ice/ice_controlq.c u16 ntc = sq->next_to_clean; next_to_clean 807 drivers/net/ethernet/intel/ice/ice_controlq.c sq->next_to_clean = ntc; next_to_clean 1038 drivers/net/ethernet/intel/ice/ice_controlq.c u16 ntc = cq->rq.next_to_clean; next_to_clean 1111 drivers/net/ethernet/intel/ice/ice_controlq.c cq->rq.next_to_clean = ntc; next_to_clean 17 drivers/net/ethernet/intel/ice/ice_controlq.h (u16)((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ next_to_clean 18 drivers/net/ethernet/intel/ice/ice_controlq.h (R)->next_to_clean - (R)->next_to_use - 1) next_to_clean 52 drivers/net/ethernet/intel/ice/ice_controlq.h u16 next_to_clean; next_to_clean 2733 drivers/net/ethernet/intel/ice/ice_ethtool.c rx_rings[i].next_to_clean = 0; next_to_clean 58 drivers/net/ethernet/intel/ice/ice_main.c head = ring->next_to_clean; next_to_clean 1098 drivers/net/ethernet/intel/ice/ice_main.c return cq->rq.next_to_clean != ntu; next_to_clean 4696 drivers/net/ethernet/intel/ice/ice_main.c vsi->vsi_num, hung_queue, tx_ring->next_to_clean, next_to_clean 68 drivers/net/ethernet/intel/ice/ice_txrx.c tx_ring->next_to_clean = 0; next_to_clean 108 drivers/net/ethernet/intel/ice/ice_txrx.c s16 i = tx_ring->next_to_clean; next_to_clean 190 drivers/net/ethernet/intel/ice/ice_txrx.c tx_ring->next_to_clean = i; next_to_clean 253 drivers/net/ethernet/intel/ice/ice_txrx.c tx_ring->next_to_clean = 0; next_to_clean 309 drivers/net/ethernet/intel/ice/ice_txrx.c rx_ring->next_to_clean = 0; next_to_clean 365 drivers/net/ethernet/intel/ice/ice_txrx.c rx_ring->next_to_clean = 0; next_to_clean 664 drivers/net/ethernet/intel/ice/ice_txrx.c rx_buf = &rx_ring->rx_buf[rx_ring->next_to_clean]; next_to_clean 825 drivers/net/ethernet/intel/ice/ice_txrx.c u32 ntc = rx_ring->next_to_clean + 1; next_to_clean 829 drivers/net/ethernet/intel/ice/ice_txrx.c rx_ring->next_to_clean = ntc; next_to_clean 1022 drivers/net/ethernet/intel/ice/ice_txrx.c rx_desc = ICE_RX_DESC(rx_ring, rx_ring->next_to_clean); next_to_clean 41 drivers/net/ethernet/intel/ice/ice_txrx.h ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ next_to_clean 42 drivers/net/ethernet/intel/ice/ice_txrx.h (R)->next_to_clean - (R)->next_to_use - 1) next_to_clean 189 drivers/net/ethernet/intel/ice/ice_txrx.h u16 next_to_clean; next_to_clean 273 drivers/net/ethernet/intel/igb/igb.h u16 next_to_clean; next_to_clean 377 drivers/net/ethernet/intel/igb/igb.h if (ring->next_to_clean > ring->next_to_use) next_to_clean 378 drivers/net/ethernet/intel/igb/igb.h return ring->next_to_clean - ring->next_to_use - 1; next_to_clean 380 drivers/net/ethernet/intel/igb/igb.h return ring->count + ring->next_to_clean - ring->next_to_use - 1; next_to_clean 1811 drivers/net/ethernet/intel/igb/igb_ethtool.c rx_ntc = rx_ring->next_to_clean; next_to_clean 1812 drivers/net/ethernet/intel/igb/igb_ethtool.c tx_ntc = tx_ring->next_to_clean; next_to_clean 1864 drivers/net/ethernet/intel/igb/igb_ethtool.c rx_ring->next_to_clean = rx_ntc; next_to_clean 1865 drivers/net/ethernet/intel/igb/igb_ethtool.c tx_ring->next_to_clean = tx_ntc; next_to_clean 399 drivers/net/ethernet/intel/igb/igb_main.c buffer_info = &tx_ring->tx_buffer_info[tx_ring->next_to_clean]; next_to_clean 401 drivers/net/ethernet/intel/igb/igb_main.c n, tx_ring->next_to_use, tx_ring->next_to_clean, next_to_clean 439 drivers/net/ethernet/intel/igb/igb_main.c i == tx_ring->next_to_clean) next_to_clean 443 drivers/net/ethernet/intel/igb/igb_main.c else if (i == tx_ring->next_to_clean) next_to_clean 473 drivers/net/ethernet/intel/igb/igb_main.c n, rx_ring->next_to_use, rx_ring->next_to_clean); next_to_clean 521 drivers/net/ethernet/intel/igb/igb_main.c else if (i == rx_ring->next_to_clean) next_to_clean 4059 drivers/net/ethernet/intel/igb/igb_main.c tx_ring->next_to_clean = 0; next_to_clean 4208 drivers/net/ethernet/intel/igb/igb_main.c rx_ring->next_to_clean = 0; next_to_clean 4622 drivers/net/ethernet/intel/igb/igb_main.c u16 i = tx_ring->next_to_clean; next_to_clean 4674 drivers/net/ethernet/intel/igb/igb_main.c tx_ring->next_to_clean = 0; next_to_clean 4734 drivers/net/ethernet/intel/igb/igb_main.c u16 i = rx_ring->next_to_clean; next_to_clean 4767 drivers/net/ethernet/intel/igb/igb_main.c rx_ring->next_to_clean = 0; next_to_clean 7753 drivers/net/ethernet/intel/igb/igb_main.c unsigned int i = tx_ring->next_to_clean; next_to_clean 7836 drivers/net/ethernet/intel/igb/igb_main.c tx_ring->next_to_clean = i; next_to_clean 7873 drivers/net/ethernet/intel/igb/igb_main.c tx_ring->next_to_clean, next_to_clean 8172 drivers/net/ethernet/intel/igb/igb_main.c u32 ntc = rx_ring->next_to_clean + 1; next_to_clean 8176 drivers/net/ethernet/intel/igb/igb_main.c rx_ring->next_to_clean = ntc; next_to_clean 8267 drivers/net/ethernet/intel/igb/igb_main.c rx_buffer = &rx_ring->rx_buffer_info[rx_ring->next_to_clean]; next_to_clean 8321 drivers/net/ethernet/intel/igb/igb_main.c rx_desc = IGB_RX_DESC(rx_ring, rx_ring->next_to_clean); next_to_clean 133 drivers/net/ethernet/intel/igbvf/igbvf.h u16 next_to_clean; next_to_clean 70 drivers/net/ethernet/intel/igbvf/netdev.c if (ring->next_to_clean > ring->next_to_use) next_to_clean 71 drivers/net/ethernet/intel/igbvf/netdev.c return ring->next_to_clean - ring->next_to_use - 1; next_to_clean 73 drivers/net/ethernet/intel/igbvf/netdev.c return ring->count + ring->next_to_clean - ring->next_to_use - 1; next_to_clean 257 drivers/net/ethernet/intel/igbvf/netdev.c i = rx_ring->next_to_clean; next_to_clean 372 drivers/net/ethernet/intel/igbvf/netdev.c rx_ring->next_to_clean = i; next_to_clean 436 drivers/net/ethernet/intel/igbvf/netdev.c tx_ring->next_to_clean = 0; next_to_clean 474 drivers/net/ethernet/intel/igbvf/netdev.c rx_ring->next_to_clean = 0; next_to_clean 516 drivers/net/ethernet/intel/igbvf/netdev.c tx_ring->next_to_clean = 0; next_to_clean 598 drivers/net/ethernet/intel/igbvf/netdev.c rx_ring->next_to_clean = 0; next_to_clean 780 drivers/net/ethernet/intel/igbvf/netdev.c i = tx_ring->next_to_clean; next_to_clean 829 drivers/net/ethernet/intel/igbvf/netdev.c tx_ring->next_to_clean = i; next_to_clean 263 drivers/net/ethernet/intel/igc/igc.h u16 next_to_clean; next_to_clean 439 drivers/net/ethernet/intel/igc/igc.h u16 ntc = ring->next_to_clean; next_to_clean 221 drivers/net/ethernet/intel/igc/igc_main.c u16 i = tx_ring->next_to_clean; next_to_clean 273 drivers/net/ethernet/intel/igc/igc_main.c tx_ring->next_to_clean = 0; next_to_clean 316 drivers/net/ethernet/intel/igc/igc_main.c tx_ring->next_to_clean = 0; next_to_clean 358 drivers/net/ethernet/intel/igc/igc_main.c u16 i = rx_ring->next_to_clean; next_to_clean 391 drivers/net/ethernet/intel/igc/igc_main.c rx_ring->next_to_clean = 0; next_to_clean 474 drivers/net/ethernet/intel/igc/igc_main.c rx_ring->next_to_clean = 0; next_to_clean 545 drivers/net/ethernet/intel/igc/igc_main.c ring->next_to_clean = 0; next_to_clean 1202 drivers/net/ethernet/intel/igc/igc_main.c rx_buffer = &rx_ring->rx_buffer_info[rx_ring->next_to_clean]; next_to_clean 1418 drivers/net/ethernet/intel/igc/igc_main.c u32 ntc = rx_ring->next_to_clean + 1; next_to_clean 1422 drivers/net/ethernet/intel/igc/igc_main.c rx_ring->next_to_clean = ntc; next_to_clean 1575 drivers/net/ethernet/intel/igc/igc_main.c rx_desc = IGC_RX_DESC(rx_ring, rx_ring->next_to_clean); next_to_clean 1707 drivers/net/ethernet/intel/igc/igc_main.c unsigned int i = tx_ring->next_to_clean; next_to_clean 1793 drivers/net/ethernet/intel/igc/igc_main.c tx_ring->next_to_clean = i; next_to_clean 1829 drivers/net/ethernet/intel/igc/igc_main.c tx_ring->next_to_clean, next_to_clean 96 drivers/net/ethernet/intel/ixgb/ixgb.h unsigned int next_to_clean; next_to_clean 102 drivers/net/ethernet/intel/ixgb/ixgb.h ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ next_to_clean 103 drivers/net/ethernet/intel/ixgb/ixgb.h (R)->next_to_clean - (R)->next_to_use - 1) next_to_clean 691 drivers/net/ethernet/intel/ixgb/ixgb_main.c txdr->next_to_clean = 0; next_to_clean 774 drivers/net/ethernet/intel/ixgb/ixgb_main.c rxdr->next_to_clean = 0; next_to_clean 943 drivers/net/ethernet/intel/ixgb/ixgb_main.c tx_ring->next_to_clean = 0; next_to_clean 1013 drivers/net/ethernet/intel/ixgb/ixgb_main.c rx_ring->next_to_clean = 0; next_to_clean 1790 drivers/net/ethernet/intel/ixgb/ixgb_main.c i = tx_ring->next_to_clean; next_to_clean 1818 drivers/net/ethernet/intel/ixgb/ixgb_main.c tx_ring->next_to_clean = i; next_to_clean 1856 drivers/net/ethernet/intel/ixgb/ixgb_main.c tx_ring->next_to_clean, next_to_clean 1945 drivers/net/ethernet/intel/ixgb/ixgb_main.c i = rx_ring->next_to_clean; next_to_clean 2037 drivers/net/ethernet/intel/ixgb/ixgb_main.c rx_ring->next_to_clean = i; next_to_clean 333 drivers/net/ethernet/intel/ixgbe/ixgbe.h u16 next_to_clean; next_to_clean 509 drivers/net/ethernet/intel/ixgbe/ixgbe.h u16 ntc = ring->next_to_clean; next_to_clean 1894 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c rx_ntc = rx_ring->next_to_clean; next_to_clean 1895 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c tx_ntc = tx_ring->next_to_clean; next_to_clean 1964 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c rx_ring->next_to_clean = rx_ntc; next_to_clean 1965 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c tx_ring->next_to_clean = tx_ntc; next_to_clean 554 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tx_buffer = &ring->tx_buffer_info[ring->next_to_clean]; next_to_clean 556 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c n, ring->next_to_use, ring->next_to_clean, next_to_clean 680 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c i == ring->next_to_clean) next_to_clean 684 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c else if (i == ring->next_to_clean) next_to_clean 717 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c n, rx_ring->next_to_use, rx_ring->next_to_clean); next_to_clean 790 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c else if (i == rx_ring->next_to_clean) next_to_clean 1020 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c head = ring->next_to_clean; next_to_clean 1120 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c unsigned int i = tx_ring->next_to_clean; next_to_clean 1206 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tx_ring->next_to_clean = i; next_to_clean 1737 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u32 ntc = rx_ring->next_to_clean + 1; next_to_clean 1741 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c rx_ring->next_to_clean = ntc; next_to_clean 2030 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c rx_buffer = &rx_ring->rx_buffer_info[rx_ring->next_to_clean]; next_to_clean 2305 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c rx_desc = IXGBE_RX_DESC(rx_ring, rx_ring->next_to_clean); next_to_clean 5290 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u16 i = rx_ring->next_to_clean; next_to_clean 5338 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c rx_ring->next_to_clean = 0; next_to_clean 5978 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u16 i = tx_ring->next_to_clean; next_to_clean 6040 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tx_ring->next_to_clean = 0; next_to_clean 6478 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tx_ring->next_to_clean = 0; next_to_clean 6571 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c rx_ring->next_to_clean = 0; next_to_clean 7543 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (tx_ring->next_to_use != tx_ring->next_to_clean) next_to_clean 7550 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (ring->next_to_use != ring->next_to_clean) next_to_clean 195 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi = &rx_ring->rx_buffer_info[rx_ring->next_to_clean]; next_to_clean 420 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c u32 ntc = rx_ring->next_to_clean + 1; next_to_clean 423 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c rx_ring->next_to_clean = ntc; next_to_clean 454 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c rx_desc = IXGBE_RX_DESC(rx_ring, rx_ring->next_to_clean); next_to_clean 474 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c &rx_ring->rx_buffer_info[rx_ring->next_to_clean]; next_to_clean 550 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c if (failure || rx_ring->next_to_clean == rx_ring->next_to_use) next_to_clean 562 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c u16 i = rx_ring->next_to_clean; next_to_clean 643 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; next_to_clean 680 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c tx_ring->next_to_clean = ntc; next_to_clean 731 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; next_to_clean 101 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h u16 next_to_clean; next_to_clean 288 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h u16 ntc = ring->next_to_clean; next_to_clean 274 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c unsigned int i = tx_ring->next_to_clean; next_to_clean 360 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c tx_ring->next_to_clean = i; next_to_clean 535 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c rx_buffer = &rx_ring->rx_buffer_info[rx_ring->next_to_clean]; next_to_clean 587 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c u32 ntc = rx_ring->next_to_clean + 1; next_to_clean 591 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c rx_ring->next_to_clean = ntc; next_to_clean 1139 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c rx_desc = IXGBEVF_RX_DESC(rx_ring, rx_ring->next_to_clean); next_to_clean 1709 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c ring->next_to_clean = 0; next_to_clean 1939 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c ring->next_to_clean = 0; next_to_clean 2329 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c u16 i = rx_ring->next_to_clean; next_to_clean 2368 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c rx_ring->next_to_clean = 0; next_to_clean 2378 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c u16 i = tx_ring->next_to_clean; next_to_clean 2430 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c tx_ring->next_to_clean = 0; next_to_clean 575 drivers/net/ethernet/jme.c atomic_set(&txring->next_to_clean, 0); next_to_clean 636 drivers/net/ethernet/jme.c atomic_set(&txring->next_to_clean, 0); next_to_clean 798 drivers/net/ethernet/jme.c atomic_set(&rxring->next_to_clean, 0); next_to_clean 821 drivers/net/ethernet/jme.c atomic_set(&rxring->next_to_clean, 0); next_to_clean 1069 drivers/net/ethernet/jme.c i = atomic_read(&rxring->next_to_clean); next_to_clean 1108 drivers/net/ethernet/jme.c atomic_set(&rxring->next_to_clean, i); next_to_clean 1442 drivers/net/ethernet/jme.c for (i = atomic_read(&txring->next_to_clean) ; cnt < max ; ) { next_to_clean 1492 drivers/net/ethernet/jme.c atomic_set(&txring->next_to_clean, i); next_to_clean 2192 drivers/net/ethernet/jme.c int idx = atomic_read(&txring->next_to_clean); next_to_clean 373 drivers/net/ethernet/jme.h atomic_t next_to_clean; next_to_clean 448 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h unsigned int next_to_clean; next_to_clean 471 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h unsigned int next_to_clean; next_to_clean 56 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ next_to_clean 57 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c (R)->next_to_clean - (R)->next_to_use - 1) next_to_clean 947 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c tx_ring->next_to_clean = 0; next_to_clean 978 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c rx_ring->next_to_clean = 0; next_to_clean 1492 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c tx_ring->next_to_clean); next_to_clean 1494 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c i = tx_ring->next_to_clean; next_to_clean 1507 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c tx_ring->next_to_clean, tx_ring->next_to_use, next_to_clean 1596 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c tx_ring->next_to_clean = i; next_to_clean 1599 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c tx_ring->next_to_clean); next_to_clean 1633 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c i = rx_ring->next_to_clean; next_to_clean 1715 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c rx_ring->next_to_clean = i; next_to_clean 1752 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c tx_ring->next_to_clean = 0; next_to_clean 1761 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c tx_ring->next_to_clean, tx_ring->next_to_use); next_to_clean 1793 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c rx_ring->next_to_clean = 0; next_to_clean 1802 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c rx_ring->next_to_clean, rx_ring->next_to_use); next_to_clean 2076 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c tx_ring->next_to_use, tx_ring->next_to_clean); next_to_clean 430 drivers/net/ethernet/pasemi/pasemi_mac.c ring->next_to_clean = 0; next_to_clean 494 drivers/net/ethernet/pasemi/pasemi_mac.c ring->next_to_clean = 0; next_to_clean 516 drivers/net/ethernet/pasemi/pasemi_mac.c start = txring->next_to_clean; next_to_clean 712 drivers/net/ethernet/pasemi/pasemi_mac.c n = rx->next_to_clean; next_to_clean 793 drivers/net/ethernet/pasemi/pasemi_mac.c rx_ring(mac)->next_to_clean = n; next_to_clean 833 drivers/net/ethernet/pasemi/pasemi_mac.c start = txring->next_to_clean; next_to_clean 888 drivers/net/ethernet/pasemi/pasemi_mac.c txring->next_to_clean = i & (TX_RING_SIZE-1); next_to_clean 30 drivers/net/ethernet/pasemi/pasemi_mac.h unsigned int next_to_clean; next_to_clean 43 drivers/net/ethernet/pasemi/pasemi_mac.h unsigned int next_to_clean; next_to_clean 101 drivers/net/ethernet/pasemi/pasemi_mac.h #define RING_USED(ring) (((ring)->next_to_fill - (ring)->next_to_clean) \