tag | line | file | source code |
ti | 458 | drivers/block/aztcd.c | struct cdrom_ti ti; |
ti | 514 | drivers/block/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof ti); |
ti | 516 | drivers/block/aztcd.c | memcpy_fromfs(&ti, (void *) arg, sizeof ti); |
ti | 517 | drivers/block/aztcd.c | if (ti.cdti_trk0 < DiskInfo.first |
ti | 518 | drivers/block/aztcd.c | || ti.cdti_trk0 > DiskInfo.last |
ti | 519 | drivers/block/aztcd.c | || ti.cdti_trk1 < ti.cdti_trk0) |
ti | 522 | drivers/block/aztcd.c | if (ti.cdti_trk1 > DiskInfo.last) |
ti | 523 | drivers/block/aztcd.c | ti. cdti_trk1 = DiskInfo.last; |
ti | 524 | drivers/block/aztcd.c | azt_Play.start = Toc[ti.cdti_trk0].diskTime; |
ti | 525 | drivers/block/aztcd.c | azt_Play.end = Toc[ti.cdti_trk1 + 1].diskTime; |
ti | 2367 | drivers/block/cdu31a.c | struct cdrom_ti ti; |
ti | 2376 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(ti)); |
ti | 2378 | drivers/block/cdu31a.c | memcpy_fromfs(&ti, (char *) arg, sizeof(ti)); |
ti | 2379 | drivers/block/cdu31a.c | if ( (ti.cdti_trk0 < sony_toc->first_track_num) |
ti | 2380 | drivers/block/cdu31a.c | || (ti.cdti_trk0 > sony_toc->last_track_num) |
ti | 2381 | drivers/block/cdu31a.c | || (ti.cdti_trk1 < ti.cdti_trk0)) |
ti | 2386 | drivers/block/cdu31a.c | track_idx = find_track(int_to_bcd(ti.cdti_trk0)); |
ti | 2399 | drivers/block/cdu31a.c | if (ti.cdti_trk1 >= bcd_to_int(sony_toc->last_track_num)) |
ti | 2406 | drivers/block/cdu31a.c | track_idx = find_track(int_to_bcd(ti.cdti_trk1+1)); |
ti | 1359 | drivers/block/ide-cd.c | struct cdrom_ti ti; |
ti | 1362 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_READ, (void *)arg, sizeof (ti)); |
ti | 1365 | drivers/block/ide-cd.c | memcpy_fromfs (&ti, (void *) arg, sizeof(ti)); |
ti | 1367 | drivers/block/ide-cd.c | stat = cdrom_get_toc_entry (dev, ti.cdti_trk0, &first_toc); |
ti | 1369 | drivers/block/ide-cd.c | stat = cdrom_get_toc_entry (dev, ti.cdti_trk1, &last_toc); |
ti | 1372 | drivers/block/ide-cd.c | if (ti.cdti_trk1 != CDROM_LEADOUT) ++last_toc; |
ti | 245 | drivers/block/mcd.c | struct cdrom_ti ti; |
ti | 324 | drivers/block/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof ti); |
ti | 328 | drivers/block/mcd.c | memcpy_fromfs(&ti, (void *) arg, sizeof ti); |
ti | 330 | drivers/block/mcd.c | if (ti.cdti_trk0 < DiskInfo.first |
ti | 331 | drivers/block/mcd.c | || ti.cdti_trk0 > DiskInfo.last |
ti | 332 | drivers/block/mcd.c | || ti.cdti_trk1 < ti.cdti_trk0) |
ti | 337 | drivers/block/mcd.c | if (ti.cdti_trk1 > DiskInfo.last) |
ti | 338 | drivers/block/mcd.c | ti. cdti_trk1 = DiskInfo.last; |
ti | 340 | drivers/block/mcd.c | mcd_Play.start = Toc[ti.cdti_trk0].diskTime; |
ti | 341 | drivers/block/mcd.c | mcd_Play.end = Toc[ti.cdti_trk1 + 1].diskTime; |
ti | 474 | drivers/block/sbpcd.c | static struct cdrom_ti ti; |
ti | 3329 | drivers/block/sbpcd.c | memcpy_fromfs(&ti,(void *) arg,sizeof(struct cdrom_ti)); |
ti | 3331 | drivers/block/sbpcd.c | ti.cdti_trk0,ti.cdti_ind0,ti.cdti_trk1,ti.cdti_ind1)); |
ti | 3332 | drivers/block/sbpcd.c | if (ti.cdti_trk0<DriveStruct[d].n_first_track) return (-EINVAL); |
ti | 3333 | drivers/block/sbpcd.c | if (ti.cdti_trk0>DriveStruct[d].n_last_track) return (-EINVAL); |
ti | 3334 | drivers/block/sbpcd.c | if (ti.cdti_trk1<ti.cdti_trk0) ti.cdti_trk1=ti.cdti_trk0; |
ti | 3335 | drivers/block/sbpcd.c | if (ti.cdti_trk1>DriveStruct[d].n_last_track) ti.cdti_trk1=DriveStruct[d].n_last_track; |
ti | 3336 | drivers/block/sbpcd.c | DriveStruct[d].pos_audio_start=DriveStruct[d].TocBuffer[ti.cdti_trk0].address; |
ti | 3337 | drivers/block/sbpcd.c | DriveStruct[d].pos_audio_end=DriveStruct[d].TocBuffer[ti.cdti_trk1+1].address; |
ti | 1265 | drivers/block/sonycd535.c | struct cdrom_ti ti; |
ti | 1271 | drivers/block/sonycd535.c | verify_area(VERIFY_READ, (char *)arg, sizeof ti); |
ti | 1273 | drivers/block/sonycd535.c | memcpy_fromfs(&ti, (char *)arg, sizeof ti); |
ti | 1274 | drivers/block/sonycd535.c | if ((ti.cdti_trk0 < sony_toc->first_track_num) |
ti | 1275 | drivers/block/sonycd535.c | || (sony_toc->last_track_num < ti.cdti_trk0) |
ti | 1276 | drivers/block/sonycd535.c | || (ti.cdti_trk1 < ti.cdti_trk0)) { |
ti | 1279 | drivers/block/sonycd535.c | track_idx = find_track(int_to_bcd(ti.cdti_trk0)); |
ti | 1289 | drivers/block/sonycd535.c | if (bcd_to_int(sony_toc->last_track_num) <= ti.cdti_trk1) { |
ti | 1293 | drivers/block/sonycd535.c | track_idx = find_track(int_to_bcd(ti.cdti_trk1 + 1)); |
ti | 155 | drivers/scsi/sr_ioctl.c | struct cdrom_ti ti; |
ti | 156 | drivers/scsi/sr_ioctl.c | memcpy_fromfs(&ti, (void *) arg, sizeof(ti)); |
ti | 162 | drivers/scsi/sr_ioctl.c | sr_cmd[4] = ti.cdti_trk0; |
ti | 163 | drivers/scsi/sr_ioctl.c | sr_cmd[5] = ti.cdti_ind0; |
ti | 165 | drivers/scsi/sr_ioctl.c | sr_cmd[7] = ti.cdti_trk1; |
ti | 166 | drivers/scsi/sr_ioctl.c | sr_cmd[8] = ti.cdti_ind1; |