Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/lightnvm/
Dpblk-rb.c97 rb->flush_point = EMPTY_ENTRY; in pblk_rb_init()
390 unsigned int sync, flush_point; in pblk_rb_flush_point_set() local
404 flush_point = (pos == 0) ? (rb->nr_entries - 1) : (pos - 1); in pblk_rb_flush_point_set()
405 entry = &rb->entries[flush_point]; in pblk_rb_flush_point_set()
408 smp_store_release(&rb->flush_point, flush_point); in pblk_rb_flush_point_set()
715 unsigned int sync, flush_point; in pblk_rb_sync_advance() local
719 flush_point = READ_ONCE(rb->flush_point); in pblk_rb_sync_advance()
721 if (flush_point != EMPTY_ENTRY) { in pblk_rb_sync_advance()
724 secs_to_flush = pblk_rb_ring_count(flush_point, sync, in pblk_rb_sync_advance()
728 smp_store_release(&rb->flush_point, EMPTY_ENTRY); in pblk_rb_sync_advance()
[all …]
Dpblk.h176 unsigned int flush_point; /* Sync point - last entry that must be member