Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Ddm-integrity.c264 sector_t logical_sector; member
1094 return range1->logical_sector < range2->logical_sector + range2->n_sectors && in ranges_overlap()
1095 range1->logical_sector + range1->n_sectors > range2->logical_sector; in ranges_overlap()
1103 BUG_ON((new_range->logical_sector | new_range->n_sectors) & (unsigned)(ic->sectors_per_block - 1)); in add_new_range()
1119 if (new_range->logical_sector + new_range->n_sectors <= range->logical_sector) { in add_new_range()
1121 } else if (new_range->logical_sector >= range->logical_sector + range->n_sectors) { in add_new_range()
1434 dio->range.logical_sector += dio->range.n_sectors; in dec_in_flight()
1524 sector_t sector = dio->range.logical_sector; in integrity_metadata()
1634 dio->range.logical_sector = dm_target_offset(ti, bio->bi_iter.bi_sector); in dm_integrity_map()
1644 if (unlikely(dio->range.logical_sector + bio_sectors(bio) > ic->provided_data_sectors)) { in dm_integrity_map()
[all …]
Draid5.c5493 sector_t logical_sector, last_sector; in make_discard_request() local
5501 logical_sector = bi->bi_iter.bi_sector & ~((sector_t)STRIPE_SECTORS-1); in make_discard_request()
5508 logical_sector = DIV_ROUND_UP_SECTOR_T(logical_sector, in make_discard_request()
5512 logical_sector *= conf->chunk_sectors; in make_discard_request()
5515 for (; logical_sector < last_sector; in make_discard_request()
5516 logical_sector += STRIPE_SECTORS) { in make_discard_request()
5520 sh = raid5_get_active_stripe(conf, logical_sector, 0, 0, 0); in make_discard_request()
5582 sector_t logical_sector, last_sector; in raid5_make_request() local
5626 logical_sector = bi->bi_iter.bi_sector & ~((sector_t)STRIPE_SECTORS-1); in raid5_make_request()
5631 for (;logical_sector < last_sector; logical_sector += STRIPE_SECTORS) { in raid5_make_request()
[all …]
/Linux-v5.4/drivers/scsi/
Dmyrb.h479 unsigned char logical_sector; /* Byte 5 */ member