Lines Matching defs:btrfs_device
45 struct btrfs_device { struct
46 struct list_head dev_list;
47 struct list_head dev_alloc_list;
48 struct btrfs_fs_devices *fs_devices;
49 struct btrfs_fs_info *fs_info;
51 struct rcu_string *name;
53 u64 generation;
55 spinlock_t io_lock ____cacheline_aligned;
56 int running_pending;
60 bool has_pending_chunks;
63 struct btrfs_pending_bios pending_bios;
65 struct btrfs_pending_bios pending_sync_bios;
67 struct block_device *bdev;
70 fmode_t mode;
72 unsigned long dev_state;
73 blk_status_t last_flush_error;
74 int flush_bio_sent;
77 seqcount_t data_seqcount;
81 u64 devid;
84 u64 total_bytes;
87 u64 disk_total_bytes;
90 u64 bytes_used;
93 u32 io_align;
96 u32 io_width;
98 u64 type;
101 u32 sector_size;
104 u8 uuid[BTRFS_UUID_SIZE];
112 u64 commit_total_bytes;
115 u64 commit_bytes_used;
121 struct list_head resized_list;
124 struct bio *flush_bio;
125 struct completion flush_wait;
128 struct scrub_ctx *scrub_ctx;
130 struct btrfs_work work;
131 struct rcu_head rcu;
156 btrfs_device_get_##name(const struct btrfs_device *dev) \ argument