Lines Matching defs:cons
96 RING_IDX cons, prod, size, wanted, array_size, masked_prod, masked_cons;
104 cons = intf->in_cons;
113 size = pvcalls_queued(prod, cons, array_size);
126 masked_cons = pvcalls_mask(cons, array_size);
173 RING_IDX cons, prod, size, array_size;
176 cons = intf->out_cons;
182 size = pvcalls_queued(prod, cons, array_size);
188 if (pvcalls_mask(prod, array_size) > pvcalls_mask(cons, array_size)) {
189 vec[0].iov_base = data->out + pvcalls_mask(cons, array_size);
193 vec[0].iov_base = data->out + pvcalls_mask(cons, array_size);
194 vec[0].iov_len = array_size - pvcalls_mask(cons, array_size);
214 intf->out_cons = cons + ret;
219 if (prod != cons + ret) {