| /linux/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, 106 static inline int btrfs_get_dev_zone_info(struct btrfs_device *device, in btrfs_get_dev_zone_info() 119 struct btrfs_device *orig_dev) in btrfs_clone_dev_zone_info() 170 static inline int btrfs_reset_device_zone(struct btrfs_device *device, in btrfs_reset_device_zone() 177 static inline int btrfs_ensure_empty_zones(struct btrfs_device *device, in btrfs_ensure_empty_zones() 206 static inline int btrfs_zoned_issue_zeroout(struct btrfs_device *device, in btrfs_zoned_issue_zeroout() [all …]
|
| A D | volumes.h | 106 struct btrfs_device { struct 234 btrfs_device_get_##name(const struct btrfs_device *dev) \ 258 btrfs_device_get_##name(const struct btrfs_device *dev) \ 278 btrfs_device_get_##name(const struct btrfs_device *dev) \ 391 struct btrfs_device *latest_dev; 449 struct btrfs_device *dev; 459 struct btrfs_device *dev; 564 struct btrfs_device *dev; 703 struct btrfs_device *this_dev); 720 struct btrfs_device *device, u64 new_size); [all …]
|
| A D | sysfs.h | 11 struct btrfs_device; 26 int btrfs_sysfs_add_device(struct btrfs_device *device); 27 void btrfs_sysfs_remove_device(struct btrfs_device *device); 42 void btrfs_sysfs_update_devid(struct btrfs_device *device);
|
| A D | scrub.h | 9 struct btrfs_device; 18 int btrfs_scrub_cancel_dev(struct btrfs_device *dev);
|
| A D | volumes.c | 413 struct btrfs_device *device; in free_fs_devices() 600 struct btrfs_device *device; in find_fsid_by_device() 746 struct btrfs_device *device; in device_list_add() 958 struct btrfs_device *device; in clone_fs_devices() 1190 struct btrfs_device *device; in open_fs_devices() 2122 struct btrfs_device *device; in btrfs_rm_device() 2445 struct btrfs_device *device; in btrfs_find_device_by_devspec() 6746 struct btrfs_device *dev; in btrfs_alloc_device() 6857 struct btrfs_device *dev; in handle_missing_device() 7734 struct btrfs_device *dev; in btrfs_get_dev_stats() [all …]
|
| A D | dev-replace.h | 17 struct btrfs_device; 29 bool btrfs_finish_block_group_to_copy(struct btrfs_device *srcdev,
|
| A D | dev-replace.c | 242 struct btrfs_device *srcdev, in btrfs_init_dev_replace_tgtdev() 243 struct btrfs_device **device_out) in btrfs_init_dev_replace_tgtdev() 246 struct btrfs_device *device; in btrfs_init_dev_replace_tgtdev() 453 struct btrfs_device *src_dev) in mark_block_group_to_copy() 606 struct btrfs_device *tgt_device = NULL; in btrfs_dev_replace_start() 607 struct btrfs_device *src_device = NULL; in btrfs_dev_replace_start() 798 struct btrfs_device *tgtdev) in btrfs_set_target_alloc_state() 824 struct btrfs_device *srcdev, in btrfs_dev_replace_update_device_in_mapping_tree() 825 struct btrfs_device *tgtdev) in btrfs_dev_replace_update_device_in_mapping_tree() 874 struct btrfs_device *tgt_device; in btrfs_dev_replace_finishing() [all …]
|
| A D | zoned.c | 327 struct btrfs_device *device; in btrfs_get_dev_zone_info_all_devices() 660 struct btrfs_device *device; in btrfs_check_for_zoned_device() 677 struct btrfs_device *device; in btrfs_check_zoned_mode() 1279 struct btrfs_device *device; in btrfs_load_zone_info() 2016 struct btrfs_device *dev = bioc->stripes[i].dev; in read_zone_info() 2078 struct btrfs_device *device; in btrfs_zone_activate() 2266 struct btrfs_device *device = map->stripes[i].dev; in do_zone_finish() 2318 struct btrfs_device *device; in btrfs_can_activate_zone() 2435 struct btrfs_device *device; in btrfs_free_zone_cache() 2453 struct btrfs_device *device; in btrfs_zoned_should_reclaim() [all …]
|
| A D | raid56.h | 192 struct btrfs_device; 200 struct btrfs_device *scrub_dev,
|
| A D | sysfs.c | 1591 struct btrfs_device *device; in btrfs_sysfs_remove_fs_devices() 1858 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_in_fs_metadata_show() 1871 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_missing_show() 1885 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_replace_target_show() 1898 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_scrub_speed_max_show() 1908 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_scrub_speed_max_store() 1928 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_writeable_show() 1940 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_fsid_show() 1950 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_error_stats_show() 1994 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_release_devid_kobj() [all …]
|
| A D | scrub.c | 115 struct btrfs_device *dev; 204 struct btrfs_device *wr_tgtdev; 228 struct btrfs_device *dev; 872 struct btrfs_device *dev = NULL; in scrub_stripe_report_errors() 2108 struct btrfs_device *device, in scrub_simple_mirror() 2208 struct btrfs_device *device, in scrub_simple_stripe() 2241 struct btrfs_device *scrub_dev, in scrub_stripe() 2412 struct btrfs_device *scrub_dev, in scrub_chunk() 2800 struct btrfs_device *scrub_dev) in scrub_supers() 2911 struct btrfs_device *dev; in btrfs_scrub_dev() [all …]
|
| A D | bio.c | 165 struct btrfs_device *dev) in btrfs_end_repair_bio() 264 static void btrfs_check_read_bio(struct btrfs_bio *bbio, struct btrfs_device *dev) in btrfs_check_read_bio() 309 static void btrfs_log_dev_io_error(struct bio *bio, struct btrfs_device *dev) in btrfs_log_dev_io_error() 346 struct btrfs_device *dev = bio->bi_private; in btrfs_simple_end_io() 424 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; 310 struct btrfs_device *srcdev; 311 struct btrfs_device *tgtdev;
|
| A D | disk-io.h | 17 struct btrfs_device;
|
| A D | super.c | 309 struct btrfs_device *device; in btrfs_parse_param() 1602 struct btrfs_device *device; in btrfs_calc_avail_data_space() 1837 struct btrfs_device *device; in btrfs_get_tree_super() 2217 struct btrfs_device *device = NULL; in btrfs_control_ioctl() 2290 static int check_dev_super(struct btrfs_device *dev) in check_dev_super() 2345 struct btrfs_device *device; in btrfs_unfreeze()
|
| A D | btrfs_inode.h | 525 bool btrfs_data_csum_ok(struct btrfs_bio *bbio, struct btrfs_device *dev,
|
| A D | disk-io.c | 3620 struct btrfs_device *device = bio->bi_private; in btrfs_end_super_write() 3734 static int write_dev_supers(struct btrfs_device *device, in write_dev_supers() 3829 static int wait_dev_supers(struct btrfs_device *device, int max_mirrors) in wait_dev_supers() 3894 static void write_dev_flush(struct btrfs_device *device) in write_dev_flush() 3913 static bool wait_dev_flush(struct btrfs_device *device) in wait_dev_flush() 3938 struct btrfs_device *dev; in barrier_all_devices() 4014 struct btrfs_device *dev; in write_all_supers() 4811 struct btrfs_device *dev, *tmp; in btrfs_cleanup_one_transaction()
|
| A D | ioctl.c | 493 struct btrfs_device *device; in btrfs_ioctl_fitrim() 1137 struct btrfs_device *device = NULL; in btrfs_ioctl_resize() 2855 struct btrfs_device *device; in btrfs_ioctl_fs_info() 2910 struct btrfs_device *dev; in btrfs_ioctl_dev_info()
|
| A D | extent-tree.c | 1331 struct btrfs_device *dev = stripe->dev; in do_discard_extent() 6400 static int btrfs_trim_free_extents(struct btrfs_device *device, u64 *trimmed) in btrfs_trim_free_extents() 6502 struct btrfs_device *device; in btrfs_trim_fs()
|
| A D | block-group.c | 2643 const struct btrfs_device *device, u64 chunk_offset, in insert_dev_extent() 2691 struct btrfs_device *device; in insert_dev_extents()
|
| A D | raid56.c | 2447 struct btrfs_device *scrub_dev, in raid56_parity_alloc_scrub_rbio()
|
| A D | inode.c | 3334 bool btrfs_data_csum_ok(struct btrfs_bio *bbio, struct btrfs_device *dev, in btrfs_data_csum_ok() 9781 struct btrfs_device *device = NULL; in btrfs_swap_activate()
|
| /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 | 50 struct btrfs_device *btrfs_alloc_dummy_device(struct btrfs_fs_info *fs_info);
|
| A D | extent-map-tests.c | 1034 struct btrfs_device *dev = btrfs_alloc_dummy_device(fs_info); in test_rmap_block()
|