Home
last modified time | relevance | path

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

/linux-4.1.27/fs/btrfs/
Dvolumes.h50 struct btrfs_device { struct
162 btrfs_device_get_##name(const struct btrfs_device *dev) \ argument
175 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \
186 btrfs_device_get_##name(const struct btrfs_device *dev) \
197 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \
206 btrfs_device_get_##name(const struct btrfs_device *dev) \
212 btrfs_device_set_##name(struct btrfs_device *dev, u64 size) \
287 struct btrfs_device *dev;
322 struct btrfs_device *dev;
405 int btrfs_account_dev_extents_size(struct btrfs_device *device, u64 start,
[all …]
Dvolumes.c47 struct btrfs_device *device);
49 static void __btrfs_reset_dev_stats(struct btrfs_device *dev);
50 static void btrfs_dev_stat_print_on_error(struct btrfs_device *dev);
51 static void btrfs_dev_stat_print_on_load(struct btrfs_device *device);
101 struct btrfs_device *device; in free_fs_devices()
105 struct btrfs_device, dev_list); in free_fs_devices()
138 static struct btrfs_device *__alloc_device(void) in __alloc_device()
140 struct btrfs_device *dev; in __alloc_device()
162 static noinline struct btrfs_device *__find_device(struct list_head *head, in __find_device()
165 struct btrfs_device *dev; in __find_device()
[all …]
Ddev-replace.c45 struct btrfs_device *srcdev,
46 struct btrfs_device *tgtdev);
49 struct btrfs_device **device);
316 struct btrfs_device *tgt_device = NULL; in btrfs_dev_replace_start()
317 struct btrfs_device *src_device = NULL; in btrfs_dev_replace_start()
462 struct btrfs_device *tgt_device; in btrfs_dev_replace_finishing()
463 struct btrfs_device *src_device; in btrfs_dev_replace_finishing()
602 struct btrfs_device *srcdev, in btrfs_dev_replace_update_device_in_mapping_tree()
603 struct btrfs_device *tgtdev) in btrfs_dev_replace_update_device_in_mapping_tree()
628 struct btrfs_device **device) in btrfs_dev_replace_find_srcdev()
[all …]
Draid56.h43 struct btrfs_device;
54 struct btrfs_device *scrub_dev,
Dreada.c75 struct btrfs_device *scheduled_for;
85 struct btrfs_device *device;
86 struct btrfs_device *devs[BTRFS_MAX_MIRRORS]; /* full list, incl
120 struct btrfs_device *for_dev; in __readahead_hook()
249 struct btrfs_device *dev, u64 logical, in reada_find_zone()
327 struct btrfs_device *dev; in reada_find_extent()
328 struct btrfs_device *prev_dev; in reada_find_extent()
605 static int reada_pick_zone(struct btrfs_device *dev) in reada_pick_zone()
655 struct btrfs_device *dev) in reada_start_machine_dev()
757 struct btrfs_device *device; in __reada_start_machine()
[all …]
Dsysfs.h86 struct btrfs_device *one_device);
88 struct btrfs_device *one_device);
Dscrub.c75 struct btrfs_device *dev;
96 struct btrfs_device *dev;
134 struct btrfs_device *scrub_dev;
165 struct btrfs_device *tgtdev;
209 struct btrfs_device *dev;
239 struct btrfs_device *dev;
278 u64 physical, struct btrfs_device *dev, u64 flags,
287 struct btrfs_device **extent_dev,
292 struct btrfs_device *dev,
452 struct scrub_ctx *scrub_setup_ctx(struct btrfs_device *dev, int is_dev_replace) in scrub_setup_ctx()
[all …]
Dsysfs.c606 struct btrfs_device *one_device) in btrfs_kobj_rm_device()
626 struct btrfs_device *one_device) in btrfs_kobj_add_device()
630 struct btrfs_device *dev; in btrfs_kobj_add_device()
Ddisk-io.h44 struct btrfs_device;
Dcheck-integrity.c382 struct btrfs_device *device,
662 struct btrfs_device *device; in btrfsic_process_superblock()
794 struct btrfs_device *device, in btrfsic_process_superblock_dev_mirror()
1575 struct btrfs_device *device; in btrfsic_map_block()
3080 struct btrfs_device *device; in btrfsic_mount()
3172 struct btrfs_device *device; in btrfsic_unmount()
Ddisk-io.c1715 struct btrfs_device *device; in btrfs_congested_fn()
3143 struct btrfs_device *device = (struct btrfs_device *) in btrfs_end_buffer_write_sync()
3212 static int write_dev_supers(struct btrfs_device *device, in write_dev_supers()
3320 static int write_dev_flush(struct btrfs_device *device, int wait) in write_dev_flush()
3380 struct btrfs_device *dev; in barrier_all_devices()
3504 struct btrfs_device *dev; in write_all_supers()
Dsuper.c1664 struct btrfs_device *device; in btrfs_calc_avail_data_space()
2009 struct btrfs_device *dev, *first_dev = NULL; in btrfs_show_devname()
Dctree.h962 struct btrfs_device *srcdev;
963 struct btrfs_device *tgtdev;
1383 struct btrfs_device;
4190 struct btrfs_device *dev);
Dioctl.c375 struct btrfs_device *device; in btrfs_ioctl_fitrim()
1470 struct btrfs_device *device = NULL; in btrfs_ioctl_resize()
2682 struct btrfs_device *device; in btrfs_ioctl_fs_info()
2683 struct btrfs_device *next; in btrfs_ioctl_fs_info()
2715 struct btrfs_device *dev; in btrfs_ioctl_dev_info()
Draid56.c2203 struct btrfs_device *scrub_dev, in raid56_parity_alloc_scrub_rbio()
Dextent_io.c2031 struct btrfs_device *dev; in repair_io_failure()
Dextent-tree.c8958 struct btrfs_device *device; in btrfs_can_relocate()