Lines Matching refs:start_sec
3834 static int prot_verify_read(struct scsi_cmnd *scp, sector_t start_sec, in prot_verify_read() argument
3845 sector = start_sec + i; in prot_verify_read()
3868 dif_copy_prot(scp, start_sec, sectors, true); in prot_verify_read()
4027 static int prot_verify_write(struct scsi_cmnd *SCpnt, sector_t start_sec, in prot_verify_write() argument
4033 sector_t sector = start_sec; in prot_verify_write()
4087 dif_copy_prot(SCpnt, start_sec, sectors, false); in prot_verify_write()
6268 int heads_by_sects, start_sec, end_sec; in sdebug_build_parts() local
6296 start_sec = starts[k]; in sdebug_build_parts()
6300 pp->cyl = start_sec / heads_by_sects; in sdebug_build_parts()
6301 pp->head = (start_sec - (pp->cyl * heads_by_sects)) in sdebug_build_parts()
6303 pp->sector = (start_sec % sdebug_sectors_per) + 1; in sdebug_build_parts()
6310 pp->start_sect = cpu_to_le32(start_sec); in sdebug_build_parts()
6311 pp->nr_sects = cpu_to_le32(end_sec - start_sec + 1); in sdebug_build_parts()