Lines Matching defs:start_sec
4411 static int prot_verify_read(struct scsi_cmnd *scp, sector_t start_sec,
4422 sector = start_sec + i;
4445 dif_copy_prot(scp, start_sec, sectors, true);
4696 static int prot_verify_write(struct scsi_cmnd *SCpnt, sector_t start_sec,
4702 sector_t sector = start_sec;
4756 dif_copy_prot(SCpnt, start_sec, sectors, false);
7069 int heads_by_sects, start_sec, end_sec;
7097 start_sec = starts[k];
7101 pp->cyl = start_sec / heads_by_sects;
7102 pp->head = (start_sec - (pp->cyl * heads_by_sects))
7104 pp->sector = (start_sec % sdebug_sectors_per) + 1;
7111 pp->start_sect = cpu_to_le32(start_sec);
7112 pp->nr_sects = cpu_to_le32(end_sec - start_sec + 1);