Lines Matching defs:device

88 static inline int btrfs_get_dev_zone(struct btrfs_device *device, u64 pos,  in btrfs_get_dev_zone()
99 static inline int btrfs_get_dev_zone_info(struct btrfs_device *device, in btrfs_get_dev_zone_info()
105 static inline void btrfs_destroy_dev_zone_info(struct btrfs_device *device) { } in btrfs_destroy_dev_zone_info()
138 static inline int btrfs_sb_log_location(struct btrfs_device *device, int mirror, in btrfs_sb_log_location()
145 static inline int btrfs_advance_sb_log(struct btrfs_device *device, int mirror) in btrfs_advance_sb_log()
155 static inline u64 btrfs_find_allocatable_zones(struct btrfs_device *device, in btrfs_find_allocatable_zones()
162 static inline int btrfs_reset_device_zone(struct btrfs_device *device, in btrfs_reset_device_zone()
169 static inline int btrfs_ensure_empty_zones(struct btrfs_device *device, in btrfs_ensure_empty_zones()
201 static inline int btrfs_zoned_issue_zeroout(struct btrfs_device *device, in btrfs_zoned_issue_zeroout()
265 static inline bool btrfs_dev_is_sequential(struct btrfs_device *device, u64 pos) in btrfs_dev_is_sequential()
275 static inline bool btrfs_dev_is_empty_zone(struct btrfs_device *device, u64 pos) in btrfs_dev_is_empty_zone()
285 static inline void btrfs_dev_set_empty_zone_bit(struct btrfs_device *device, in btrfs_dev_set_empty_zone_bit()
301 static inline void btrfs_dev_set_zone_empty(struct btrfs_device *device, u64 pos) in btrfs_dev_set_zone_empty()
306 static inline void btrfs_dev_clear_zone_empty(struct btrfs_device *device, u64 pos) in btrfs_dev_clear_zone_empty()
330 static inline bool btrfs_check_super_location(struct btrfs_device *device, u64 pos) in btrfs_check_super_location()
339 static inline bool btrfs_can_zone_reset(struct btrfs_device *device, in btrfs_can_zone_reset()