Lines Matching refs:chunk_mutex
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()
2833 mutex_unlock(&fs_info->chunk_mutex); in btrfs_init_new_device()
2913 mutex_lock(&fs_info->chunk_mutex); in btrfs_grow_device()
2919 mutex_unlock(&fs_info->chunk_mutex); in btrfs_grow_device()
2933 mutex_unlock(&fs_info->chunk_mutex); in btrfs_grow_device()
2990 lockdep_assert_held(&fs_info->chunk_mutex); in btrfs_del_sys_chunk()
3069 lockdep_assert_held(&trans->fs_info->chunk_mutex); in remove_chunk_item()
3126 mutex_lock(&fs_info->chunk_mutex); in btrfs_remove_chunk()
3131 mutex_unlock(&fs_info->chunk_mutex); in btrfs_remove_chunk()
3158 mutex_lock(&fs_info->chunk_mutex); in btrfs_remove_chunk()
3214 mutex_unlock(&fs_info->chunk_mutex); in btrfs_remove_chunk()
3231 mutex_unlock(&fs_info->chunk_mutex); in btrfs_remove_chunk()
4856 mutex_lock(&fs_info->chunk_mutex); in btrfs_shrink_device()
4870 mutex_unlock(&fs_info->chunk_mutex); in btrfs_shrink_device()
4875 mutex_unlock(&fs_info->chunk_mutex); in btrfs_shrink_device()
4966 mutex_lock(&fs_info->chunk_mutex); in btrfs_shrink_device()
4979 mutex_unlock(&fs_info->chunk_mutex); in btrfs_shrink_device()
4994 mutex_lock(&fs_info->chunk_mutex); in btrfs_shrink_device()
4999 mutex_unlock(&fs_info->chunk_mutex); in btrfs_shrink_device()
5013 lockdep_assert_held(&fs_info->chunk_mutex); in btrfs_add_system_chunk()
5474 lockdep_assert_held(&info->chunk_mutex); in btrfs_create_chunk()
5565 lockdep_assert_held(&fs_info->chunk_mutex); in btrfs_chunk_alloc_add_chunk_item()
8095 mutex_lock(&trans->fs_info->chunk_mutex); in btrfs_commit_device_sizes()
8102 mutex_unlock(&trans->fs_info->chunk_mutex); in btrfs_commit_device_sizes()