Lines Matching defs:partition

44 // Maximal number of logical partitions per extended partition we allow.
150 PrimaryPartition* partition = fMap->PrimaryPartitionAt(i);
151 partition->SetTo(descriptor, 0, fBlockSize);
154 hadToReFitSize |= partition->FitSizeToSession(fSessionSize);
157 if (!partition->CheckLocation(fSessionSize)) {
158 TRACE(("intel: _ParsePrimary(): partition %ld: bad location, "
160 partition->Unset();
195 "partitions for extended partition reached. Cycle?\n"));
199 // read the partition table
206 TRACE(("intel: _ParseExtended(): invalid partition table signature: "
211 // ignore the partition table, if any error occured till now
213 TRACE(("intel: _ParseExtended(): ignoring this partition table\n"));
219 // non-extended logical partition. All four table entries are
220 // examined though. If there is no inner extended partition,
222 // The first partition table describing both an "inner extended" parition
223 // and a "data" partition (non extended and not empty) is the start
224 // sector of the primary extended partition. The next partition table in
225 // the linked list is the start sector of the inner extended partition
226 // described in this partition table.
234 LogicalPartition* partition = NULL;
238 partition = &extended;
240 // only one extended partition allowed
243 "only one extended partition allowed\n"));
248 partition = &nonExtended;
250 // only one non-extended partition allowed
253 "non-extended partition allowed\n"));
256 if (partition == NULL)
260 partition->FitSizeToSession(fSessionSize);
262 // check the partition's location
263 if (!partition->CheckLocation(fSessionSize)) {
265 TRACE(("intel: _ParseExtended(): Invalid partition "
267 partition->PartitionTableOffset(), partition->Offset(),
268 partition->Size()));
272 // add non-extended partition to list
274 LogicalPartition* partition
276 if (partition)
277 primary->AddLogicalPartition(partition);
282 // prepare to parse next extended/non-extended partition pair
308 // Read the partition table from the device into the table structure
312 TRACE(("intel: _ReadPartitionTable(): reading the partition "