Home
last modified time | relevance | path

Searched refs:ring_prod (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/xen/
Devtchn.c69 unsigned int ring_cons, ring_prod, ring_overflow; member
175 prod = READ_ONCE(u->ring_prod); in evtchn_interrupt()
181 WRITE_ONCE(u->ring_prod, prod + 1); in evtchn_interrupt()
219 p = READ_ONCE(u->ring_prod); in evtchn_read()
229 READ_ONCE(u->ring_cons) != READ_ONCE(u->ring_prod)); in evtchn_read()
578 WRITE_ONCE(u->ring_prod, 0); in evtchn_ioctl()
622 if (READ_ONCE(u->ring_cons) != READ_ONCE(u->ring_prod)) in evtchn_poll()
/Linux-v6.6/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c1413 u16 ring_prod; in bnx2x_init_rx_rings() local
1451 for (i = 0, ring_prod = 0; in bnx2x_init_rx_rings()
1454 if (bnx2x_alloc_rx_sge(bp, fp, ring_prod, in bnx2x_init_rx_rings()
1462 ring_prod); in bnx2x_init_rx_rings()
1466 ring_prod = 0; in bnx2x_init_rx_rings()
1469 ring_prod = NEXT_SGE_IDX(ring_prod); in bnx2x_init_rx_rings()
1472 fp->rx_sge_prod = ring_prod; in bnx2x_init_rx_rings()
4466 u16 ring_prod, cqe_ring_prod; in bnx2x_alloc_rx_bds() local
4470 cqe_ring_prod = ring_prod = 0; in bnx2x_alloc_rx_bds()
4476 if (bnx2x_alloc_rx_data(bp, fp, ring_prod, GFP_KERNEL) < 0) { in bnx2x_alloc_rx_bds()
[all …]
/Linux-v6.6/drivers/net/ethernet/broadcom/
Dbnx2.c5220 u16 prod, ring_prod; in bnx2_init_rx_ring() local
5268 ring_prod = prod = rxr->rx_pg_prod; in bnx2_init_rx_ring()
5270 if (bnx2_alloc_rx_page(bp, rxr, ring_prod, GFP_KERNEL) < 0) { in bnx2_init_rx_ring()
5276 ring_prod = BNX2_RX_PG_RING_IDX(prod); in bnx2_init_rx_ring()
5280 ring_prod = prod = rxr->rx_prod; in bnx2_init_rx_ring()
5282 if (bnx2_alloc_rx_data(bp, rxr, ring_prod, GFP_KERNEL) < 0) { in bnx2_init_rx_ring()
5288 ring_prod = BNX2_RX_RING_IDX(prod); in bnx2_init_rx_ring()
6580 u16 prod, ring_prod; in bnx2_start_xmit() local
6601 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()
6654 tx_buf = &txr->tx_buf_ring[ring_prod]; in bnx2_start_xmit()
[all …]