Lines Matching defs:scrub_ctx
154 struct scrub_ctx { struct
155 struct scrub_bio *bios[SCRUB_BIOS_PER_SCTX];
156 struct btrfs_fs_info *fs_info;
157 int first_free;
158 int curr;
159 atomic_t bios_in_flight;
160 atomic_t workers_pending;
161 spinlock_t list_lock;
162 wait_queue_head_t list_wait;
163 u16 csum_size;
164 struct list_head csum_list;
165 atomic_t cancel_req;
166 int readonly;
167 int pages_per_rd_bio;
169 int is_dev_replace;
171 struct scrub_bio *wr_curr_bio;
172 struct mutex wr_lock;
173 int pages_per_wr_bio; /* <= SCRUB_PAGES_PER_WR_BIO */
174 struct btrfs_device *wr_tgtdev;
175 bool flush_all_writes;
180 struct btrfs_scrub_progress stat;
181 spinlock_t stat_lock;
209 static void scrub_pending_bio_inc(struct scrub_ctx *sctx); argument