Searched refs:MASK_XENCONS_IDX (Results 1 – 2 of 2) sorted by relevance
32 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1)) macro
342 intf->out[MASK_XENCONS_IDX(wprod, intf->out)] = buffer[sent]; in xencons_write_ring()371 buffer[rsz] = intf->in[MASK_XENCONS_IDX(rcons, intf->in)]; in xencons_read_ring()