Lines Matching refs:partition
33 /* supported partition modules */
345 // the disk system recognized the partition worse than the currently
376 // now let the best matching disk system scan the partition
384 dprintf("Partitioning module `%s' recognized the partition, but "
408 // move the partitions containing file systems to the partition
442 a partition containing the whole device is created.
451 Partition *partition = new(nothrow) Partition(fd);
454 partition->block_size = 512;
455 partition->size = partition->Size();
457 // add this partition to the list of partitions
459 gPartitions.Add(partition);
462 if ((partition->Scan(mountFileSystems, isBootDevice) == B_OK
463 && partition->IsFileSystem())
464 || (!partition->IsPartitioningSystem() && !mountFileSystems)) {
468 // if not, we no longer need the partition
469 gPartitions.Remove(partition);
470 delete partition;
498 Partition *partition = Partition::Lookup(id);
499 if (partition == NULL) {
500 dprintf("creating partition failed: could not find partition.\n");
504 Partition *child = partition->AddChild();
506 dprintf("creating partition failed: no memory\n");
514 // yet initialized by the partition module.
515 TRACE(("new child partition!\n"));
525 // The intel partition module doesn't really need this for our mission...
536 Partition *partition = Partition::Lookup(id);
537 if (partition == NULL) {
538 dprintf("could not find parent partition.\n");
541 return partition->Parent();