Home
last modified time | relevance | path

Searched refs:device_list_mutex (Results 1 – 9 of 9) sorted by relevance

/fs/btrfs/
Dvolumes.c144 mutex_init(&fs_devs->device_list_mutex); in __alloc_fs_devices()
633 mutex_lock(&fs_devices->device_list_mutex); in device_list_add()
636 mutex_unlock(&fs_devices->device_list_mutex); in device_list_add()
719 mutex_lock(&orig->device_list_mutex); in clone_fs_devices()
748 mutex_unlock(&orig->device_list_mutex); in clone_fs_devices()
751 mutex_unlock(&orig->device_list_mutex); in clone_fs_devices()
846 mutex_lock(&fs_devices->device_list_mutex); in __btrfs_close_devices()
850 mutex_unlock(&fs_devices->device_list_mutex); in __btrfs_close_devices()
1836 mutex_lock(&root->fs_info->fs_devices->device_list_mutex); in btrfs_rm_device()
1862 mutex_unlock(&root->fs_info->fs_devices->device_list_mutex); in btrfs_rm_device()
[all …]
Ddev-replace.c508 mutex_lock(&root->fs_info->fs_devices->device_list_mutex); in btrfs_dev_replace_finishing()
512 mutex_unlock(&root->fs_info->fs_devices->device_list_mutex); in btrfs_dev_replace_finishing()
542 mutex_unlock(&root->fs_info->fs_devices->device_list_mutex); in btrfs_dev_replace_finishing()
599 mutex_unlock(&root->fs_info->fs_devices->device_list_mutex); in btrfs_dev_replace_finishing()
Dscrub.c3839 mutex_lock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
3842 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
3847 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
3859 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
3869 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
3877 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
3884 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
3890 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
3905 mutex_lock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
3907 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
[all …]
Dsuper.c1857 mutex_lock(&fs_devices->device_list_mutex); in btrfs_calc_avail_data_space()
1898 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_calc_avail_data_space()
1927 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_calc_avail_data_space()
2176 mutex_lock(&fs_info->fs_devices->device_list_mutex); in btrfs_show_devname()
2199 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_show_devname()
Dreada.c768 mutex_lock(&fs_devices->device_list_mutex); in __reada_start_machine()
775 mutex_unlock(&fs_devices->device_list_mutex); in __reada_start_machine()
Dvolumes.h246 struct mutex device_list_mutex; member
Ddisk-io.c3542 mutex_lock(&root->fs_info->fs_devices->device_list_mutex); in write_all_supers()
3550 &root->fs_info->fs_devices->device_list_mutex); in write_all_supers()
3588 mutex_unlock(&root->fs_info->fs_devices->device_list_mutex); in write_all_supers()
3607 mutex_unlock(&root->fs_info->fs_devices->device_list_mutex); in write_all_supers()
Dioctl.c2755 mutex_lock(&fs_devices->device_list_mutex); in btrfs_ioctl_fs_info()
2763 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_ioctl_fs_info()
2791 mutex_lock(&fs_devices->device_list_mutex); in btrfs_ioctl_dev_info()
2816 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_ioctl_dev_info()
Dextent-tree.c10880 mutex_lock(&root->fs_info->fs_devices->device_list_mutex); in btrfs_trim_fs()
10889 mutex_unlock(&root->fs_info->fs_devices->device_list_mutex); in btrfs_trim_fs()