Lines Matching refs:btrfs_device

109 struct btrfs_device {  struct
238 btrfs_device_get_##name(const struct btrfs_device *dev) \
251 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \
262 btrfs_device_get_##name(const struct btrfs_device *dev) \
273 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \
282 btrfs_device_get_##name(const struct btrfs_device *dev) \
288 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \
404 struct btrfs_device *latest_dev;
483 struct btrfs_device *dev;
492 struct btrfs_device *dev;
598 struct btrfs_device *dev;
732 struct btrfs_device *btrfs_scan_one_device(const char *path, bool mount_arg_dev);
736 void btrfs_assign_next_active_device(struct btrfs_device *device,
737 struct btrfs_device *this_dev);
738 struct btrfs_device *btrfs_find_device_by_devspec(struct btrfs_fs_info *fs_info,
744 struct btrfs_device *btrfs_alloc_device(struct btrfs_fs_info *fs_info,
754 struct btrfs_device *device, u64 new_size);
755 struct btrfs_device *btrfs_find_device(const struct btrfs_fs_devices *fs_devices,
757 int btrfs_shrink_device(struct btrfs_device *device, u64 new_size);
770 void btrfs_dev_stat_inc_and_print(struct btrfs_device *dev, int index);
776 void btrfs_rm_dev_replace_remove_srcdev(struct btrfs_device *srcdev);
777 void btrfs_rm_dev_replace_free_srcdev(struct btrfs_device *srcdev);
778 void btrfs_destroy_dev_replace_tgtdev(struct btrfs_device *tgtdev);
803 static inline void btrfs_dev_stat_inc(struct btrfs_device *dev, in btrfs_dev_stat_inc()
817 static inline int btrfs_dev_stat_read(struct btrfs_device *dev, in btrfs_dev_stat_read()
823 static inline int btrfs_dev_stat_read_and_reset(struct btrfs_device *dev, in btrfs_dev_stat_read_and_reset()
840 static inline void btrfs_dev_stat_set(struct btrfs_device *dev, in btrfs_dev_stat_set()
854 static inline const char *btrfs_dev_name(const struct btrfs_device *device) in btrfs_dev_name()
885 struct btrfs_device *failing_dev);
886 void btrfs_scratch_superblocks(struct btrfs_fs_info *fs_info, struct btrfs_device *device);