Searched refs:logical_sector (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/md/
H A Draid5.c5059 sector_t logical_sector, last_sector; make_discard_request() local
5068 logical_sector = bi->bi_iter.bi_sector & ~((sector_t)STRIPE_SECTORS-1); make_discard_request()
5076 logical_sector = DIV_ROUND_UP_SECTOR_T(logical_sector, make_discard_request()
5080 logical_sector *= conf->chunk_sectors; make_discard_request()
5083 for (; logical_sector < last_sector; make_discard_request()
5084 logical_sector += STRIPE_SECTORS) { make_discard_request()
5088 sh = get_active_stripe(conf, logical_sector, 0, 0, 0); make_discard_request()
5153 sector_t logical_sector, last_sector; make_request() local
5182 logical_sector = bi->bi_iter.bi_sector & ~((sector_t)STRIPE_SECTORS-1); make_request()
5188 for (;logical_sector < last_sector; logical_sector += STRIPE_SECTORS) { make_request()
5210 ? logical_sector < conf->reshape_progress make_request()
5211 : logical_sector >= conf->reshape_progress) { make_request()
5215 ? logical_sector < conf->reshape_safe make_request()
5216 : logical_sector >= conf->reshape_safe) { make_request()
5226 new_sector = raid5_compute_sector(conf, logical_sector, make_request()
5231 (unsigned long long)logical_sector); make_request()
5248 ? logical_sector >= conf->reshape_progress make_request()
5249 : logical_sector < conf->reshape_progress) make_request()
5269 logical_sector >= mddev->suspend_lo && make_request()
5270 logical_sector < mddev->suspend_hi) { make_request()
5279 if (logical_sector >= mddev->suspend_lo && make_request()
5280 logical_sector < mddev->suspend_hi) { make_request()
5673 sector_t sector, logical_sector, last_sector; retry_aligned_read() local
5678 logical_sector = raid_bio->bi_iter.bi_sector & retry_aligned_read()
5680 sector = raid5_compute_sector(conf, logical_sector, retry_aligned_read()
5684 for (; logical_sector < last_sector; retry_aligned_read()
5685 logical_sector += STRIPE_SECTORS, retry_aligned_read()

Completed in 92 milliseconds