Lines Matching defs:cons
97 RING_IDX cons, prod, size, wanted, array_size, masked_prod, masked_cons;
105 cons = intf->in_cons;
114 size = pvcalls_queued(prod, cons, array_size);
127 masked_cons = pvcalls_mask(cons, array_size);
174 RING_IDX cons, prod, size, array_size;
179 cons = intf->out_cons;
185 size = pvcalls_queued(prod, cons, array_size);
191 if (pvcalls_mask(prod, array_size) > pvcalls_mask(cons, array_size)) {
192 vec[0].iov_base = data->out + pvcalls_mask(cons, array_size);
196 vec[0].iov_base = data->out + pvcalls_mask(cons, array_size);
197 vec[0].iov_len = array_size - pvcalls_mask(cons, array_size);
216 intf->out_cons = cons + ret;
221 if (prod != cons + ret) {