Lines Matching refs:bi_end_io
265 if (bio->bi_end_io)
1300 read_bio->bi_end_io = raid1_end_read_request;
1509 mbio->bi_end_io = raid1_end_write_request;
1969 * will have bi_end_io clear.
1989 bio->bi_end_io = end_sync_write;
2001 if (r1_bio->bios[d]->bi_end_io == end_sync_read) {
2058 if (r1_bio->bios[d]->bi_end_io != end_sync_read)
2064 r1_bio->bios[d]->bi_end_io = NULL;
2073 if (r1_bio->bios[d]->bi_end_io != end_sync_read)
2111 if (b->bi_end_io != end_sync_read)
2120 b->bi_end_io = end_sync_read;
2128 if (r1_bio->bios[primary]->bi_end_io == end_sync_read &&
2130 r1_bio->bios[primary]->bi_end_io = NULL;
2146 if (sbio->bi_end_io != end_sync_read)
2168 sbio->bi_end_io = NULL;
2198 if (wbio->bi_end_io == NULL ||
2199 (wbio->bi_end_io == end_sync_read &&
2212 wbio->bi_end_io = end_sync_write;
2403 if (bio->bi_end_io == NULL)
2727 bio->bi_end_io = end_sync_write;
2754 bio->bi_end_io = end_sync_read;
2766 bio->bi_end_io = end_sync_write;
2770 if (rdev && bio->bi_end_io) {
2789 if (r1_bio->bios[i]->bi_end_io == end_sync_write) {
2863 if (bio->bi_end_io) {
2897 if (bio->bi_end_io == end_sync_read) {