Lines Matching defs:btrfs_device
106 struct btrfs_device { struct
107 struct list_head dev_list; /* device_list_mutex */
108 struct list_head dev_alloc_list; /* chunk mutex */
109 struct list_head post_commit_list; /* chunk mutex */
110 struct btrfs_fs_devices *fs_devices;
111 struct btrfs_fs_info *fs_info;
113 struct rcu_string __rcu *name;
115 u64 generation;
117 struct file *bdev_file;
118 struct block_device *bdev;
120 struct btrfs_zoned_device_info *zone_info;
126 dev_t devt;
127 unsigned long dev_state;
128 blk_status_t last_flush_error;
131 seqcount_t data_seqcount;
135 u64 devid;
138 u64 total_bytes;
141 u64 disk_total_bytes;
144 u64 bytes_used;
147 u32 io_align;
150 u32 io_width;
152 u64 type;
158 atomic_t sb_write_errors;
161 u32 sector_size;
164 u8 uuid[BTRFS_UUID_SIZE];
172 u64 commit_total_bytes;
175 u64 commit_bytes_used;
178 struct bio flush_bio;
179 struct completion flush_wait;
182 struct scrub_ctx *scrub_ctx;
186 int dev_stats_valid;
189 atomic_t dev_stats_ccnt;
190 atomic_t dev_stat_values[BTRFS_DEV_STAT_VALUES_MAX];
192 struct extent_io_tree alloc_state;
217 * points to a struct btrfs_device. argument