taglinefilesource code
tocentry1406drivers/block/ide-cd.cstruct cdrom_tocentry tocentry;
tocentry1409drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *) arg, sizeof (tocentry));
tocentry1411drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (tocentry));
tocentry1414drivers/block/ide-cd.cmemcpy_fromfs (&tocentry, (void *) arg, sizeof (tocentry));
tocentry1416drivers/block/ide-cd.cstat = cdrom_get_toc_entry (dev, tocentry.cdte_track, &toce);
tocentry1419drivers/block/ide-cd.ctocentry.cdte_ctrl = toce->control;
tocentry1420drivers/block/ide-cd.ctocentry.cdte_adr  = toce->adr;
tocentry1422drivers/block/ide-cd.cif (tocentry.cdte_format == CDROM_MSF)
tocentry1426drivers/block/ide-cd.c&tocentry.cdte_addr.msf.minute,
tocentry1427drivers/block/ide-cd.c&tocentry.cdte_addr.msf.second,
tocentry1428drivers/block/ide-cd.c&tocentry.cdte_addr.msf.frame);
tocentry1431drivers/block/ide-cd.ctocentry.cdte_addr.lba = toce->lba;
tocentry1433drivers/block/ide-cd.cmemcpy_tofs ((void *) arg, &tocentry, sizeof (tocentry));
tocentry490drivers/block/sbpcd.cstatic struct cdrom_tocentry tocentry;
tocentry3225drivers/block/sbpcd.cmemcpy_fromfs(&tocentry, (void *) arg, sizeof(struct cdrom_tocentry));
tocentry3226drivers/block/sbpcd.ci=tocentry.cdte_track;
tocentry3229drivers/block/sbpcd.ctocentry.cdte_adr=DriveStruct[d].TocBuffer[i].ctl_adr&0x0F;
tocentry3230drivers/block/sbpcd.ctocentry.cdte_ctrl=(DriveStruct[d].TocBuffer[i].ctl_adr>>4)&0x0F;
tocentry3231drivers/block/sbpcd.ctocentry.cdte_datamode=DriveStruct[d].TocBuffer[i].format;
tocentry3232drivers/block/sbpcd.cif (tocentry.cdte_format==CDROM_MSF) /* MSF-bin required */
tocentry3233drivers/block/sbpcd.c{ tocentry.cdte_addr.msf.minute=(DriveStruct[d].TocBuffer[i].address>>16)&0x00FF;
tocentry3234drivers/block/sbpcd.ctocentry.cdte_addr.msf.second=(DriveStruct[d].TocBuffer[i].address>>8)&0x00FF;
tocentry3235drivers/block/sbpcd.ctocentry.cdte_addr.msf.frame=DriveStruct[d].TocBuffer[i].address&0x00FF;
tocentry3237drivers/block/sbpcd.celse if (tocentry.cdte_format==CDROM_LBA) /* blk required */
tocentry3238drivers/block/sbpcd.ctocentry.cdte_addr.lba=msf2blk(DriveStruct[d].TocBuffer[i].address);
tocentry3242drivers/block/sbpcd.cmemcpy_tofs((void *) arg, &tocentry, sizeof(struct cdrom_tocentry));
tocentry207drivers/scsi/sr_ioctl.cstruct cdrom_tocentry tocentry;
tocentry211drivers/scsi/sr_ioctl.cmemcpy_fromfs (&tocentry, (void *) arg, sizeof (struct cdrom_tocentry));
tocentry216drivers/scsi/sr_ioctl.csr_cmd[6] = tocentry.cdte_track;
tocentry226drivers/scsi/sr_ioctl.cif (tocentry.cdte_format == CDROM_MSF) {
tocentry227drivers/scsi/sr_ioctl.ctocentry.cdte_addr.msf.minute = buffer[9];
tocentry228drivers/scsi/sr_ioctl.ctocentry.cdte_addr.msf.second = buffer[10];
tocentry229drivers/scsi/sr_ioctl.ctocentry.cdte_addr.msf.frame = buffer[11];
tocentry230drivers/scsi/sr_ioctl.ctocentry.cdte_ctrl = buffer[5] & 0xf;
tocentry233drivers/scsi/sr_ioctl.ctocentry.cdte_addr.lba = (int) buffer[0];
tocentry240drivers/scsi/sr_ioctl.cmemcpy_tofs ((void *) arg, &tocentry, sizeof (struct cdrom_tocentry));