Home
last modified time | relevance | path

Searched refs:CACHE_SET_IO_DISABLE (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/md/bcache/
H A Dwriteback.c224 test_bit(CACHE_SET_IO_DISABLE, &c->flags)) { in update_writeback_rate()
252 !test_bit(CACHE_SET_IO_DISABLE, &c->flags)) { in update_writeback_rate()
450 !test_bit(CACHE_SET_IO_DISABLE, &dc->disk.c->flags) && in read_dirty()
528 !test_bit(CACHE_SET_IO_DISABLE, &dc->disk.c->flags) && in read_dirty()
700 !test_bit(CACHE_SET_IO_DISABLE, &c->flags)) { in bch_writeback_thread()
715 test_bit(CACHE_SET_IO_DISABLE, &c->flags)) { in bch_writeback_thread()
770 !test_bit(CACHE_SET_IO_DISABLE, &c->flags) && in bch_writeback_thread()
H A Dalloc.c291 test_bit(CACHE_SET_IO_DISABLE, &ca->set->flags)) { \
400 if (unlikely(test_bit(CACHE_SET_IO_DISABLE, &ca->set->flags))) in bch_bucket_alloc()
496 if (unlikely(test_bit(CACHE_SET_IO_DISABLE, &c->flags))) in __bch_bucket_alloc_set()
H A Dbcache.h505 #define CACHE_SET_IO_DISABLE 3 macro
939 if (unlikely(test_bit(CACHE_SET_IO_DISABLE, &c->flags))) { in closure_bio_submit()
H A Dsysfs.c781 test_bit(CACHE_SET_IO_DISABLE, &c->flags)); in SHOW()
884 if (test_and_set_bit(CACHE_SET_IO_DISABLE, in STORE()
888 if (!test_and_clear_bit(CACHE_SET_IO_DISABLE, in STORE()
H A Dsuper.c1662 if (test_and_set_bit(CACHE_SET_IO_DISABLE, &c->flags)) in bch_cache_set_error()
1758 if (!test_bit(CACHE_SET_IO_DISABLE, &c->flags)) in cache_set_flush()
1852 if (test_bit(CACHE_SET_IO_DISABLE, &c->flags)) in __cache_set_unregister()
1986 WARN_ON(test_and_clear_bit(CACHE_SET_IO_DISABLE, &c->flags)); in bch_cache_set_alloc()
H A Drequest.c1180 if (unlikely((d->c && test_bit(CACHE_SET_IO_DISABLE, &d->c->flags)) || in cached_dev_submit_bio()
1284 if (unlikely(d->c && test_bit(CACHE_SET_IO_DISABLE, &d->c->flags))) { in flash_dev_submit_bio()
H A Dbtree.c1813 } while (ret && !test_bit(CACHE_SET_IO_DISABLE, &c->flags)); in bch_btree_gc()
1850 test_bit(CACHE_SET_IO_DISABLE, &c->flags) || in bch_gc_thread()
1854 test_bit(CACHE_SET_IO_DISABLE, &c->flags)) in bch_gc_thread()
H A Djournal.c937 if (unlikely(test_bit(CACHE_SET_IO_DISABLE, &c->flags))) in bch_journal()