| /linux/fs/btrfs/ |
| A D | zoned.h | 35 int btrfs_get_dev_zone(struct btrfs_device *device, u64 pos, 38 int btrfs_get_dev_zone_info(struct btrfs_device *device); 39 void btrfs_destroy_dev_zone_info(struct btrfs_device *device); 44 int btrfs_sb_log_location(struct btrfs_device *device, int mirror, int rw, 46 int btrfs_advance_sb_log(struct btrfs_device *device, int mirror); 50 int btrfs_reset_device_zone(struct btrfs_device *device, u64 physical, 91 static inline int btrfs_get_dev_zone_info(struct btrfs_device *device) in btrfs_get_dev_zone_info() 143 static inline int btrfs_reset_device_zone(struct btrfs_device *device, in btrfs_reset_device_zone() 150 static inline int btrfs_ensure_empty_zones(struct btrfs_device *device, in btrfs_ensure_empty_zones() 207 static inline struct btrfs_device *btrfs_zoned_get_device( in btrfs_zoned_get_device() [all …]
|
| A D | volumes.h | 57 struct btrfs_device { struct 158 btrfs_device_get_##name(const struct btrfs_device *dev) \ argument 182 btrfs_device_get_##name(const struct btrfs_device *dev) \ 272 struct btrfs_device *latest_dev; 334 struct btrfs_device *device; 360 struct btrfs_device *dev; 405 struct btrfs_device *dev; 519 struct btrfs_device *this_dev); 530 void btrfs_free_device(struct btrfs_device *device); 537 struct btrfs_device *device, u64 new_size); [all …]
|
| A D | sysfs.h | 17 int btrfs_sysfs_add_device(struct btrfs_device *device); 18 void btrfs_sysfs_remove_device(struct btrfs_device *device); 34 void btrfs_sysfs_update_devid(struct btrfs_device *device);
|
| A D | zoned.c | 290 struct btrfs_device *device; in btrfs_get_dev_zone_info_all_devices() 312 int btrfs_get_dev_zone_info(struct btrfs_device *device) in btrfs_get_dev_zone_info() 565 int btrfs_get_dev_zone(struct btrfs_device *device, u64 pos, in btrfs_get_dev_zone() 581 struct btrfs_device *device; in btrfs_check_zoned_mode() 1164 struct btrfs_device *device; in btrfs_load_block_group_zone_info() 1658 struct btrfs_device *dev = bioc->stripes[i].dev; in read_zone_info() 1711 struct btrfs_device *device; in btrfs_zoned_get_device() 1740 struct btrfs_device *device; in btrfs_zone_activate() 1799 struct btrfs_device *device; in btrfs_zone_finish() 1889 struct btrfs_device *device; in btrfs_can_activate_zone() [all …]
|
| A D | dev-replace.c | 243 struct btrfs_device *srcdev, in btrfs_init_dev_replace_tgtdev() 244 struct btrfs_device **device_out) in btrfs_init_dev_replace_tgtdev() 246 struct btrfs_device *device; in btrfs_init_dev_replace_tgtdev() 464 struct btrfs_device *src_dev) in mark_block_group_to_copy() 650 struct btrfs_device *tgt_device = NULL; in btrfs_dev_replace_start() 651 struct btrfs_device *src_device = NULL; in btrfs_dev_replace_start() 821 struct btrfs_device *tgtdev) in btrfs_set_target_alloc_state() 847 struct btrfs_device *srcdev, in btrfs_dev_replace_update_device_in_mapping_tree() 848 struct btrfs_device *tgtdev) in btrfs_dev_replace_update_device_in_mapping_tree() 875 struct btrfs_device *tgt_device; in btrfs_dev_replace_finishing() [all …]
|
| A D | volumes.c | 411 struct btrfs_device *device; in free_fs_devices() 775 struct btrfs_device *device; in device_list_add() 994 struct btrfs_device *device; in clone_fs_devices() 1208 struct btrfs_device *device; in open_fs_devices() 2096 struct btrfs_device *device; in btrfs_rm_device() 2413 struct btrfs_device *device; in btrfs_find_device_by_devspec() 2443 struct btrfs_device *device; in btrfs_prepare_sprout() 6742 struct btrfs_device *dev; in btrfs_map_bio() 6916 struct btrfs_device *dev; in btrfs_alloc_device() 7932 struct btrfs_device *dev; in btrfs_get_dev_stats() [all …]
|
| A D | sysfs.c | 1192 struct btrfs_device *device; in btrfs_sysfs_remove_fs_devices() 1465 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_in_fs_metadata_show() 1478 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_missing_show() 1492 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_replace_target_show() 1505 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_scrub_speed_max_show() 1515 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_scrub_speed_max_store() 1531 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_writeable_show() 1543 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_error_stats_show() 1586 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_release_devid_kobj() 1599 int btrfs_sysfs_add_device(struct btrfs_device *device) in btrfs_sysfs_add_device() [all …]
|
| A D | reada.c | 73 struct btrfs_device *device; 74 struct btrfs_device *devs[BTRFS_MAX_MIRRORS]; /* full list, incl 229 static struct reada_zone *reada_find_zone(struct btrfs_device *dev, u64 logical, in reada_find_zone() 313 struct btrfs_device *dev; in reada_find_extent() 314 struct btrfs_device *prev_dev; in reada_find_extent() 610 static int reada_pick_zone(struct btrfs_device *dev) in reada_pick_zone() 689 static int reada_start_machine_dev(struct btrfs_device *dev) in reada_start_machine_dev() 794 struct btrfs_device *device; in reada_start_for_fsdevs() 859 struct btrfs_device *device; in dump_devs() 1054 void btrfs_reada_remove_dev(struct btrfs_device *dev) in btrfs_reada_remove_dev() [all …]
|
| A D | raid56.h | 31 struct btrfs_device; 43 struct btrfs_device *scrub_dev,
|
| A D | scrub.c | 67 struct btrfs_device *dev; 86 struct btrfs_device *dev; 125 struct btrfs_device *scrub_dev; 178 struct btrfs_device *wr_tgtdev; 203 struct btrfs_device *dev; 723 struct btrfs_device *dev; in scrub_print_warning() 817 struct btrfs_device *dev; in scrub_handle_errored_block() 2004 struct btrfs_device *device; in scrub_throttle() 2163 struct btrfs_device *dev; in scrub_missing_raid56_worker() 4073 struct btrfs_device *dev; in btrfs_scrub_dev() [all …]
|
| A D | dev-replace.h | 21 bool btrfs_finish_block_group_to_copy(struct btrfs_device *srcdev,
|
| A D | disk-io.h | 35 struct btrfs_device;
|
| A D | extent_map.c | 364 struct btrfs_device *device = stripe->dev; in extent_map_device_set_bits() 379 struct btrfs_device *device = stripe->dev; in extent_map_device_clear_bits()
|
| A D | check-integrity.c | 313 struct btrfs_device *device, 576 struct btrfs_device *device; in btrfsic_process_superblock() 700 struct btrfs_device *device, in btrfsic_process_superblock_dev_mirror() 1462 struct btrfs_device *device; in btrfsic_map_block() 2742 struct btrfs_device *device; in btrfsic_mount() 2813 struct btrfs_device *device; in btrfsic_unmount()
|
| A D | super.c | 1061 struct btrfs_device *device = NULL; in btrfs_parse_device_options() 1643 struct btrfs_device *device = NULL; in btrfs_mount_root() 2114 struct btrfs_device *device; in btrfs_calc_avail_data_space() 2388 struct btrfs_device *device = NULL; in btrfs_control_ioctl()
|
| A D | disk-io.c | 3715 struct btrfs_device *device = bio->bi_private; in btrfs_end_super_write() 3819 static int write_dev_supers(struct btrfs_device *device, in write_dev_supers() 3914 static int wait_dev_supers(struct btrfs_device *device, int max_mirrors) in wait_dev_supers() 3987 static void write_dev_flush(struct btrfs_device *device) in write_dev_flush() 4021 static blk_status_t wait_dev_flush(struct btrfs_device *device) in wait_dev_flush() 4048 struct btrfs_device *dev; in barrier_all_devices() 4132 struct btrfs_device *dev; in write_all_supers() 4922 struct btrfs_device *dev, *tmp; in btrfs_cleanup_one_transaction()
|
| A D | ctree.h | 427 struct btrfs_device *srcdev; 428 struct btrfs_device *tgtdev; 523 struct btrfs_device; 3809 int btrfs_scrub_cancel_dev(struct btrfs_device *dev); 3843 void btrfs_reada_remove_dev(struct btrfs_device *dev); 3844 void btrfs_reada_undo_remove_dev(struct btrfs_device *dev);
|
| A D | ioctl.c | 427 struct btrfs_device *device; in btrfs_ioctl_fitrim() 1631 struct btrfs_device *device = NULL; in btrfs_ioctl_resize() 3296 struct btrfs_device *device; in btrfs_ioctl_fs_info() 3351 struct btrfs_device *dev; in btrfs_ioctl_dev_info()
|
| A D | extent-tree.c | 1271 struct btrfs_device *dev = stripe->dev; in do_discard_extent() 1342 struct btrfs_device *device = stripe->dev; in btrfs_discard_extent() 5940 static int btrfs_trim_free_extents(struct btrfs_device *device, u64 *trimmed) in btrfs_trim_free_extents() 6043 struct btrfs_device *device; in btrfs_trim_fs()
|
| A D | block-group.c | 2297 struct btrfs_device *device, u64 chunk_offset, in insert_dev_extent() 2345 struct btrfs_device *device; in insert_dev_extents()
|
| A D | raid56.c | 2224 u64 stripe_len, struct btrfs_device *scrub_dev, in raid56_parity_alloc_scrub_rbio()
|
| A D | extent_io.c | 2308 struct btrfs_device *dev; in repair_io_failure() 3343 struct btrfs_device *device; in alloc_new_bio()
|
| /linux/fs/btrfs/tests/ |
| A D | btrfs-tests.c | 95 struct btrfs_device *btrfs_alloc_dummy_device(struct btrfs_fs_info *fs_info) in btrfs_alloc_dummy_device() 97 struct btrfs_device *dev; in btrfs_alloc_dummy_device() 110 static void btrfs_free_dummy_device(struct btrfs_device *dev) in btrfs_free_dummy_device() 155 struct btrfs_device *dev, *tmp; in btrfs_free_dummy_fs_info()
|
| A D | btrfs-tests.h | 49 struct btrfs_device *btrfs_alloc_dummy_device(struct btrfs_fs_info *fs_info);
|
| A D | extent-map-tests.c | 491 struct btrfs_device *dev = btrfs_alloc_dummy_device(fs_info); in test_rmap_block()
|