Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/md/bcache/
Dwriteback.h136 if (!atomic_read(&dc->has_dirty) && in bch_writeback_add()
137 !atomic_xchg(&dc->has_dirty, 1)) { in bch_writeback_add()
Dwriteback.c275 if (atomic_read(&dc->has_dirty) && dc->writeback_percent && in update_writeback_rate()
759 (!atomic_read(&dc->has_dirty) || !dc->writeback_running)) { in bch_writeback_thread()
777 atomic_set(&dc->has_dirty, 0); in bch_writeback_thread()
Dbcache.h334 atomic_t has_dirty; member
Dsuper.c1296 atomic_set(&dc->has_dirty, 1); in bch_cached_dev_attach()
1772 } else if (atomic_read(&dc->has_dirty)) { in conditional_stop_bcache_device()
Drequest.c623 if (dc && atomic_read(&dc->has_dirty)) in CLOSURE_CALLBACK()