Home
last modified time | relevance | path

Searched refs:root_lock (Results 1 – 2 of 2) sorted by relevance

/drivers/md/
Ddm-thin-metadata.c182 struct rw_semaphore root_lock; member
391 __acquires(pmd->root_lock) in __pmd_write_lock()
393 down_write(&pmd->root_lock); in __pmd_write_lock()
405 __releases(pmd->root_lock) in pmd_write_unlock()
407 up_write(&pmd->root_lock); in pmd_write_unlock()
905 init_rwsem(&pmd->root_lock); in dm_pool_metadata_open()
939 down_read(&pmd->root_lock); in dm_pool_metadata_close()
948 up_read(&pmd->root_lock); in dm_pool_metadata_close()
1262 down_read(&pmd->root_lock); in dm_pool_get_metadata_transaction_id()
1267 up_read(&pmd->root_lock); in dm_pool_get_metadata_transaction_id()
[all …]
Ddm-cache-metadata.c117 struct rw_semaphore root_lock; member
759 init_rwsem(&cmd->root_lock); in metadata_open()
994 down_write(&cmd->root_lock); in cmd_write_lock()
996 up_write(&cmd->root_lock); in cmd_write_lock()
1015 up_write(&(cmd)->root_lock)
1019 down_read(&cmd->root_lock); in cmd_read_lock()
1021 up_read(&cmd->root_lock); in cmd_read_lock()
1040 up_read(&(cmd)->root_lock)