Lines Matching defs:btrfs_device
34 struct btrfs_device { struct
35 struct list_head dev_list;
36 struct list_head dev_alloc_list;
37 struct btrfs_fs_devices *fs_devices;
38 struct btrfs_root *dev_root;
41 struct btrfs_pending_bios pending_bios;
43 struct btrfs_pending_bios pending_sync_bios;
45 int running_pending;
46 u64 generation;
48 int writeable;
49 int in_fs_metadata;
50 int missing;
51 int can_discard;
53 spinlock_t io_lock;
55 struct block_device *bdev;
58 fmode_t mode;
60 char *name;
63 u64 devid;
66 u64 total_bytes;
69 u64 disk_total_bytes;
72 u64 bytes_used;
75 u32 io_align;
78 u32 io_width;
81 u32 sector_size;
84 u64 type;
87 u8 uuid[BTRFS_UUID_SIZE];
90 struct scrub_dev *scrub_device;
92 struct btrfs_work work;
93 struct rcu_head rcu;
94 struct work_struct rcu_work;
97 spinlock_t reada_lock;
98 atomic_t reada_in_flight;
99 u64 reada_next;
100 struct reada_zone *reada_curr_zone;
101 struct radix_tree_root reada_zones;
102 struct radix_tree_root reada_extents;
105 struct bio *flush_bio;
106 struct completion flush_wait;
107 int nobarriers;