Lines Matching defs:btrfs_device
88 struct btrfs_device { struct
89 struct list_head dev_list; /* device_list_mutex */
90 struct list_head dev_alloc_list; /* chunk mutex */
91 struct list_head post_commit_list; /* chunk mutex */
92 struct btrfs_fs_devices *fs_devices;
93 struct btrfs_fs_info *fs_info;
95 struct rcu_string __rcu *name;
97 u64 generation;
99 struct block_device *bdev;
101 struct btrfs_zoned_device_info *zone_info;
104 void *holder;
110 dev_t devt;
111 unsigned long dev_state;
112 blk_status_t last_flush_error;
115 seqcount_t data_seqcount;
119 u64 devid;
122 u64 total_bytes;
125 u64 disk_total_bytes;
128 u64 bytes_used;
131 u32 io_align;
134 u32 io_width;
136 u64 type;
139 u32 sector_size;
142 u8 uuid[BTRFS_UUID_SIZE];
150 u64 commit_total_bytes;
153 u64 commit_bytes_used;
156 struct bio flush_bio;
157 struct completion flush_wait;
160 struct scrub_ctx *scrub_ctx;
164 int dev_stats_valid;
167 atomic_t dev_stats_ccnt;
168 atomic_t dev_stat_values[BTRFS_DEV_STAT_VALUES_MAX];
170 struct extent_io_tree alloc_state;
195 * points to a struct btrfs_device. argument