taglinefilesource code
tocentry2138drivers/block/ide-cd.cstruct cdrom_tocentry tocentry;
tocentry2141drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *) arg, sizeof (tocentry));
tocentry2143drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (tocentry));
tocentry2146drivers/block/ide-cd.cmemcpy_fromfs (&tocentry, (void *) arg, sizeof (tocentry));
tocentry2148drivers/block/ide-cd.cstat = cdrom_get_toc_entry (drive, tocentry.cdte_track, &toce, NULL);
tocentry2151drivers/block/ide-cd.ctocentry.cdte_ctrl = toce->control;
tocentry2152drivers/block/ide-cd.ctocentry.cdte_adr  = toce->adr;
tocentry2154drivers/block/ide-cd.cif (tocentry.cdte_format == CDROM_MSF)
tocentry2158drivers/block/ide-cd.c&tocentry.cdte_addr.msf.minute,
tocentry2159drivers/block/ide-cd.c&tocentry.cdte_addr.msf.second,
tocentry2160drivers/block/ide-cd.c&tocentry.cdte_addr.msf.frame);
tocentry2163drivers/block/ide-cd.ctocentry.cdte_addr.lba = toce->addr.lba;
tocentry2165drivers/block/ide-cd.cmemcpy_tofs ((void *) arg, &tocentry, sizeof (tocentry));
tocentry493drivers/cdrom/sbpcd.cstatic struct cdrom_tocentry tocentry;
tocentry3873drivers/cdrom/sbpcd.cmemcpy_fromfs(&tocentry, (void *) arg, sizeof(struct cdrom_tocentry));
tocentry3874drivers/cdrom/sbpcd.ci=tocentry.cdte_track;
tocentry3877drivers/cdrom/sbpcd.ctocentry.cdte_adr=D_S[d].TocBuffer[i].ctl_adr&0x0F;
tocentry3878drivers/cdrom/sbpcd.ctocentry.cdte_ctrl=(D_S[d].TocBuffer[i].ctl_adr>>4)&0x0F;
tocentry3879drivers/cdrom/sbpcd.ctocentry.cdte_datamode=D_S[d].TocBuffer[i].format;
tocentry3880drivers/cdrom/sbpcd.cif (tocentry.cdte_format==CDROM_MSF) /* MSF-bin required */
tocentry3882drivers/cdrom/sbpcd.ctocentry.cdte_addr.msf.minute=(D_S[d].TocBuffer[i].address>>16)&0x00FF;
tocentry3883drivers/cdrom/sbpcd.ctocentry.cdte_addr.msf.second=(D_S[d].TocBuffer[i].address>>8)&0x00FF;
tocentry3884drivers/cdrom/sbpcd.ctocentry.cdte_addr.msf.frame=D_S[d].TocBuffer[i].address&0x00FF;
tocentry3886drivers/cdrom/sbpcd.celse if (tocentry.cdte_format==CDROM_LBA) /* blk required */
tocentry3887drivers/cdrom/sbpcd.ctocentry.cdte_addr.lba=msf2blk(D_S[d].TocBuffer[i].address);
tocentry3891drivers/cdrom/sbpcd.cmemcpy_tofs((void *) arg, &tocentry, sizeof(struct cdrom_tocentry));
tocentry233drivers/scsi/sr_ioctl.cstruct cdrom_tocentry tocentry;
tocentry239drivers/scsi/sr_ioctl.cmemcpy_fromfs (&tocentry, (void *) arg, sizeof (struct cdrom_tocentry));
tocentry244drivers/scsi/sr_ioctl.csr_cmd[6] = tocentry.cdte_track;
tocentry254drivers/scsi/sr_ioctl.cif (tocentry.cdte_format == CDROM_MSF) {
tocentry255drivers/scsi/sr_ioctl.ctocentry.cdte_addr.msf.minute = buffer[9];
tocentry256drivers/scsi/sr_ioctl.ctocentry.cdte_addr.msf.second = buffer[10];
tocentry257drivers/scsi/sr_ioctl.ctocentry.cdte_addr.msf.frame = buffer[11];
tocentry258drivers/scsi/sr_ioctl.ctocentry.cdte_ctrl = buffer[5] & 0xf;
tocentry261drivers/scsi/sr_ioctl.ctocentry.cdte_addr.lba = (int) buffer[0];
tocentry268drivers/scsi/sr_ioctl.cmemcpy_tofs ((void *) arg, &tocentry, sizeof (struct cdrom_tocentry));