/Linux-v5.15/fs/btrfs/ |
D | zoned.h | 32 int btrfs_get_dev_zone(struct btrfs_device *device, u64 pos, 35 int btrfs_get_dev_zone_info(struct btrfs_device *device); 36 void btrfs_destroy_dev_zone_info(struct btrfs_device *device); 41 int btrfs_sb_log_location(struct btrfs_device *device, int mirror, int rw, 43 void btrfs_advance_sb_log(struct btrfs_device *device, int mirror); 45 u64 btrfs_find_allocatable_zones(struct btrfs_device *device, u64 hole_start, 47 int btrfs_reset_device_zone(struct btrfs_device *device, u64 physical, 49 int btrfs_ensure_empty_zones(struct btrfs_device *device, u64 start, u64 size); 64 int btrfs_zoned_issue_zeroout(struct btrfs_device *device, u64 physical, u64 length); 65 int btrfs_sync_zone_write_pointer(struct btrfs_device *tgt_dev, u64 logical, [all …]
|
D | volumes.h | 57 struct btrfs_device { struct 158 btrfs_device_get_##name(const struct btrfs_device *dev) \ argument 171 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \ 182 btrfs_device_get_##name(const struct btrfs_device *dev) \ 193 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \ 202 btrfs_device_get_##name(const struct btrfs_device *dev) \ 208 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \ 313 struct btrfs_device *device; 339 struct btrfs_device *dev; 368 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); 34 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() 248 struct btrfs_device *device; in btrfs_init_dev_replace_tgtdev() 458 static char* btrfs_dev_name(struct btrfs_device *device) in btrfs_dev_name() 467 struct btrfs_device *src_dev) in mark_block_group_to_copy() 590 bool btrfs_finish_block_group_to_copy(struct btrfs_device *srcdev, in btrfs_finish_block_group_to_copy() 653 struct btrfs_device *tgt_device = NULL; in btrfs_dev_replace_start() 654 struct btrfs_device *src_device = NULL; in btrfs_dev_replace_start() 823 static int btrfs_set_target_alloc_state(struct btrfs_device *srcdev, in btrfs_set_target_alloc_state() 824 struct btrfs_device *tgtdev) in btrfs_set_target_alloc_state() [all …]
|
D | zoned.c | 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() [all …]
|
D | volumes.c | 248 static void btrfs_dev_stat_print_on_error(struct btrfs_device *dev); 249 static void btrfs_dev_stat_print_on_load(struct btrfs_device *device); 398 void btrfs_free_device(struct btrfs_device *device) in btrfs_free_device() 410 struct btrfs_device *device; in free_fs_devices() 414 struct btrfs_device, dev_list); in free_fs_devices() 532 static bool device_path_matched(const char *path, struct btrfs_device *device) in device_path_matched() 555 struct btrfs_device *skip_device) in btrfs_free_stale_devices() 558 struct btrfs_device *device, *tmp_device; in btrfs_free_stale_devices() 609 struct btrfs_device *device, fmode_t flags, in btrfs_open_one_device() 770 static noinline struct btrfs_device *device_list_add(const char *path, in device_list_add() [all …]
|
D | raid56.h | 31 struct btrfs_device; 45 struct btrfs_device *scrub_dev,
|
D | sysfs.c | 1196 struct btrfs_device *device; in btrfs_sysfs_remove_fs_devices() 1443 void btrfs_sysfs_remove_device(struct btrfs_device *device) in btrfs_sysfs_remove_device() 1469 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_in_fs_metadata_show() 1482 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_missing_show() 1496 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_replace_target_show() 1509 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_scrub_speed_max_show() 1520 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_scrub_speed_max_store() 1536 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_writeable_show() 1548 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_error_stats_show() 1591 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_release_devid_kobj() [all …]
|
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 …]
|
D | dev-replace.h | 21 bool btrfs_finish_block_group_to_copy(struct btrfs_device *srcdev,
|
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; 236 u64 physical, struct btrfs_device *dev, u64 flags, 245 struct btrfs_device **extent_dev, 723 struct btrfs_device *dev; in scrub_print_warning() 817 struct btrfs_device *dev; in scrub_handle_errored_block() 2005 struct btrfs_device *device; in scrub_throttle() [all …]
|
D | disk-io.h | 38 struct btrfs_device;
|
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()
|
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() 2466 struct btrfs_device *dev, *first_dev = NULL; in btrfs_show_devname()
|
D | check-integrity.c | 314 struct btrfs_device *device, 578 struct btrfs_device *device; in btrfsic_process_superblock() 702 struct btrfs_device *device, in btrfsic_process_superblock_dev_mirror() 1459 struct btrfs_device *device; in btrfsic_map_block() 2719 struct btrfs_device *device; in btrfsic_mount() 2795 struct btrfs_device *device; in btrfsic_unmount()
|
D | disk-io.c | 3699 struct btrfs_device *device = bio->bi_private; in btrfs_end_super_write() 3803 static int write_dev_supers(struct btrfs_device *device, in write_dev_supers() 3896 static int wait_dev_supers(struct btrfs_device *device, int max_mirrors) in wait_dev_supers() 3969 static void write_dev_flush(struct btrfs_device *device) in write_dev_flush() 3991 static blk_status_t wait_dev_flush(struct btrfs_device *device) in wait_dev_flush() 4018 struct btrfs_device *dev; in barrier_all_devices() 4102 struct btrfs_device *dev; in write_all_supers() 4893 struct btrfs_device *dev, *tmp; in btrfs_cleanup_one_transaction()
|
D | ctree.h | 419 struct btrfs_device *srcdev; 420 struct btrfs_device *tgtdev; 515 struct btrfs_device; 3751 int btrfs_scrub_cancel_dev(struct btrfs_device *dev); 3785 void btrfs_reada_remove_dev(struct btrfs_device *dev); 3786 void btrfs_reada_undo_remove_dev(struct btrfs_device *dev);
|
D | ioctl.c | 425 struct btrfs_device *device; in btrfs_ioctl_fitrim() 1669 struct btrfs_device *device = NULL; in btrfs_ioctl_resize() 3329 struct btrfs_device *device; in btrfs_ioctl_fs_info() 3383 struct btrfs_device *dev; in btrfs_ioctl_dev_info()
|
D | extent-tree.c | 1271 struct btrfs_device *dev = stripe->dev; in do_discard_extent() 1343 struct btrfs_device *device = stripe->dev; in btrfs_discard_extent() 5853 static int btrfs_trim_free_extents(struct btrfs_device *device, u64 *trimmed) in btrfs_trim_free_extents() 5956 struct btrfs_device *device; in btrfs_trim_fs()
|
D | compression.c | 428 struct btrfs_device *device; in btrfs_submit_compressed_write()
|
D | block-group.c | 2267 struct btrfs_device *device, u64 chunk_offset, in insert_dev_extent() 2315 struct btrfs_device *device; in insert_dev_extents()
|
D | raid56.c | 2227 struct btrfs_device *scrub_dev, in raid56_parity_alloc_scrub_rbio()
|
/Linux-v5.15/fs/btrfs/tests/ |
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()
|
D | btrfs-tests.h | 49 struct btrfs_device *btrfs_alloc_dummy_device(struct btrfs_fs_info *fs_info);
|
D | extent-map-tests.c | 491 struct btrfs_device *dev = btrfs_alloc_dummy_device(fs_info); in test_rmap_block()
|