Searched refs:chunk_mutex (Results 1 – 7 of 7) sorted by relevance
485 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()492 mutex_unlock(&fs_info->chunk_mutex); in mark_block_group_to_copy()496 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()506 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()556 mutex_unlock(&fs_info->chunk_mutex); in mark_block_group_to_copy()807 lockdep_assert_held(&srcdev->fs_info->chunk_mutex); in btrfs_set_target_alloc_state()905 mutex_lock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()909 mutex_unlock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()944 mutex_unlock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()997 mutex_unlock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()
1408 lockdep_assert_held(&device->fs_info->chunk_mutex); in contains_pending_extent()2125 mutex_lock(&fs_info->chunk_mutex); in btrfs_rm_device()2128 mutex_unlock(&fs_info->chunk_mutex); in btrfs_rm_device()2239 mutex_lock(&fs_info->chunk_mutex); in btrfs_rm_device()2243 mutex_unlock(&fs_info->chunk_mutex); in btrfs_rm_device()2712 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()2741 mutex_unlock(&fs_info->chunk_mutex); in btrfs_init_new_device()2749 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()2751 mutex_unlock(&fs_info->chunk_mutex); in btrfs_init_new_device()2820 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()[all …]
2412 mutex_lock(&fs_info->chunk_mutex); in btrfs_create_pending_block_groups()2414 mutex_unlock(&fs_info->chunk_mutex); in btrfs_create_pending_block_groups()2645 mutex_lock(&fs_info->chunk_mutex); in btrfs_inc_block_group_ro()2647 mutex_unlock(&fs_info->chunk_mutex); in btrfs_inc_block_group_ro()3743 mutex_lock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()3744 mutex_unlock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()3755 mutex_lock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()3808 mutex_unlock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()3837 lockdep_assert_held(&fs_info->chunk_mutex); in reserve_chunk_space()3939 mutex_lock(&fs_info->chunk_mutex); in btrfs_reserve_chunk_metadata()[all …]
2095 mutex_lock(&fs_info->chunk_mutex); in btrfs_can_activate_zone()2108 mutex_unlock(&fs_info->chunk_mutex); in btrfs_can_activate_zone()
6064 ret = mutex_lock_interruptible(&fs_info->chunk_mutex); in btrfs_trim_free_extents()6080 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents()6099 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents()6110 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents()
3071 mutex_init(&fs_info->chunk_mutex); in btrfs_init_fs_info()3603 mutex_lock(&fs_info->chunk_mutex); in open_ctree()3605 mutex_unlock(&fs_info->chunk_mutex); in open_ctree()
739 struct mutex chunk_mutex; member