Lines Matching refs:masked_cons
495 RING_IDX cons, prod, size, masked_prod, masked_cons; in __write_ring() local
516 masked_cons = pvcalls_mask(cons, array_size); in __write_ring()
518 if (masked_prod < masked_cons) { in __write_ring()
590 RING_IDX cons, prod, size, masked_prod, masked_cons; in __read_ring() local
602 masked_cons = pvcalls_mask(cons, array_size); in __read_ring()
610 if (masked_prod > masked_cons) { in __read_ring()
611 len = copy_to_iter(data->in + masked_cons, len, msg_iter); in __read_ring()
613 if (len > (array_size - masked_cons)) { in __read_ring()
614 int ret = copy_to_iter(data->in + masked_cons, in __read_ring()
615 array_size - masked_cons, msg_iter); in __read_ring()
616 if (ret != array_size - masked_cons) { in __read_ring()
622 len = copy_to_iter(data->in + masked_cons, len, msg_iter); in __read_ring()