Home
last modified time | relevance | path

Searched refs:end_sector (Results 1 – 11 of 11) sorted by relevance

/drivers/scsi/
Dscsicam.c130 int cyl, ext_cyl, end_head, end_cyl, end_sector; in scsi_partsize() local
150 end_cyl = largest->end_cyl + ((largest->end_sector & 0xc0) << 2); in scsi_partsize()
152 end_sector = largest->end_sector & 0x3f; in scsi_partsize()
154 if (end_head + 1 == 0 || end_sector == 0) in scsi_partsize()
159 end_head, end_cyl, end_sector); in scsi_partsize()
162 physical_end = end_cyl * (end_head + 1) * end_sector + in scsi_partsize()
163 end_head * end_sector + end_sector; in scsi_partsize()
170 ext_cyl = (logical_end - (end_head * end_sector + end_sector)) in scsi_partsize()
171 / (end_head + 1) / end_sector; in scsi_partsize()
172 ext_physical_end = ext_cyl * (end_head + 1) * end_sector + in scsi_partsize()
[all …]
DBusLogic.c3425 part_end_sector = part_entry->end_sector & 0x3F; in blogic_diskparam()
3443 part_end_sector = part1_entry->end_sector & 0x3F; in blogic_diskparam()
Dscsi_debug.c3001 pp->end_sector = (end_sec % sdebug_sectors_per) + 1; in sdebug_build_parts()
/drivers/md/
Dlinear.c46 if (sector < conf->disks[mid].end_sector) in which_dev()
76 maxsectors = dev0->end_sector - sector; in linear_mergeable_bvec()
80 bvm->bi_sector -= dev0->end_sector - dev0->rdev->sectors; in linear_mergeable_bvec()
192 conf->disks[0].end_sector = conf->disks[0].rdev->sectors; in linear_conf()
195 conf->disks[i].end_sector = in linear_conf()
196 conf->disks[i-1].end_sector + in linear_conf()
294 sector_t start_sector, end_sector, data_offset; in linear_make_request() local
305 start_sector = tmp_dev->end_sector - tmp_dev->rdev->sectors; in linear_make_request()
306 end_sector = tmp_dev->end_sector; in linear_make_request()
312 if (unlikely(bio->bi_iter.bi_sector >= end_sector || in linear_make_request()
[all …]
Ddm-stats.c496 sector_t bi_sector, sector_t end_sector, in __dm_stat_bio() argument
503 if (end_sector <= s->start || bi_sector >= s->end) in __dm_stat_bio()
507 todo = end_sector - s->start; in __dm_stat_bio()
510 todo = end_sector - bi_sector; in __dm_stat_bio()
512 if (unlikely(end_sector > s->end)) in __dm_stat_bio()
513 todo -= (end_sector - s->end); in __dm_stat_bio()
538 sector_t end_sector; in dm_stats_account_io() local
544 end_sector = bi_sector + bi_sectors; in dm_stats_account_io()
557 ACCESS_ONCE(last->last_sector) = end_sector; in dm_stats_account_io()
564 __dm_stat_bio(s, bi_rw, bi_sector, end_sector, end, duration, stats_aux); in dm_stats_account_io()
Dlinear.h6 sector_t end_sector; member
Draid5.c4258 sector_t end_sector; in chunk_aligned_read() local
4283 end_sector = bio_end_sector(align_bi); in chunk_aligned_read()
4287 rdev->recovery_offset < end_sector) { in chunk_aligned_read()
4292 rdev->recovery_offset >= end_sector))) in chunk_aligned_read()
/drivers/scsi/aacraid/
Dlinit.c366 end_sec = entry->end_sector & 0x3f; in aac_biosparm()
386 end_sec = first->end_sector & 0x3f; in aac_biosparm()
/drivers/block/
Dfloppy.c2491 int end_sector; in virtualdmabug_workaround() local
2497 end_sector = SECTOR + hard_sectors - 1; in virtualdmabug_workaround()
2498 if (end_sector > SECT_PER_TRACK) { in virtualdmabug_workaround()
2500 end_sector, SECT_PER_TRACK); in virtualdmabug_workaround()
2503 SECT_PER_TRACK = end_sector; in virtualdmabug_workaround()
/drivers/memstick/core/
Dmspro_block.c112 unsigned char end_sector; member
428 x_mbr->end_sector); in mspro_block_attr_show_mbr()
/drivers/cdrom/
Dcdrom.c1832 layer->end_sector = base[9] << 16 | base[10] << 8 | base[11]; in dvd_read_physical()