Lines Matching refs:prod
90 XENCONS_RING_IDX cons, prod;
97 prod = intf->out_prod;
100 if ((prod - cons) > sizeof(intf->out)) {
106 while ((sent < len) && ((prod - cons) < sizeof(intf->out)))
107 intf->out[MASK_XENCONS_IDX(prod++, intf->out)] = data[sent++];
110 intf->out_prod = prod;
151 XENCONS_RING_IDX cons, prod;
163 prod = intf->in_prod;
166 if ((prod - cons) > sizeof(intf->in)) {
172 while (cons != prod && recv < len)