Lines Matching defs:partitions
39 // o for data partitions:
41 // o for extended partitions defined in the root-level FDisk map:
43 // o for extended partitions defined in a second-level or deeper FDisk map:
103 // no partitions defined. We don't consider this a match and return failure
118 // Publish the new media objects which represent our partitions.
132 // Attach and register the new media objects representing our partitions.
185 // Request that the provider media be re-scanned for partitions.
188 OSSet * partitions = 0;
192 // Scan the provider media for partitions.
200 partitions = juxtaposeMediaObjects( _partitions, partitionsNew );
202 if ( partitions )
206 _partitions = partitions;
215 return partitions ? kIOReturnSuccess : kIOReturnError;
222 // of media objects representing each of the partitions (the retain for
238 OSSet * partitions = 0;
257 // Allocate a set to hold the set of media objects representing partitions.
259 partitions = OSSet::withCapacity(4);
260 if ( partitions == 0 ) goto scanErr;
295 // If peer extended partitions exist, we accept only the first.
344 partitions->setObject(newMedia);
365 return partitions;
372 if ( partitions ) partitions->release();