Lines Matching defs:btrfs_device
82 struct btrfs_device { struct
83 struct list_head dev_list; /* device_list_mutex */
84 struct list_head dev_alloc_list; /* chunk mutex */
85 struct list_head post_commit_list; /* chunk mutex */
86 struct btrfs_fs_devices *fs_devices;
87 struct btrfs_fs_info *fs_info;
89 struct rcu_string __rcu *name;
91 u64 generation;
93 struct block_device *bdev;
95 struct btrfs_zoned_device_info *zone_info;
98 void *holder;
104 dev_t devt;
105 unsigned long dev_state;
106 blk_status_t last_flush_error;
109 seqcount_t data_seqcount;
113 u64 devid;
116 u64 total_bytes;
119 u64 disk_total_bytes;
122 u64 bytes_used;
125 u32 io_align;
128 u32 io_width;
130 u64 type;
133 u32 sector_size;
136 u8 uuid[BTRFS_UUID_SIZE];
144 u64 commit_total_bytes;
147 u64 commit_bytes_used;
150 struct bio flush_bio;
151 struct completion flush_wait;
154 struct scrub_ctx *scrub_ctx;
158 int dev_stats_valid;
161 atomic_t dev_stats_ccnt;
162 atomic_t dev_stat_values[BTRFS_DEV_STAT_VALUES_MAX];
164 struct extent_io_tree alloc_state;
189 * points to a struct btrfs_device. argument