Home
last modified time | relevance | path

Searched refs:ring_cons (Results 1 – 2 of 2) sorted by relevance

/drivers/xen/
Devtchn.c69 unsigned int ring_cons, ring_prod, ring_overflow; member
176 cons = READ_ONCE(u->ring_cons); in evtchn_interrupt()
218 c = READ_ONCE(u->ring_cons); in evtchn_read()
229 READ_ONCE(u->ring_cons) != READ_ONCE(u->ring_prod)); in evtchn_read()
259 WRITE_ONCE(u->ring_cons, c + (bytes1 + bytes2) / sizeof(evtchn_port_t)); in evtchn_read()
560 WRITE_ONCE(u->ring_cons, 0); in evtchn_ioctl()
605 if (READ_ONCE(u->ring_cons) != READ_ONCE(u->ring_prod)) in evtchn_poll()
/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c445 u32 ring_cons; in mlx4_en_process_tx_cq() local
455 ring_cons = READ_ONCE(ring->cons); in mlx4_en_process_tx_cq()
456 ring_index = ring_cons & size_mask; in mlx4_en_process_tx_cq()
496 !!((ring_cons + txbbs_stamp) & in mlx4_en_process_tx_cq()
519 WRITE_ONCE(ring->cons, ring_cons + txbbs_skipped); in mlx4_en_process_tx_cq()
880 u32 __maybe_unused ring_cons; in mlx4_en_xmit() local