Searched refs:ring_cons (Results 1 – 2 of 2) sorted by relevance
69 unsigned int ring_cons, ring_prod, ring_overflow; member181 cons = READ_ONCE(u->ring_cons); in evtchn_interrupt()223 c = READ_ONCE(u->ring_cons); in evtchn_read()234 READ_ONCE(u->ring_cons) != READ_ONCE(u->ring_prod)); in evtchn_read()264 WRITE_ONCE(u->ring_cons, c + (bytes1 + bytes2) / sizeof(evtchn_port_t)); in evtchn_read()583 WRITE_ONCE(u->ring_cons, 0); in evtchn_ioctl()628 if (READ_ONCE(u->ring_cons) != READ_ONCE(u->ring_prod)) in evtchn_poll()
449 u32 ring_cons; in mlx4_en_process_tx_cq() local459 ring_cons = READ_ONCE(ring->cons); in mlx4_en_process_tx_cq()460 ring_index = ring_cons & size_mask; in mlx4_en_process_tx_cq()500 !!((ring_cons + txbbs_stamp) & in mlx4_en_process_tx_cq()523 WRITE_ONCE(ring->cons, ring_cons + txbbs_skipped); in mlx4_en_process_tx_cq()884 u32 __maybe_unused ring_cons; in mlx4_en_xmit() local