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)))
120 struct xencons_info *cons = vtermno_to_xencons(vtermno);
123 if (cons == NULL)
133 ssize_t sent = __write_console(cons, data, len);
151 XENCONS_RING_IDX cons, prod;
162 cons = intf->in_cons;
166 if ((prod - cons) > sizeof(intf->in)) {
172 while (cons != prod && recv < len)
173 buf[recv++] = intf->in[MASK_XENCONS_IDX(cons++, intf->in)];
176 intf->in_cons = cons;