Lines Matching refs:bi_sector
74 /* bio's attached to a stripe+device for I/O are linked together in bi_sector
83 #define r5_next_bio(bio, sect) ( ( (bio)->bi_sector + ((bio)->bi_size>>9) < sect + STRIPE_SECTORS) ? (bio)->bi_next : NULL)
543 bi->bi_sector = sh->sector + rdev->data_offset;
580 if (bio->bi_sector >= sector)
581 page_offset = (signed)(bio->bi_sector - sector) * 512;
583 page_offset = (signed)(sector - bio->bi_sector) * -512;
652 while (rbi && rbi->bi_sector <
690 while (rbi && rbi->bi_sector <
1032 while (wbi && wbi->bi_sector <
1684 dev->req.bi_sector = sh->sector;
2144 (unsigned long long)bi->bi_sector,
2156 while (*bip && (*bip)->bi_sector < bi->bi_sector) {
2157 if ((*bip)->bi_sector + ((*bip)->bi_size >> 9) > bi->bi_sector)
2161 if (*bip && (*bip)->bi_sector < bi->bi_sector + ((bi->bi_size)>>9))
2173 (unsigned long long)bi->bi_sector,
2188 bi && bi->bi_sector <= sector;
2190 if (bi->bi_sector + (bi->bi_size>>9) >= sector)
2191 sector = bi->bi_sector + (bi->bi_size>>9);
2254 while (bi && bi->bi_sector <
2269 while (bi && bi->bi_sector <
2292 while (bi && bi->bi_sector <
2513 while (wbi && wbi->bi_sector <
3726 sector_t sector = bvm->bi_sector + get_start_sect(bvm->bi_bdev);
3747 sector_t sector = bio->bi_sector + get_start_sect(bio->bi_bdev);
3881 align_bi->bi_sector = raid5_compute_sector(conf, raid_bio->bi_sector,
3893 align_bi->bi_sector += rdev->data_offset;
3999 logical_sector = bi->bi_sector & ~((sector_t)STRIPE_SECTORS-1);
4000 last_sector = bi->bi_sector + (bi->bi_size>>9);
4468 logical_sector = raid_bio->bi_sector & ~((sector_t)STRIPE_SECTORS-1);
4471 last_sector = raid_bio->bi_sector + (raid_bio->bi_size>>9);