Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/md/bcache/
Dwriteback.c278 if (!down_read_trylock((&dc->writeback_lock))) { in update_writeback_rate()
283 down_read(&dc->writeback_lock); in update_writeback_rate()
288 up_read(&dc->writeback_lock); in update_writeback_rate()
749 down_write(&dc->writeback_lock); in bch_writeback_thread()
760 up_write(&dc->writeback_lock); in bch_writeback_thread()
796 up_write(&dc->writeback_lock); in bch_writeback_thread()
818 up_write(&dc->writeback_lock); in bch_writeback_thread()
1054 init_rwsem(&dc->writeback_lock); in bch_cached_dev_writeback_init()
Dsuper.c1287 down_write(&dc->writeback_lock); in bch_cached_dev_attach()
1289 up_write(&dc->writeback_lock); in bch_cached_dev_attach()
1304 up_write(&dc->writeback_lock); in bch_cached_dev_attach()
1327 up_write(&dc->writeback_lock); in bch_cached_dev_attach()
Dbcache.h327 struct rw_semaphore writeback_lock; member
Drequest.c977 up_read_non_owner(&dc->writeback_lock); in CLOSURE_CALLBACK()
990 down_read_non_owner(&dc->writeback_lock); in cached_dev_write()