Lines Matching defs:partition

95 		TRACE(("Volume::Mount: partition recognized\n"));
98 TRACE_ERROR(("Volume::Mount: failed to recognize partition\n"));
115 TRACE(("Volume::Mount: partition map %d (type %d):\n", i,
120 // Find the corresponding partition descriptor
129 // Create and add the partition
131 PhysicalPartition *partition
134 status = partition ? B_OK : B_NO_MEMORY;
140 status = _SetPartition(i, partition);
145 TRACE_ERROR(("Volume::Mount: no matching partition descriptor found!\n"));
149 // Figure out what kind of type 2 partition map we have based
172 // Find the corresponding partition descriptor
182 // Create and add the partition
184 MetadataPartition *partition
193 status = partition ? partition->InitCheck() : B_NO_MEMORY;
196 status = _SetPartition(i, partition);
200 TRACE_ERROR(("Volume::Mount: metadata partition "
204 TRACE_ERROR(("Volume::Mount: no matching partition descriptor found!\n"));
213 TRACE(("Invalid partition type %d found!\n", header->type()));
227 TRACE(("Invalid partition layout found:\n"));
336 TRACE(("Volume::MapBlock: partition = %d, block = %" B_PRIu32
337 ", mappedBlock = %p\n", address.partition(), address.block(),
339 DEBUG_INIT_ETC("Volume", ("partition = %d, block = %" B_PRIu32
340 ", mappedBlock = %p", address.partition(), address.block(),
344 Partition *partition = _GetPartition(address.partition());
345 error = partition ? B_OK : B_BAD_ADDRESS;
347 error = partition->MapBlock(address.block(), *mappedBlock);
378 /*! \brief Sets the partition associated with the given number after
379 deleting any previously associated partition.
381 \param number The partition number (should be the same as the index
382 into the lvd's partition map array).
383 \param partition The new partition (may be NULL).
386 Volume::_SetPartition(uint number, Partition *partition)
392 fPartitions[number] = partition;
397 /*! \brief Returns the partition associated with the given number, or
398 NULL if no such partition exists or the number is invalid.