Searched refs:ring_prod (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/xen/ |
D | evtchn.c | 69 unsigned int ring_cons, ring_prod, ring_overflow; member 174 if ((u->ring_prod - u->ring_cons) < u->ring_size) { in evtchn_interrupt() 175 *evtchn_ring_entry(u, u->ring_prod) = evtchn->port; in evtchn_interrupt() 177 if (u->ring_cons == u->ring_prod++) { in evtchn_interrupt() 214 p = u->ring_prod; in evtchn_read() 224 u->ring_cons != u->ring_prod); in evtchn_read() 587 u->ring_cons = u->ring_prod = u->ring_overflow = 0; in evtchn_ioctl() 630 if (u->ring_cons != u->ring_prod) in evtchn_poll()
|
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 1401 u16 ring_prod; in bnx2x_init_rx_rings() local 1439 for (i = 0, ring_prod = 0; in bnx2x_init_rx_rings() 1442 if (bnx2x_alloc_rx_sge(bp, fp, ring_prod, in bnx2x_init_rx_rings() 1450 ring_prod); in bnx2x_init_rx_rings() 1454 ring_prod = 0; in bnx2x_init_rx_rings() 1457 ring_prod = NEXT_SGE_IDX(ring_prod); in bnx2x_init_rx_rings() 1460 fp->rx_sge_prod = ring_prod; in bnx2x_init_rx_rings() 4450 u16 ring_prod, cqe_ring_prod; in bnx2x_alloc_rx_bds() local 4454 cqe_ring_prod = ring_prod = 0; in bnx2x_alloc_rx_bds() 4460 if (bnx2x_alloc_rx_data(bp, fp, ring_prod, GFP_KERNEL) < 0) { in bnx2x_alloc_rx_bds() [all …]
|
/Linux-v5.10/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 5237 u16 prod, ring_prod; in bnx2_init_rx_ring() local 5285 ring_prod = prod = rxr->rx_pg_prod; in bnx2_init_rx_ring() 5287 if (bnx2_alloc_rx_page(bp, rxr, ring_prod, GFP_KERNEL) < 0) { in bnx2_init_rx_ring() 5293 ring_prod = BNX2_RX_PG_RING_IDX(prod); in bnx2_init_rx_ring() 5297 ring_prod = prod = rxr->rx_prod; in bnx2_init_rx_ring() 5299 if (bnx2_alloc_rx_data(bp, rxr, ring_prod, GFP_KERNEL) < 0) { in bnx2_init_rx_ring() 5305 ring_prod = BNX2_RX_RING_IDX(prod); in bnx2_init_rx_ring() 6596 u16 prod, ring_prod; in bnx2_start_xmit() local 6617 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit() 6669 tx_buf = &txr->tx_buf_ring[ring_prod]; in bnx2_start_xmit() [all …]
|