Home
last modified time | relevance | path

Searched refs:to_flush (Results 1 – 2 of 2) sorted by relevance

/drivers/lightnvm/
Dpblk-rb.c744 unsigned int submitted, to_flush; in pblk_rb_flush_point_count() local
758 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()
/drivers/iio/
Dindustrialio-buffer.c52 size_t to_wait, int to_flush) in iio_buffer_ready() argument
64 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()