/Linux-v6.6/fs/btrfs/ |
D | zoned.h | 41 int btrfs_get_dev_zone(struct btrfs_device *device, u64 pos, 44 int btrfs_get_dev_zone_info(struct btrfs_device *device, bool populate_cache); 45 void btrfs_destroy_dev_zone_info(struct btrfs_device *device); 46 struct btrfs_zoned_device_info *btrfs_clone_dev_zone_info(struct btrfs_device *orig_dev); 51 int btrfs_sb_log_location(struct btrfs_device *device, int mirror, int rw, 53 int btrfs_advance_sb_log(struct btrfs_device *device, int mirror); 55 u64 btrfs_find_allocatable_zones(struct btrfs_device *device, u64 hole_start, 57 int btrfs_reset_device_zone(struct btrfs_device *device, u64 physical, 59 int btrfs_ensure_empty_zones(struct btrfs_device *device, u64 start, u64 size); 68 int btrfs_zoned_issue_zeroout(struct btrfs_device *device, u64 physical, u64 length); [all …]
|
D | volumes.h | 82 struct btrfs_device { struct 206 btrfs_device_get_##name(const struct btrfs_device *dev) \ 219 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \ 230 btrfs_device_get_##name(const struct btrfs_device *dev) \ 241 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \ 250 btrfs_device_get_##name(const struct btrfs_device *dev) \ 256 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \ 331 struct btrfs_device *latest_dev; 383 struct btrfs_device *dev; 393 struct btrfs_device *dev; [all …]
|
D | sysfs.h | 17 int btrfs_sysfs_add_device(struct btrfs_device *device); 18 void btrfs_sysfs_remove_device(struct btrfs_device *device); 33 void btrfs_sysfs_update_devid(struct btrfs_device *device);
|
D | dev-replace.c | 245 struct btrfs_device *srcdev, in btrfs_init_dev_replace_tgtdev() 246 struct btrfs_device **device_out) in btrfs_init_dev_replace_tgtdev() 249 struct btrfs_device *device; in btrfs_init_dev_replace_tgtdev() 454 struct btrfs_device *src_dev) in mark_block_group_to_copy() 547 bool btrfs_finish_block_group_to_copy(struct btrfs_device *srcdev, in btrfs_finish_block_group_to_copy() 609 struct btrfs_device *tgt_device = NULL; in btrfs_dev_replace_start() 610 struct btrfs_device *src_device = NULL; in btrfs_dev_replace_start() 784 static int btrfs_set_target_alloc_state(struct btrfs_device *srcdev, in btrfs_set_target_alloc_state() 785 struct btrfs_device *tgtdev) in btrfs_set_target_alloc_state() 811 struct btrfs_device *srcdev, in btrfs_dev_replace_update_device_in_mapping_tree() [all …]
|
D | volumes.c | 250 static void btrfs_dev_stat_print_on_load(struct btrfs_device *device); 395 static void btrfs_free_device(struct btrfs_device *device) in btrfs_free_device() 406 struct btrfs_device *device; in free_fs_devices() 411 struct btrfs_device, dev_list); in free_fs_devices() 561 static int btrfs_free_stale_devices(dev_t devt, struct btrfs_device *skip_device) in btrfs_free_stale_devices() 564 struct btrfs_device *device, *tmp_device; in btrfs_free_stale_devices() 613 struct btrfs_device *device, blk_mode_t flags, in btrfs_open_one_device() 777 static noinline struct btrfs_device *device_list_add(const char *path, in device_list_add() 781 struct btrfs_device *device; in device_list_add() 994 struct btrfs_device *device; in clone_fs_devices() [all …]
|
D | zoned.c | 198 static int emulate_report_zones(struct btrfs_device *device, u64 pos, in emulate_report_zones() 223 static int btrfs_get_dev_zones(struct btrfs_device *device, u64 pos, in btrfs_get_dev_zones() 338 struct btrfs_device *device; in btrfs_get_dev_zone_info_all_devices() 360 int btrfs_get_dev_zone_info(struct btrfs_device *device, bool populate_cache) in btrfs_get_dev_zone_info() 618 void btrfs_destroy_dev_zone_info(struct btrfs_device *device) in btrfs_destroy_dev_zone_info() 633 struct btrfs_zoned_device_info *btrfs_clone_dev_zone_info(struct btrfs_device *orig_dev) in btrfs_clone_dev_zone_info() 673 int btrfs_get_dev_zone(struct btrfs_device *device, u64 pos, in btrfs_get_dev_zone() 688 struct btrfs_device *device; in btrfs_check_for_zoned_device() 706 struct btrfs_device *device; in btrfs_check_zoned_mode() 915 int btrfs_sb_log_location(struct btrfs_device *device, int mirror, int rw, in btrfs_sb_log_location() [all …]
|
D | sysfs.c | 1440 struct btrfs_device *device; in btrfs_sysfs_remove_fs_devices() 1681 void btrfs_sysfs_remove_device(struct btrfs_device *device) in btrfs_sysfs_remove_device() 1707 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_in_fs_metadata_show() 1720 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_missing_show() 1734 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_replace_target_show() 1747 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_scrub_speed_max_show() 1757 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_scrub_speed_max_store() 1773 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_writeable_show() 1785 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_fsid_show() 1795 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_error_stats_show() [all …]
|
D | raid56.h | 183 struct btrfs_device; 191 struct btrfs_device *scrub_dev,
|
D | scrub.c | 115 struct btrfs_device *dev; 205 struct btrfs_device *wr_tgtdev; 229 struct btrfs_device *dev; 479 static void scrub_print_common_warning(const char *errstr, struct btrfs_device *dev, in scrub_print_common_warning() 873 struct btrfs_device *dev = NULL; in scrub_stripe_report_errors() 1223 static void scrub_throttle_dev_io(struct scrub_ctx *sctx, struct btrfs_device *device, in scrub_throttle_dev_io() 1514 struct btrfs_device *dev, u64 physical, in scrub_find_fill_first_stripe() 1788 struct btrfs_device *dev, int mirror_num, in queue_scrub_stripe() 1827 struct btrfs_device *scrub_dev, in scrub_raid56_parity_stripe() 2000 struct btrfs_device *device, in scrub_simple_mirror() [all …]
|
D | scrub.h | 12 int btrfs_scrub_cancel_dev(struct btrfs_device *dev);
|
D | dev-replace.h | 25 bool btrfs_finish_block_group_to_copy(struct btrfs_device *srcdev,
|
D | bio.c | 189 struct btrfs_device *dev) in btrfs_end_repair_bio() 282 static void btrfs_check_read_bio(struct btrfs_bio *bbio, struct btrfs_device *dev) in btrfs_check_read_bio() 327 static void btrfs_log_dev_io_error(struct bio *bio, struct btrfs_device *dev) in btrfs_log_dev_io_error() 364 struct btrfs_device *dev = bio->bi_private; in btrfs_simple_end_io() 437 static void btrfs_submit_dev_bio(struct btrfs_device *dev, struct bio *bio) in btrfs_submit_dev_bio()
|
D | disk-io.h | 28 struct btrfs_device;
|
D | fs.h | 264 struct btrfs_device *srcdev; 265 struct btrfs_device *tgtdev;
|
D | super.c | 862 struct btrfs_device *device = NULL; in btrfs_parse_device_options() 1445 struct btrfs_device *device = NULL; in btrfs_mount_root() 1918 struct btrfs_device *device; in btrfs_calc_avail_data_space() 2184 struct btrfs_device *device = NULL; in btrfs_control_ioctl() 2255 static int check_dev_super(struct btrfs_device *dev) in check_dev_super() 2309 struct btrfs_device *device; in btrfs_unfreeze()
|
D | check-integrity.c | 314 struct btrfs_device *device, 577 struct btrfs_device *device; in btrfsic_process_superblock() 701 struct btrfs_device *device, in btrfsic_process_superblock_dev_mirror() 1464 struct btrfs_device *device; in btrfsic_map_block() 2738 struct btrfs_device *device; in btrfsic_mount() 2809 struct btrfs_device *device; in btrfsic_unmount()
|
D | btrfs_inode.h | 413 bool btrfs_data_csum_ok(struct btrfs_bio *bbio, struct btrfs_device *dev,
|
D | disk-io.c | 3627 struct btrfs_device *device = bio->bi_private; in btrfs_end_super_write() 3744 static int write_dev_supers(struct btrfs_device *device, in write_dev_supers() 3840 static int wait_dev_supers(struct btrfs_device *device, int max_mirrors) in wait_dev_supers() 3914 static void write_dev_flush(struct btrfs_device *device) in write_dev_flush() 3950 static bool wait_dev_flush(struct btrfs_device *device) in wait_dev_flush() 3975 struct btrfs_device *dev; in barrier_all_devices() 4051 struct btrfs_device *dev; in write_all_supers() 4836 struct btrfs_device *dev, *tmp; in btrfs_cleanup_one_transaction()
|
D | ctree.h | 51 struct btrfs_device;
|
D | extent_map.c | 365 struct btrfs_device *device = stripe->dev; in extent_map_device_set_bits() 381 struct btrfs_device *device = stripe->dev; in extent_map_device_clear_bits()
|
D | ioctl.c | 483 struct btrfs_device *device; in btrfs_ioctl_fitrim() 1104 struct btrfs_device *device = NULL; in btrfs_ioctl_resize() 2792 struct btrfs_device *device; in btrfs_ioctl_fs_info() 2847 struct btrfs_device *dev; in btrfs_ioctl_dev_info()
|
D | extent-tree.c | 1313 struct btrfs_device *dev = stripe->dev; in do_discard_extent() 5960 static int btrfs_trim_free_extents(struct btrfs_device *device, u64 *trimmed) in btrfs_trim_free_extents() 6062 struct btrfs_device *device; in btrfs_trim_fs()
|
/Linux-v6.6/fs/btrfs/tests/ |
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() 157 struct btrfs_device *dev, *tmp; in btrfs_free_dummy_fs_info()
|
D | btrfs-tests.h | 49 struct btrfs_device *btrfs_alloc_dummy_device(struct btrfs_fs_info *fs_info);
|
D | extent-map-tests.c | 893 struct btrfs_device *dev = btrfs_alloc_dummy_device(fs_info); in test_rmap_block()
|