Searched refs:r1bio (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/md/
H A Draid1.h59 /* list of 'struct r1bio' that need to be processed by raid1d,
118 struct r1bio { struct
151 /* bits for r1bio.state */
H A Draid1.c76 int size = offsetof(struct r1bio, bios[pi->raid_disks]); r1bio_pool_alloc()
78 /* allocate a r1bio with room for raid_disks entries in the bios array */ r1bio_pool_alloc()
98 struct r1bio *r1_bio; r1buf_pool_alloc()
164 struct r1bio *r1bio = __r1_bio; r1buf_pool_free() local
169 r1bio->bios[j]->bi_io_vec[i].bv_page != r1buf_pool_free()
170 r1bio->bios[0]->bi_io_vec[i].bv_page) r1buf_pool_free()
171 safe_put_page(r1bio->bios[j]->bi_io_vec[i].bv_page); r1buf_pool_free()
174 bio_put(r1bio->bios[i]); r1buf_pool_free()
176 r1bio_pool_free(r1bio, data); r1buf_pool_free()
179 static void put_all_bios(struct r1conf *conf, struct r1bio *r1_bio) put_all_bios()
191 static void free_r1bio(struct r1bio *r1_bio) free_r1bio()
199 static void put_buf(struct r1bio *r1_bio) put_buf()
215 static void reschedule_retry(struct r1bio *r1_bio) reschedule_retry()
235 static void call_bio_endio(struct r1bio *r1_bio) call_bio_endio()
269 static void raid_end_bio_io(struct r1bio *r1_bio) raid_end_bio_io()
288 static inline void update_head_pos(int disk, struct r1bio *r1_bio) update_head_pos()
299 static int find_bio_disk(struct r1bio *r1_bio, struct bio *bio) find_bio_disk()
318 struct r1bio *r1_bio = bio->bi_private; raid1_end_read_request()
365 static void close_write(struct r1bio *r1_bio) close_write()
384 static void r1_bio_write_done(struct r1bio *r1_bio) r1_bio_write_done()
403 struct r1bio *r1_bio = bio->bi_private; raid1_end_write_request()
511 static int read_balance(struct r1conf *conf, struct r1bio *r1_bio, int *max_sectors) read_balance()
1002 static void alloc_behind_pages(struct bio *bio, struct r1bio *r1_bio) alloc_behind_pages()
1083 struct r1bio *r1_bio; make_request()
1253 * the bad blocks. Each set of writes gets it's own r1bio make_request()
1343 /* Wait for the former r1bio(s) to complete */ make_request()
1741 struct r1bio *r1_bio = bio->bi_private; end_sync_read()
1760 struct r1bio *r1_bio = bio->bi_private; end_sync_write()
1829 static int fix_sync_read_error(struct r1bio *r1_bio) fix_sync_read_error()
1950 static void process_checks(struct r1bio *r1_bio) process_checks()
2044 static void sync_request_write(struct mddev *mddev, struct r1bio *r1_bio) sync_request_write()
2188 static int narrow_write_error(struct r1bio *r1_bio, int i) narrow_write_error()
2265 static void handle_sync_write_finished(struct r1conf *conf, struct r1bio *r1_bio) handle_sync_write_finished()
2288 static void handle_write_finished(struct r1conf *conf, struct r1bio *r1_bio) handle_write_finished()
2317 static void handle_read_error(struct r1conf *conf, struct r1bio *r1_bio) handle_read_error()
2412 struct r1bio *r1_bio; raid1d()
2430 r1_bio = list_entry(head->prev, struct r1bio, retry_list); raid1d()
2488 struct r1bio *r1_bio; sync_request()
3024 * Then resize conf->mirrors and swap in the new r1bio pool. raid1_reshape()

Completed in 103 milliseconds