Lines Matching refs:clearto
112 ring->clearto = 0; in ring_init()
177 if (ring->consume < ring->clearto && in ring_consumed()
178 ring->clearto <= ring->consume + count) in ring_consumed()
179 ring->clearto = 0; in ring_consumed()
181 ring->bottom <= ring->clearto) in ring_consumed()
182 ring->clearto = 0; in ring_consumed()
313 if (ring_empty(ring) || ring->clearto == ring->supply) in ring_encrypt()
316 if ((c = ring->clearto) == NULL) in ring_encrypt()
327 ring->clearto = ring->supply; in ring_encrypt()
334 ring->clearto = ring->supply; in ring_clearto()
336 ring->clearto = 0; in ring_clearto()