/linux-4.1.27/drivers/md/ |
H A D | linear.h | 6 sector_t end_sector; member in struct:dev_info
|
H A D | linear.c | 46 if (sector < conf->disks[mid].end_sector) which_dev() 74 maxsectors = dev0->end_sector - sector; linear_mergeable_bvec() 78 bvm->bi_sector -= dev0->end_sector - dev0->rdev->sectors; linear_mergeable_bvec() 181 conf->disks[0].end_sector = conf->disks[0].rdev->sectors; 184 conf->disks[i].end_sector = 185 conf->disks[i-1].end_sector + 264 sector_t start_sector, end_sector, data_offset; linear_make_request() local 273 start_sector = tmp_dev->end_sector - tmp_dev->rdev->sectors; linear_make_request() 274 end_sector = tmp_dev->end_sector; linear_make_request() 278 if (unlikely(bio->bi_iter.bi_sector >= end_sector || linear_make_request() 282 if (unlikely(bio_end_sector(bio) > end_sector)) { linear_make_request() 286 split = bio_split(bio, end_sector - linear_make_request()
|
H A D | dm-stats.c | 496 sector_t bi_sector, sector_t end_sector, __dm_stat_bio() 503 if (end_sector <= s->start || bi_sector >= s->end) __dm_stat_bio() 507 todo = end_sector - s->start; __dm_stat_bio() 510 todo = end_sector - bi_sector; __dm_stat_bio() 512 if (unlikely(end_sector > s->end)) __dm_stat_bio() 513 todo -= (end_sector - s->end); __dm_stat_bio() 538 sector_t end_sector; dm_stats_account_io() local 544 end_sector = bi_sector + bi_sectors; dm_stats_account_io() 557 ACCESS_ONCE(last->last_sector) = end_sector; dm_stats_account_io() 564 __dm_stat_bio(s, bi_rw, bi_sector, end_sector, end, duration, stats_aux); dm_stats_account_io() 495 __dm_stat_bio(struct dm_stat *s, unsigned long bi_rw, sector_t bi_sector, sector_t end_sector, bool end, unsigned long duration, struct dm_stats_aux *stats_aux) __dm_stat_bio() argument
|
H A D | dm-log-writes.c | 106 sector_t end_sector; member in struct:log_writes_c 370 if (!lc->end_sector) log_writes_kthread() 371 lc->end_sector = logdev_last_sector(lc); log_writes_kthread() 372 if (lc->end_sector && log_writes_kthread() 373 lc->next_sector >= lc->end_sector) { log_writes_kthread() 469 lc->end_sector = logdev_last_sector(lc); log_writes_ctr()
|
H A D | raid5.c | 4816 sector_t end_sector; chunk_aligned_read() local 4841 end_sector = bio_end_sector(align_bi); chunk_aligned_read() 4845 rdev->recovery_offset < end_sector) { chunk_aligned_read() 4850 rdev->recovery_offset >= end_sector))) chunk_aligned_read()
|
/linux-4.1.27/drivers/scsi/ |
H A D | scsicam.c | 130 int cyl, ext_cyl, end_head, end_cyl, end_sector; scsi_partsize() local 150 end_cyl = largest->end_cyl + ((largest->end_sector & 0xc0) << 2); scsi_partsize() 152 end_sector = largest->end_sector & 0x3f; scsi_partsize() 154 if (end_head + 1 == 0 || end_sector == 0) scsi_partsize() 159 end_head, end_cyl, end_sector); scsi_partsize() 162 physical_end = end_cyl * (end_head + 1) * end_sector + scsi_partsize() 163 end_head * end_sector + end_sector; scsi_partsize() 170 ext_cyl = (logical_end - (end_head * end_sector + end_sector)) scsi_partsize() 171 / (end_head + 1) / end_sector; scsi_partsize() 172 ext_physical_end = ext_cyl * (end_head + 1) * end_sector + scsi_partsize() 173 end_head * end_sector + end_sector; scsi_partsize() 182 *secs = end_sector; scsi_partsize() 184 *cyls = capacity / ((end_head + 1) * end_sector); scsi_partsize()
|
H A D | BusLogic.c | 3425 part_end_sector = part_entry->end_sector & 0x3F; blogic_diskparam() 3443 part_end_sector = part1_entry->end_sector & 0x3F; blogic_diskparam()
|
H A D | scsi_debug.c | 3934 pp->end_sector = (end_sec % sdebug_sectors_per) + 1; sdebug_build_parts()
|
/linux-4.1.27/block/ |
H A D | elevator.c | 196 q->end_sector = 0; elevator_init() 364 boundary = q->end_sector; elv_dispatch_sort() 405 q->end_sector = rq_end_sector(rq); elv_dispatch_add_tail() 602 /* barriers are scheduling boundary, update end_sector */ __elv_add_request() 604 q->end_sector = rq_end_sector(rq); __elv_add_request()
|
H A D | blk-core.c | 2286 q->end_sector = rq_end_sector(rq); blk_peek_request()
|
/linux-4.1.27/block/partitions/ |
H A D | efi.h | 115 u8 end_sector; /* unused by EFI, pt end in CHS */ member in struct:_gpt_mbr_record
|
/linux-4.1.27/drivers/memstick/core/ |
H A D | mspro_block.c | 112 unsigned char end_sector; member in struct:mspro_mbr 428 x_mbr->end_sector); mspro_block_attr_show_mbr()
|
/linux-4.1.27/include/linux/ |
H A D | genhd.h | 75 unsigned char end_sector; /* end sector */ member in struct:partition
|
H A D | blkdev.h | 355 sector_t end_sector; member in struct:request_queue
|
/linux-4.1.27/drivers/scsi/aacraid/ |
H A D | linit.c | 354 end_sec = entry->end_sector & 0x3f; aac_biosparm() 374 end_sec = first->end_sector & 0x3f; aac_biosparm()
|
/linux-4.1.27/drivers/block/ |
H A D | floppy.c | 2491 int end_sector; virtualdmabug_workaround() local 2497 end_sector = SECTOR + hard_sectors - 1; virtualdmabug_workaround() 2498 if (end_sector > SECT_PER_TRACK) { virtualdmabug_workaround() 2500 end_sector, SECT_PER_TRACK); virtualdmabug_workaround() 2503 SECT_PER_TRACK = end_sector; virtualdmabug_workaround()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | cdrom.h | 538 __u32 end_sector; member in struct:dvd_layer
|
/linux-4.1.27/drivers/cdrom/ |
H A D | cdrom.c | 1832 layer->end_sector = base[9] << 16 | base[10] << 8 | base[11]; dvd_read_physical()
|