Lines Matching refs:flush_point
97 rb->flush_point = EMPTY_ENTRY;
390 unsigned int sync, flush_point;
404 flush_point = (pos == 0) ? (rb->nr_entries - 1) : (pos - 1);
405 entry = &rb->entries[flush_point];
408 smp_store_release(&rb->flush_point, flush_point);
715 unsigned int sync, flush_point;
719 flush_point = READ_ONCE(rb->flush_point);
721 if (flush_point != EMPTY_ENTRY) {
724 secs_to_flush = pblk_rb_ring_count(flush_point, sync,
728 smp_store_release(&rb->flush_point, EMPTY_ENTRY);
743 unsigned int subm, sync, flush_point;
747 flush_point = smp_load_acquire(&rb->flush_point);
748 if (flush_point == EMPTY_ENTRY)
758 to_flush = pblk_rb_ring_count(flush_point, sync, rb->nr_entries) + 1;
774 (rb->flush_point == EMPTY_ENTRY)) {
821 if (rb->flush_point != EMPTY_ENTRY)
834 rb->flush_point,