Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/lightnvm/
Dpblk-rb.c57 rb->flush_point = EMPTY_ENTRY; in pblk_rb_init()
355 unsigned int sync, flush_point; in pblk_rb_flush_point_set() local
369 flush_point = (pos == 0) ? (rb->nr_entries - 1) : (pos - 1); in pblk_rb_flush_point_set()
370 entry = &rb->entries[flush_point]; in pblk_rb_flush_point_set()
373 smp_store_release(&rb->flush_point, flush_point); in pblk_rb_flush_point_set()
683 unsigned int sync, flush_point; in pblk_rb_sync_advance() local
687 flush_point = READ_ONCE(rb->flush_point); in pblk_rb_sync_advance()
689 if (flush_point != EMPTY_ENTRY) { in pblk_rb_sync_advance()
692 secs_to_flush = pblk_rb_ring_count(flush_point, sync, in pblk_rb_sync_advance()
696 smp_store_release(&rb->flush_point, EMPTY_ENTRY); in pblk_rb_sync_advance()
[all …]
Dpblk.h184 unsigned int flush_point; /* Sync point - last entry that must be member