Lines Matching refs:cons
81 static inline void notify_daemon(struct xencons_info *cons)
84 notify_remote_via_evtchn(cons->evtchn);
90 XENCONS_RING_IDX cons, prod;
96 cons = intf->out_cons;
100 if ((prod - cons) > sizeof(intf->out)) {
106 while ((sent < len) && ((prod - cons) < sizeof(intf->out)))
121 struct xencons_info *cons = vtermno_to_xencons(vtermno);
122 if (cons == NULL)
132 int sent = __write_console(cons, data, len);
150 XENCONS_RING_IDX cons, prod;
161 cons = intf->in_cons;
165 if ((prod - cons) > sizeof(intf->in)) {
171 while (cons != prod && recv < len)
172 buf[recv++] = intf->in[MASK_XENCONS_IDX(cons++, intf->in)];
175 intf->in_cons = cons;