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;
58 struct btrfs_pending_bios pending_bios;
60 struct btrfs_pending_bios pending_sync_bios;
62 struct block_device *bdev;
65 fmode_t mode;
67 unsigned long dev_state;
68 blk_status_t last_flush_error;
69 int flush_bio_sent;
72 seqcount_t data_seqcount;
76 u64 devid;
79 u64 total_bytes;
82 u64 disk_total_bytes;
85 u64 bytes_used;
88 u32 io_align;
91 u32 io_width;
93 u64 type;
96 u32 sector_size;
99 u8 uuid[BTRFS_UUID_SIZE];
107 u64 commit_total_bytes;
110 u64 commit_bytes_used;
116 struct list_head resized_list;
119 struct bio *flush_bio;
120 struct completion flush_wait;
123 struct scrub_ctx *scrub_ctx;
125 struct btrfs_work work;
126 struct rcu_head rcu;
151 btrfs_device_get_##name(const struct btrfs_device *dev) \ argument