| /linux/fs/btrfs/ |
| H A D | volumes.h | 121 struct btrfs_device { struct 250 btrfs_device_get_##name(const struct btrfs_device *dev) \ 263 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \ 274 btrfs_device_get_##name(const struct btrfs_device *dev) \ 285 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \ 294 btrfs_device_get_##name(const struct btrfs_device *dev) \ 300 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \ 397 struct btrfs_device *latest_dev; 473 struct btrfs_device *dev; 482 struct btrfs_device *dev; [all …]
|
| H A D | volumes.c | 262 static void btrfs_dev_stat_print_on_load(struct btrfs_device *device); 404 static void btrfs_free_device(struct btrfs_device *device) in btrfs_free_device() 419 struct btrfs_device *device; in free_fs_devices() 425 struct btrfs_device, dev_list); in free_fs_devices() 530 static int btrfs_free_stale_devices(dev_t devt, struct btrfs_device *skip_device) in btrfs_free_stale_devices() 533 struct btrfs_device *device, *tmp_device; in btrfs_free_stale_devices() 607 struct btrfs_device *device; in find_fsid_by_device() 653 struct btrfs_device *device, blk_mode_t flags, in btrfs_open_one_device() 742 static bool is_same_device(struct btrfs_device *device, const char *new_path) in is_same_device() 784 static noinline struct btrfs_device *device_list_add(const char *path, in device_list_add() [all …]
|
| H A D | scrub.h | 9 struct btrfs_device; 18 int btrfs_scrub_cancel_dev(struct btrfs_device *dev);
|
| H A D | zoned.c | 199 static int emulate_report_zones(struct btrfs_device *device, u64 pos, in emulate_report_zones() 224 static int btrfs_get_dev_zones(struct btrfs_device *device, u64 pos, in btrfs_get_dev_zones() 333 struct btrfs_device *device; in btrfs_get_dev_zone_info_all_devices() 357 int btrfs_get_dev_zone_info(struct btrfs_device *device, bool populate_cache) in btrfs_get_dev_zone_info() 609 void btrfs_destroy_dev_zone_info(struct btrfs_device *device) in btrfs_destroy_dev_zone_info() 624 struct btrfs_zoned_device_info *btrfs_clone_dev_zone_info(struct btrfs_device *orig_dev) in btrfs_clone_dev_zone_info() 664 static int btrfs_get_dev_zone(struct btrfs_device *device, u64 pos, struct blk_zone *zone) in btrfs_get_dev_zone() 678 struct btrfs_device *device; in btrfs_check_for_zoned_device() 695 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 …]
|
| H A D | sysfs.c | 1698 struct btrfs_device *device; in btrfs_sysfs_remove_fs_devices() 1959 void btrfs_sysfs_remove_device(struct btrfs_device *device) in btrfs_sysfs_remove_device() 1985 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_in_fs_metadata_show() 1998 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_missing_show() 2012 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_replace_target_show() 2025 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_scrub_speed_max_show() 2035 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_scrub_speed_max_store() 2055 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_writeable_show() 2067 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_fsid_show() 2077 struct btrfs_device *device = container_of(kobj, struct btrfs_device, in btrfs_devinfo_error_stats_show() [all …]
|
| H A D | scrub.c | 144 struct btrfs_device *dev; 212 struct btrfs_device *wr_tgtdev; 320 struct btrfs_device *dev; 583 static void scrub_print_common_warning(const char *errstr, struct btrfs_device *dev, in scrub_print_common_warning() 1005 struct btrfs_device *dev = NULL; in scrub_stripe_report_errors() 1378 static void scrub_throttle_dev_io(struct scrub_ctx *sctx, struct btrfs_device *device, in scrub_throttle_dev_io() 1664 struct btrfs_device *dev, u64 physical, in scrub_find_fill_first_stripe() 2037 struct btrfs_device *dev, int mirror_num, in queue_scrub_stripe() 2117 struct btrfs_device *scrub_dev, in scrub_raid56_cached_parity() 2167 struct btrfs_device *scrub_dev, in scrub_raid56_parity_stripe() [all …]
|
| H A D | bio.c | 177 struct btrfs_device *dev) in btrfs_end_repair_bio() 302 static void btrfs_check_read_bio(struct btrfs_bio *bbio, struct btrfs_device *dev) in btrfs_check_read_bio() 351 static void btrfs_log_dev_io_error(const struct bio *bio, struct btrfs_device *dev) in btrfs_log_dev_io_error() 393 struct btrfs_device *dev = bio->bi_private; in btrfs_simple_end_io() 487 static void btrfs_submit_dev_bio(struct btrfs_device *dev, struct bio *bio) in btrfs_submit_dev_bio()
|
| H A D | fs.h | 42 struct btrfs_device; 371 struct btrfs_device *srcdev; 372 struct btrfs_device *tgtdev;
|
| H A D | super.c | 375 struct btrfs_device *device; in btrfs_parse_param() 1613 struct btrfs_device *device; in btrfs_calc_avail_data_space() 1846 struct btrfs_device *device; in btrfs_get_tree_super() 2231 struct btrfs_device *device = NULL; in btrfs_control_ioctl() 2304 static int check_dev_super(struct btrfs_device *dev) in check_dev_super() 2359 struct btrfs_device *device; in btrfs_unfreeze() 2430 struct btrfs_device *device; in btrfs_remove_bdev()
|
| H A D | disk-io.c | 3740 struct btrfs_device *device = bio->bi_private; in btrfs_end_super_write() 3775 static int write_dev_supers(struct btrfs_device *device, in write_dev_supers() 3865 static int wait_dev_supers(struct btrfs_device *device, int max_mirrors) in wait_dev_supers() 3929 static void write_dev_flush(struct btrfs_device *device) in write_dev_flush() 3948 static bool wait_dev_flush(struct btrfs_device *device) in wait_dev_flush() 3973 struct btrfs_device *dev; in barrier_all_devices() 4049 struct btrfs_device *dev; in write_all_supers() 4840 struct btrfs_device *dev, *tmp; in btrfs_cleanup_one_transaction()
|
| H A D | ioctl.c | 412 struct btrfs_device *device; in btrfs_ioctl_fitrim() 965 struct btrfs_device *device = NULL; in btrfs_ioctl_resize() 2645 struct btrfs_device *device; in btrfs_ioctl_fs_info() 2700 struct btrfs_device *dev; in btrfs_ioctl_dev_info()
|
| H A D | extent-tree.c | 1386 struct btrfs_device *dev = stripe->dev; in do_discard_extent() 6610 static int btrfs_trim_free_extents_throttle(struct btrfs_device *device, in btrfs_trim_free_extents_throttle() 6716 struct btrfs_device *dev; in btrfs_trim_free_extents() 6717 struct btrfs_device *working_dev = NULL; in btrfs_trim_free_extents()
|
| H A D | block-group.c | 2774 const struct btrfs_device *device, u64 chunk_offset, in insert_dev_extent() 2819 struct btrfs_device *device; in insert_dev_extents()
|
| H A D | raid56.c | 2571 struct btrfs_device *scrub_dev, in raid56_parity_alloc_scrub_rbio()
|
| H A D | inode.c | 3538 bool btrfs_data_csum_ok(struct btrfs_bio *bbio, struct btrfs_device *dev, in btrfs_data_csum_ok() 10271 struct btrfs_device *device = NULL; in btrfs_swap_activate()
|
| /linux/fs/btrfs/tests/ |
| H 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() 157 struct btrfs_device *dev, *tmp; in btrfs_free_dummy_fs_info()
|
| H 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()
|
| H A D | extent-map-tests.c | 1037 struct btrfs_device *dev = btrfs_alloc_dummy_device(fs_info); in test_rmap_block()
|