Home
last modified time | relevance | path

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

/linux/fs/btrfs/
A Dzoned.h57 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 Dvolumes.h106 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 Dsysfs.h11 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 Dscrub.h9 struct btrfs_device;
18 int btrfs_scrub_cancel_dev(struct btrfs_device *dev);
A Dvolumes.c413 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 Ddev-replace.h17 struct btrfs_device;
29 bool btrfs_finish_block_group_to_copy(struct btrfs_device *srcdev,
A Ddev-replace.c242 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 Dzoned.c327 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 Draid56.h192 struct btrfs_device;
200 struct btrfs_device *scrub_dev,
A Dsysfs.c1591 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 Dscrub.c115 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 Dbio.c165 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 Dfs.h39 struct btrfs_device;
310 struct btrfs_device *srcdev;
311 struct btrfs_device *tgtdev;
A Ddisk-io.h17 struct btrfs_device;
A Dsuper.c309 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 Dbtrfs_inode.h525 bool btrfs_data_csum_ok(struct btrfs_bio *bbio, struct btrfs_device *dev,
A Ddisk-io.c3620 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 Dioctl.c493 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 Dextent-tree.c1331 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 Dblock-group.c2643 const struct btrfs_device *device, u64 chunk_offset, in insert_dev_extent()
2691 struct btrfs_device *device; in insert_dev_extents()
A Draid56.c2447 struct btrfs_device *scrub_dev, in raid56_parity_alloc_scrub_rbio()
A Dinode.c3334 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 Dbtrfs-tests.c95 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 Dbtrfs-tests.h50 struct btrfs_device *btrfs_alloc_dummy_device(struct btrfs_fs_info *fs_info);
A Dextent-map-tests.c1034 struct btrfs_device *dev = btrfs_alloc_dummy_device(fs_info); in test_rmap_block()

Completed in 118 milliseconds