Home
last modified time | relevance | path

Searched refs:btrfs_device (Results 1 – 19 of 19) sorted by relevance

/linux/fs/btrfs/
H A Dvolumes.h122 struct btrfs_device { struct
257 btrfs_device_get_##name(const struct btrfs_device *dev) \
270 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \
281 btrfs_device_get_##name(const struct btrfs_device *dev) \
292 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \
301 btrfs_device_get_##name(const struct btrfs_device *dev) \
307 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \
404 struct btrfs_device *latest_dev;
489 struct btrfs_device *dev;
498 struct btrfs_device *dev;
[all …]
H A Dscrub.h9 struct btrfs_device;
18 int btrfs_scrub_cancel_dev(struct btrfs_device *dev);
H A Dvolumes.c263 static void btrfs_dev_stat_print_on_load(struct btrfs_device *device);
406 static void btrfs_free_device(struct btrfs_device *device) in btrfs_free_device()
421 struct btrfs_device *device; in free_fs_devices()
427 struct btrfs_device, dev_list); in free_fs_devices()
540 static int btrfs_free_stale_devices(dev_t devt, struct btrfs_device *skip_device) in btrfs_free_stale_devices()
543 struct btrfs_device *device, *tmp_device; in btrfs_free_stale_devices()
617 struct btrfs_device *device; in find_fsid_by_device()
663 struct btrfs_device *device, blk_mode_t flags, in btrfs_open_one_device()
759 static noinline struct btrfs_device *device_list_add(const char *path, in device_list_add()
763 struct btrfs_device *device; in device_list_add()
[all …]
H A Draid56.h273 struct btrfs_device;
281 struct btrfs_device *scrub_dev,
H A Dzoned.c201 static int emulate_report_zones(struct btrfs_device *device, u64 pos, in emulate_report_zones()
226 static int btrfs_get_dev_zones(struct btrfs_device *device, u64 pos, in btrfs_get_dev_zones()
335 struct btrfs_device *device; in btrfs_get_dev_zone_info_all_devices()
359 static int btrfs_get_max_active_zones(struct btrfs_device *device, in btrfs_get_max_active_zones()
381 int btrfs_get_dev_zone_info(struct btrfs_device *device, bool populate_cache) in btrfs_get_dev_zone_info()
625 void btrfs_destroy_dev_zone_info(struct btrfs_device *device) in btrfs_destroy_dev_zone_info()
640 struct btrfs_zoned_device_info *btrfs_clone_dev_zone_info(struct btrfs_device *orig_dev) in btrfs_clone_dev_zone_info()
680 static int btrfs_get_dev_zone(struct btrfs_device *device, u64 pos, struct blk_zone *zone) in btrfs_get_dev_zone()
694 struct btrfs_device *device; in btrfs_check_for_zoned_device()
711 struct btrfs_device *device; in btrfs_check_zoned_mode()
[all …]
H A Dsysfs.c1698 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 Dscrub.c133 struct btrfs_device *dev;
204 struct btrfs_device *wr_tgtdev;
315 struct btrfs_device *dev;
570 static void scrub_print_common_warning(const char *errstr, struct btrfs_device *dev, in scrub_print_common_warning()
983 struct btrfs_device *dev = NULL; in scrub_stripe_report_errors()
1336 static void scrub_throttle_dev_io(struct scrub_ctx *sctx, struct btrfs_device *device, in scrub_throttle_dev_io()
1622 struct btrfs_device *dev, u64 physical, in scrub_find_fill_first_stripe()
1994 struct btrfs_device *dev, int mirror_num, in queue_scrub_stripe()
2074 struct btrfs_device *scrub_dev, in scrub_raid56_cached_parity()
2124 struct btrfs_device *scrub_dev, in scrub_raid56_parity_stripe()
[all …]
H A Ddisk-io.h19 struct btrfs_device;
H A Dfs.h43 struct btrfs_device;
384 struct btrfs_device *srcdev;
385 struct btrfs_device *tgtdev;
H A Dsuper.c374 struct btrfs_device *device; in btrfs_parse_param()
1608 struct btrfs_device *device; in btrfs_calc_avail_data_space()
1866 struct btrfs_device *device; in btrfs_get_tree_super()
2252 struct btrfs_device *device = NULL; in btrfs_control_ioctl()
2325 static int check_dev_super(struct btrfs_device *dev) in check_dev_super()
2380 struct btrfs_device *device; in btrfs_unfreeze()
2459 struct btrfs_device *device; in btrfs_remove_bdev()
H A Ddisk-io.c3835 struct btrfs_device *device = bio->bi_private; in btrfs_end_super_write()
3869 static int write_dev_supers(struct btrfs_device *device, in write_dev_supers()
3956 static int wait_dev_supers(struct btrfs_device *device, int max_mirrors) in wait_dev_supers()
4016 static void write_dev_flush(struct btrfs_device *device) in write_dev_flush()
4035 static bool wait_dev_flush(struct btrfs_device *device) in wait_dev_flush()
4060 struct btrfs_device *dev; in barrier_all_devices()
4137 struct btrfs_device *dev; in write_all_supers()
4959 struct btrfs_device *dev, *tmp; in btrfs_cleanup_one_transaction()
H A Dbtrfs_inode.h516 bool btrfs_data_csum_ok(struct btrfs_bio *bbio, struct btrfs_device *dev,
H A Dioctl.c450 struct btrfs_device *device; in btrfs_ioctl_fitrim()
1002 struct btrfs_device *device = NULL; in btrfs_ioctl_resize()
2690 struct btrfs_device *device; in btrfs_ioctl_fs_info()
2743 struct btrfs_device *dev; in btrfs_ioctl_dev_info()
H A Dextent-tree.c1386 struct btrfs_device *dev = stripe->dev; in do_discard_extent()
6620 static int btrfs_trim_free_extents_throttle(struct btrfs_device *device, in btrfs_trim_free_extents_throttle()
6730 struct btrfs_device *dev; in btrfs_trim_free_extents()
6731 struct btrfs_device *working_dev = NULL; in btrfs_trim_free_extents()
H A Dblock-group.c2838 const struct btrfs_device *device, u64 chunk_offset, in insert_dev_extent()
2883 struct btrfs_device *device; in insert_dev_extents()
H A Draid56.c2549 struct btrfs_device *scrub_dev, in raid56_parity_alloc_scrub_rbio()
H A Dinode.c3545 bool btrfs_data_csum_ok(struct btrfs_bio *bbio, struct btrfs_device *dev, in btrfs_data_csum_ok()
10308 struct btrfs_device *device = NULL; in btrfs_swap_activate()
/linux/fs/btrfs/tests/
H A Draid-stripe-tree-tests.c21 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 Dextent-map-tests.c1037 struct btrfs_device *dev = btrfs_alloc_dummy_device(fs_info); in test_rmap_block()