Lines Matching refs:btrfs_device
57 int btrfs_get_dev_zone_info(struct btrfs_device *device, bool populate_cache);
58 void btrfs_destroy_dev_zone_info(struct btrfs_device *device);
59 struct btrfs_zoned_device_info *btrfs_clone_dev_zone_info(struct btrfs_device *orig_dev);
65 int btrfs_sb_log_location(struct btrfs_device *device, int mirror, int rw,
67 int btrfs_advance_sb_log(struct btrfs_device *device, int mirror);
69 u64 btrfs_find_allocatable_zones(struct btrfs_device *device, u64 hole_start,
71 int btrfs_reset_device_zone(struct btrfs_device *device, u64 physical,
73 int btrfs_ensure_empty_zones(struct btrfs_device *device, u64 start, u64 size);
80 int btrfs_zoned_issue_zeroout(struct btrfs_device *device, u64 physical, u64 length);
81 int btrfs_sync_zone_write_pointer(struct btrfs_device *tgt_dev, u64 logical,
108 static inline int btrfs_get_dev_zone_info(struct btrfs_device *device, in btrfs_get_dev_zone_info()
114 static inline void btrfs_destroy_dev_zone_info(struct btrfs_device *device) { } in btrfs_destroy_dev_zone_info()
121 struct btrfs_device *orig_dev) in btrfs_clone_dev_zone_info()
148 static inline int btrfs_sb_log_location(struct btrfs_device *device, int mirror, in btrfs_sb_log_location()
155 static inline int btrfs_advance_sb_log(struct btrfs_device *device, int mirror) in btrfs_advance_sb_log()
165 static inline u64 btrfs_find_allocatable_zones(struct btrfs_device *device, in btrfs_find_allocatable_zones()
172 static inline int btrfs_reset_device_zone(struct btrfs_device *device, in btrfs_reset_device_zone()
179 static inline int btrfs_ensure_empty_zones(struct btrfs_device *device, in btrfs_ensure_empty_zones()
208 static inline int btrfs_zoned_issue_zeroout(struct btrfs_device *device, in btrfs_zoned_issue_zeroout()
214 static inline int btrfs_sync_zone_write_pointer(struct btrfs_device *tgt_dev, in btrfs_sync_zone_write_pointer()
280 static inline bool btrfs_dev_is_sequential(struct btrfs_device *device, u64 pos) in btrfs_dev_is_sequential()
290 static inline bool btrfs_dev_is_empty_zone(struct btrfs_device *device, u64 pos) in btrfs_dev_is_empty_zone()
300 static inline void btrfs_dev_set_empty_zone_bit(struct btrfs_device *device, in btrfs_dev_set_empty_zone_bit()
316 static inline void btrfs_dev_set_zone_empty(struct btrfs_device *device, u64 pos) in btrfs_dev_set_zone_empty()
321 static inline void btrfs_dev_clear_zone_empty(struct btrfs_device *device, u64 pos) in btrfs_dev_clear_zone_empty()
345 static inline bool btrfs_check_super_location(struct btrfs_device *device, u64 pos) in btrfs_check_super_location()
354 static inline bool btrfs_can_zone_reset(struct btrfs_device *device, in btrfs_can_zone_reset()