Searched refs:chunk_mutex (Results 1 – 7 of 7) sorted by relevance
470 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()477 mutex_unlock(&fs_info->chunk_mutex); in mark_block_group_to_copy()481 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()491 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()541 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()836 lockdep_assert_held(&fs_info->chunk_mutex); in btrfs_dev_replace_update_device_in_mapping_tree()926 mutex_lock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()930 mutex_unlock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()965 mutex_unlock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()[all …]
1579 lockdep_assert_held(&device->fs_info->chunk_mutex); in contains_pending_extent()2289 mutex_lock(&fs_info->chunk_mutex); in btrfs_rm_device()2292 mutex_unlock(&fs_info->chunk_mutex); in btrfs_rm_device()2401 mutex_lock(&fs_info->chunk_mutex); in btrfs_rm_device()2405 mutex_unlock(&fs_info->chunk_mutex); in btrfs_rm_device()2863 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()2892 mutex_unlock(&fs_info->chunk_mutex); in btrfs_init_new_device()2900 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()2902 mutex_unlock(&fs_info->chunk_mutex); in btrfs_init_new_device()2971 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()[all …]
2755 mutex_lock(&fs_info->chunk_mutex); in btrfs_create_pending_block_groups()2757 mutex_unlock(&fs_info->chunk_mutex); in btrfs_create_pending_block_groups()3036 mutex_lock(&fs_info->chunk_mutex); in btrfs_inc_block_group_ro()3038 mutex_unlock(&fs_info->chunk_mutex); in btrfs_inc_block_group_ro()4153 mutex_lock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()4154 mutex_unlock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()4165 mutex_lock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()4218 mutex_unlock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()4247 lockdep_assert_held(&fs_info->chunk_mutex); in reserve_chunk_space()4349 mutex_lock(&fs_info->chunk_mutex); in btrfs_reserve_chunk_metadata()[all …]
523 struct mutex chunk_mutex; member
2329 mutex_lock(&fs_info->chunk_mutex); in btrfs_can_activate_zone()2358 mutex_unlock(&fs_info->chunk_mutex); in btrfs_can_activate_zone()
6401 ret = mutex_lock_interruptible(&fs_info->chunk_mutex); in btrfs_trim_free_extents()6417 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents()6436 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents()6446 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents()
2798 mutex_init(&fs_info->chunk_mutex); in btrfs_init_fs_info()3363 mutex_lock(&fs_info->chunk_mutex); in open_ctree()3365 mutex_unlock(&fs_info->chunk_mutex); in open_ctree()