Home
last modified time | relevance | path

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

/freebsd/sys/contrib/xen/io/
H A Dconsole.h32 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1)) macro
/freebsd/sys/dev/xen/console/
H A Dxen_console.c342 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()