Searched refs:btrfs_device_info (Results 1 – 3 of 3) sorted by relevance
1946 if (((struct btrfs_device_info *)dev_info1)->max_avail > in btrfs_cmp_device_free_bytes()1947 ((struct btrfs_device_info *)dev_info2)->max_avail) in btrfs_cmp_device_free_bytes()1949 else if (((struct btrfs_device_info *)dev_info1)->max_avail < in btrfs_cmp_device_free_bytes()1950 ((struct btrfs_device_info *)dev_info2)->max_avail) in btrfs_cmp_device_free_bytes()1961 struct btrfs_device_info *devices, in btrfs_descending_sort_devices()1964 sort(devices, nr_devices, sizeof(struct btrfs_device_info), in btrfs_descending_sort_devices()1975 struct btrfs_device_info *devices_info; in btrfs_calc_avail_data_space()
332 struct btrfs_device_info { struct
4593 const struct btrfs_device_info *di_a = a; in btrfs_cmp_device_info()4594 const struct btrfs_device_info *di_b = b; in btrfs_cmp_device_info()4624 struct btrfs_device_info *devices_info = NULL; in __btrfs_alloc_chunk()4758 sort(devices_info, ndevs, sizeof(struct btrfs_device_info), in __btrfs_alloc_chunk()