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) \
287 struct btrfs_device *dev;
322 struct btrfs_device *dev;
405 int btrfs_account_dev_extents_size(struct btrfs_device *device, u64 start,
435 struct btrfs_device **device);
436 struct btrfs_device *btrfs_alloc_device(struct btrfs_fs_info *fs_info,
443 struct btrfs_device *device, u64 new_size);
444 struct btrfs_device *btrfs_find_device(struct btrfs_fs_info *fs_info, u64 devid,
446 int btrfs_shrink_device(struct btrfs_device *device, u64 new_size);
449 struct btrfs_device *srcdev,
450 struct btrfs_device **device_out);
461 struct btrfs_device *device, u64 num_bytes,
463 void btrfs_dev_stat_inc_and_print(struct btrfs_device *dev, int index);
471 struct btrfs_device *srcdev);
473 struct btrfs_device *srcdev);
475 struct btrfs_device *tgtdev);
477 struct btrfs_device *tgtdev);
478 int btrfs_scratch_superblock(struct btrfs_device *device);
490 static inline int btrfs_dev_stats_dirty(struct btrfs_device *dev) in btrfs_dev_stats_dirty()
495 static inline void btrfs_dev_stat_inc(struct btrfs_device *dev, in btrfs_dev_stat_inc()
503 static inline int btrfs_dev_stat_read(struct btrfs_device *dev, in btrfs_dev_stat_read()
509 static inline int btrfs_dev_stat_read_and_reset(struct btrfs_device *dev, in btrfs_dev_stat_read_and_reset()
520 static inline void btrfs_dev_stat_set(struct btrfs_device *dev, in btrfs_dev_stat_set()
528 static inline void btrfs_dev_stat_reset(struct btrfs_device *dev, in btrfs_dev_stat_reset()