Lines Matching refs:last_sector
774 sector_t last_sector; member
5722 sector_t logical_sector, last_sector; in make_discard_request() local
5735 last_sector = bio_end_sector(bi); in make_discard_request()
5743 sector_div(last_sector, stripe_sectors); in make_discard_request()
5746 last_sector *= conf->chunk_sectors; in make_discard_request()
5748 for (; logical_sector < last_sector; in make_discard_request()
5862 dev->sector >= ctx->last_sector) in add_all_stripe_bios()
5887 dev->sector >= ctx->last_sector) in add_all_stripe_bios()
6119 ctx.last_sector = bio_end_sector(bi); in raid5_make_request()
6122 stripe_cnt = DIV_ROUND_UP_SECTOR_T(ctx.last_sector - logical_sector, in raid5_make_request()
6127 bi->bi_iter.bi_sector, ctx.last_sector); in raid5_make_request()
6224 sector_t first_sector, last_sector; in reshape_request() local
6422 last_sector = in reshape_request()
6426 if (last_sector >= mddev->dev_sectors) in reshape_request()
6427 last_sector = mddev->dev_sectors - 1; in reshape_request()
6428 while (first_sector <= last_sector) { in reshape_request()
6596 sector_t sector, logical_sector, last_sector; in retry_aligned_read() local
6604 last_sector = bio_end_sector(raid_bio); in retry_aligned_read()
6606 for (; logical_sector < last_sector; in retry_aligned_read()