Lines Matching defs:index
2722 bnx2_alloc_rx_page(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u16 index, gfp_t gfp)
2725 struct bnx2_sw_pg *rx_pg = &rxr->rx_pg_ring[index];
2727 &rxr->rx_pg_desc_ring[BNX2_RX_RING(index)][BNX2_RX_IDX(index)];
2747 bnx2_free_rx_page(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u16 index)
2749 struct bnx2_sw_pg *rx_pg = &rxr->rx_pg_ring[index];
2763 bnx2_alloc_rx_data(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u16 index, gfp_t gfp)
2766 struct bnx2_sw_bd *rx_buf = &rxr->rx_buf_ring[index];
2769 &rxr->rx_desc_ring[BNX2_RX_RING(index)][BNX2_RX_IDX(index)];
2846 int tx_pkt = 0, index;
2850 index = (bnapi - bp->bnx2_napi);
2851 txq = netdev_get_tx_queue(bp->dev, index);
3156 * buffer can be ahead of the index in the status block
6710 * tx index in bnx2_tx_avail() below, because in
6711 * bnx2_tx_int(), we update tx index before checking for