Searched refs:chunk_mutex (Results 1 – 8 of 8) sorted by relevance
459 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()466 mutex_unlock(&fs_info->chunk_mutex); in mark_block_group_to_copy()470 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()480 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()531 mutex_unlock(&fs_info->chunk_mutex); in mark_block_group_to_copy()808 lockdep_assert_held(&srcdev->fs_info->chunk_mutex); in btrfs_set_target_alloc_state()837 lockdep_assert_held(&fs_info->chunk_mutex); in btrfs_dev_replace_update_device_in_mapping_tree()929 mutex_lock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()933 mutex_unlock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()968 mutex_unlock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()[all …]
1559 lockdep_assert_held(&device->fs_info->chunk_mutex); in btrfs_first_pending_extent()1604 lockdep_assert_held(&device->fs_info->chunk_mutex); in btrfs_find_hole_in_pending_extents()2413 mutex_lock(&fs_info->chunk_mutex); in btrfs_rm_device()2417 mutex_unlock(&fs_info->chunk_mutex); in btrfs_rm_device()2534 mutex_lock(&fs_info->chunk_mutex); in btrfs_rm_device()2539 mutex_unlock(&fs_info->chunk_mutex); in btrfs_rm_device()3036 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()3066 mutex_unlock(&fs_info->chunk_mutex); in btrfs_init_new_device()3074 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()3077 mutex_unlock(&fs_info->chunk_mutex); in btrfs_init_new_device()[all …]
2947 mutex_lock(&fs_info->chunk_mutex); in btrfs_create_pending_block_groups()2949 mutex_unlock(&fs_info->chunk_mutex); in btrfs_create_pending_block_groups()3242 mutex_lock(&fs_info->chunk_mutex); in btrfs_inc_block_group_ro()3244 mutex_unlock(&fs_info->chunk_mutex); in btrfs_inc_block_group_ro()4419 mutex_lock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()4420 mutex_unlock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()4431 mutex_lock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()4484 mutex_unlock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()4513 lockdep_assert_held(&fs_info->chunk_mutex); in reserve_chunk_space()4623 mutex_lock(&fs_info->chunk_mutex); in btrfs_reserve_chunk_metadata()[all …]
625 struct mutex chunk_mutex; member
2885 mutex_init(&fs_info->chunk_mutex); in btrfs_init_fs_info()3561 mutex_lock(&fs_info->chunk_mutex); in open_ctree()3563 mutex_unlock(&fs_info->chunk_mutex); in open_ctree()
6654 ret = mutex_lock_interruptible(&fs_info->chunk_mutex); in btrfs_trim_free_extents_throttle()6672 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents_throttle()6692 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents_throttle()6702 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents_throttle()
2672 mutex_lock(&fs_info->chunk_mutex); in btrfs_can_activate_zone()2706 mutex_unlock(&fs_info->chunk_mutex); in btrfs_can_activate_zone()
4852 mutex_lock(&trans->fs_info->chunk_mutex); in btrfs_last_identity_remap_gone()4856 mutex_unlock(&trans->fs_info->chunk_mutex); in btrfs_last_identity_remap_gone()4862 mutex_unlock(&trans->fs_info->chunk_mutex); in btrfs_last_identity_remap_gone()