Lines Matching refs:masked_prod
494 RING_IDX cons, prod, size, masked_prod, masked_cons; in __write_ring() local
514 masked_prod = pvcalls_mask(prod, array_size); in __write_ring()
517 if (masked_prod < masked_cons) { in __write_ring()
518 len = copy_from_iter(data->out + masked_prod, len, msg_iter); in __write_ring()
520 if (len > array_size - masked_prod) { in __write_ring()
521 int ret = copy_from_iter(data->out + masked_prod, in __write_ring()
522 array_size - masked_prod, msg_iter); in __write_ring()
523 if (ret != array_size - masked_prod) { in __write_ring()
529 len = copy_from_iter(data->out + masked_prod, len, msg_iter); in __write_ring()
589 RING_IDX cons, prod, size, masked_prod, masked_cons; in __read_ring() local
600 masked_prod = pvcalls_mask(prod, array_size); in __read_ring()
609 if (masked_prod > masked_cons) { in __read_ring()