Lines Matching refs:chunk_mutex

1470 	lockdep_assert_held(&device->fs_info->chunk_mutex);  in contains_pending_extent()
2182 mutex_lock(&fs_info->chunk_mutex); in btrfs_rm_device()
2185 mutex_unlock(&fs_info->chunk_mutex); in btrfs_rm_device()
2296 mutex_lock(&fs_info->chunk_mutex); in btrfs_rm_device()
2300 mutex_unlock(&fs_info->chunk_mutex); in btrfs_rm_device()
2759 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()
2788 mutex_unlock(&fs_info->chunk_mutex); in btrfs_init_new_device()
2796 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()
2798 mutex_unlock(&fs_info->chunk_mutex); in btrfs_init_new_device()
2867 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()
2880 mutex_unlock(&fs_info->chunk_mutex); in btrfs_init_new_device()
2958 mutex_lock(&fs_info->chunk_mutex); in btrfs_grow_device()
2964 mutex_unlock(&fs_info->chunk_mutex); in btrfs_grow_device()
2978 mutex_unlock(&fs_info->chunk_mutex); in btrfs_grow_device()
3035 lockdep_assert_held(&fs_info->chunk_mutex); in btrfs_del_sys_chunk()
3115 lockdep_assert_held(&trans->fs_info->chunk_mutex); in remove_chunk_item()
3172 mutex_lock(&fs_info->chunk_mutex); in btrfs_remove_chunk()
3177 mutex_unlock(&fs_info->chunk_mutex); in btrfs_remove_chunk()
3204 mutex_lock(&fs_info->chunk_mutex); in btrfs_remove_chunk()
3260 mutex_unlock(&fs_info->chunk_mutex); in btrfs_remove_chunk()
3277 mutex_unlock(&fs_info->chunk_mutex); in btrfs_remove_chunk()
4912 mutex_lock(&fs_info->chunk_mutex); in btrfs_shrink_device()
4926 mutex_unlock(&fs_info->chunk_mutex); in btrfs_shrink_device()
4931 mutex_unlock(&fs_info->chunk_mutex); in btrfs_shrink_device()
5022 mutex_lock(&fs_info->chunk_mutex); in btrfs_shrink_device()
5035 mutex_unlock(&fs_info->chunk_mutex); in btrfs_shrink_device()
5050 mutex_lock(&fs_info->chunk_mutex); in btrfs_shrink_device()
5055 mutex_unlock(&fs_info->chunk_mutex); in btrfs_shrink_device()
5069 lockdep_assert_held(&fs_info->chunk_mutex); in btrfs_add_system_chunk()
5529 lockdep_assert_held(&info->chunk_mutex); in btrfs_create_chunk()
5620 lockdep_assert_held(&fs_info->chunk_mutex); in btrfs_chunk_alloc_add_chunk_item()
7733 mutex_lock(&trans->fs_info->chunk_mutex); in btrfs_commit_device_sizes()
7740 mutex_unlock(&trans->fs_info->chunk_mutex); in btrfs_commit_device_sizes()