Searched refs:btrfs_device (Results 1 – 17 of 17) sorted by relevance
/Linux-v4.19/fs/btrfs/ |
D | volumes.h | 45 struct btrfs_device { struct 151 btrfs_device_get_##name(const struct btrfs_device *dev) \ argument 164 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \ 175 btrfs_device_get_##name(const struct btrfs_device *dev) \ 186 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \ 195 btrfs_device_get_##name(const struct btrfs_device *dev) \ 201 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \ 287 struct btrfs_device *dev; 320 struct btrfs_device *dev; 407 struct btrfs_device *btrfs_scan_one_device(const char *path, [all …]
|
D | volumes.c | 129 static void __btrfs_reset_dev_stats(struct btrfs_device *dev); 130 static void btrfs_dev_stat_print_on_error(struct btrfs_device *dev); 131 static void btrfs_dev_stat_print_on_load(struct btrfs_device *device); 267 void btrfs_free_device(struct btrfs_device *device) in btrfs_free_device() 276 struct btrfs_device *device; in free_fs_devices() 280 struct btrfs_device, dev_list); in free_fs_devices() 317 static struct btrfs_device *__alloc_device(void) in __alloc_device() 319 struct btrfs_device *dev; in __alloc_device() 357 static struct btrfs_device *find_device(struct btrfs_fs_devices *fs_devices, in find_device() 360 struct btrfs_device *dev; in find_device() [all …]
|
D | dev-replace.c | 28 struct btrfs_device *srcdev, 29 struct btrfs_device *tgtdev); 182 struct btrfs_device *srcdev, in btrfs_init_dev_replace_tgtdev() 183 struct btrfs_device **device_out) in btrfs_init_dev_replace_tgtdev() 185 struct btrfs_device *device; in btrfs_init_dev_replace_tgtdev() 393 static char* btrfs_dev_name(struct btrfs_device *device) in btrfs_dev_name() 409 struct btrfs_device *tgt_device = NULL; in btrfs_dev_replace_start() 410 struct btrfs_device *src_device = NULL; in btrfs_dev_replace_start() 565 struct btrfs_device *tgt_device; in btrfs_dev_replace_finishing() 566 struct btrfs_device *src_device; in btrfs_dev_replace_finishing() [all …]
|
D | raid56.h | 31 struct btrfs_device; 45 struct btrfs_device *scrub_dev,
|
D | sysfs.h | 84 struct btrfs_device *one_device); 86 struct btrfs_device *one_device);
|
D | reada.c | 70 struct btrfs_device *device; 71 struct btrfs_device *devs[BTRFS_MAX_MIRRORS]; /* full list, incl 223 static struct reada_zone *reada_find_zone(struct btrfs_device *dev, u64 logical, in reada_find_zone() 306 struct btrfs_device *dev; in reada_find_extent() 307 struct btrfs_device *prev_dev; in reada_find_extent() 590 static int reada_pick_zone(struct btrfs_device *dev) in reada_pick_zone() 639 static int reada_start_machine_dev(struct btrfs_device *dev) in reada_start_machine_dev() 742 struct btrfs_device *device; in __reada_start_machine() 798 struct btrfs_device *device; in dump_devs()
|
D | scrub.c | 63 struct btrfs_device *dev; 84 struct btrfs_device *dev; 123 struct btrfs_device *scrub_dev; 172 struct btrfs_device *wr_tgtdev; 197 struct btrfs_device *dev; 236 u64 physical, struct btrfs_device *dev, u64 flags, 245 struct btrfs_device **extent_dev, 572 struct scrub_ctx *scrub_setup_ctx(struct btrfs_device *dev, int is_dev_replace) in scrub_setup_ctx() 728 struct btrfs_device *dev; in scrub_print_warning() 822 struct btrfs_device *dev; in scrub_handle_errored_block() [all …]
|
D | disk-io.h | 39 struct btrfs_device;
|
D | sysfs.c | 719 struct btrfs_device *one_device) in btrfs_sysfs_rm_device_link() 765 struct btrfs_device *one_device) in btrfs_sysfs_add_device_link() 768 struct btrfs_device *dev; in btrfs_sysfs_add_device_link()
|
D | super.c | 890 struct btrfs_device *device = NULL; in btrfs_parse_device_options() 1522 struct btrfs_device *device = NULL; in btrfs_mount_root() 1953 struct btrfs_device *device; in btrfs_calc_avail_data_space() 2229 struct btrfs_device *device = NULL; in btrfs_control_ioctl() 2304 struct btrfs_device *dev, *first_dev = NULL; in btrfs_show_devname()
|
D | disk-io.c | 1627 struct btrfs_device *device; in btrfs_congested_fn() 3349 struct btrfs_device *device = (struct btrfs_device *) in btrfs_end_buffer_write_sync() 3442 static int write_dev_supers(struct btrfs_device *device, in write_dev_supers() 3511 static int wait_dev_supers(struct btrfs_device *device, int max_mirrors) in wait_dev_supers() 3574 static void write_dev_flush(struct btrfs_device *device) in write_dev_flush() 3596 static blk_status_t wait_dev_flush(struct btrfs_device *device) in wait_dev_flush() 3623 struct btrfs_device *dev; in barrier_all_devices() 3707 struct btrfs_device *dev; in write_all_supers()
|
D | check-integrity.c | 370 struct btrfs_device *device, 635 struct btrfs_device *device; in btrfsic_process_superblock() 764 struct btrfs_device *device, in btrfsic_process_superblock_dev_mirror() 1523 struct btrfs_device *device; in btrfsic_map_block() 2893 struct btrfs_device *device; in btrfsic_mount() 2973 struct btrfs_device *device; in btrfsic_unmount()
|
D | ctree.h | 365 struct btrfs_device *srcdev; 366 struct btrfs_device *tgtdev; 714 struct btrfs_device; 3668 struct btrfs_device *dev);
|
D | ioctl.c | 489 struct btrfs_device *device; in btrfs_ioctl_fitrim() 1585 struct btrfs_device *device = NULL; in btrfs_ioctl_resize() 3119 struct btrfs_device *device; in btrfs_ioctl_fs_info() 3152 struct btrfs_device *dev; in btrfs_ioctl_dev_info()
|
D | raid56.c | 2249 struct btrfs_device *scrub_dev, in raid56_parity_alloc_scrub_rbio()
|
D | extent-tree.c | 9387 struct btrfs_device *device; in btrfs_can_relocate() 10765 static int btrfs_trim_free_extents(struct btrfs_device *device, in btrfs_trim_free_extents() 10837 struct btrfs_device *device; in btrfs_trim_fs()
|
D | extent_io.c | 1968 struct btrfs_device *dev; in repair_io_failure()
|