Searched refs:ntracks (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/ide/
H A Dide-cd_ioctl.c326 int ntracks; ide_cd_get_toc_entry() local
335 ntracks = toc->hdr.last_track - toc->hdr.first_track + 1; ide_cd_get_toc_entry()
338 ntracks = 0; ide_cd_get_toc_entry()
341 *ent = &toc->ent[ntracks]; ide_cd_get_toc_entry()
H A Dide-cd.c952 int stat, ntracks, i; ide_cd_read_toc() local
1009 ntracks = toc->hdr.last_track - toc->hdr.first_track + 1; ide_cd_read_toc()
1010 if (ntracks <= 0) ide_cd_read_toc()
1012 if (ntracks > MAX_TRACKS) ide_cd_read_toc()
1013 ntracks = MAX_TRACKS; ide_cd_read_toc()
1019 (ntracks + 1) * ide_cd_read_toc()
1035 ntracks = 0; ide_cd_read_toc()
1039 (ntracks + 1) * ide_cd_read_toc()
1064 for (i = 0; i <= ntracks; i++) { ide_cd_read_toc()
/linux-4.4.14/drivers/scsi/
H A Dsr_ioctl.c119 int ntracks, ret; sr_fake_playtrkind() local
125 ntracks = tochdr.cdth_trk1 - tochdr.cdth_trk0 + 1; sr_fake_playtrkind()
127 if (ti->cdti_trk1 == ntracks) sr_fake_playtrkind()

Completed in 272 milliseconds