• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/IOCDStorageFamily-51/

Lines Matching refs:media

81     // Determine whether the provider media contains CD partitions.
92 // Scan the provider media for CD partitions.
102 // Publish the new media objects which represent our partitions.
116 // Attach and register the new media objects representing our partitions.
137 // Scan the provider media for CD partitions (in TOC). Returns the set
138 // of media objects representing each of the partitions (the retain for
165 IOCDMedia * media = getProvider();
166 UInt64 mediaBlockSize = media->getPreferredBlockSize();
183 // Determine whether this media is formatted.
185 if ( media->isFormatted() == false ) goto scanErr;
194 // Allocate a set to hold the set of media objects representing partitions.
199 // Open the media with read access.
201 mediaIsOpen = media->open(this, 0, kIOStorageAccessReader);
206 toc = media->getTOC();
312 status = media->read( /* client */ this,
373 // Create a media object to represent the linked data tracks, the hidden
401 if ( media->isWritable() == false ) goto scanErr;
408 if ( media->isWritable() ) // (is still writable?)
414 trackBlockNext = media->getSize() / mediaBlockSize;
420 media->readTOC( /* buffer */ buffer,
461 if ( media->isWritable() ) // (is still writable?)
463 trackBlockNext = media->getSize() / mediaBlockSize;
493 status = media->read( /* client */ this,
524 // Create a media object to represent this partition.
598 // Create a media object to represent this partition.
616 media->close(this);
627 if ( mediaIsOpen ) media->close(this);
664 IOMedia * media = getProvider();
665 UInt64 mediaBlockSize = media->getPreferredBlockSize();
669 // relative to the provider media's natural blocking factor of 2352.
676 if ( partitionBase + partitionSize > media->getSize() ) return true;
689 // Instantiate a new media object to represent the given partition.
692 IOMedia * media = getProvider();
695 bool partitionIsWritable = media->isWritable();
733 // Create the new media object.
748 /* attributes */ media->getAttributes(),
791 // Allocate a new media object (called from instantiateMediaObject).
811 // object into the appropriate readCD command to our provider media.
841 // object into the appropriate writeCD command to our provider media.