Lines Matching refs:bi_end_io
269 if (bio->bi_end_io)
1322 read_bio->bi_end_io = raid1_end_read_request;
1557 mbio->bi_end_io = raid1_end_write_request;
2015 * will have bi_end_io clear.
2035 bio->bi_end_io = end_sync_write;
2047 if (r1_bio->bios[d]->bi_end_io == end_sync_read) {
2103 if (r1_bio->bios[d]->bi_end_io != end_sync_read)
2109 r1_bio->bios[d]->bi_end_io = NULL;
2118 if (r1_bio->bios[d]->bi_end_io != end_sync_read)
2156 if (b->bi_end_io != end_sync_read)
2164 b->bi_end_io = end_sync_read;
2172 if (r1_bio->bios[primary]->bi_end_io == end_sync_read &&
2174 r1_bio->bios[primary]->bi_end_io = NULL;
2190 if (sbio->bi_end_io != end_sync_read)
2212 sbio->bi_end_io = NULL;
2242 if (wbio->bi_end_io == NULL ||
2243 (wbio->bi_end_io == end_sync_read &&
2256 wbio->bi_end_io = end_sync_write;
2445 if (bio->bi_end_io == NULL)
2771 bio->bi_end_io = end_sync_write;
2798 bio->bi_end_io = end_sync_read;
2810 bio->bi_end_io = end_sync_write;
2814 if (rdev && bio->bi_end_io) {
2833 if (r1_bio->bios[i]->bi_end_io == end_sync_write) {
2907 if (bio->bi_end_io) {
2941 if (bio->bi_end_io == end_sync_read) {