Lines Matching refs:btrfs_device

45 struct btrfs_device {  struct
151 btrfs_device_get_##name(const struct btrfs_device *dev) \ argument
164 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \
175 btrfs_device_get_##name(const struct btrfs_device *dev) \
186 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \
195 btrfs_device_get_##name(const struct btrfs_device *dev) \
201 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \
287 struct btrfs_device *dev;
320 struct btrfs_device *dev;
407 struct btrfs_device *btrfs_scan_one_device(const char *path,
411 void btrfs_assign_next_active_device(struct btrfs_device *device,
412 struct btrfs_device *this_dev);
415 struct btrfs_device **device);
418 struct btrfs_device **device);
419 struct btrfs_device *btrfs_alloc_device(struct btrfs_fs_info *fs_info,
422 void btrfs_free_device(struct btrfs_device *device);
428 struct btrfs_device *device, u64 new_size);
429 struct btrfs_device *btrfs_find_device(struct btrfs_fs_info *fs_info, u64 devid,
431 int btrfs_shrink_device(struct btrfs_device *device, u64 new_size);
444 struct btrfs_device *device, u64 num_bytes,
447 struct btrfs_device *device, u64 num_bytes,
449 void btrfs_dev_stat_inc_and_print(struct btrfs_device *dev, int index);
456 void btrfs_rm_dev_replace_remove_srcdev(struct btrfs_device *srcdev);
458 struct btrfs_device *srcdev);
459 void btrfs_destroy_dev_replace_tgtdev(struct btrfs_device *tgtdev);
469 static inline void btrfs_dev_stat_inc(struct btrfs_device *dev, in btrfs_dev_stat_inc()
483 static inline int btrfs_dev_stat_read(struct btrfs_device *dev, in btrfs_dev_stat_read()
489 static inline int btrfs_dev_stat_read_and_reset(struct btrfs_device *dev, in btrfs_dev_stat_read_and_reset()
506 static inline void btrfs_dev_stat_set(struct btrfs_device *dev, in btrfs_dev_stat_set()
520 static inline void btrfs_dev_stat_reset(struct btrfs_device *dev, in btrfs_dev_stat_reset()
557 struct btrfs_device *failing_dev);