Searched refs:num_devices (Results 1 – 8 of 8) sorted by relevance
588 if (fs_devs->num_devices == 1) { in btrfs_free_stale_device()594 fs_devs->num_devices--; in btrfs_free_stale_device()656 fs_devices->num_devices++; in device_list_add()769 fs_devices->num_devices++; in clone_fs_devices()824 fs_devices->num_devices--; in btrfs_close_extra_devices()1795 u64 num_devices) in btrfs_check_raid_min_devices() argument1813 if (num_devices < btrfs_raid_array[i].devs_min) { in btrfs_check_raid_min_devices()1869 u64 num_devices; in btrfs_rm_device() local1874 num_devices = fs_info->fs_devices->num_devices; in btrfs_rm_device()1877 WARN_ON(num_devices < 1); in btrfs_rm_device()[all …]
232 u64 num_devices; member
188 __le64 num_devices; member225 __le64 num_devices; member2190 num_devices, 64);2312 num_devices, 64);
354 u64 num_devices = 0; in btrfs_ioctl_fitrim() local377 num_devices++; in btrfs_ioctl_fitrim()384 if (!num_devices) in btrfs_ioctl_fitrim()2793 fi_args->num_devices = fs_devices->num_devices; in btrfs_ioctl_fs_info()
4184 u64 num_devices = fs_info->fs_devices->rw_devices; in btrfs_reduce_alloc_profile() local4206 if (num_devices >= btrfs_raid_array[raid_type].devs_min) in btrfs_reduce_alloc_profile()9447 u64 num_devices; in update_block_group_flags() local9458 num_devices = fs_info->fs_devices->rw_devices; in update_block_group_flags()9464 if (num_devices == 1) { in update_block_group_flags()
2206 min_t(u64, fs_devices->num_devices, in btrfs_init_workqueues()2247 min_t(u64, fs_devices->num_devices, in btrfs_init_workqueues()
2201 ret = !(fs_devices->num_devices == fs_devices->total_devices); in btrfs_control_ioctl()
242 __le32 num_devices; /* first n devices in global-table*/ member