Lines Matching defs:btrfs_device
110 struct btrfs_device { struct
111 struct list_head dev_list; /* device_list_mutex */
112 struct list_head dev_alloc_list; /* chunk mutex */
113 struct list_head post_commit_list; /* chunk mutex */
114 struct btrfs_fs_devices *fs_devices;
115 struct btrfs_fs_info *fs_info;
117 struct rcu_string __rcu *name;
119 u64 generation;
121 struct file *bdev_file;
122 struct block_device *bdev;
124 struct btrfs_zoned_device_info *zone_info;
130 dev_t devt;
131 unsigned long dev_state;
132 blk_status_t last_flush_error;
135 seqcount_t data_seqcount;
139 u64 devid;
142 u64 total_bytes;
145 u64 disk_total_bytes;
148 u64 bytes_used;
151 u32 io_align;
154 u32 io_width;
156 u64 type;
162 atomic_t sb_write_errors;
165 u32 sector_size;
168 u8 uuid[BTRFS_UUID_SIZE];
176 u64 commit_total_bytes;
179 u64 commit_bytes_used;
182 struct bio flush_bio;
183 struct completion flush_wait;
186 struct scrub_ctx *scrub_ctx;
190 int dev_stats_valid;
193 atomic_t dev_stats_ccnt;
194 atomic_t dev_stat_values[BTRFS_DEV_STAT_VALUES_MAX];
196 struct extent_io_tree alloc_state;
221 * points to a struct btrfs_device. argument