Lines Matching defs:array_size
97 RING_IDX cons, prod, size, wanted, array_size, masked_prod, masked_cons;
104 array_size = XEN_FLEX_RING_SIZE(map->ring_order);
114 size = pvcalls_queued(prod, cons, array_size);
115 if (size >= array_size)
125 wanted = array_size - size;
126 masked_prod = pvcalls_mask(prod, array_size);
127 masked_cons = pvcalls_mask(cons, array_size);
136 vec[0].iov_len = array_size - masked_prod;
174 RING_IDX cons, prod, size, array_size;
184 array_size = XEN_FLEX_RING_SIZE(map->ring_order);
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);