Searched refs:volume_mutex (Results 1 – 5 of 5) sorted by relevance
318 mutex_lock(&fs_info->volume_mutex); in btrfs_dev_replace_start()322 mutex_unlock(&fs_info->volume_mutex); in btrfs_dev_replace_start()328 mutex_unlock(&fs_info->volume_mutex); in btrfs_dev_replace_start()
1514 mutex_lock(&root->fs_info->volume_mutex); in btrfs_ioctl_resize()1623 mutex_unlock(&root->fs_info->volume_mutex); in btrfs_ioctl_resize()2671 mutex_lock(&root->fs_info->volume_mutex); in btrfs_ioctl_add_dev()2686 mutex_unlock(&root->fs_info->volume_mutex); in btrfs_ioctl_add_dev()2720 mutex_lock(&root->fs_info->volume_mutex); in btrfs_ioctl_rm_dev_v2()2727 mutex_unlock(&root->fs_info->volume_mutex); in btrfs_ioctl_rm_dev_v2()2771 mutex_lock(&root->fs_info->volume_mutex); in btrfs_ioctl_rm_dev()2773 mutex_unlock(&root->fs_info->volume_mutex); in btrfs_ioctl_rm_dev()4664 mutex_lock(&fs_info->volume_mutex); in btrfs_ioctl_balance()4681 if (!mutex_trylock(&fs_info->volume_mutex)) in btrfs_ioctl_balance()[all …]
3939 mutex_lock(&fs_info->volume_mutex); in balance_kthread()3948 mutex_unlock(&fs_info->volume_mutex); in balance_kthread()4021 mutex_lock(&fs_info->volume_mutex); in btrfs_recover_balance()4027 mutex_unlock(&fs_info->volume_mutex); in btrfs_recover_balance()4086 mutex_lock(&fs_info->volume_mutex); in btrfs_cancel_balance()4092 mutex_unlock(&fs_info->volume_mutex); in btrfs_cancel_balance()
809 struct mutex volume_mutex; member
2756 mutex_init(&fs_info->volume_mutex); in open_ctree()