Home
last modified time | relevance | path

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

/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;
374 int btrfs_account_dev_extents_size(struct btrfs_device *device, u64 start,
[all …]
Dvolumes.c138 struct btrfs_device *device);
140 static void __btrfs_reset_dev_stats(struct btrfs_device *dev);
141 static void btrfs_dev_stat_print_on_error(struct btrfs_device *dev);
142 static void btrfs_dev_stat_print_on_load(struct btrfs_device *device);
196 struct btrfs_device *device; in free_fs_devices()
200 struct btrfs_device, dev_list); in free_fs_devices()
233 static struct btrfs_device *__alloc_device(void) in __alloc_device()
235 struct btrfs_device *dev; in __alloc_device()
257 static noinline struct btrfs_device *__find_device(struct list_head *head, in __find_device()
260 struct btrfs_device *dev; in __find_device()
[all …]
Ddev-replace.c45 struct btrfs_device *srcdev,
46 struct btrfs_device *tgtdev);
314 struct btrfs_device *tgt_device = NULL; in btrfs_dev_replace_start()
315 struct btrfs_device *src_device = NULL; in btrfs_dev_replace_start()
477 struct btrfs_device *tgt_device; in btrfs_dev_replace_finishing()
478 struct btrfs_device *src_device; in btrfs_dev_replace_finishing()
615 struct btrfs_device *srcdev, in btrfs_dev_replace_update_device_in_mapping_tree()
616 struct btrfs_device *tgtdev) in btrfs_dev_replace_update_device_in_mapping_tree()
643 struct btrfs_device *srcdev; in btrfs_dev_replace_status()
684 struct btrfs_device *tgt_device = NULL; in __btrfs_dev_replace_cancel()
Draid56.h43 struct btrfs_device;
57 struct btrfs_device *scrub_dev,
Dreada.c85 struct btrfs_device *device;
86 struct btrfs_device *devs[BTRFS_MAX_MIRRORS]; /* full list, incl
247 struct btrfs_device *dev, u64 logical, in reada_find_zone()
323 struct btrfs_device *dev; in reada_find_extent()
324 struct btrfs_device *prev_dev; in reada_find_extent()
603 static int reada_pick_zone(struct btrfs_device *dev) in reada_pick_zone()
653 struct btrfs_device *dev) in reada_start_machine_dev()
756 struct btrfs_device *device; in __reada_start_machine()
813 struct btrfs_device *device; in dump_devs()
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 …]
Dsysfs.c659 struct btrfs_device *one_device) in btrfs_sysfs_rm_device_link()
705 struct btrfs_device *one_device) in btrfs_sysfs_add_device_link()
708 struct btrfs_device *dev; in btrfs_sysfs_add_device_link()
Ddisk-io.h44 struct btrfs_device;
Dcheck-integrity.c384 struct btrfs_device *device,
652 struct btrfs_device *device; in btrfsic_process_superblock()
781 struct btrfs_device *device, in btrfsic_process_superblock_dev_mirror()
1539 struct btrfs_device *device; in btrfsic_map_block()
2920 struct btrfs_device *device; in btrfsic_mount()
3004 struct btrfs_device *device; in btrfsic_unmount()
Ddisk-io.c1812 struct btrfs_device *device; in btrfs_congested_fn()
3332 struct btrfs_device *device = (struct btrfs_device *) in btrfs_end_buffer_write_sync()
3426 static int write_dev_supers(struct btrfs_device *device, in write_dev_supers()
3530 static int write_dev_flush(struct btrfs_device *device, int wait) in write_dev_flush()
3587 struct btrfs_device *dev; in barrier_all_devices()
3716 struct btrfs_device *dev; in write_all_supers()
Dctree.h361 struct btrfs_device *srcdev;
362 struct btrfs_device *tgtdev;
677 struct btrfs_device;
3639 struct btrfs_device *dev);
Dsuper.c1911 struct btrfs_device *device; in btrfs_calc_avail_data_space()
2285 struct btrfs_device *dev, *first_dev = NULL; in btrfs_show_devname()
Dioctl.c378 struct btrfs_device *device; in btrfs_ioctl_fitrim()
1494 struct btrfs_device *device = NULL; in btrfs_ioctl_resize()
2789 struct btrfs_device *device; in btrfs_ioctl_fs_info()
2821 struct btrfs_device *dev; in btrfs_ioctl_dev_info()
Draid56.c2217 struct btrfs_device *scrub_dev, in raid56_parity_alloc_scrub_rbio()
Dextent-tree.c9733 struct btrfs_device *device; in btrfs_can_relocate()
11046 static int btrfs_trim_free_extents(struct btrfs_device *device, in btrfs_trim_free_extents()
11119 struct btrfs_device *device; in btrfs_trim_fs()
Dextent_io.c2006 struct btrfs_device *dev; in repair_io_failure()