Searched refs:MASK_XENCONS_IDX (Results 1 – 4 of 4) sorted by relevance
119 c = cons_ring->in[MASK_XENCONS_IDX(cons++, cons_ring->in)]; in pv_console_rx()164 cons_ring->out[MASK_XENCONS_IDX(prod++, cons_ring->out)] = '\r'; in pv_ring_puts()169 cons_ring->out[MASK_XENCONS_IDX(prod++, cons_ring->out)] = in pv_ring_puts()
73 char c = cons_ring->out[MASK_XENCONS_IDX(cons++, cons_ring->out)]; in consoled_guest_rx()123 cons_ring->in[MASK_XENCONS_IDX(prod++, cons_ring->in)] = c; in consoled_guest_tx()
32 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1)) macro
337 MASK_XENCONS_IDX(cons++, intf->out)]; in buffer_append()1042 intf->in[MASK_XENCONS_IDX(prod++, intf->in)] = in handle_tty_read()
Completed in 5 milliseconds