Searched refs:logical_sector (Results 1 – 3 of 3) sorted by relevance
273 sector_t logical_sector; member1101 return range1->logical_sector < range2->logical_sector + range2->n_sectors && in ranges_overlap()1102 range1->logical_sector + range1->n_sectors > range2->logical_sector; in ranges_overlap()1110 BUG_ON((new_range->logical_sector | new_range->n_sectors) & (unsigned)(ic->sectors_per_block - 1)); in add_new_range()1126 if (new_range->logical_sector + new_range->n_sectors <= range->logical_sector) { in add_new_range()1128 } else if (new_range->logical_sector >= range->logical_sector + range->n_sectors) { in add_new_range()1470 dio->range.logical_sector += dio->range.n_sectors; in dec_in_flight()1606 sector = dio->range.logical_sector; in integrity_metadata()1718 dio->range.logical_sector = dm_target_offset(ti, bio->bi_iter.bi_sector); in dm_integrity_map()1727 if (unlikely(dio->range.logical_sector + bio_sectors(bio) > ic->provided_data_sectors)) { in dm_integrity_map()[all …]
5682 sector_t logical_sector, last_sector; in make_discard_request() local5690 logical_sector = bi->bi_iter.bi_sector & ~((sector_t)RAID5_STRIPE_SECTORS(conf)-1); in make_discard_request()5697 logical_sector = DIV_ROUND_UP_SECTOR_T(logical_sector, in make_discard_request()5701 logical_sector *= conf->chunk_sectors; in make_discard_request()5704 for (; logical_sector < last_sector; in make_discard_request()5705 logical_sector += RAID5_STRIPE_SECTORS(conf)) { in make_discard_request()5709 sh = raid5_get_active_stripe(conf, logical_sector, 0, 0, 0); in make_discard_request()5771 sector_t logical_sector, last_sector; in raid5_make_request() local5815 logical_sector = bi->bi_iter.bi_sector & ~((sector_t)RAID5_STRIPE_SECTORS(conf)-1); in raid5_make_request()5820 for (; logical_sector < last_sector; logical_sector += RAID5_STRIPE_SECTORS(conf)) { in raid5_make_request()[all …]
479 unsigned char logical_sector; /* Byte 5 */ member