Lines Matching defs:array_size
96 RING_IDX cons, prod, size, wanted, array_size, masked_prod, masked_cons;
103 array_size = XEN_FLEX_RING_SIZE(map->ring_order);
113 size = pvcalls_queued(prod, cons, array_size);
114 if (size >= array_size)
124 wanted = array_size - size;
125 masked_prod = pvcalls_mask(prod, array_size);
126 masked_cons = pvcalls_mask(cons, array_size);
135 vec[0].iov_len = array_size - masked_prod;
173 RING_IDX cons, prod, size, array_size;
181 array_size = XEN_FLEX_RING_SIZE(map->ring_order);
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);