Lines Matching refs:cons
80 static inline void notify_daemon(struct xencons_info *cons)
83 notify_remote_via_evtchn(cons->evtchn);
89 XENCONS_RING_IDX cons, prod;
93 cons = intf->out_cons;
97 if ((prod - cons) > sizeof(intf->out)) {
102 while ((sent < len) && ((prod - cons) < sizeof(intf->out)))
116 struct xencons_info *cons = vtermno_to_xencons(vtermno);
117 if (cons == NULL)
127 int sent = __write_console(cons, data, len);
145 XENCONS_RING_IDX cons, prod;
154 cons = intf->in_cons;
158 if ((prod - cons) > sizeof(intf->in)) {
163 while (cons != prod && recv < len)
164 buf[recv++] = intf->in[MASK_XENCONS_IDX(cons++, intf->in)];
167 intf->in_cons = cons;