Searched refs:btrfs_device (Results  1 – 19 of 19) sorted by relevance
| /Linux-v5.4/fs/btrfs/ | 
| D | volumes.h | 60 struct btrfs_device {  struct161 btrfs_device_get_##name(const struct btrfs_device *dev)			\  argument
 174 btrfs_device_set_##name(struct btrfs_device *dev, u64 size)		\
 185 btrfs_device_get_##name(const struct btrfs_device *dev)			\
 196 btrfs_device_set_##name(struct btrfs_device *dev, u64 size)		\
 205 btrfs_device_get_##name(const struct btrfs_device *dev)			\
 211 btrfs_device_set_##name(struct btrfs_device *dev, u64 size)		\
 321 	struct btrfs_device *dev;
 351 	struct btrfs_device *dev;
 442 struct btrfs_device *btrfs_scan_one_device(const char *path,
 [all …]
 
 | 
| D | dev-replace.c | 29 						struct btrfs_device *srcdev,30 						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()
 386 static char* btrfs_dev_name(struct btrfs_device *device)  in btrfs_dev_name()
 402 	struct btrfs_device *tgt_device = NULL;  in btrfs_dev_replace_start()
 403 	struct btrfs_device *src_device = NULL;  in btrfs_dev_replace_start()
 569 	struct btrfs_device *tgt_device;  in btrfs_dev_replace_finishing()
 570 	struct btrfs_device *src_device;  in btrfs_dev_replace_finishing()
 [all …]
 
 | 
| D | volumes.c | 194 static void btrfs_dev_stat_print_on_error(struct btrfs_device *dev);195 static void btrfs_dev_stat_print_on_load(struct btrfs_device *device);
 339 void btrfs_free_device(struct btrfs_device *device)  in btrfs_free_device()
 350 	struct btrfs_device *device;  in free_fs_devices()
 354 				    struct btrfs_device, dev_list);  in free_fs_devices()
 378 static struct btrfs_device *__alloc_device(void)  in __alloc_device()
 380 	struct btrfs_device *dev;  in __alloc_device()
 529 static noinline void run_scheduled_bios(struct btrfs_device *device)  in run_scheduled_bios()
 704 	struct btrfs_device *device;  in pending_bios_fn()
 706 	device = container_of(work, struct btrfs_device, work);  in pending_bios_fn()
 [all …]
 
 | 
| D | sysfs.h | 18 		struct btrfs_device *one_device);20                 struct btrfs_device *one_device);
 
 | 
| D | raid56.h | 31 struct btrfs_device;45 			       struct btrfs_device *scrub_dev,
 
 | 
| D | reada.c | 71 	struct btrfs_device	*device;72 	struct btrfs_device	*devs[BTRFS_MAX_MIRRORS]; /* full list, incl
 224 static struct reada_zone *reada_find_zone(struct btrfs_device *dev, u64 logical,  in reada_find_zone()
 307 	struct btrfs_device *dev;  in reada_find_extent()
 308 	struct btrfs_device *prev_dev;  in reada_find_extent()
 593 static int reada_pick_zone(struct btrfs_device *dev)  in reada_pick_zone()
 671 static int reada_start_machine_dev(struct btrfs_device *dev)  in reada_start_machine_dev()
 774 	struct btrfs_device *device;  in __reada_start_machine()
 835 	struct btrfs_device *device;  in dump_devs()
 
 | 
| D | scrub.c | 65 	struct btrfs_device	*dev;86 	struct btrfs_device	*dev;
 125 	struct btrfs_device	*scrub_dev;
 174 	struct btrfs_device     *wr_tgtdev;
 199 	struct btrfs_device	*dev;
 238 		       u64 physical, struct btrfs_device *dev, u64 flags,
 247 			       struct btrfs_device **extent_dev,
 731 	struct btrfs_device *dev;  in scrub_print_warning()
 825 	struct btrfs_device *dev;  in scrub_handle_errored_block()
 2126 	struct btrfs_device *dev;  in scrub_missing_raid56_worker()
 [all …]
 
 | 
| D | disk-io.h | 39 struct btrfs_device;
 | 
| D | extent_map.c | 349 		struct btrfs_device *device = stripe->dev;  in extent_map_device_set_bits()364 		struct btrfs_device *device = stripe->dev;  in extent_map_device_clear_bits()
 
 | 
| D | sysfs.c | 928 		struct btrfs_device *one_device)  in btrfs_sysfs_rm_device_link()974 				struct btrfs_device *one_device)  in btrfs_sysfs_add_device_link()
 977 	struct btrfs_device *dev;  in btrfs_sysfs_add_device_link()
 
 | 
| D | super.c | 899 	struct btrfs_device *device = NULL;  in btrfs_parse_device_options()1481 	struct btrfs_device *device = NULL;  in btrfs_mount_root()
 1903 	struct btrfs_device *device;  in btrfs_calc_avail_data_space()
 2169 	struct btrfs_device *device = NULL;  in btrfs_control_ioctl()
 2248 	struct btrfs_device *dev, *first_dev = NULL;  in btrfs_show_devname()
 
 | 
| D | disk-io.c | 1628 	struct btrfs_device *device;  in btrfs_congested_fn()3392 		struct btrfs_device *device = (struct btrfs_device *)  in btrfs_end_buffer_write_sync()
 3485 static int write_dev_supers(struct btrfs_device *device,  in write_dev_supers()
 3557 static int wait_dev_supers(struct btrfs_device *device, int max_mirrors)  in wait_dev_supers()
 3620 static void write_dev_flush(struct btrfs_device *device)  in write_dev_flush()
 3642 static blk_status_t wait_dev_flush(struct btrfs_device *device)  in wait_dev_flush()
 3669 	struct btrfs_device *dev;  in barrier_all_devices()
 3753 	struct btrfs_device *dev;  in write_all_supers()
 4506 	struct btrfs_device *dev, *tmp;  in btrfs_cleanup_one_transaction()
 
 | 
| 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()
 2897 	struct btrfs_device *device;  in btrfsic_mount()
 2977 	struct btrfs_device *device;  in btrfsic_unmount()
 
 | 
| D | ctree.h | 385 	struct btrfs_device *srcdev;386 	struct btrfs_device *tgtdev;
 460 struct btrfs_device;
 3362 int btrfs_scrub_cancel_dev(struct btrfs_device *dev);
 
 | 
| D | ioctl.c | 486 	struct btrfs_device *device;  in btrfs_ioctl_fitrim()1601 	struct btrfs_device *device = NULL;  in btrfs_ioctl_resize()
 3144 	struct btrfs_device *device;  in btrfs_ioctl_fs_info()
 3177 	struct btrfs_device *dev;  in btrfs_ioctl_dev_info()
 
 | 
| D | raid56.c | 2265 			       struct btrfs_device *scrub_dev,  in raid56_parity_alloc_scrub_rbio()
 | 
| D | extent-tree.c | 5538 static int btrfs_trim_free_extents(struct btrfs_device *device, u64 *trimmed)  in btrfs_trim_free_extents()5627 	struct btrfs_device *device;  in btrfs_trim_fs()
 
 | 
| D | extent_io.c | 2180 	struct btrfs_device *dev;  in repair_io_failure()
 | 
| D | inode.c | 10748 	struct btrfs_device *device = NULL;  in btrfs_swap_activate()
 |