tag | line | file | source code |
ti | 2364 | drivers/block/cdu31a.c | struct cdrom_ti ti; |
ti | 2373 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(ti)); |
ti | 2375 | drivers/block/cdu31a.c | memcpy_fromfs(&ti, (char *) arg, sizeof(ti)); |
ti | 2376 | drivers/block/cdu31a.c | if ( (ti.cdti_trk0 < ses_tocs[dev]->first_track_num) |
ti | 2377 | drivers/block/cdu31a.c | || (ti.cdti_trk0 > ses_tocs[dev]->last_track_num) |
ti | 2378 | drivers/block/cdu31a.c | || (ti.cdti_trk1 < ti.cdti_trk0)) |
ti | 2383 | drivers/block/cdu31a.c | track_idx = find_track(int_to_bcd(ti.cdti_trk0), dev); |
ti | 2396 | drivers/block/cdu31a.c | if (ti.cdti_trk1 >= bcd_to_int(ses_tocs[dev]->last_track_num)) |
ti | 2403 | drivers/block/cdu31a.c | track_idx = find_track(int_to_bcd(ti.cdti_trk1+1), dev); |
ti | 1066 | drivers/block/ide-cd.c | struct cdrom_ti ti; |
ti | 1069 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_READ, (void *)arg, sizeof (ti)); |
ti | 1072 | drivers/block/ide-cd.c | memcpy_fromfs (&ti, (void *) arg, sizeof(ti)); |
ti | 1074 | drivers/block/ide-cd.c | stat = cdrom_get_toc_entry (dev, ti.cdti_trk0, &first_toc); |
ti | 1076 | drivers/block/ide-cd.c | stat = cdrom_get_toc_entry (dev, ti.cdti_trk1, &last_toc); |
ti | 1079 | drivers/block/ide-cd.c | if (ti.cdti_trk1 != CDROM_LEADOUT) ++last_toc; |
ti | 244 | drivers/block/mcd.c | struct cdrom_ti ti; |
ti | 325 | drivers/block/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof ti); |
ti | 329 | drivers/block/mcd.c | memcpy_fromfs(&ti, (void *) arg, sizeof ti); |
ti | 331 | drivers/block/mcd.c | if (ti.cdti_trk0 < DiskInfo.first |
ti | 332 | drivers/block/mcd.c | || ti.cdti_trk0 > DiskInfo.last |
ti | 333 | drivers/block/mcd.c | || ti.cdti_trk1 < ti.cdti_trk0) |
ti | 338 | drivers/block/mcd.c | if (ti.cdti_trk1 > DiskInfo.last) |
ti | 339 | drivers/block/mcd.c | ti. cdti_trk1 = DiskInfo.last; |
ti | 341 | drivers/block/mcd.c | mcd_Play.start = Toc[ti.cdti_trk0].diskTime; |
ti | 342 | drivers/block/mcd.c | mcd_Play.end = Toc[ti.cdti_trk1 + 1].diskTime; |
ti | 455 | drivers/block/sbpcd.c | static struct cdrom_ti ti; |
ti | 3052 | drivers/block/sbpcd.c | memcpy_fromfs(&ti,(void *) arg,sizeof(struct cdrom_ti)); |
ti | 3054 | drivers/block/sbpcd.c | ti.cdti_trk0,ti.cdti_ind0,ti.cdti_trk1,ti.cdti_ind1)); |
ti | 3055 | drivers/block/sbpcd.c | if (ti.cdti_trk0<DriveStruct[d].n_first_track) return (-EINVAL); |
ti | 3056 | drivers/block/sbpcd.c | if (ti.cdti_trk0>DriveStruct[d].n_last_track) return (-EINVAL); |
ti | 3057 | drivers/block/sbpcd.c | if (ti.cdti_trk1<ti.cdti_trk0) ti.cdti_trk1=ti.cdti_trk0; |
ti | 3058 | drivers/block/sbpcd.c | if (ti.cdti_trk1>DriveStruct[d].n_last_track) ti.cdti_trk1=DriveStruct[d].n_last_track; |
ti | 3059 | drivers/block/sbpcd.c | DriveStruct[d].pos_audio_start=DriveStruct[d].TocBuffer[ti.cdti_trk0].address; |
ti | 3060 | drivers/block/sbpcd.c | DriveStruct[d].pos_audio_end=DriveStruct[d].TocBuffer[ti.cdti_trk1+1].address; |
ti | 153 | drivers/scsi/sr_ioctl.c | struct cdrom_ti ti; |
ti | 154 | drivers/scsi/sr_ioctl.c | memcpy_fromfs(&ti, (void *) arg, sizeof(ti)); |
ti | 160 | drivers/scsi/sr_ioctl.c | sr_cmd[4] = ti.cdti_trk0; |
ti | 161 | drivers/scsi/sr_ioctl.c | sr_cmd[5] = ti.cdti_ind0; |
ti | 163 | drivers/scsi/sr_ioctl.c | sr_cmd[7] = ti.cdti_trk1; |
ti | 164 | drivers/scsi/sr_ioctl.c | sr_cmd[8] = ti.cdti_ind1; |