Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/md/
Ddm-integrity.c285 sector_t logical_sector; member
1210 return range1->logical_sector < range2->logical_sector + range2->n_sectors && in ranges_overlap()
1211 range1->logical_sector + range1->n_sectors > range2->logical_sector; in ranges_overlap()
1219 …BUG_ON((new_range->logical_sector | new_range->n_sectors) & (unsigned int)(ic->sectors_per_block -… in add_new_range()
1236 if (new_range->logical_sector + new_range->n_sectors <= range->logical_sector) in add_new_range()
1238 else if (new_range->logical_sector >= range->logical_sector + range->n_sectors) in add_new_range()
1625 dio->range.logical_sector += dio->range.n_sectors; in dec_in_flight()
1764 sector = dio->range.logical_sector; in integrity_metadata()
1883 dio->range.logical_sector = dm_target_offset(ti, bio->bi_iter.bi_sector); in dm_integrity_map()
1892 if (unlikely(dio->range.logical_sector + bio_sectors(bio) > ic->provided_data_sectors)) { in dm_integrity_map()
[all …]
Draid5.c5785 sector_t logical_sector, last_sector; in make_discard_request() local
5797 logical_sector = bi->bi_iter.bi_sector & ~((sector_t)RAID5_STRIPE_SECTORS(conf)-1); in make_discard_request()
5804 logical_sector = DIV_ROUND_UP_SECTOR_T(logical_sector, in make_discard_request()
5808 logical_sector *= conf->chunk_sectors; in make_discard_request()
5811 for (; logical_sector < last_sector; in make_discard_request()
5812 logical_sector += RAID5_STRIPE_SECTORS(conf)) { in make_discard_request()
5816 sh = raid5_get_active_stripe(conf, NULL, logical_sector, 0); in make_discard_request()
5978 sector_t logical_sector, struct bio *bi) in make_stripe_request() argument
6000 if (ahead_of_reshape(mddev, logical_sector, in make_stripe_request()
6004 if (ahead_of_reshape(mddev, logical_sector, in make_stripe_request()
[all …]
/Linux-v6.6/drivers/scsi/
Dmyrb.h479 unsigned char logical_sector; /* Byte 5 */ member