Lines Matching defs:btrfs_device
50 struct btrfs_device { struct
51 struct list_head dev_list;
52 struct list_head dev_alloc_list;
53 struct btrfs_fs_devices *fs_devices;
55 struct btrfs_root *dev_root;
57 struct rcu_string *name;
59 u64 generation;
61 spinlock_t io_lock ____cacheline_aligned;
62 int running_pending;
64 struct btrfs_pending_bios pending_bios;
66 struct btrfs_pending_bios pending_sync_bios;
68 struct block_device *bdev;
71 fmode_t mode;
73 int writeable;
74 int in_fs_metadata;
75 int missing;
76 int can_discard;
77 int is_tgtdev_for_dev_replace;
80 seqcount_t data_seqcount;
84 u64 devid;
87 u64 total_bytes;
90 u64 disk_total_bytes;
93 u64 bytes_used;
96 u32 io_align;
99 u32 io_width;
101 u64 type;
104 u32 sector_size;
107 u8 uuid[BTRFS_UUID_SIZE];
115 u64 commit_total_bytes;
118 u64 commit_bytes_used;
124 struct list_head resized_list;
127 int nobarriers;
128 struct bio *flush_bio;
129 struct completion flush_wait;
132 struct scrub_ctx *scrub_device;
134 struct btrfs_work work;
135 struct rcu_head rcu;
136 struct work_struct rcu_work;
162 btrfs_device_get_##name(const struct btrfs_device *dev) \ argument