Lines Matching defs:prod
89 XENCONS_RING_IDX cons, prod;
94 prod = intf->out_prod;
97 if ((prod - cons) > sizeof(intf->out)) {
102 while ((sent < len) && ((prod - cons) < sizeof(intf->out)))
103 intf->out[MASK_XENCONS_IDX(prod++, intf->out)] = data[sent++];
106 intf->out_prod = prod;
145 XENCONS_RING_IDX cons, prod;
155 prod = intf->in_prod;
158 if ((prod - cons) > sizeof(intf->in)) {
163 while (cons != prod && recv < len)