Lines Matching defs:btrfs_device
91 struct btrfs_device { struct
92 struct list_head dev_list; /* device_list_mutex */
93 struct list_head dev_alloc_list; /* chunk mutex */
94 struct list_head post_commit_list; /* chunk mutex */
95 struct btrfs_fs_devices *fs_devices;
96 struct btrfs_fs_info *fs_info;
98 struct rcu_string __rcu *name;
100 u64 generation;
102 struct block_device *bdev;
104 struct btrfs_zoned_device_info *zone_info;
107 fmode_t mode;
113 dev_t devt;
114 unsigned long dev_state;
115 blk_status_t last_flush_error;
118 seqcount_t data_seqcount;
122 u64 devid;
125 u64 total_bytes;
128 u64 disk_total_bytes;
131 u64 bytes_used;
134 u32 io_align;
137 u32 io_width;
139 u64 type;
142 u32 sector_size;
145 u8 uuid[BTRFS_UUID_SIZE];
153 u64 commit_total_bytes;
156 u64 commit_bytes_used;
159 struct bio flush_bio;
160 struct completion flush_wait;
163 struct scrub_ctx *scrub_ctx;
167 int dev_stats_valid;
170 atomic_t dev_stats_ccnt;
171 atomic_t dev_stat_values[BTRFS_DEV_STAT_VALUES_MAX];
173 struct extent_io_tree alloc_state;
198 * points to a struct btrfs_device. argument