Searched refs:to_flush (Results 1 – 2 of 2) sorted by relevance
744 unsigned int submitted, to_flush; in pblk_rb_flush_point_count() local758 to_flush = pblk_rb_ring_count(flush_point, sync, rb->nr_entries) + 1; in pblk_rb_flush_point_count()760 return (submitted < to_flush) ? (to_flush - submitted) : 0; in pblk_rb_flush_point_count()
52 size_t to_wait, int to_flush) in iio_buffer_ready() argument64 to_flush = 0; in iio_buffer_ready()71 if (!to_wait && avail < to_flush) in iio_buffer_ready()73 to_flush - avail); in iio_buffer_ready()77 if (to_flush) in iio_buffer_ready()