Searched refs:btrfs_device_info (Results 1 – 3 of 3) sorted by relevance
1192 if (((struct btrfs_device_info *)dev_info1)->max_avail > in btrfs_cmp_device_free_bytes()1193 ((struct btrfs_device_info *)dev_info2)->max_avail) in btrfs_cmp_device_free_bytes()1195 else if (((struct btrfs_device_info *)dev_info1)->max_avail < in btrfs_cmp_device_free_bytes()1196 ((struct btrfs_device_info *)dev_info2)->max_avail) in btrfs_cmp_device_free_bytes()1207 struct btrfs_device_info *devices, in btrfs_descending_sort_devices()1210 sort(devices, nr_devices, sizeof(struct btrfs_device_info), in btrfs_descending_sort_devices()1221 struct btrfs_device_info *devices_info; in btrfs_calc_avail_data_space()
168 struct btrfs_device_info { struct
3149 const struct btrfs_device_info *di_a = a; in btrfs_cmp_device_info()3150 const struct btrfs_device_info *di_b = b; in btrfs_cmp_device_info()3175 struct btrfs_device_info *devices_info = NULL; in __btrfs_alloc_chunk()3315 sort(devices_info, ndevs, sizeof(struct btrfs_device_info), in __btrfs_alloc_chunk()