Searched refs:root_lock (Results 1 – 2 of 2) sorted by relevance
182 struct rw_semaphore root_lock; member414 __acquires(pmd->root_lock) in pmd_write_lock_in_core()416 down_write(&pmd->root_lock); in pmd_write_lock_in_core()427 __releases(pmd->root_lock) in pmd_write_unlock()429 up_write(&pmd->root_lock); in pmd_write_unlock()888 BUG_ON(!rwsem_is_locked(&pmd->root_lock)); in __commit_transaction()960 init_rwsem(&pmd->root_lock); in dm_pool_metadata_open()994 down_read(&pmd->root_lock); in dm_pool_metadata_close()1003 up_read(&pmd->root_lock); in dm_pool_metadata_close()1316 down_read(&pmd->root_lock); in dm_pool_get_metadata_transaction_id()[all …]
117 struct rw_semaphore root_lock; member765 init_rwsem(&cmd->root_lock); in metadata_open()1000 down_write(&cmd->root_lock); in cmd_write_lock()1002 up_write(&cmd->root_lock); in cmd_write_lock()1021 up_write(&(cmd)->root_lock)1025 down_read(&cmd->root_lock); in cmd_read_lock()1027 up_read(&cmd->root_lock); in cmd_read_lock()1046 up_read(&(cmd)->root_lock)