Home
last modified time | relevance | path

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

/linux-4.4.14/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) \
293 struct btrfs_device *dev;
326 struct btrfs_device *dev;
420 int btrfs_account_dev_extents_size(struct btrfs_device *device, u64 start,
[all …]
Dvolumes.c123 struct btrfs_device *device);
125 static void __btrfs_reset_dev_stats(struct btrfs_device *dev);
126 static void btrfs_dev_stat_print_on_error(struct btrfs_device *dev);
127 static void btrfs_dev_stat_print_on_load(struct btrfs_device *device);
181 struct btrfs_device *device; in free_fs_devices()
185 struct btrfs_device, dev_list); in free_fs_devices()
218 static struct btrfs_device *__alloc_device(void) in __alloc_device()
220 struct btrfs_device *dev; in __alloc_device()
242 static noinline struct btrfs_device *__find_device(struct list_head *head, in __find_device()
245 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);
315 struct btrfs_device *tgt_device = NULL; in btrfs_dev_replace_start()
316 struct btrfs_device *src_device = NULL; in btrfs_dev_replace_start()
464 struct btrfs_device *tgt_device; in btrfs_dev_replace_finishing()
465 struct btrfs_device *src_device; in btrfs_dev_replace_finishing()
603 struct btrfs_device *srcdev, in btrfs_dev_replace_update_device_in_mapping_tree()
604 struct btrfs_device *tgtdev) in btrfs_dev_replace_update_device_in_mapping_tree()
629 struct btrfs_device **device) in btrfs_dev_replace_find_srcdev()
[all …]
Draid56.h43 struct btrfs_device;
57 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()
607 static int reada_pick_zone(struct btrfs_device *dev) in reada_pick_zone()
657 struct btrfs_device *dev) in reada_start_machine_dev()
759 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;
135 struct btrfs_device *scrub_dev;
166 struct btrfs_device *tgtdev;
210 struct btrfs_device *dev;
240 struct btrfs_device *dev;
274 u64 physical, struct btrfs_device *dev, u64 flags,
283 struct btrfs_device **extent_dev,
288 struct btrfs_device *dev,
457 struct scrub_ctx *scrub_setup_ctx(struct btrfs_device *dev, int is_dev_replace) in scrub_setup_ctx()
[all …]
Ddisk-io.h44 struct btrfs_device;
Dsysfs.c641 struct btrfs_device *one_device) in btrfs_sysfs_rm_device_link()
687 struct btrfs_device *one_device) in btrfs_sysfs_add_device_link()
690 struct btrfs_device *dev; in btrfs_sysfs_add_device_link()
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.c1723 struct btrfs_device *device; in btrfs_congested_fn()
3212 struct btrfs_device *device = (struct btrfs_device *) in btrfs_end_buffer_write_sync()
3306 static int write_dev_supers(struct btrfs_device *device, in write_dev_supers()
3410 static int write_dev_flush(struct btrfs_device *device, int wait) in write_dev_flush()
3466 struct btrfs_device *dev; in barrier_all_devices()
3595 struct btrfs_device *dev; in write_all_supers()
Dsuper.c1798 struct btrfs_device *device; in btrfs_calc_avail_data_space()
2143 struct btrfs_device *dev, *first_dev = NULL; in btrfs_show_devname()
Dctree.h989 struct btrfs_device *srcdev;
990 struct btrfs_device *tgtdev;
1417 struct btrfs_device;
4338 struct btrfs_device *dev);
Dioctl.c376 struct btrfs_device *device; in btrfs_ioctl_fitrim()
1479 struct btrfs_device *device = NULL; in btrfs_ioctl_resize()
2709 struct btrfs_device *device; in btrfs_ioctl_fs_info()
2741 struct btrfs_device *dev; in btrfs_ioctl_dev_info()
Draid56.c2216 struct btrfs_device *scrub_dev, in raid56_parity_alloc_scrub_rbio()
Dextent-tree.c9313 struct btrfs_device *device; in btrfs_can_relocate()
10568 static int btrfs_trim_free_extents(struct btrfs_device *device, in btrfs_trim_free_extents()
10641 struct btrfs_device *device; in btrfs_trim_fs()
Dextent_io.c2099 struct btrfs_device *dev; in repair_io_failure()