Lines Matching defs:partition

48 			int32 level, partition_id id, BPartition* partition)
80 partition->GetVolume(&volume);
89 _ComputeFullName(partition, name);
98 fBFS = BString(partition->ContentType()) == "Be File System";
203 // draw the partition label, but only if we have no child partition
269 void _ComputeFullName(BPartition* partition, const char* name)
272 fVirtual = partition->Device()->IsFile();
276 while (partition != NULL) {
278 partition->GetPath(&path);
286 partition = partition->Parent();
343 virtual bool Visit(BPartition* partition, int32 level)
345 if (!partition->Parent()
346 || !fViewMap.ContainsKey(partition->Parent()->ID()))
350 off_t offset = partition->Offset();
351 // off_t parentOffset = partition->Parent()->Offset();
352 off_t size = partition->Size();
353 off_t parentSize = partition->Parent()->Size();
356 BString name = partition->ContentName();
358 if (partition->CountChildren() > 0)
359 name << partition->Type();
361 name.SetToFormat(B_TRANSLATE("Partition %ld"), (long int)partition->ID());
363 partition_id id = partition->ID();
365 level, id, partition);
367 PartitionView* parent = fViewMap.Get(partition->Parent()->ID());
371 fViewMap.Put(partition->ID(), view);
372 _AddSpaces(partition, view);
401 void _AddSpaces(BPartition* partition, PartitionView* parentView)
403 // add any available space on the partition
405 if (partition->GetPartitioningInfo(&info) >= B_OK) {
406 off_t parentSize = partition->Size();
418 = fSpaceIDMap.SpaceIDFor(partition->ID(), offset);
421 parentView->Level() + 1, id, partition);
534 B_TRANSLATE("Select a partition from the list below.");