Lines Matching refs:btrfs_device
170 static int emulate_report_zones(struct btrfs_device *device, u64 pos, in emulate_report_zones()
195 static int btrfs_get_dev_zones(struct btrfs_device *device, u64 pos, in btrfs_get_dev_zones()
272 struct btrfs_device *device; in btrfs_get_dev_zone_info_all_devices()
294 int btrfs_get_dev_zone_info(struct btrfs_device *device) in btrfs_get_dev_zone_info()
489 void btrfs_destroy_dev_zone_info(struct btrfs_device *device) in btrfs_destroy_dev_zone_info()
502 int btrfs_get_dev_zone(struct btrfs_device *device, u64 pos, in btrfs_get_dev_zone()
518 struct btrfs_device *device; in btrfs_check_zoned_mode()
730 int btrfs_sb_log_location(struct btrfs_device *device, int mirror, int rw, in btrfs_sb_log_location()
774 void btrfs_advance_sb_log(struct btrfs_device *device, int mirror) in btrfs_advance_sb_log()
839 u64 btrfs_find_allocatable_zones(struct btrfs_device *device, u64 hole_start, in btrfs_find_allocatable_zones()
898 int btrfs_reset_device_zone(struct btrfs_device *device, u64 physical, in btrfs_reset_device_zone()
920 int btrfs_ensure_empty_zones(struct btrfs_device *device, u64 start, u64 size) in btrfs_ensure_empty_zones()
1034 struct btrfs_device *device; in btrfs_load_block_group_zone_info()
1431 int btrfs_zoned_issue_zeroout(struct btrfs_device *device, u64 physical, u64 length) in btrfs_zoned_issue_zeroout()
1463 struct btrfs_device *dev = bbio->stripes[i].dev; in read_zone_info()
1485 int btrfs_sync_zone_write_pointer(struct btrfs_device *tgt_dev, u64 logical, in btrfs_sync_zone_write_pointer()
1513 struct btrfs_device *btrfs_zoned_get_device(struct btrfs_fs_info *fs_info, in btrfs_zoned_get_device()
1516 struct btrfs_device *device; in btrfs_zoned_get_device()