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