Home
last modified time | relevance | path

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

/Linux-v5.4/include/xen/interface/io/
Dconsole.h15 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1)) macro
/Linux-v5.4/drivers/tty/hvc/
Dhvc_xen.c92 intf->out[MASK_XENCONS_IDX(prod++, intf->out)] = data[sent++]; in __write_console()
144 buf[recv++] = intf->in[MASK_XENCONS_IDX(cons++, intf->in)]; in domU_read_console()