• Home
  • Raw
  • Download

Lines Matching refs:btrfs_device

50 struct btrfs_device {  struct
162 btrfs_device_get_##name(const struct btrfs_device *dev) \ argument
175 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \
186 btrfs_device_get_##name(const struct btrfs_device *dev) \
197 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \
206 btrfs_device_get_##name(const struct btrfs_device *dev) \
212 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \
293 struct btrfs_device *dev;
326 struct btrfs_device *dev;
374 int btrfs_account_dev_extents_size(struct btrfs_device *device, u64 start,
403 struct btrfs_device *device, struct btrfs_device *this_dev);
406 struct btrfs_device **device);
409 struct btrfs_device **device);
410 struct btrfs_device *btrfs_alloc_device(struct btrfs_fs_info *fs_info,
417 struct btrfs_device *device, u64 new_size);
418 struct btrfs_device *btrfs_find_device(struct btrfs_fs_info *fs_info, u64 devid,
420 int btrfs_shrink_device(struct btrfs_device *device, u64 new_size);
423 struct btrfs_device *srcdev,
424 struct btrfs_device **device_out);
435 struct btrfs_device *device, u64 num_bytes,
438 struct btrfs_device *device, u64 num_bytes,
440 void btrfs_dev_stat_inc_and_print(struct btrfs_device *dev, int index);
448 struct btrfs_device *srcdev);
450 struct btrfs_device *srcdev);
452 struct btrfs_device *tgtdev);
454 struct btrfs_device *tgtdev);
467 static inline int btrfs_dev_stats_dirty(struct btrfs_device *dev) in btrfs_dev_stats_dirty()
472 static inline void btrfs_dev_stat_inc(struct btrfs_device *dev, in btrfs_dev_stat_inc()
480 static inline int btrfs_dev_stat_read(struct btrfs_device *dev, in btrfs_dev_stat_read()
486 static inline int btrfs_dev_stat_read_and_reset(struct btrfs_device *dev, in btrfs_dev_stat_read_and_reset()
497 static inline void btrfs_dev_stat_set(struct btrfs_device *dev, in btrfs_dev_stat_set()
505 static inline void btrfs_dev_stat_reset(struct btrfs_device *dev, in btrfs_dev_stat_reset()