next_to_use 826 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int ntu = ring->next_to_use; next_to_use 873 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ring->next_to_use = 0; next_to_use 975 drivers/infiniband/hw/hns/hns_roce_hw_v2.c return head == priv->cmq.csq.next_to_use; next_to_use 1026 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ntc = csq->next_to_use; next_to_use 1029 drivers/infiniband/hw/hns/hns_roce_hw_v2.c desc_to_use = &csq->desc[csq->next_to_use]; next_to_use 1032 drivers/infiniband/hw/hns/hns_roce_hw_v2.c csq->next_to_use++; next_to_use 1033 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (csq->next_to_use == csq->desc_num) next_to_use 1034 drivers/infiniband/hw/hns/hns_roce_hw_v2.c csq->next_to_use = 0; next_to_use 1039 drivers/infiniband/hw/hns/hns_roce_hw_v2.c roce_write(hr_dev, ROCEE_TX_CMQ_TAIL_REG, csq->next_to_use); next_to_use 1593 drivers/infiniband/hw/hns/hns_roce_hw_v2.h int next_to_use; next_to_use 375 drivers/net/ethernet/amazon/ena/ena_com.c io_sq->bounce_buf_ctrl.next_to_use = 0; next_to_use 169 drivers/net/ethernet/amazon/ena/ena_com.h u16 next_to_use; next_to_use 996 drivers/net/ethernet/amazon/ena/ena_com.h (bounce_buf_ctrl->next_to_use++ & (buffers_num - 1)) * size; next_to_use 999 drivers/net/ethernet/amazon/ena/ena_com.h (bounce_buf_ctrl->next_to_use & (buffers_num - 1)) * size); next_to_use 253 drivers/net/ethernet/amazon/ena/ena_netdev.c tx_ring->next_to_use = 0; next_to_use 398 drivers/net/ethernet/amazon/ena/ena_netdev.c rx_ring->next_to_use = 0; next_to_use 525 drivers/net/ethernet/amazon/ena/ena_netdev.c u16 next_to_use, req_id; next_to_use 529 drivers/net/ethernet/amazon/ena/ena_netdev.c next_to_use = rx_ring->next_to_use; next_to_use 534 drivers/net/ethernet/amazon/ena/ena_netdev.c req_id = rx_ring->free_ids[next_to_use]; next_to_use 559 drivers/net/ethernet/amazon/ena/ena_netdev.c next_to_use = ENA_RX_RING_IDX_NEXT(next_to_use, next_to_use 576 drivers/net/ethernet/amazon/ena/ena_netdev.c rx_ring->next_to_use = next_to_use; next_to_use 2254 drivers/net/ethernet/amazon/ena/ena_netdev.c u16 next_to_use, req_id, header_len; next_to_use 2269 drivers/net/ethernet/amazon/ena/ena_netdev.c next_to_use = tx_ring->next_to_use; next_to_use 2270 drivers/net/ethernet/amazon/ena/ena_netdev.c req_id = tx_ring->free_ids[next_to_use]; next_to_use 2331 drivers/net/ethernet/amazon/ena/ena_netdev.c tx_ring->next_to_use = ENA_TX_RING_IDX_NEXT(next_to_use, next_to_use 262 drivers/net/ethernet/amazon/ena/ena_netdev.h u16 next_to_use; next_to_use 478 drivers/net/ethernet/atheros/atl1c/atl1c.h u16 next_to_use; next_to_use 489 drivers/net/ethernet/atheros/atl1c/atl1c.h u16 next_to_use; next_to_use 500 drivers/net/ethernet/atheros/atl1c/atl1c.h u16 next_to_use; next_to_use 873 drivers/net/ethernet/atheros/atl1c/atl1c_main.c tpd_ring->next_to_use = 0; next_to_use 895 drivers/net/ethernet/atheros/atl1c/atl1c_main.c rfd_ring->next_to_use = 0; next_to_use 896 drivers/net/ethernet/atheros/atl1c/atl1c_main.c rrd_ring->next_to_use = 0; next_to_use 912 drivers/net/ethernet/atheros/atl1c/atl1c_main.c tpd_ring[i].next_to_use = 0; next_to_use 919 drivers/net/ethernet/atheros/atl1c/atl1c_main.c rfd_ring->next_to_use = 0; next_to_use 921 drivers/net/ethernet/atheros/atl1c/atl1c_main.c rrd_ring->next_to_use = 0; next_to_use 1698 drivers/net/ethernet/atheros/atl1c/atl1c_main.c next_next = rfd_next_to_use = rfd_ring->next_to_use; next_to_use 1749 drivers/net/ethernet/atheros/atl1c/atl1c_main.c rfd_ring->next_to_use = rfd_next_to_use; next_to_use 1751 drivers/net/ethernet/atheros/atl1c/atl1c_main.c rfd_ring->next_to_use & MB_RFDX_PROD_IDX_MASK); next_to_use 1911 drivers/net/ethernet/atheros/atl1c/atl1c_main.c u16 next_to_use = 0; next_to_use 1915 drivers/net/ethernet/atheros/atl1c/atl1c_main.c next_to_use = tpd_ring->next_to_use; next_to_use 1917 drivers/net/ethernet/atheros/atl1c/atl1c_main.c return (u16)(next_to_clean > next_to_use) ? next_to_use 1918 drivers/net/ethernet/atheros/atl1c/atl1c_main.c (next_to_clean - next_to_use - 1) : next_to_use 1919 drivers/net/ethernet/atheros/atl1c/atl1c_main.c (tpd_ring->count + next_to_clean - next_to_use - 1); next_to_use 1932 drivers/net/ethernet/atheros/atl1c/atl1c_main.c u16 next_to_use = 0; next_to_use 1934 drivers/net/ethernet/atheros/atl1c/atl1c_main.c next_to_use = tpd_ring->next_to_use; next_to_use 1935 drivers/net/ethernet/atheros/atl1c/atl1c_main.c if (++tpd_ring->next_to_use == tpd_ring->count) next_to_use 1936 drivers/net/ethernet/atheros/atl1c/atl1c_main.c tpd_ring->next_to_use = 0; next_to_use 1937 drivers/net/ethernet/atheros/atl1c/atl1c_main.c tpd_desc = ATL1C_TPD_DESC(tpd_ring, next_to_use); next_to_use 2080 drivers/net/ethernet/atheros/atl1c/atl1c_main.c while (index != tpd_ring->next_to_use) { next_to_use 2088 drivers/net/ethernet/atheros/atl1c/atl1c_main.c tpd_ring->next_to_use = first_index; next_to_use 2195 drivers/net/ethernet/atheros/atl1c/atl1c_main.c AT_WRITE_REGW(&adapter->hw, reg, tpd_ring->next_to_use); next_to_use 401 drivers/net/ethernet/atheros/atl1e/atl1e.h u16 next_to_use; next_to_use 754 drivers/net/ethernet/atheros/atl1e/atl1e_main.c tx_ring->next_to_use = 0; next_to_use 1555 drivers/net/ethernet/atheros/atl1e/atl1e_main.c u16 next_to_use = 0; next_to_use 1559 drivers/net/ethernet/atheros/atl1e/atl1e_main.c next_to_use = tx_ring->next_to_use; next_to_use 1561 drivers/net/ethernet/atheros/atl1e/atl1e_main.c return (u16)(next_to_clean > next_to_use) ? next_to_use 1562 drivers/net/ethernet/atheros/atl1e/atl1e_main.c (next_to_clean - next_to_use - 1) : next_to_use 1563 drivers/net/ethernet/atheros/atl1e/atl1e_main.c (tx_ring->count + next_to_clean - next_to_use - 1); next_to_use 1574 drivers/net/ethernet/atheros/atl1e/atl1e_main.c u16 next_to_use = 0; next_to_use 1576 drivers/net/ethernet/atheros/atl1e/atl1e_main.c next_to_use = tx_ring->next_to_use; next_to_use 1577 drivers/net/ethernet/atheros/atl1e/atl1e_main.c if (++tx_ring->next_to_use == tx_ring->count) next_to_use 1578 drivers/net/ethernet/atheros/atl1e/atl1e_main.c tx_ring->next_to_use = 0; next_to_use 1580 drivers/net/ethernet/atheros/atl1e/atl1e_main.c memset(&tx_ring->desc[next_to_use], 0, sizeof(struct atl1e_tpd_desc)); next_to_use 1581 drivers/net/ethernet/atheros/atl1e/atl1e_main.c return &tx_ring->desc[next_to_use]; next_to_use 1705 drivers/net/ethernet/atheros/atl1e/atl1e_main.c int ring_start = adapter->tx_ring.next_to_use; next_to_use 1751 drivers/net/ethernet/atheros/atl1e/atl1e_main.c ring_end = adapter->tx_ring.next_to_use; next_to_use 1752 drivers/net/ethernet/atheros/atl1e/atl1e_main.c adapter->tx_ring.next_to_use = ring_start; next_to_use 1753 drivers/net/ethernet/atheros/atl1e/atl1e_main.c while (adapter->tx_ring.next_to_use != ring_end) { next_to_use 1760 drivers/net/ethernet/atheros/atl1e/atl1e_main.c adapter->tx_ring.next_to_use = ring_start; next_to_use 1801 drivers/net/ethernet/atheros/atl1e/atl1e_main.c ring_end = adapter->tx_ring.next_to_use; next_to_use 1802 drivers/net/ethernet/atheros/atl1e/atl1e_main.c adapter->tx_ring.next_to_use = ring_start; next_to_use 1803 drivers/net/ethernet/atheros/atl1e/atl1e_main.c while (adapter->tx_ring.next_to_use != ring_end) { next_to_use 1811 drivers/net/ethernet/atheros/atl1e/atl1e_main.c adapter->tx_ring.next_to_use = ring_start; next_to_use 1844 drivers/net/ethernet/atheros/atl1e/atl1e_main.c AT_WRITE_REG(&adapter->hw, REG_MB_TPD_PROD_IDX, tx_ring->next_to_use); next_to_use 1114 drivers/net/ethernet/atheros/atlx/atl1.c atomic_set(&tpd_ring->next_to_use, 0); next_to_use 1118 drivers/net/ethernet/atheros/atlx/atl1.c atomic_set(&rfd_ring->next_to_use, 0); next_to_use 1120 drivers/net/ethernet/atheros/atlx/atl1.c rrd_ring->next_to_use = 0; next_to_use 1158 drivers/net/ethernet/atheros/atlx/atl1.c atomic_set(&rfd_ring->next_to_use, 0); next_to_use 1160 drivers/net/ethernet/atheros/atlx/atl1.c rrd_ring->next_to_use = 0; next_to_use 1200 drivers/net/ethernet/atheros/atlx/atl1.c atomic_set(&tpd_ring->next_to_use, 0); next_to_use 1499 drivers/net/ethernet/atheros/atlx/atl1.c value = ((atomic_read(&adapter->tpd_ring.next_to_use) next_to_use 1503 drivers/net/ethernet/atheros/atlx/atl1.c ((atomic_read(&adapter->rfd_ring.next_to_use) next_to_use 1745 drivers/net/ethernet/atheros/atlx/atl1.c tpd_next_to_use = atomic_read(&adapter->tpd_ring.next_to_use); next_to_use 1746 drivers/net/ethernet/atheros/atlx/atl1.c rfd_next_to_use = atomic_read(&adapter->rfd_ring.next_to_use); next_to_use 1844 drivers/net/ethernet/atheros/atlx/atl1.c next_next = rfd_next_to_use = atomic_read(&rfd_ring->next_to_use); next_to_use 1896 drivers/net/ethernet/atheros/atlx/atl1.c atomic_set(&rfd_ring->next_to_use, (int)rfd_next_to_use); next_to_use 2035 drivers/net/ethernet/atheros/atlx/atl1.c tpd_next_to_use = atomic_read(&adapter->tpd_ring.next_to_use); next_to_use 2037 drivers/net/ethernet/atheros/atlx/atl1.c atomic_read(&adapter->rfd_ring.next_to_use); next_to_use 2094 drivers/net/ethernet/atheros/atlx/atl1.c u16 next_to_use = atomic_read(&tpd_ring->next_to_use); next_to_use 2095 drivers/net/ethernet/atheros/atlx/atl1.c return (next_to_clean > next_to_use) ? next_to_use 2096 drivers/net/ethernet/atheros/atlx/atl1.c next_to_clean - next_to_use - 1 : next_to_use 2097 drivers/net/ethernet/atheros/atlx/atl1.c tpd_ring->count + next_to_clean - next_to_use - 1; next_to_use 2196 drivers/net/ethernet/atheros/atlx/atl1.c u16 next_to_use; next_to_use 2202 drivers/net/ethernet/atheros/atlx/atl1.c next_to_use = atomic_read(&tpd_ring->next_to_use); next_to_use 2203 drivers/net/ethernet/atheros/atlx/atl1.c buffer_info = &tpd_ring->buffer_info[next_to_use]; next_to_use 2219 drivers/net/ethernet/atheros/atlx/atl1.c if (++next_to_use == tpd_ring->count) next_to_use 2220 drivers/net/ethernet/atheros/atlx/atl1.c next_to_use = 0; next_to_use 2230 drivers/net/ethernet/atheros/atlx/atl1.c &tpd_ring->buffer_info[next_to_use]; next_to_use 2243 drivers/net/ethernet/atheros/atlx/atl1.c if (++next_to_use == tpd_ring->count) next_to_use 2244 drivers/net/ethernet/atheros/atlx/atl1.c next_to_use = 0; next_to_use 2254 drivers/net/ethernet/atheros/atlx/atl1.c if (++next_to_use == tpd_ring->count) next_to_use 2255 drivers/net/ethernet/atheros/atlx/atl1.c next_to_use = 0; next_to_use 2267 drivers/net/ethernet/atheros/atlx/atl1.c buffer_info = &tpd_ring->buffer_info[next_to_use]; next_to_use 2278 drivers/net/ethernet/atheros/atlx/atl1.c if (++next_to_use == tpd_ring->count) next_to_use 2279 drivers/net/ethernet/atheros/atlx/atl1.c next_to_use = 0; next_to_use 2295 drivers/net/ethernet/atheros/atlx/atl1.c u16 next_to_use = (u16) atomic_read(&tpd_ring->next_to_use); next_to_use 2298 drivers/net/ethernet/atheros/atlx/atl1.c buffer_info = &tpd_ring->buffer_info[next_to_use]; next_to_use 2299 drivers/net/ethernet/atheros/atlx/atl1.c tpd = ATL1_TPD_DESC(&adapter->tpd_ring, next_to_use); next_to_use 2323 drivers/net/ethernet/atheros/atlx/atl1.c if (++next_to_use == tpd_ring->count) next_to_use 2324 drivers/net/ethernet/atheros/atlx/atl1.c next_to_use = 0; next_to_use 2334 drivers/net/ethernet/atheros/atlx/atl1.c atomic_set(&tpd_ring->next_to_use, next_to_use); next_to_use 2394 drivers/net/ethernet/atheros/atlx/atl1.c (u16) atomic_read(&tpd_ring->next_to_use)); next_to_use 608 drivers/net/ethernet/atheros/atlx/atl1.h atomic_t next_to_use; next_to_use 618 drivers/net/ethernet/atheros/atlx/atl1.h atomic_t next_to_use; next_to_use 629 drivers/net/ethernet/atheros/atlx/atl1.h u16 next_to_use; next_to_use 123 drivers/net/ethernet/freescale/enetc/enetc.c i = tx_ring->next_to_use; next_to_use 228 drivers/net/ethernet/freescale/enetc/enetc.c tx_ring->next_to_use = i; next_to_use 440 drivers/net/ethernet/freescale/enetc/enetc.c i = rx_ring->next_to_use; next_to_use 471 drivers/net/ethernet/freescale/enetc/enetc.c rx_ring->next_to_use = i; next_to_use 782 drivers/net/ethernet/freescale/enetc/enetc.c txr->next_to_use = 0; next_to_use 846 drivers/net/ethernet/freescale/enetc/enetc.c rxr->next_to_use = 0; next_to_use 907 drivers/net/ethernet/freescale/enetc/enetc.c tx_ring->next_to_use = 0; next_to_use 930 drivers/net/ethernet/freescale/enetc/enetc.c rx_ring->next_to_use = 0; next_to_use 961 drivers/net/ethernet/freescale/enetc/enetc.c cbdr->next_to_use = 0; next_to_use 1119 drivers/net/ethernet/freescale/enetc/enetc.c tx_ring->next_to_use = enetc_txbdr_rd(hw, idx, ENETC_TBPIR); next_to_use 60 drivers/net/ethernet/freescale/enetc/enetc.h int next_to_use; next_to_use 85 drivers/net/ethernet/freescale/enetc/enetc.h if (bdr->next_to_clean > bdr->next_to_use) next_to_use 86 drivers/net/ethernet/freescale/enetc/enetc.h return bdr->next_to_clean - bdr->next_to_use - 1; next_to_use 88 drivers/net/ethernet/freescale/enetc/enetc.h return bdr->bd_count + bdr->next_to_clean - bdr->next_to_use - 1; next_to_use 99 drivers/net/ethernet/freescale/enetc/enetc.h int next_to_use; next_to_use 31 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c return (r->next_to_clean - r->next_to_use - 1 + r->bd_count) % next_to_use 48 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c i = ring->next_to_use; next_to_use 55 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c ring->next_to_use = i; next_to_use 1274 drivers/net/ethernet/freescale/gianfar.c i = rx_queue->next_to_use; next_to_use 1302 drivers/net/ethernet/freescale/gianfar.c rx_queue->next_to_use = i; next_to_use 1344 drivers/net/ethernet/freescale/gianfar.c rx_queue->next_to_use = 0; next_to_use 1016 drivers/net/ethernet/freescale/gianfar.h u16 next_to_use; next_to_use 1278 drivers/net/ethernet/freescale/gianfar.h if (rxq->next_to_clean > rxq->next_to_use) next_to_use 1279 drivers/net/ethernet/freescale/gianfar.h return rxq->next_to_clean - rxq->next_to_use - 1; next_to_use 1281 drivers/net/ethernet/freescale/gianfar.h return rxq->rx_ring_size + rxq->next_to_clean - rxq->next_to_use - 1; next_to_use 1290 drivers/net/ethernet/freescale/gianfar.h i = rxq->next_to_use ? rxq->next_to_use - 1 : rxq->rx_ring_size - 1; next_to_use 188 drivers/net/ethernet/hisilicon/hns/hnae.c ring->next_to_use = 0; next_to_use 206 drivers/net/ethernet/hisilicon/hns/hnae.c assert(ring->next_to_use == 0); next_to_use 283 drivers/net/ethernet/hisilicon/hns/hnae.h int next_to_use; /* idx of next spare desc */ next_to_use 327 drivers/net/ethernet/hisilicon/hns/hnae.h ring_dist(ring, ring->next_to_clean, ring->next_to_use) - 1; next_to_use 332 drivers/net/ethernet/hisilicon/hns/hnae.h assert_is_ring_idx(ring, ring->next_to_use); next_to_use 335 drivers/net/ethernet/hisilicon/hns/hnae.h return ring->next_to_use == ring->next_to_clean; next_to_use 478 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c ring->next_to_use = 0; next_to_use 40 drivers/net/ethernet/hisilicon/hns/hns_enet.c struct hnae_desc *desc = &ring->desc[ring->next_to_use]; next_to_use 41 drivers/net/ethernet/hisilicon/hns/hns_enet.c struct hnae_desc_cb *desc_cb = &ring->desc_cb[ring->next_to_use]; next_to_use 126 drivers/net/ethernet/hisilicon/hns/hns_enet.c ring_ptr_move_fw(ring, next_to_use); next_to_use 148 drivers/net/ethernet/hisilicon/hns/hns_enet.c struct hnae_desc *desc = &ring->desc[ring->next_to_use]; next_to_use 149 drivers/net/ethernet/hisilicon/hns/hns_enet.c struct hnae_desc_cb *desc_cb = &ring->desc_cb[ring->next_to_use]; next_to_use 202 drivers/net/ethernet/hisilicon/hns/hns_enet.c ring_ptr_move_fw(ring, next_to_use); next_to_use 207 drivers/net/ethernet/hisilicon/hns/hns_enet.c ring_ptr_move_bw(ring, next_to_use); next_to_use 316 drivers/net/ethernet/hisilicon/hns/hns_enet.c int size, next_to_use; next_to_use 333 drivers/net/ethernet/hisilicon/hns/hns_enet.c next_to_use = ring->next_to_use; next_to_use 377 drivers/net/ethernet/hisilicon/hns/hns_enet.c while (ring->next_to_use != next_to_use) { next_to_use 379 drivers/net/ethernet/hisilicon/hns/hns_enet.c if (ring->next_to_use != next_to_use) next_to_use 381 drivers/net/ethernet/hisilicon/hns/hns_enet.c ring->desc_cb[ring->next_to_use].dma, next_to_use 382 drivers/net/ethernet/hisilicon/hns/hns_enet.c ring->desc_cb[ring->next_to_use].length, next_to_use 386 drivers/net/ethernet/hisilicon/hns/hns_enet.c ring->desc_cb[next_to_use].dma, next_to_use 387 drivers/net/ethernet/hisilicon/hns/hns_enet.c ring->desc_cb[next_to_use].length, next_to_use 673 drivers/net/ethernet/hisilicon/hns/hns_enet.c desc_cb = &ring->desc_cb[ring->next_to_use]; next_to_use 676 drivers/net/ethernet/hisilicon/hns/hns_enet.c hnae_reuse_buffer(ring, ring->next_to_use); next_to_use 684 drivers/net/ethernet/hisilicon/hns/hns_enet.c hnae_replace_buffer(ring, ring->next_to_use, &res_cbs); next_to_use 687 drivers/net/ethernet/hisilicon/hns/hns_enet.c ring_ptr_move_fw(ring, next_to_use); next_to_use 708 drivers/net/ethernet/hisilicon/hns/hns_enet.c int ntu = ring->next_to_use; next_to_use 932 drivers/net/ethernet/hisilicon/hns/hns_enet.c int u = ring->next_to_use; next_to_use 966 drivers/net/ethernet/hisilicon/hns/hns_enet.c ring->next_to_use, ring->next_to_clean); next_to_use 1041 drivers/net/ethernet/hisilicon/hns/hns_enet.c head = ring->next_to_use; /* ntu :soft setted ring position*/ next_to_use 2009 drivers/net/ethernet/hisilicon/hns/hns_enet.c i, h->qs[i]->tx_ring.next_to_use); next_to_use 2013 drivers/net/ethernet/hisilicon/hns/hns_enet.c i, h->qs[i]->rx_ring.next_to_use); next_to_use 124 drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h (crq->next_to_use = (crq->next_to_use + 1) % crq->desc_num) next_to_use 1110 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct hns3_desc_cb *desc_cb = &ring->desc_cb[ring->next_to_use]; next_to_use 1111 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct hns3_desc *desc = &ring->desc[ring->next_to_use]; next_to_use 1153 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring_ptr_move_fw(ring, next_to_use); next_to_use 1182 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring_ptr_move_fw(ring, next_to_use); next_to_use 1184 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c desc_cb = &ring->desc_cb[ring->next_to_use]; next_to_use 1185 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c desc = &ring->desc[ring->next_to_use]; next_to_use 1296 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (ring->next_to_use == next_to_use_orig) next_to_use 1300 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring_ptr_move_bw(ring, next_to_use); next_to_use 1303 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (ring->desc_cb[ring->next_to_use].type == DESC_TYPE_SKB) next_to_use 1305 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->desc_cb[ring->next_to_use].dma, next_to_use 1306 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->desc_cb[ring->next_to_use].length, next_to_use 1308 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c else if (ring->desc_cb[ring->next_to_use].length) next_to_use 1310 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->desc_cb[ring->next_to_use].dma, next_to_use 1311 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->desc_cb[ring->next_to_use].length, next_to_use 1314 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->desc_cb[ring->next_to_use].length = 0; next_to_use 1315 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->desc_cb[ring->next_to_use].dma = 0; next_to_use 1363 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c next_to_use_head = ring->next_to_use; next_to_use 1722 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c priv->tx_timeout_count, timeout_queue, tx_ring->next_to_use, next_to_use 2321 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c int u = ring->next_to_use; next_to_use 2346 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->next_to_use, ring->next_to_clean); next_to_use 2386 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c int ntu = ring->next_to_use; next_to_use 2399 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c desc_cb = &ring->desc_cb[ring->next_to_use]; next_to_use 2405 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_reuse_buffer(ring, ring->next_to_use); next_to_use 2418 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_replace_buffer(ring, ring->next_to_use, &res_cbs); next_to_use 2425 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring_ptr_move_fw(ring, next_to_use); next_to_use 3520 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->next_to_use = 0; next_to_use 3635 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->next_to_use = 0; next_to_use 4088 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c while (ring->next_to_clean != ring->next_to_use) { next_to_use 4100 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c while (ring->next_to_use != ring->next_to_clean) { next_to_use 4105 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (!ring->desc_cb[ring->next_to_use].reuse_flag) { next_to_use 4119 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_replace_buffer(ring, ring->next_to_use, &res_cbs); next_to_use 4121 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring_ptr_move_fw(ring, next_to_use); next_to_use 4136 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c while (ring->next_to_use != ring->next_to_clean) { next_to_use 4141 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (!ring->desc_cb[ring->next_to_use].reuse_flag) { next_to_use 4143 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c &ring->desc_cb[ring->next_to_use]); next_to_use 4144 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->desc_cb[ring->next_to_use].dma = 0; next_to_use 4147 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring_ptr_move_fw(ring, next_to_use); next_to_use 4194 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c priv->ring_data[i].ring->next_to_use = 0; next_to_use 4209 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c rx_ring->next_to_use = 0; next_to_use 417 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h int next_to_use; /* idx of next spare desc */ next_to_use 566 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h int end = READ_ONCE(ring->next_to_use); next_to_use 574 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h return ring->next_to_use == ring->next_to_clean; next_to_use 20 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c int ntu = ring->next_to_use; next_to_use 29 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c int ntu = ring->next_to_use; next_to_use 149 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c csq->next_to_use, csq->next_to_clean); next_to_use 166 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c return head == hw->cmq.csq.next_to_use; next_to_use 289 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c ntc = hw->cmq.csq.next_to_use; next_to_use 291 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c desc_to_use = &hw->cmq.csq.desc[hw->cmq.csq.next_to_use]; next_to_use 293 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c (hw->cmq.csq.next_to_use)++; next_to_use 294 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c if (hw->cmq.csq.next_to_use >= hw->cmq.csq.desc_num) next_to_use 295 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c hw->cmq.csq.next_to_use = 0; next_to_use 300 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c hclge_write_dev(hw, HCLGE_NIC_CSQ_TAIL_REG, hw->cmq.csq.next_to_use); next_to_use 415 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c hdev->hw.cmq.csq.next_to_use = 0; next_to_use 417 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c hdev->hw.cmq.crq.next_to_use = 0; next_to_use 33 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h int next_to_use; next_to_use 582 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c return tail == hw->cmq.crq.next_to_use; next_to_use 611 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c desc = &crq->desc[crq->next_to_use]; next_to_use 614 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c flag = le16_to_cpu(crq->desc[crq->next_to_use].flag); next_to_use 621 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c crq->desc[crq->next_to_use].flag = 0; next_to_use 761 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c crq->desc[crq->next_to_use].flag = 0; next_to_use 766 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c hclge_write_dev(&hdev->hw, HCLGE_NIC_CRQ_HEAD_REG, crq->next_to_use); next_to_use 22 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c int ntu = ring->next_to_use; next_to_use 33 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c int ntu = ring->next_to_use; next_to_use 54 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c csq->next_to_use, csq->next_to_clean); next_to_use 72 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c return head == hw->cmq.csq.next_to_use; next_to_use 255 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c ntc = hw->cmq.csq.next_to_use; next_to_use 258 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c desc_to_use = &hw->cmq.csq.desc[hw->cmq.csq.next_to_use]; next_to_use 260 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c (hw->cmq.csq.next_to_use)++; next_to_use 261 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c if (hw->cmq.csq.next_to_use == hw->cmq.csq.desc_num) next_to_use 262 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c hw->cmq.csq.next_to_use = 0; next_to_use 268 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c hw->cmq.csq.next_to_use); next_to_use 382 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c hdev->hw.cmq.csq.next_to_use = 0; next_to_use 384 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c hdev->hw.cmq.crq.next_to_use = 0; next_to_use 41 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h int next_to_use; next_to_use 142 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c return tail == hw->cmq.crq.next_to_use; next_to_use 165 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c desc = &crq->desc[crq->next_to_use]; next_to_use 168 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c flag = le16_to_cpu(crq->desc[crq->next_to_use].flag); next_to_use 175 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c crq->desc[crq->next_to_use].flag = 0; next_to_use 242 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c crq->desc[crq->next_to_use].flag = 0; next_to_use 248 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c crq->next_to_use); next_to_use 154 drivers/net/ethernet/intel/e1000/e1000.h unsigned int next_to_use; next_to_use 175 drivers/net/ethernet/intel/e1000/e1000.h unsigned int next_to_use; next_to_use 192 drivers/net/ethernet/intel/e1000/e1000.h unsigned int use = READ_ONCE((R)->next_to_use); \ next_to_use 1000 drivers/net/ethernet/intel/e1000/e1000_ethtool.c txdr->next_to_use = txdr->next_to_clean = 0; next_to_use 1058 drivers/net/ethernet/intel/e1000/e1000_ethtool.c rxdr->next_to_use = rxdr->next_to_clean = 0; next_to_use 1550 drivers/net/ethernet/intel/e1000/e1000_main.c txdr->next_to_use = 0; next_to_use 1742 drivers/net/ethernet/intel/e1000/e1000_main.c rxdr->next_to_use = 0; next_to_use 1998 drivers/net/ethernet/intel/e1000/e1000_main.c tx_ring->next_to_use = 0; next_to_use 2123 drivers/net/ethernet/intel/e1000/e1000_main.c rx_ring->next_to_use = 0; next_to_use 2734 drivers/net/ethernet/intel/e1000/e1000_main.c i = tx_ring->next_to_use; next_to_use 2754 drivers/net/ethernet/intel/e1000/e1000_main.c tx_ring->next_to_use = i; next_to_use 2793 drivers/net/ethernet/intel/e1000/e1000_main.c i = tx_ring->next_to_use; next_to_use 2811 drivers/net/ethernet/intel/e1000/e1000_main.c tx_ring->next_to_use = i; next_to_use 2832 drivers/net/ethernet/intel/e1000/e1000_main.c i = tx_ring->next_to_use; next_to_use 2997 drivers/net/ethernet/intel/e1000/e1000_main.c i = tx_ring->next_to_use; next_to_use 3023 drivers/net/ethernet/intel/e1000/e1000_main.c tx_ring->next_to_use = i; next_to_use 3220 drivers/net/ethernet/intel/e1000/e1000_main.c first = tx_ring->next_to_use; next_to_use 3271 drivers/net/ethernet/intel/e1000/e1000_main.c writel(tx_ring->next_to_use, hw->hw_addr + tx_ring->tdt); next_to_use 3276 drivers/net/ethernet/intel/e1000/e1000_main.c tx_ring->next_to_use = first; next_to_use 3408 drivers/net/ethernet/intel/e1000/e1000_main.c if (i == tx_ring->next_to_use && i == tx_ring->next_to_clean) next_to_use 3410 drivers/net/ethernet/intel/e1000/e1000_main.c else if (i == tx_ring->next_to_use) next_to_use 3450 drivers/net/ethernet/intel/e1000/e1000_main.c if (i == rx_ring->next_to_use) next_to_use 3912 drivers/net/ethernet/intel/e1000/e1000_main.c tx_ring->next_to_use, next_to_use 4496 drivers/net/ethernet/intel/e1000/e1000_main.c i = rx_ring->next_to_use; next_to_use 4531 drivers/net/ethernet/intel/e1000/e1000_main.c if (likely(rx_ring->next_to_use != i)) { next_to_use 4532 drivers/net/ethernet/intel/e1000/e1000_main.c rx_ring->next_to_use = i; next_to_use 4561 drivers/net/ethernet/intel/e1000/e1000_main.c i = rx_ring->next_to_use; next_to_use 4646 drivers/net/ethernet/intel/e1000/e1000_main.c if (likely(rx_ring->next_to_use != i)) { next_to_use 4647 drivers/net/ethernet/intel/e1000/e1000_main.c rx_ring->next_to_use = i; next_to_use 156 drivers/net/ethernet/intel/e1000e/e1000.h u16 next_to_use; next_to_use 1192 drivers/net/ethernet/intel/e1000e/ethtool.c tx_ring->next_to_use = 0; next_to_use 1252 drivers/net/ethernet/intel/e1000e/ethtool.c rx_ring->next_to_use = 0; next_to_use 247 drivers/net/ethernet/intel/e1000e/netdev.c 0, tx_ring->next_to_use, tx_ring->next_to_clean, next_to_use 294 drivers/net/ethernet/intel/e1000e/netdev.c if (i == tx_ring->next_to_use && i == tx_ring->next_to_clean) next_to_use 296 drivers/net/ethernet/intel/e1000e/netdev.c else if (i == tx_ring->next_to_use) next_to_use 324 drivers/net/ethernet/intel/e1000e/netdev.c 0, rx_ring->next_to_use, rx_ring->next_to_clean); next_to_use 368 drivers/net/ethernet/intel/e1000e/netdev.c if (i == rx_ring->next_to_use) next_to_use 434 drivers/net/ethernet/intel/e1000e/netdev.c if (i == rx_ring->next_to_use) next_to_use 474 drivers/net/ethernet/intel/e1000e/netdev.c if (ring->next_to_clean > ring->next_to_use) next_to_use 475 drivers/net/ethernet/intel/e1000e/netdev.c return ring->next_to_clean - ring->next_to_use - 1; next_to_use 477 drivers/net/ethernet/intel/e1000e/netdev.c return ring->count + ring->next_to_clean - ring->next_to_use - 1; next_to_use 656 drivers/net/ethernet/intel/e1000e/netdev.c i = rx_ring->next_to_use; next_to_use 705 drivers/net/ethernet/intel/e1000e/netdev.c rx_ring->next_to_use = i; next_to_use 724 drivers/net/ethernet/intel/e1000e/netdev.c i = rx_ring->next_to_use; next_to_use 807 drivers/net/ethernet/intel/e1000e/netdev.c rx_ring->next_to_use = i; next_to_use 828 drivers/net/ethernet/intel/e1000e/netdev.c i = rx_ring->next_to_use; next_to_use 875 drivers/net/ethernet/intel/e1000e/netdev.c if (likely(rx_ring->next_to_use != i)) { next_to_use 876 drivers/net/ethernet/intel/e1000e/netdev.c rx_ring->next_to_use = i; next_to_use 1145 drivers/net/ethernet/intel/e1000e/netdev.c readl(tx_ring->head), readl(tx_ring->tail), tx_ring->next_to_use, next_to_use 1251 drivers/net/ethernet/intel/e1000e/netdev.c if (i == tx_ring->next_to_use) next_to_use 1731 drivers/net/ethernet/intel/e1000e/netdev.c rx_ring->next_to_use = 0; next_to_use 2340 drivers/net/ethernet/intel/e1000e/netdev.c tx_ring->next_to_use = 0; next_to_use 2387 drivers/net/ethernet/intel/e1000e/netdev.c rx_ring->next_to_use = 0; next_to_use 2425 drivers/net/ethernet/intel/e1000e/netdev.c tx_ring->next_to_use = 0; next_to_use 3807 drivers/net/ethernet/intel/e1000e/netdev.c BUG_ON(tdt != tx_ring->next_to_use); next_to_use 3808 drivers/net/ethernet/intel/e1000e/netdev.c tx_desc = E1000_TX_DESC(*tx_ring, tx_ring->next_to_use); next_to_use 3815 drivers/net/ethernet/intel/e1000e/netdev.c tx_ring->next_to_use++; next_to_use 3816 drivers/net/ethernet/intel/e1000e/netdev.c if (tx_ring->next_to_use == tx_ring->count) next_to_use 3817 drivers/net/ethernet/intel/e1000e/netdev.c tx_ring->next_to_use = 0; next_to_use 3818 drivers/net/ethernet/intel/e1000e/netdev.c ew32(TDT(0), tx_ring->next_to_use); next_to_use 5475 drivers/net/ethernet/intel/e1000e/netdev.c i = tx_ring->next_to_use; next_to_use 5495 drivers/net/ethernet/intel/e1000e/netdev.c tx_ring->next_to_use = i; next_to_use 5532 drivers/net/ethernet/intel/e1000e/netdev.c i = tx_ring->next_to_use; next_to_use 5549 drivers/net/ethernet/intel/e1000e/netdev.c tx_ring->next_to_use = i; next_to_use 5565 drivers/net/ethernet/intel/e1000e/netdev.c i = tx_ring->next_to_use; next_to_use 5685 drivers/net/ethernet/intel/e1000e/netdev.c i = tx_ring->next_to_use; next_to_use 5713 drivers/net/ethernet/intel/e1000e/netdev.c tx_ring->next_to_use = i; next_to_use 5869 drivers/net/ethernet/intel/e1000e/netdev.c first = tx_ring->next_to_use; next_to_use 5923 drivers/net/ethernet/intel/e1000e/netdev.c tx_ring->next_to_use); next_to_use 5925 drivers/net/ethernet/intel/e1000e/netdev.c writel(tx_ring->next_to_use, tx_ring->tail); next_to_use 5930 drivers/net/ethernet/intel/e1000e/netdev.c tx_ring->next_to_use = first; next_to_use 129 drivers/net/ethernet/intel/fm10k/fm10k.h u16 next_to_use; next_to_use 424 drivers/net/ethernet/intel/fm10k/fm10k.h s16 unused = ring->next_to_clean - ring->next_to_use - 1; next_to_use 116 drivers/net/ethernet/intel/fm10k/fm10k_main.c u16 i = rx_ring->next_to_use; next_to_use 152 drivers/net/ethernet/intel/fm10k/fm10k_main.c if (rx_ring->next_to_use != i) { next_to_use 154 drivers/net/ethernet/intel/fm10k/fm10k_main.c rx_ring->next_to_use = i; next_to_use 786 drivers/net/ethernet/intel/fm10k/fm10k_main.c tx_desc = FM10K_TX_DESC(tx_ring, tx_ring->next_to_use); next_to_use 880 drivers/net/ethernet/intel/fm10k/fm10k_main.c tx_desc = FM10K_TX_DESC(tx_ring, tx_ring->next_to_use); next_to_use 954 drivers/net/ethernet/intel/fm10k/fm10k_main.c u16 i = tx_ring->next_to_use; next_to_use 1034 drivers/net/ethernet/intel/fm10k/fm10k_main.c tx_ring->next_to_use = i; next_to_use 1059 drivers/net/ethernet/intel/fm10k/fm10k_main.c tx_ring->next_to_use = i; next_to_use 1088 drivers/net/ethernet/intel/fm10k/fm10k_main.c first = &tx_ring->tx_buffer[tx_ring->next_to_use]; next_to_use 1131 drivers/net/ethernet/intel/fm10k/fm10k_main.c tail = ring->next_to_use; next_to_use 1300 drivers/net/ethernet/intel/fm10k/fm10k_main.c tx_ring->next_to_use, i); next_to_use 281 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c rx_ring->next_to_use = 0; next_to_use 652 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (tx_ring->next_to_use != tx_ring->next_to_clean) { next_to_use 897 drivers/net/ethernet/intel/fm10k/fm10k_pci.c ring->next_to_use = 0; next_to_use 1011 drivers/net/ethernet/intel/fm10k/fm10k_pci.c ring->next_to_use = 0; next_to_use 354 drivers/net/ethernet/intel/i40e/i40e_adminq.c hw->aq.asq.next_to_use = 0; next_to_use 413 drivers/net/ethernet/intel/i40e/i40e_adminq.c hw->aq.arq.next_to_use = 0; next_to_use 715 drivers/net/ethernet/intel/i40e/i40e_adminq.c return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use; next_to_use 763 drivers/net/ethernet/intel/i40e/i40e_adminq.c details = I40E_ADMINQ_DETAILS(hw->aq.asq, hw->aq.asq.next_to_use); next_to_use 818 drivers/net/ethernet/intel/i40e/i40e_adminq.c desc_on_ring = I40E_ADMINQ_DESC(hw->aq.asq, hw->aq.asq.next_to_use); next_to_use 825 drivers/net/ethernet/intel/i40e/i40e_adminq.c dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]); next_to_use 843 drivers/net/ethernet/intel/i40e/i40e_adminq.c (hw->aq.asq.next_to_use)++; next_to_use 844 drivers/net/ethernet/intel/i40e/i40e_adminq.c if (hw->aq.asq.next_to_use == hw->aq.asq.count) next_to_use 845 drivers/net/ethernet/intel/i40e/i40e_adminq.c hw->aq.asq.next_to_use = 0; next_to_use 847 drivers/net/ethernet/intel/i40e/i40e_adminq.c wr32(hw, hw->aq.asq.tail, hw->aq.asq.next_to_use); next_to_use 1025 drivers/net/ethernet/intel/i40e/i40e_adminq.c hw->aq.arq.next_to_use = ntu; next_to_use 1041 drivers/net/ethernet/intel/i40e/i40e_adminq.c hw->aq.asq.next_to_use = 0; next_to_use 1046 drivers/net/ethernet/intel/i40e/i40e_adminq.c hw->aq.arq.next_to_use = 0; next_to_use 30 drivers/net/ethernet/intel/i40e/i40e_adminq.h u16 next_to_use; next_to_use 258 drivers/net/ethernet/intel/i40e/i40e_debugfs.c rx_ring->next_to_use, next_to_use 298 drivers/net/ethernet/intel/i40e/i40e_debugfs.c tx_ring->next_to_use, next_to_use 2120 drivers/net/ethernet/intel/i40e/i40e_ethtool.c rx_rings[i].next_to_use = 0; next_to_use 367 drivers/net/ethernet/intel/i40e/i40e_main.c head, tx_ring->next_to_use, next_to_use 30 drivers/net/ethernet/intel/i40e/i40e_txrx.c i = tx_ring->next_to_use; next_to_use 34 drivers/net/ethernet/intel/i40e/i40e_txrx.c tx_ring->next_to_use = (i < tx_ring->count) ? i : 0; next_to_use 122 drivers/net/ethernet/intel/i40e/i40e_txrx.c i = tx_ring->next_to_use; next_to_use 127 drivers/net/ethernet/intel/i40e/i40e_txrx.c i = tx_ring->next_to_use; next_to_use 131 drivers/net/ethernet/intel/i40e/i40e_txrx.c tx_ring->next_to_use = ((i + 1) < tx_ring->count) ? i + 1 : 0; next_to_use 156 drivers/net/ethernet/intel/i40e/i40e_txrx.c writel(tx_ring->next_to_use, tx_ring->tail); next_to_use 657 drivers/net/ethernet/intel/i40e/i40e_txrx.c tx_ring->next_to_use = 0; next_to_use 703 drivers/net/ethernet/intel/i40e/i40e_txrx.c tail = ring->next_to_use; next_to_use 1328 drivers/net/ethernet/intel/i40e/i40e_txrx.c tx_ring->next_to_use = 0; next_to_use 1399 drivers/net/ethernet/intel/i40e/i40e_txrx.c rx_ring->next_to_use = 0; next_to_use 1459 drivers/net/ethernet/intel/i40e/i40e_txrx.c rx_ring->next_to_use = 0; next_to_use 1485 drivers/net/ethernet/intel/i40e/i40e_txrx.c rx_ring->next_to_use = val; next_to_use 1570 drivers/net/ethernet/intel/i40e/i40e_txrx.c u16 ntu = rx_ring->next_to_use; next_to_use 1611 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (rx_ring->next_to_use != ntu) next_to_use 1617 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (rx_ring->next_to_use != ntu) next_to_use 2272 drivers/net/ethernet/intel/i40e/i40e_txrx.c writel_relaxed(xdp_ring->next_to_use, xdp_ring->tail); next_to_use 2749 drivers/net/ethernet/intel/i40e/i40e_txrx.c i = tx_ring->next_to_use; next_to_use 2753 drivers/net/ethernet/intel/i40e/i40e_txrx.c tx_ring->next_to_use = (i < tx_ring->count) ? i : 0; next_to_use 3208 drivers/net/ethernet/intel/i40e/i40e_txrx.c int i = tx_ring->next_to_use; next_to_use 3218 drivers/net/ethernet/intel/i40e/i40e_txrx.c tx_ring->next_to_use = (i < tx_ring->count) ? i : 0; next_to_use 3355 drivers/net/ethernet/intel/i40e/i40e_txrx.c u16 i = tx_ring->next_to_use; next_to_use 3438 drivers/net/ethernet/intel/i40e/i40e_txrx.c tx_ring->next_to_use = i; next_to_use 3493 drivers/net/ethernet/intel/i40e/i40e_txrx.c tx_ring->next_to_use = i; next_to_use 3506 drivers/net/ethernet/intel/i40e/i40e_txrx.c u16 i = xdp_ring->next_to_use; next_to_use 3546 drivers/net/ethernet/intel/i40e/i40e_txrx.c xdp_ring->next_to_use = i; next_to_use 3599 drivers/net/ethernet/intel/i40e/i40e_txrx.c first = &tx_ring->tx_bi[tx_ring->next_to_use]; next_to_use 379 drivers/net/ethernet/intel/i40e/i40e_txrx.h u16 next_to_use; next_to_use 39 drivers/net/ethernet/intel/i40e/i40e_type.h ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ next_to_use 40 drivers/net/ethernet/intel/i40e/i40e_type.h (R)->next_to_clean - (R)->next_to_use - 1) next_to_use 318 drivers/net/ethernet/intel/i40e/i40e_xsk.c u16 ntu = rx_ring->next_to_use; next_to_use 352 drivers/net/ethernet/intel/i40e/i40e_xsk.c if (rx_ring->next_to_use != ntu) next_to_use 630 drivers/net/ethernet/intel/i40e/i40e_xsk.c if (failure || rx_ring->next_to_clean == rx_ring->next_to_use) next_to_use 670 drivers/net/ethernet/intel/i40e/i40e_xsk.c tx_bi = &xdp_ring->tx_bi[xdp_ring->next_to_use]; next_to_use 673 drivers/net/ethernet/intel/i40e/i40e_xsk.c tx_desc = I40E_TX_DESC(xdp_ring, xdp_ring->next_to_use); next_to_use 680 drivers/net/ethernet/intel/i40e/i40e_xsk.c xdp_ring->next_to_use++; next_to_use 681 drivers/net/ethernet/intel/i40e/i40e_xsk.c if (xdp_ring->next_to_use == xdp_ring->count) next_to_use 682 drivers/net/ethernet/intel/i40e/i40e_xsk.c xdp_ring->next_to_use = 0; next_to_use 843 drivers/net/ethernet/intel/i40e/i40e_xsk.c u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; next_to_use 119 drivers/net/ethernet/intel/iavf/iavf.h ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ next_to_use 120 drivers/net/ethernet/intel/iavf/iavf.h (R)->next_to_clean - (R)->next_to_use - 1) next_to_use 341 drivers/net/ethernet/intel/iavf/iavf_adminq.c hw->aq.asq.next_to_use = 0; next_to_use 400 drivers/net/ethernet/intel/iavf/iavf_adminq.c hw->aq.arq.next_to_use = 0; next_to_use 618 drivers/net/ethernet/intel/iavf/iavf_adminq.c return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use; next_to_use 665 drivers/net/ethernet/intel/iavf/iavf_adminq.c details = IAVF_ADMINQ_DETAILS(hw->aq.asq, hw->aq.asq.next_to_use); next_to_use 720 drivers/net/ethernet/intel/iavf/iavf_adminq.c desc_on_ring = IAVF_ADMINQ_DESC(hw->aq.asq, hw->aq.asq.next_to_use); next_to_use 727 drivers/net/ethernet/intel/iavf/iavf_adminq.c dma_buff = &hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]; next_to_use 745 drivers/net/ethernet/intel/iavf/iavf_adminq.c (hw->aq.asq.next_to_use)++; next_to_use 746 drivers/net/ethernet/intel/iavf/iavf_adminq.c if (hw->aq.asq.next_to_use == hw->aq.asq.count) next_to_use 747 drivers/net/ethernet/intel/iavf/iavf_adminq.c hw->aq.asq.next_to_use = 0; next_to_use 749 drivers/net/ethernet/intel/iavf/iavf_adminq.c wr32(hw, hw->aq.asq.tail, hw->aq.asq.next_to_use); next_to_use 926 drivers/net/ethernet/intel/iavf/iavf_adminq.c hw->aq.arq.next_to_use = ntu; next_to_use 30 drivers/net/ethernet/intel/iavf/iavf_adminq.h u16 next_to_use; next_to_use 76 drivers/net/ethernet/intel/iavf/iavf_txrx.c tx_ring->next_to_use = 0; next_to_use 640 drivers/net/ethernet/intel/iavf/iavf_txrx.c tx_ring->next_to_use = 0; next_to_use 705 drivers/net/ethernet/intel/iavf/iavf_txrx.c rx_ring->next_to_use = 0; next_to_use 761 drivers/net/ethernet/intel/iavf/iavf_txrx.c rx_ring->next_to_use = 0; next_to_use 777 drivers/net/ethernet/intel/iavf/iavf_txrx.c rx_ring->next_to_use = val; next_to_use 881 drivers/net/ethernet/intel/iavf/iavf_txrx.c u16 ntu = rx_ring->next_to_use; next_to_use 922 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (rx_ring->next_to_use != ntu) next_to_use 928 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (rx_ring->next_to_use != ntu) next_to_use 2130 drivers/net/ethernet/intel/iavf/iavf_txrx.c int i = tx_ring->next_to_use; next_to_use 2140 drivers/net/ethernet/intel/iavf/iavf_txrx.c tx_ring->next_to_use = (i < tx_ring->count) ? i : 0; next_to_use 2275 drivers/net/ethernet/intel/iavf/iavf_txrx.c u16 i = tx_ring->next_to_use; next_to_use 2355 drivers/net/ethernet/intel/iavf/iavf_txrx.c tx_ring->next_to_use = i; next_to_use 2398 drivers/net/ethernet/intel/iavf/iavf_txrx.c tx_ring->next_to_use = i; next_to_use 2448 drivers/net/ethernet/intel/iavf/iavf_txrx.c first = &tx_ring->tx_bi[tx_ring->next_to_use]; next_to_use 352 drivers/net/ethernet/intel/iavf/iavf_txrx.h u16 next_to_use; next_to_use 29 drivers/net/ethernet/intel/iavf/iavf_type.h ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ next_to_use 30 drivers/net/ethernet/intel/iavf/iavf_type.h (R)->next_to_clean - (R)->next_to_use - 1) next_to_use 337 drivers/net/ethernet/intel/ice/ice_controlq.c cq->sq.next_to_use = 0; next_to_use 396 drivers/net/ethernet/intel/ice/ice_controlq.c cq->rq.next_to_use = 0; next_to_use 825 drivers/net/ethernet/intel/ice/ice_controlq.c return rd32(hw, cq->sq.head) == cq->sq.next_to_use; next_to_use 896 drivers/net/ethernet/intel/ice/ice_controlq.c details = ICE_CTL_Q_DETAILS(cq->sq, cq->sq.next_to_use); next_to_use 915 drivers/net/ethernet/intel/ice/ice_controlq.c desc_on_ring = ICE_CTL_Q_DESC(cq->sq, cq->sq.next_to_use); next_to_use 922 drivers/net/ethernet/intel/ice/ice_controlq.c dma_buf = &cq->sq.r.sq_bi[cq->sq.next_to_use]; next_to_use 942 drivers/net/ethernet/intel/ice/ice_controlq.c (cq->sq.next_to_use)++; next_to_use 943 drivers/net/ethernet/intel/ice/ice_controlq.c if (cq->sq.next_to_use == cq->sq.count) next_to_use 944 drivers/net/ethernet/intel/ice/ice_controlq.c cq->sq.next_to_use = 0; next_to_use 945 drivers/net/ethernet/intel/ice/ice_controlq.c wr32(hw, cq->sq.tail, cq->sq.next_to_use); next_to_use 1112 drivers/net/ethernet/intel/ice/ice_controlq.c cq->rq.next_to_use = ntu; next_to_use 17 drivers/net/ethernet/intel/ice/ice_controlq.h (u16)((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ next_to_use 18 drivers/net/ethernet/intel/ice/ice_controlq.h (R)->next_to_clean - (R)->next_to_use - 1) next_to_use 51 drivers/net/ethernet/intel/ice/ice_controlq.h u16 next_to_use; next_to_use 562 drivers/net/ethernet/intel/ice/ice_ethtool.c tx_desc = ICE_TX_DESC(tx_ring, tx_ring->next_to_use); next_to_use 563 drivers/net/ethernet/intel/ice/ice_ethtool.c tx_buf = &tx_ring->tx_buf[tx_ring->next_to_use]; next_to_use 587 drivers/net/ethernet/intel/ice/ice_ethtool.c tx_ring->next_to_use++; next_to_use 588 drivers/net/ethernet/intel/ice/ice_ethtool.c if (tx_ring->next_to_use >= tx_ring->count) next_to_use 589 drivers/net/ethernet/intel/ice/ice_ethtool.c tx_ring->next_to_use = 0; next_to_use 591 drivers/net/ethernet/intel/ice/ice_ethtool.c writel_relaxed(tx_ring->next_to_use, tx_ring->tail); next_to_use 2732 drivers/net/ethernet/intel/ice/ice_ethtool.c rx_rings[i].next_to_use = 0; next_to_use 59 drivers/net/ethernet/intel/ice/ice_main.c tail = ring->next_to_use; next_to_use 4697 drivers/net/ethernet/intel/ice/ice_main.c head, tx_ring->next_to_use, val); next_to_use 67 drivers/net/ethernet/intel/ice/ice_txrx.c tx_ring->next_to_use = 0; next_to_use 252 drivers/net/ethernet/intel/ice/ice_txrx.c tx_ring->next_to_use = 0; next_to_use 310 drivers/net/ethernet/intel/ice/ice_txrx.c rx_ring->next_to_use = 0; next_to_use 364 drivers/net/ethernet/intel/ice/ice_txrx.c rx_ring->next_to_use = 0; next_to_use 381 drivers/net/ethernet/intel/ice/ice_txrx.c u16 prev_ntu = rx_ring->next_to_use; next_to_use 383 drivers/net/ethernet/intel/ice/ice_txrx.c rx_ring->next_to_use = val; next_to_use 470 drivers/net/ethernet/intel/ice/ice_txrx.c u16 ntu = rx_ring->next_to_use; next_to_use 512 drivers/net/ethernet/intel/ice/ice_txrx.c if (rx_ring->next_to_use != ntu) next_to_use 1594 drivers/net/ethernet/intel/ice/ice_txrx.c u16 i = tx_ring->next_to_use; next_to_use 1707 drivers/net/ethernet/intel/ice/ice_txrx.c tx_ring->next_to_use = i; next_to_use 1730 drivers/net/ethernet/intel/ice/ice_txrx.c tx_ring->next_to_use = i; next_to_use 2138 drivers/net/ethernet/intel/ice/ice_txrx.c first = &tx_ring->tx_buf[tx_ring->next_to_use]; next_to_use 2168 drivers/net/ethernet/intel/ice/ice_txrx.c int i = tx_ring->next_to_use; next_to_use 2173 drivers/net/ethernet/intel/ice/ice_txrx.c tx_ring->next_to_use = (i < tx_ring->count) ? i : 0; next_to_use 41 drivers/net/ethernet/intel/ice/ice_txrx.h ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ next_to_use 42 drivers/net/ethernet/intel/ice/ice_txrx.h (R)->next_to_clean - (R)->next_to_use - 1) next_to_use 188 drivers/net/ethernet/intel/ice/ice_txrx.h u16 next_to_use; next_to_use 274 drivers/net/ethernet/intel/igb/igb.h u16 next_to_use; next_to_use 377 drivers/net/ethernet/intel/igb/igb.h if (ring->next_to_clean > ring->next_to_use) next_to_use 378 drivers/net/ethernet/intel/igb/igb.h return ring->next_to_clean - ring->next_to_use - 1; next_to_use 380 drivers/net/ethernet/intel/igb/igb.h return ring->count + ring->next_to_clean - ring->next_to_use - 1; next_to_use 401 drivers/net/ethernet/intel/igb/igb_main.c n, tx_ring->next_to_use, tx_ring->next_to_clean, next_to_use 438 drivers/net/ethernet/intel/igb/igb_main.c if (i == tx_ring->next_to_use && next_to_use 441 drivers/net/ethernet/intel/igb/igb_main.c else if (i == tx_ring->next_to_use) next_to_use 473 drivers/net/ethernet/intel/igb/igb_main.c n, rx_ring->next_to_use, rx_ring->next_to_clean); next_to_use 519 drivers/net/ethernet/intel/igb/igb_main.c if (i == rx_ring->next_to_use) next_to_use 4058 drivers/net/ethernet/intel/igb/igb_main.c tx_ring->next_to_use = 0; next_to_use 4209 drivers/net/ethernet/intel/igb/igb_main.c rx_ring->next_to_use = 0; next_to_use 4625 drivers/net/ethernet/intel/igb/igb_main.c while (i != tx_ring->next_to_use) { next_to_use 4673 drivers/net/ethernet/intel/igb/igb_main.c tx_ring->next_to_use = 0; next_to_use 4768 drivers/net/ethernet/intel/igb/igb_main.c rx_ring->next_to_use = 0; next_to_use 5655 drivers/net/ethernet/intel/igb/igb_main.c u16 i = tx_ring->next_to_use; next_to_use 5661 drivers/net/ethernet/intel/igb/igb_main.c tx_ring->next_to_use = (i < tx_ring->count) ? i : 0; next_to_use 5927 drivers/net/ethernet/intel/igb/igb_main.c u16 i = tx_ring->next_to_use; next_to_use 6017 drivers/net/ethernet/intel/igb/igb_main.c tx_ring->next_to_use = i; next_to_use 6055 drivers/net/ethernet/intel/igb/igb_main.c tx_ring->next_to_use = i; next_to_use 6087 drivers/net/ethernet/intel/igb/igb_main.c first = &tx_ring->tx_buffer_info[tx_ring->next_to_use]; next_to_use 7872 drivers/net/ethernet/intel/igb/igb_main.c tx_ring->next_to_use, next_to_use 8448 drivers/net/ethernet/intel/igb/igb_main.c u16 i = rx_ring->next_to_use; next_to_use 8492 drivers/net/ethernet/intel/igb/igb_main.c if (rx_ring->next_to_use != i) { next_to_use 8494 drivers/net/ethernet/intel/igb/igb_main.c rx_ring->next_to_use = i; next_to_use 132 drivers/net/ethernet/intel/igbvf/igbvf.h u16 next_to_use; next_to_use 70 drivers/net/ethernet/intel/igbvf/netdev.c if (ring->next_to_clean > ring->next_to_use) next_to_use 71 drivers/net/ethernet/intel/igbvf/netdev.c return ring->next_to_clean - ring->next_to_use - 1; next_to_use 73 drivers/net/ethernet/intel/igbvf/netdev.c return ring->count + ring->next_to_clean - ring->next_to_use - 1; next_to_use 145 drivers/net/ethernet/intel/igbvf/netdev.c i = rx_ring->next_to_use; next_to_use 218 drivers/net/ethernet/intel/igbvf/netdev.c if (rx_ring->next_to_use != i) { next_to_use 219 drivers/net/ethernet/intel/igbvf/netdev.c rx_ring->next_to_use = i; next_to_use 435 drivers/net/ethernet/intel/igbvf/netdev.c tx_ring->next_to_use = 0; next_to_use 475 drivers/net/ethernet/intel/igbvf/netdev.c rx_ring->next_to_use = 0; next_to_use 515 drivers/net/ethernet/intel/igbvf/netdev.c tx_ring->next_to_use = 0; next_to_use 599 drivers/net/ethernet/intel/igbvf/netdev.c rx_ring->next_to_use = 0; next_to_use 1977 drivers/net/ethernet/intel/igbvf/netdev.c u16 i = tx_ring->next_to_use; next_to_use 1983 drivers/net/ethernet/intel/igbvf/netdev.c tx_ring->next_to_use = (i < tx_ring->count) ? i : 0; next_to_use 2163 drivers/net/ethernet/intel/igbvf/netdev.c i = tx_ring->next_to_use; next_to_use 2258 drivers/net/ethernet/intel/igbvf/netdev.c i = tx_ring->next_to_use; next_to_use 2280 drivers/net/ethernet/intel/igbvf/netdev.c tx_ring->next_to_use = i; next_to_use 2325 drivers/net/ethernet/intel/igbvf/netdev.c first = tx_ring->next_to_use; next_to_use 2352 drivers/net/ethernet/intel/igbvf/netdev.c tx_ring->next_to_use = first; next_to_use 264 drivers/net/ethernet/intel/igc/igc.h u16 next_to_use; next_to_use 440 drivers/net/ethernet/intel/igc/igc.h u16 ntu = ring->next_to_use; next_to_use 224 drivers/net/ethernet/intel/igc/igc_main.c while (i != tx_ring->next_to_use) { next_to_use 272 drivers/net/ethernet/intel/igc/igc_main.c tx_ring->next_to_use = 0; next_to_use 315 drivers/net/ethernet/intel/igc/igc_main.c tx_ring->next_to_use = 0; next_to_use 392 drivers/net/ethernet/intel/igc/igc_main.c rx_ring->next_to_use = 0; next_to_use 475 drivers/net/ethernet/intel/igc/igc_main.c rx_ring->next_to_use = 0; next_to_use 546 drivers/net/ethernet/intel/igc/igc_main.c ring->next_to_use = 0; next_to_use 804 drivers/net/ethernet/intel/igc/igc_main.c u16 i = tx_ring->next_to_use; next_to_use 810 drivers/net/ethernet/intel/igc/igc_main.c tx_ring->next_to_use = (i < tx_ring->count) ? i : 0; next_to_use 960 drivers/net/ethernet/intel/igc/igc_main.c u16 i = tx_ring->next_to_use; next_to_use 1053 drivers/net/ethernet/intel/igc/igc_main.c tx_ring->next_to_use = i; next_to_use 1091 drivers/net/ethernet/intel/igc/igc_main.c tx_ring->next_to_use = i; next_to_use 1122 drivers/net/ethernet/intel/igc/igc_main.c first = &tx_ring->tx_buffer_info[tx_ring->next_to_use]; next_to_use 1495 drivers/net/ethernet/intel/igc/igc_main.c u16 i = rx_ring->next_to_use; next_to_use 1540 drivers/net/ethernet/intel/igc/igc_main.c if (rx_ring->next_to_use != i) { next_to_use 1542 drivers/net/ethernet/intel/igc/igc_main.c rx_ring->next_to_use = i; next_to_use 1828 drivers/net/ethernet/intel/igc/igc_main.c tx_ring->next_to_use, next_to_use 94 drivers/net/ethernet/intel/ixgb/ixgb.h unsigned int next_to_use; next_to_use 102 drivers/net/ethernet/intel/ixgb/ixgb.h ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ next_to_use 103 drivers/net/ethernet/intel/ixgb/ixgb.h (R)->next_to_clean - (R)->next_to_use - 1) next_to_use 690 drivers/net/ethernet/intel/ixgb/ixgb_main.c txdr->next_to_use = 0; next_to_use 775 drivers/net/ethernet/intel/ixgb/ixgb_main.c rxdr->next_to_use = 0; next_to_use 942 drivers/net/ethernet/intel/ixgb/ixgb_main.c tx_ring->next_to_use = 0; next_to_use 1014 drivers/net/ethernet/intel/ixgb/ixgb_main.c rx_ring->next_to_use = 0; next_to_use 1216 drivers/net/ethernet/intel/ixgb/ixgb_main.c i = adapter->tx_ring.next_to_use; next_to_use 1240 drivers/net/ethernet/intel/ixgb/ixgb_main.c adapter->tx_ring.next_to_use = i; next_to_use 1260 drivers/net/ethernet/intel/ixgb/ixgb_main.c i = adapter->tx_ring.next_to_use; next_to_use 1278 drivers/net/ethernet/intel/ixgb/ixgb_main.c adapter->tx_ring.next_to_use = i; next_to_use 1302 drivers/net/ethernet/intel/ixgb/ixgb_main.c i = tx_ring->next_to_use; next_to_use 1411 drivers/net/ethernet/intel/ixgb/ixgb_main.c i = tx_ring->next_to_use; next_to_use 1435 drivers/net/ethernet/intel/ixgb/ixgb_main.c tx_ring->next_to_use = i; next_to_use 1506 drivers/net/ethernet/intel/ixgb/ixgb_main.c first = adapter->tx_ring.next_to_use; next_to_use 1529 drivers/net/ethernet/intel/ixgb/ixgb_main.c adapter->tx_ring.next_to_use = first; next_to_use 1855 drivers/net/ethernet/intel/ixgb/ixgb_main.c tx_ring->next_to_use, next_to_use 2063 drivers/net/ethernet/intel/ixgb/ixgb_main.c i = rx_ring->next_to_use; next_to_use 2109 drivers/net/ethernet/intel/ixgb/ixgb_main.c if (likely(rx_ring->next_to_use != i)) { next_to_use 2110 drivers/net/ethernet/intel/ixgb/ixgb_main.c rx_ring->next_to_use = i; next_to_use 332 drivers/net/ethernet/intel/ixgbe/ixgbe.h u16 next_to_use; next_to_use 510 drivers/net/ethernet/intel/ixgbe/ixgbe.h u16 ntu = ring->next_to_use; next_to_use 1898 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c while (tx_ntc != tx_ring->next_to_use) { next_to_use 1285 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c u16 i = tx_ring->next_to_use; next_to_use 1290 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c tx_ring->next_to_use = (i < tx_ring->count) ? i : 0; next_to_use 556 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c n, ring->next_to_use, ring->next_to_clean, next_to_use 679 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (i == ring->next_to_use && next_to_use 682 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c else if (i == ring->next_to_use) next_to_use 717 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c n, rx_ring->next_to_use, rx_ring->next_to_clean); next_to_use 788 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (i == rx_ring->next_to_use) next_to_use 1021 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tail = ring->next_to_use; next_to_use 1230 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tx_ring->next_to_use, i, next_to_use 1583 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u16 i = rx_ring->next_to_use; next_to_use 1628 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (rx_ring->next_to_use != i) { next_to_use 1629 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c rx_ring->next_to_use = i; next_to_use 2416 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c writel(ring->next_to_use, ring->tail); next_to_use 5339 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c rx_ring->next_to_use = 0; next_to_use 5986 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c while (i != tx_ring->next_to_use) { next_to_use 6039 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tx_ring->next_to_use = 0; next_to_use 6477 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tx_ring->next_to_use = 0; next_to_use 6572 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c rx_ring->next_to_use = 0; next_to_use 7543 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (tx_ring->next_to_use != tx_ring->next_to_clean) next_to_use 7550 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (ring->next_to_use != ring->next_to_clean) next_to_use 8212 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u16 i = tx_ring->next_to_use; next_to_use 8318 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tx_ring->next_to_use = i; next_to_use 8349 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tx_ring->next_to_use = i; next_to_use 8568 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tx_buffer = &ring->tx_buffer_info[ring->next_to_use]; next_to_use 8573 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c i = ring->next_to_use; next_to_use 8600 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ring->next_to_use = i; next_to_use 8635 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c first = &tx_ring->tx_buffer_info[tx_ring->next_to_use]; next_to_use 10326 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c writel(ring->next_to_use, ring->tail); next_to_use 318 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c u16 i = rx_ring->next_to_use; next_to_use 363 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c if (rx_ring->next_to_use != i) { next_to_use 364 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c rx_ring->next_to_use = i; next_to_use 539 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c writel(ring->next_to_use, ring->tail); next_to_use 550 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c if (failure || rx_ring->next_to_clean == rx_ring->next_to_use) next_to_use 600 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c tx_bi = &xdp_ring->tx_buffer_info[xdp_ring->next_to_use]; next_to_use 605 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c tx_desc = IXGBE_TX_DESC(xdp_ring, xdp_ring->next_to_use); next_to_use 617 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c xdp_ring->next_to_use++; next_to_use 618 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c if (xdp_ring->next_to_use == xdp_ring->count) next_to_use 619 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c xdp_ring->next_to_use = 0; next_to_use 643 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; next_to_use 731 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; next_to_use 100 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h u16 next_to_use; next_to_use 289 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h u16 ntu = ring->next_to_use; next_to_use 389 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c tx_ring->next_to_use, i, next_to_use 657 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c unsigned int i = rx_ring->next_to_use; next_to_use 699 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (rx_ring->next_to_use != i) { next_to_use 701 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c rx_ring->next_to_use = i; next_to_use 1002 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c i = ring->next_to_use; next_to_use 1055 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c ring->next_to_use = i; next_to_use 1241 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c ixgbevf_write_tail(xdp_ring, xdp_ring->next_to_use); next_to_use 1710 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c ring->next_to_use = 0; next_to_use 1940 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c ring->next_to_use = 0; next_to_use 2369 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c rx_ring->next_to_use = 0; next_to_use 2381 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c while (i != tx_ring->next_to_use) { next_to_use 2429 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c tx_ring->next_to_use = 0; next_to_use 3723 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c u16 i = tx_ring->next_to_use; next_to_use 3728 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c tx_ring->next_to_use = (i < tx_ring->count) ? i : 0; next_to_use 3956 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c u16 i = tx_ring->next_to_use; next_to_use 4044 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c tx_ring->next_to_use = i; next_to_use 4078 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c tx_ring->next_to_use = i; next_to_use 4150 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c first = &tx_ring->tx_buffer_info[tx_ring->next_to_use]; next_to_use 574 drivers/net/ethernet/jme.c txring->next_to_use = 0; next_to_use 635 drivers/net/ethernet/jme.c txring->next_to_use = 0; next_to_use 797 drivers/net/ethernet/jme.c rxring->next_to_use = 0; next_to_use 820 drivers/net/ethernet/jme.c rxring->next_to_use = 0; next_to_use 1952 drivers/net/ethernet/jme.c idx = txring->next_to_use; next_to_use 1960 drivers/net/ethernet/jme.c txring->next_to_use = (txring->next_to_use + nr_alloc) & mask; next_to_use 372 drivers/net/ethernet/jme.h int next_to_use; next_to_use 447 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h unsigned int next_to_use; next_to_use 470 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h unsigned int next_to_use; next_to_use 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_use 57 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c (R)->next_to_clean - (R)->next_to_use - 1) next_to_use 946 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c tx_ring->next_to_use = 0; next_to_use 979 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c rx_ring->next_to_use = 0; next_to_use 1149 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c ring_num = tx_ring->next_to_use; next_to_use 1151 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c tx_ring->next_to_use = 0; next_to_use 1153 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c tx_ring->next_to_use = ring_num + 1; next_to_use 1175 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c tx_ring->next_to_use = ring_num; next_to_use 1366 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c i = rx_ring->next_to_use; next_to_use 1404 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c if (likely(rx_ring->next_to_use != i)) { next_to_use 1405 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c rx_ring->next_to_use = i; next_to_use 1507 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c tx_ring->next_to_clean, tx_ring->next_to_use, next_to_use 1522 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c unused, j, i, k, tx_ring->next_to_use, next_to_use 1751 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c tx_ring->next_to_use = 0; next_to_use 1761 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c tx_ring->next_to_clean, tx_ring->next_to_use); next_to_use 1794 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c rx_ring->next_to_use = 0; next_to_use 1802 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c rx_ring->next_to_clean, rx_ring->next_to_use); next_to_use 2076 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c tx_ring->next_to_use, tx_ring->next_to_clean);