Searched refs:writeback_lock (Results 1 – 4 of 4) sorted by relevance
278 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()
1287 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()
327 struct rw_semaphore writeback_lock; member
977 up_read_non_owner(&dc->writeback_lock); in CLOSURE_CALLBACK()990 down_read_non_owner(&dc->writeback_lock); in cached_dev_write()