Searched refs:rw_devices (Results 1 – 6 of 6) sorted by relevance
707 fs_devices->rw_devices++; in btrfs_open_one_device()1113 fs_devices->rw_devices--; in __btrfs_free_extra_devids()1162 fs_devices->rw_devices--; in btrfs_close_one_device()1218 WARN_ON(fs_devices->rw_devices); in close_fs_devices()2170 fs_info->fs_devices->rw_devices == 1) { in btrfs_rm_device()2178 device->fs_devices->rw_devices--; in btrfs_rm_device()2268 device->fs_devices->rw_devices++; in btrfs_rm_device()2295 fs_devices->rw_devices--; in btrfs_rm_dev_replace_remove_srcdev()2669 fs_devices->rw_devices++; in btrfs_init_new_device()2777 fs_info->fs_devices->rw_devices--; in btrfs_init_new_device()[all …]
223 u64 rw_devices; member
216 WARN_ON(fs_info->fs_devices->rw_devices == 0); in btrfs_init_dev_replace()805 fs_info->fs_devices->rw_devices++; in btrfs_dev_replace_finishing()
1674 if (!(flags & SB_RDONLY) && fs_devices->rw_devices == 0) { in btrfs_mount_root()1939 if (fs_info->fs_devices->rw_devices == 0) { in btrfs_remount()
56 u64 num_devices = fs_info->fs_devices->rw_devices; in btrfs_reduce_alloc_profile()3216 num_dev = fs_info->fs_devices->rw_devices; in get_profile_num_devs()
2287 if (fs_devices->rw_devices == 0) { in btrfs_replay_log()