| /fs/btrfs/ |
| A D | zoned.h | 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); 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); 71 int btrfs_reset_device_zone(struct btrfs_device *device, u64 physical, 108 static inline int btrfs_get_dev_zone_info(struct btrfs_device *device, in btrfs_get_dev_zone_info() 121 struct btrfs_device *orig_dev) in btrfs_clone_dev_zone_info() 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() [all …]
|
| A D | volumes.h | 109 struct btrfs_device { struct 238 btrfs_device_get_##name(const struct btrfs_device *dev) \ 262 btrfs_device_get_##name(const struct btrfs_device *dev) \ 282 btrfs_device_get_##name(const struct btrfs_device *dev) \ 404 struct btrfs_device *latest_dev; 483 struct btrfs_device *dev; 492 struct btrfs_device *dev; 598 struct btrfs_device *dev; 737 struct btrfs_device *this_dev); 754 struct btrfs_device *device, u64 new_size); [all …]
|
| A D | sysfs.h | 12 struct btrfs_device; 27 int btrfs_sysfs_add_device(struct btrfs_device *device); 28 void btrfs_sysfs_remove_device(struct btrfs_device *device); 43 void btrfs_sysfs_update_devid(struct btrfs_device *device);
|
| A D | volumes.c | 415 struct btrfs_device *device; in free_fs_devices() 603 struct btrfs_device *device; in find_fsid_by_device() 785 struct btrfs_device *device; in device_list_add() 1003 struct btrfs_device *device; in clone_fs_devices() 1235 struct btrfs_device *device; in open_fs_devices() 2183 struct btrfs_device *device; in btrfs_rm_device() 2506 struct btrfs_device *device; in btrfs_find_device_by_devspec() 6899 struct btrfs_device *dev; in btrfs_alloc_device() 7010 struct btrfs_device *dev; in handle_missing_device() 7841 struct btrfs_device *dev; in btrfs_get_dev_stats() [all …]
|
| A D | dev-replace.c | 236 struct btrfs_device *srcdev, in btrfs_init_dev_replace_tgtdev() 237 struct btrfs_device **device_out) in btrfs_init_dev_replace_tgtdev() 240 struct btrfs_device *device; in btrfs_init_dev_replace_tgtdev() 441 struct btrfs_device *src_dev) in mark_block_group_to_copy() 594 struct btrfs_device *tgt_device = NULL; in btrfs_dev_replace_start() 595 struct btrfs_device *src_device = NULL; in btrfs_dev_replace_start() 787 struct btrfs_device *tgtdev) in btrfs_set_target_alloc_state() 813 struct btrfs_device *srcdev, in btrfs_dev_replace_update_device_in_mapping_tree() 814 struct btrfs_device *tgtdev) in btrfs_dev_replace_update_device_in_mapping_tree() 863 struct btrfs_device *tgt_device; in btrfs_dev_replace_finishing() [all …]
|
| A D | zoned.c | 331 struct btrfs_device *device; in btrfs_get_dev_zone_info_all_devices() 667 struct btrfs_device *device; in btrfs_check_for_zoned_device() 684 struct btrfs_device *device; in btrfs_check_zoned_mode() 1290 struct btrfs_device *device; in btrfs_load_zone_info() 2098 struct btrfs_device *dev = bioc->stripes[i].dev; in read_zone_info() 2160 struct btrfs_device *device; in btrfs_zone_activate() 2263 struct btrfs_device *device = stripe->dev; in call_zone_finish() 2414 struct btrfs_device *device; in btrfs_can_activate_zone() 2632 struct btrfs_device *device; in btrfs_free_zone_cache() 2650 struct btrfs_device *device; in btrfs_zoned_should_reclaim() [all …]
|
| A D | scrub.h | 9 struct btrfs_device; 18 int btrfs_scrub_cancel_dev(struct btrfs_device *dev);
|
| A D | sysfs.c | 1736 struct btrfs_device *device; in btrfs_sysfs_remove_fs_devices() 2022 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_in_fs_metadata_show() 2035 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_missing_show() 2049 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_replace_target_show() 2062 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_scrub_speed_max_show() 2072 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_scrub_speed_max_store() 2092 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_writeable_show() 2104 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_fsid_show() 2114 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_error_stats_show() 2158 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_release_devid_kobj() [all …]
|
| A D | dev-replace.h | 17 struct btrfs_device; 29 bool btrfs_finish_block_group_to_copy(struct btrfs_device *srcdev,
|
| A D | raid56.h | 192 struct btrfs_device; 200 struct btrfs_device *scrub_dev,
|
| A D | scrub.c | 145 struct btrfs_device *dev; 213 struct btrfs_device *wr_tgtdev; 321 struct btrfs_device *dev; 979 struct btrfs_device *dev = NULL; in scrub_stripe_report_errors() 2231 struct btrfs_device *device, in scrub_simple_mirror() 2331 struct btrfs_device *device, in scrub_simple_stripe() 2364 struct btrfs_device *scrub_dev, in scrub_stripe() 2528 struct btrfs_device *scrub_dev, in scrub_chunk() 2910 struct btrfs_device *scrub_dev) in scrub_supers() 3021 struct btrfs_device *dev; in btrfs_scrub_dev() [all …]
|
| A D | bio.c | 160 struct btrfs_device *dev) in btrfs_end_repair_bio() 253 static void btrfs_check_read_bio(struct btrfs_bio *bbio, struct btrfs_device *dev) in btrfs_check_read_bio() 298 static void btrfs_log_dev_io_error(const struct bio *bio, struct btrfs_device *dev) in btrfs_log_dev_io_error() 335 struct btrfs_device *dev = bio->bi_private; in btrfs_simple_end_io() 413 static void btrfs_submit_dev_bio(struct btrfs_device *dev, struct bio *bio) in btrfs_submit_dev_bio()
|
| A D | fs.h | 39 struct btrfs_device; 326 struct btrfs_device *srcdev; 327 struct btrfs_device *tgtdev;
|
| A D | disk-io.h | 17 struct btrfs_device;
|
| A D | super.c | 363 struct btrfs_device *device; in btrfs_parse_param() 1607 struct btrfs_device *device; in btrfs_calc_avail_data_space() 1841 struct btrfs_device *device; in btrfs_get_tree_super() 2221 struct btrfs_device *device = NULL; in btrfs_control_ioctl() 2297 static int check_dev_super(struct btrfs_device *dev) in check_dev_super() 2352 struct btrfs_device *device; in btrfs_unfreeze()
|
| A D | disk-io.c | 3690 struct btrfs_device *device = bio->bi_private; in btrfs_end_super_write() 3725 static int write_dev_supers(struct btrfs_device *device, in write_dev_supers() 3819 static int wait_dev_supers(struct btrfs_device *device, int max_mirrors) in wait_dev_supers() 3883 static void write_dev_flush(struct btrfs_device *device) in write_dev_flush() 3902 static bool wait_dev_flush(struct btrfs_device *device) in wait_dev_flush() 3927 struct btrfs_device *dev; in barrier_all_devices() 4003 struct btrfs_device *dev; in write_all_supers() 4783 struct btrfs_device *dev, *tmp; in btrfs_cleanup_one_transaction()
|
| A D | btrfs_inode.h | 547 bool btrfs_data_csum_ok(struct btrfs_bio *bbio, struct btrfs_device *dev,
|
| A D | ioctl.c | 412 struct btrfs_device *device; in btrfs_ioctl_fitrim() 1038 struct btrfs_device *device = NULL; in btrfs_ioctl_resize() 2768 struct btrfs_device *device; in btrfs_ioctl_fs_info() 2823 struct btrfs_device *dev; in btrfs_ioctl_dev_info()
|
| A D | extent-tree.c | 1343 struct btrfs_device *dev = stripe->dev; in do_discard_extent() 6417 static int btrfs_trim_free_extents(struct btrfs_device *device, u64 *trimmed) in btrfs_trim_free_extents() 6519 struct btrfs_device *device; in btrfs_trim_fs()
|
| A D | block-group.c | 2683 const struct btrfs_device *device, u64 chunk_offset, in insert_dev_extent() 2728 struct btrfs_device *device; in insert_dev_extents()
|
| A D | raid56.c | 2454 struct btrfs_device *scrub_dev, in raid56_parity_alloc_scrub_rbio()
|
| /fs/btrfs/tests/ |
| A D | btrfs-tests.c | 97 struct btrfs_device *btrfs_alloc_dummy_device(struct btrfs_fs_info *fs_info) in btrfs_alloc_dummy_device() 99 struct btrfs_device *dev; in btrfs_alloc_dummy_device() 112 static void btrfs_free_dummy_device(struct btrfs_device *dev) in btrfs_free_dummy_device() 160 struct btrfs_device *dev, *tmp; in btrfs_free_dummy_fs_info()
|
| A D | btrfs-tests.h | 58 struct btrfs_device *btrfs_alloc_dummy_device(struct btrfs_fs_info *fs_info);
|
| A D | raid-stripe-tree-tests.c | 21 static struct btrfs_device *btrfs_device_by_devid(struct btrfs_fs_devices *fs_devices, in btrfs_device_by_devid() 24 struct btrfs_device *dev; in btrfs_device_by_devid() 1123 struct btrfs_device *dev; in run_test()
|
| A D | extent-map-tests.c | 1034 struct btrfs_device *dev = btrfs_alloc_dummy_device(fs_info); in test_rmap_block()
|