Lines Matching refs:start_sec
3178 static int prot_verify_read(struct scsi_cmnd *scp, sector_t start_sec,
3189 sector = start_sec + i;
3212 dif_copy_prot(scp, start_sec, sectors, true);
3425 static int prot_verify_write(struct scsi_cmnd *SCpnt, sector_t start_sec,
3431 sector_t sector = start_sec;
3485 dif_copy_prot(SCpnt, start_sec, sectors, false);
5404 int heads_by_sects, start_sec, end_sec;
5432 start_sec = starts[k];
5436 pp->cyl = start_sec / heads_by_sects;
5437 pp->head = (start_sec - (pp->cyl * heads_by_sects))
5439 pp->sector = (start_sec % sdebug_sectors_per) + 1;
5446 pp->start_sect = cpu_to_le32(start_sec);
5447 pp->nr_sects = cpu_to_le32(end_sec - start_sec + 1);