Searched refs:chunk_mutex (Results 1 – 7 of 7) sorted by relevance
471 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()478 mutex_unlock(&fs_info->chunk_mutex); in mark_block_group_to_copy()482 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()492 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()542 mutex_unlock(&fs_info->chunk_mutex); in mark_block_group_to_copy()809 lockdep_assert_held(&srcdev->fs_info->chunk_mutex); in btrfs_set_target_alloc_state()907 mutex_lock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()911 mutex_unlock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()946 mutex_unlock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()999 mutex_unlock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()
1427 lockdep_assert_held(&device->fs_info->chunk_mutex); in contains_pending_extent()2139 mutex_lock(&fs_info->chunk_mutex); in btrfs_rm_device()2142 mutex_unlock(&fs_info->chunk_mutex); in btrfs_rm_device()2253 mutex_lock(&fs_info->chunk_mutex); in btrfs_rm_device()2257 mutex_unlock(&fs_info->chunk_mutex); in btrfs_rm_device()2718 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()2747 mutex_unlock(&fs_info->chunk_mutex); in btrfs_init_new_device()2755 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()2757 mutex_unlock(&fs_info->chunk_mutex); in btrfs_init_new_device()2826 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()[all …]
2734 mutex_lock(&fs_info->chunk_mutex); in btrfs_create_pending_block_groups()2736 mutex_unlock(&fs_info->chunk_mutex); in btrfs_create_pending_block_groups()2985 mutex_lock(&fs_info->chunk_mutex); in btrfs_inc_block_group_ro()2987 mutex_unlock(&fs_info->chunk_mutex); in btrfs_inc_block_group_ro()4106 mutex_lock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()4107 mutex_unlock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()4118 mutex_lock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()4171 mutex_unlock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()4200 lockdep_assert_held(&fs_info->chunk_mutex); in reserve_chunk_space()4302 mutex_lock(&fs_info->chunk_mutex); in btrfs_reserve_chunk_metadata()[all …]
463 struct mutex chunk_mutex; member
2208 mutex_lock(&fs_info->chunk_mutex); in btrfs_can_activate_zone()2237 mutex_unlock(&fs_info->chunk_mutex); in btrfs_can_activate_zone()
6014 ret = mutex_lock_interruptible(&fs_info->chunk_mutex); in btrfs_trim_free_extents()6030 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents()6049 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents()6059 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents()
2761 mutex_init(&fs_info->chunk_mutex); in btrfs_init_fs_info()3346 mutex_lock(&fs_info->chunk_mutex); in open_ctree()3348 mutex_unlock(&fs_info->chunk_mutex); in open_ctree()