Lines Matching refs:bip
2293 struct bio **bip; in add_stripe_bio() local
2304 bip = &sh->dev[dd_idx].towrite; in add_stripe_bio()
2305 if (*bip == NULL && sh->dev[dd_idx].written == NULL) in add_stripe_bio()
2308 bip = &sh->dev[dd_idx].toread; in add_stripe_bio()
2309 while (*bip && (*bip)->bi_sector < bi->bi_sector) { in add_stripe_bio()
2310 if ((*bip)->bi_sector + ((*bip)->bi_size >> 9) > bi->bi_sector) in add_stripe_bio()
2312 bip = & (*bip)->bi_next; in add_stripe_bio()
2314 if (*bip && (*bip)->bi_sector < bi->bi_sector + ((bi->bi_size)>>9)) in add_stripe_bio()
2317 BUG_ON(*bip && bi->bi_next && (*bip) != bi->bi_next); in add_stripe_bio()
2318 if (*bip) in add_stripe_bio()
2319 bi->bi_next = *bip; in add_stripe_bio()
2320 *bip = bi; in add_stripe_bio()
2339 (unsigned long long)(*bip)->bi_sector, in add_stripe_bio()