Searched refs:writeback_lock (Results 1 – 4 of 4) sorted by relevance
79 down_read(&dc->writeback_lock); in update_writeback_rate()85 up_read(&dc->writeback_lock); in update_writeback_rate()427 down_write(&dc->writeback_lock); in bch_writeback_thread()431 up_write(&dc->writeback_lock); in bch_writeback_thread()452 up_write(&dc->writeback_lock); in bch_writeback_thread()508 init_rwsem(&dc->writeback_lock); in bch_cached_dev_writeback_init()
330 struct rw_semaphore writeback_lock; member
879 up_read_non_owner(&dc->writeback_lock); in cached_dev_write_complete()892 down_read_non_owner(&dc->writeback_lock); in cached_dev_write()
1050 down_write(&dc->writeback_lock); in bch_cached_dev_attach()1052 up_write(&dc->writeback_lock); in bch_cached_dev_attach()1067 up_write(&dc->writeback_lock); in bch_cached_dev_attach()