Home
last modified time | relevance | path

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

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