Searched refs:btrfs_device (Results 1 – 17 of 17) sorted by relevance
/fs/btrfs/ |
D | volumes.h | 52 struct btrfs_device { struct 169 btrfs_device_get_##name(const struct btrfs_device *dev) \ argument 182 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \ 193 btrfs_device_get_##name(const struct btrfs_device *dev) \ 204 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \ 213 btrfs_device_get_##name(const struct btrfs_device *dev) \ 219 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \ 305 struct btrfs_device *dev; 337 struct btrfs_device *dev; 405 int btrfs_account_dev_extents_size(struct btrfs_device *device, u64 start, [all …]
|
D | volumes.c | 139 static void __btrfs_reset_dev_stats(struct btrfs_device *dev); 140 static void btrfs_dev_stat_print_on_error(struct btrfs_device *dev); 141 static void btrfs_dev_stat_print_on_load(struct btrfs_device *device); 185 struct btrfs_device *device; in free_fs_devices() 189 struct btrfs_device, dev_list); in free_fs_devices() 222 static struct btrfs_device *__alloc_device(void) in __alloc_device() 224 struct btrfs_device *dev; in __alloc_device() 263 static struct btrfs_device *find_device(struct btrfs_fs_devices *fs_devices, in find_device() 267 struct btrfs_device *dev; in find_device() 351 static noinline void run_scheduled_bios(struct btrfs_device *device) in run_scheduled_bios() [all …]
|
D | dev-replace.c | 45 struct btrfs_device *srcdev, 46 struct btrfs_device *tgtdev); 315 struct btrfs_device *tgt_device = NULL; in btrfs_dev_replace_start() 316 struct btrfs_device *src_device = NULL; in btrfs_dev_replace_start() 481 struct btrfs_device *tgt_device; in btrfs_dev_replace_finishing() 482 struct btrfs_device *src_device; in btrfs_dev_replace_finishing() 636 struct btrfs_device *srcdev, in btrfs_dev_replace_update_device_in_mapping_tree() 637 struct btrfs_device *tgtdev) in btrfs_dev_replace_update_device_in_mapping_tree() 719 struct btrfs_device *tgt_device = NULL; in __btrfs_dev_replace_cancel()
|
D | raid56.h | 43 struct btrfs_device; 57 struct btrfs_device *scrub_dev,
|
D | reada.c | 84 struct btrfs_device *device; 85 struct btrfs_device *devs[BTRFS_MAX_MIRRORS]; /* full list, incl 237 static struct reada_zone *reada_find_zone(struct btrfs_device *dev, u64 logical, in reada_find_zone() 320 struct btrfs_device *dev; in reada_find_extent() 321 struct btrfs_device *prev_dev; in reada_find_extent() 604 static int reada_pick_zone(struct btrfs_device *dev) in reada_pick_zone() 653 static int reada_start_machine_dev(struct btrfs_device *dev) in reada_start_machine_dev() 754 struct btrfs_device *device; in __reada_start_machine() 815 struct btrfs_device *device; in dump_devs()
|
D | sysfs.h | 87 struct btrfs_device *one_device); 89 struct btrfs_device *one_device);
|
D | scrub.c | 76 struct btrfs_device *dev; 97 struct btrfs_device *dev; 136 struct btrfs_device *scrub_dev; 185 struct btrfs_device *wr_tgtdev; 206 struct btrfs_device *dev; 236 struct btrfs_device *dev; 277 u64 physical, struct btrfs_device *dev, u64 flags, 286 struct btrfs_device **extent_dev, 674 struct scrub_ctx *scrub_setup_ctx(struct btrfs_device *dev, int is_dev_replace) in scrub_setup_ctx() 830 struct btrfs_device *dev; in scrub_print_warning() [all …]
|
D | sysfs.c | 702 struct btrfs_device *one_device) in btrfs_sysfs_rm_device_link() 748 struct btrfs_device *one_device) in btrfs_sysfs_add_device_link() 751 struct btrfs_device *dev; in btrfs_sysfs_add_device_link()
|
D | disk-io.h | 52 struct btrfs_device;
|
D | disk-io.c | 1650 struct btrfs_device *device; in btrfs_congested_fn() 3120 struct btrfs_device *device = (struct btrfs_device *) in btrfs_end_buffer_write_sync() 3213 static int write_dev_supers(struct btrfs_device *device, in write_dev_supers() 3282 static int wait_dev_supers(struct btrfs_device *device, int max_mirrors) in wait_dev_supers() 3332 static void write_dev_flush(struct btrfs_device *device) in write_dev_flush() 3354 static blk_status_t wait_dev_flush(struct btrfs_device *device) in wait_dev_flush() 3381 struct btrfs_device *dev; in barrier_all_devices() 3462 struct btrfs_device *dev; in write_all_supers()
|
D | check-integrity.c | 383 struct btrfs_device *device, 647 struct btrfs_device *device; in btrfsic_process_superblock() 776 struct btrfs_device *device, in btrfsic_process_superblock_dev_mirror() 1535 struct btrfs_device *device; in btrfsic_map_block() 2900 struct btrfs_device *device; in btrfsic_mount() 2980 struct btrfs_device *device; in btrfsic_unmount()
|
D | ctree.h | 368 struct btrfs_device *srcdev; 369 struct btrfs_device *tgtdev; 700 struct btrfs_device; 3648 struct btrfs_device *dev);
|
D | super.c | 1902 struct btrfs_device *device; in btrfs_calc_avail_data_space() 2247 struct btrfs_device *dev, *first_dev = NULL; in btrfs_show_devname()
|
D | ioctl.c | 350 struct btrfs_device *device; in btrfs_ioctl_fitrim() 1488 struct btrfs_device *device = NULL; in btrfs_ioctl_resize() 2784 struct btrfs_device *device; in btrfs_ioctl_fs_info() 2817 struct btrfs_device *dev; in btrfs_ioctl_dev_info()
|
D | raid56.c | 2240 struct btrfs_device *scrub_dev, in raid56_parity_alloc_scrub_rbio()
|
D | extent-tree.c | 9691 struct btrfs_device *device; in btrfs_can_relocate() 11068 static int btrfs_trim_free_extents(struct btrfs_device *device, in btrfs_trim_free_extents() 11153 struct btrfs_device *device; in btrfs_trim_fs()
|
D | extent_io.c | 1982 struct btrfs_device *dev; in repair_io_failure()
|