Home
last modified time | relevance | path

Searched refs:has_dirty (Results 1 – 4 of 4) sorted by relevance

/drivers/md/bcache/
Dwriteback.h91 if (!atomic_read(&dc->has_dirty) && in bch_writeback_add()
92 !atomic_xchg(&dc->has_dirty, 1)) { in bch_writeback_add()
Dwriteback.c81 if (atomic_read(&dc->has_dirty) && in update_writeback_rate()
437 (!atomic_read(&dc->has_dirty) || !dc->writeback_running)) { in bch_writeback_thread()
455 atomic_set(&dc->has_dirty, 0); in bch_writeback_thread()
Dbcache.h322 atomic_t has_dirty; member
Dsuper.c1047 atomic_set(&dc->has_dirty, 1); in bch_cached_dev_attach()