Searched refs:rw_devices (Results 1 – 5 of 5) sorted by relevance
119 u64 rw_devices; member
486 fs_devices->rw_devices--; in btrfs_close_extra_devices()545 fs_devices->rw_devices--; in __btrfs_close_devices()568 WARN_ON(fs_devices->rw_devices); in __btrfs_close_devices()678 fs_devices->rw_devices++; in __btrfs_open_devices()1383 if (device->writeable && root->fs_info->fs_devices->rw_devices == 1) { in btrfs_rm_device()1394 root->fs_info->fs_devices->rw_devices--; in btrfs_rm_device()1490 root->fs_info->fs_devices->rw_devices++; in btrfs_rm_device()1738 root->fs_info->fs_devices->rw_devices++; in btrfs_init_new_device()3252 devices_info = kzalloc(sizeof(*devices_info) * fs_devices->rw_devices, in __btrfs_alloc_chunk()
1081 if (!(flags & MS_RDONLY) && fs_devices->rw_devices == 0) { in btrfs_mount()1150 if (fs_info->fs_devices->rw_devices == 0) { in btrfs_remount()
3194 u64 num_devices = root->fs_info->fs_devices->rw_devices + in btrfs_reduce_alloc_profile()3453 num_dev = root->fs_info->fs_devices->rw_devices; in get_system_chunk_thresh()7130 num_devices = root->fs_info->fs_devices->rw_devices + in update_block_group_flags()7422 dev_min = fs_devices->rw_devices; in btrfs_can_relocate()
2405 if (fs_devices->rw_devices == 0) { in open_ctree()