Home
last modified time | relevance | path

Searched refs:BCACHE_DEV_WB_RUNNING (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dwriteback.c223 if (!test_bit(BCACHE_DEV_WB_RUNNING, &dc->disk.flags) || in update_writeback_rate()
251 if (test_bit(BCACHE_DEV_WB_RUNNING, &dc->disk.flags) && in update_writeback_rate()
1009 WARN_ON(test_and_clear_bit(BCACHE_DEV_WB_RUNNING, &dc->disk.flags)); in bch_cached_dev_writeback_init()
1030 WARN_ON(test_and_set_bit(BCACHE_DEV_WB_RUNNING, &dc->disk.flags)); in bch_cached_dev_writeback_start()
H A Dbcache.h265 #define BCACHE_DEV_WB_RUNNING 3 macro
H A Dsuper.c1164 if (test_and_clear_bit(BCACHE_DEV_WB_RUNNING, &dc->disk.flags)) in cached_dev_detach_finish()
1382 if (test_and_clear_bit(BCACHE_DEV_WB_RUNNING, &dc->disk.flags)) in cached_dev_free()
H A Dsysfs.c474 * Only set BCACHE_DEV_WB_RUNNING when cached device attached to in STORE()
479 (!test_and_set_bit(BCACHE_DEV_WB_RUNNING, &dc->disk.flags))) in STORE()
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dwriteback.c261 if (!test_bit(BCACHE_DEV_WB_RUNNING, &dc->disk.flags) || in update_writeback_rate()
297 if (test_bit(BCACHE_DEV_WB_RUNNING, &dc->disk.flags) && in update_writeback_rate()
1072 WARN_ON(test_and_clear_bit(BCACHE_DEV_WB_RUNNING, &dc->disk.flags)); in bch_cached_dev_writeback_init()
1093 WARN_ON(test_and_set_bit(BCACHE_DEV_WB_RUNNING, &dc->disk.flags)); in bch_cached_dev_writeback_start()
H A Dbcache.h265 #define BCACHE_DEV_WB_RUNNING 3 macro
H A Dsuper.c1144 if (test_and_clear_bit(BCACHE_DEV_WB_RUNNING, &dc->disk.flags)) in cached_dev_detach_finish()
1351 if (test_and_clear_bit(BCACHE_DEV_WB_RUNNING, &dc->disk.flags)) in cached_dev_free()
H A Dsysfs.c490 * Only set BCACHE_DEV_WB_RUNNING when cached device attached to in STORE()
495 (!test_and_set_bit(BCACHE_DEV_WB_RUNNING, &dc->disk.flags))) in STORE()

Completed in 15 milliseconds