Searched refs:partition (Results 76 - 100 of 202) sorted by relevance

123456789

/haiku/src/system/kernel/vm/
H A DVMUtils.cpp19 get_mount_point(KPartition* partition, KPath* mountPoint) argument
21 if (!mountPoint || !partition->ContainsFileSystem())
25 const char* volumeName = partition->ContentName();
29 volumeName = partition->Name();
/haiku/headers/private/storage/
H A DDiskDeviceVisitor.h22 virtual bool Visit(BPartition *partition, int32 level);
/haiku/src/add-ons/kernel/partitioning_systems/sun/
H A Dsun.cpp95 sun_identify_partition(int fd, partition_data *partition, void **_cookie) argument
121 bool hasParent = (get_parent_partition(partition->id) != NULL);
133 sun_scan_partition(int fd, partition_data *partition, void *cookie) argument
137 partition->status = B_PARTITION_VALID;
138 partition->flags |= B_PARTITION_PARTITIONING_SYSTEM
140 partition->content_size = partition->size;
162 partition_data *child = create_child_partition(partition->id, i,
168 child->block_size = partition->block_size;
176 sun_free_identify_partition_cookie(partition_data *partition, voi argument
[all...]
/haiku/src/tests/add-ons/kernel/partitioning_systems/
H A DPartitioningSystemsTest.cpp45 partition_entry* partition = new partition_entry; local
46 memset(partition, 0, sizeof(partition_entry));
47 partition->id = sNextID++;
48 strlcpy(partition->path, path, sizeof(partition->path));
51 device->id = partition->id;
52 device->path = partition->path;
59 delete partition;
79 partition->offset = 0;
80 partition
316 partition_entry* partition = found->second; local
[all...]
/haiku/src/add-ons/disk_systems/intel/
H A DExtendedPartitionAddOn.cpp73 ExtendedPartitionAddOn::CreatePartitionHandle(BMutablePartition* partition, argument
77 = new(nothrow) ExtendedPartitionHandle(partition);
93 ExtendedPartitionAddOn::CanInitialize(const BMutablePartition* partition) argument
101 ExtendedPartitionAddOn::ValidateInitialize(const BMutablePartition* partition, argument
104 if (!CanInitialize(partition)
118 ExtendedPartitionAddOn::Initialize(BMutablePartition* partition, argument
121 if (!CanInitialize(partition)
129 = new(nothrow) ExtendedPartitionHandle(partition);
134 // init the partition
135 status_t error = partition
155 ExtendedPartitionHandle(BMutablePartition* partition) argument
172 BMutablePartition* partition = Partition(); local
280 BMutablePartition* partition = Partition(); local
[all...]
/haiku/src/apps/drivesetup/
H A DPartitionList.cpp222 PartitionListRow::PartitionListRow(BPartition* partition) argument
225 fPartitionID(partition->ID()),
226 fParentID(partition->Parent() ? partition->Parent()->ID() : -1),
227 fOffset(partition->Offset()),
228 fSize(partition->Size())
231 partition->GetPath(&path);
236 partition->GetVolume(&volume);
252 appendParameter(parameters, partition->Device()->IsFile(),
277 else if (partition
504 AddPartition(BPartition* partition) argument
[all...]
H A DInitParametersPanel.cpp26 const BString& diskSystem, BPartition* partition)
30 Init(B_INITIALIZE_PARAMETER_EDITOR, diskSystem, partition);
25 InitParametersPanel(BWindow* window, const BString& diskSystem, BPartition* partition) argument
H A DDiskView.cpp48 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) argument
272 fVirtual = partition->Device()->IsFile();
276 while (partition != NULL) {
278 partition
47 PartitionView(const char* name, float weight, off_t offset, int32 level, partition_id id, BPartition* partition) argument
343 Visit(BPartition* partition, int32 level) argument
401 _AddSpaces(BPartition* partition, PartitionView* parentView) argument
[all...]
/haiku/headers/private/kernel/disk_device_manager/
H A DKDiskDeviceUtils.h110 inline bool Lock(KPartition *partition) argument
112 if (partition == NULL)
114 partition->Register();
118 inline void Unlock(KPartition *partition) argument
120 if (partition != NULL)
121 partition->Unregister();
H A DKDiskDeviceManager.h67 // Both the device and the partition is also registered and must be
70 status_t ScanPartition(KPartition* partition);
84 bool PartitionAdded(KPartition *partition); // implementation internal
85 bool PartitionRemoved(KPartition *partition); //
86 bool DeletePartition(KPartition *partition); //
126 status_t _ScanPartition(KPartition *partition, bool async,
129 status_t _ScanPartition(KPartition *partition,
/haiku/src/system/boot/loader/file_systems/bfs/
H A Dbfs.cpp33 Volume::Volume(boot::Partition *partition) argument
37 fDevice = open_node(partition, O_RDONLY);
138 bfs_identify_file_system(boot::Partition *partition) argument
140 Volume volume(partition);
147 bfs_get_file_system(boot::Partition *partition, ::Directory **_root) argument
149 Volume *volume = new(nothrow) Volume(partition);
/haiku/src/add-ons/kernel/partitioning_systems/atari/
H A Datari.cpp78 atari_identify_partition(int fd, partition_data *partition, void **_cookie) argument
89 if (partition->offset)
100 if ((arb->BadSectorsStart()+arb->BadSectorsCount())*(off_t)SECTSZ > partition->size)
103 /* check each partition */
117 /* make sure partition doesn't overlap bad sector list */
121 if ((p->Start()+p->Size())*(off_t)SECTSZ > partition->size)
125 /* empty partition entry, then it must be all null */
154 atari_scan_partition(int fd, partition_data *partition, void *_cookie) argument
160 partition->status = B_PARTITION_VALID;
161 partition
209 atari_free_identify_partition_cookie(partition_data *partition, void *_cookie) argument
[all...]
/haiku/src/bin/mkfs/
H A DFsCreator.cpp71 BPartition* partition; local
75 &partition);
94 status = roster.GetPartitionWithID(id, &device, &partition);
104 if (partition->IsReadOnly()) {
110 if (partition->IsMounted()) {
134 if (partition->ValidateInitialize(diskSystem.PrettyName(),
148 // Initialize the partition
149 status = partition->Initialize(diskSystem.PrettyName(), name.String(),
175 BString contentName = partition->ContentName();
176 // CommitModifications() will invalidate our partition objec
[all...]
/haiku/src/kits/storage/disk_device/jobs/
H A DInitializeJob.cpp16 InitializeJob::InitializeJob(PartitionReference* partition) argument
18 DiskDeviceJob(partition),
H A DCreateChildJob.h17 CreateChildJob(PartitionReference* partition,
H A DMoveJob.h17 MoveJob(PartitionReference* partition,
/haiku/src/system/kernel/fs/
H A Dvfs_net_boot.h23 virtual bool IsBootPartition(KPartition* partition, bool& foundForSure);
/haiku/src/system/boot/loader/
H A Dpartitions.cpp33 /* 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); local
454 partition->block_size = 512;
455 partition->size = partition
498 Partition *partition = Partition::Lookup(id); local
536 Partition *partition = Partition::Lookup(id); local
[all...]
/haiku/src/add-ons/disk_systems/ntfs/
H A DInitializeParameterEditor.cpp49 InitializeNTFSEditor::SetTo(BPartition* partition) argument
51 BString name = partition->Name();
53 name = partition->RawContentName();
/haiku/src/add-ons/disk_systems/btrfs/
H A DInitializeParameterEditor.cpp53 InitializeBTRFSEditor::SetTo(BPartition* partition) argument
55 BString name = partition->Name();
57 name = partition->RawContentName();
/haiku/src/add-ons/kernel/file_systems/udf/
H A DVolume.cpp95 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 local
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 ma
184 MetadataPartition *partition local
344 Partition *partition = _GetPartition(address.partition()); local
386 _SetPartition(uint number, Partition *partition) argument
[all...]
/haiku/src/bin/makebootable/platform/bios_ia32/
H A Dmakebootable.cpp83 "into the first two sectors. It doesn't mark the partition(s) active.\n"
85 "If a given <file> refers to a directory, the partition/device on which the\n"
226 const Partition* partition = map.PartitionAt(i); local
228 if (partition == NULL) {
233 if (partition->IsEmpty()) {
239 ", type: %x%s\n", partition->Offset(), partition->Size(),
240 partition->Type(), partition->IsExtended() ? " (extended)" : "");
254 Partition *partition local
275 gpt_partition_entry partition = gptHeader.EntryAt(partitionIndex - 1); local
638 BPartition* partition; local
[all...]
/haiku/src/apps/installer/
H A DWorkerThread.cpp66 virtual bool Visit(BPartition* partition, int32 level);
77 virtual bool Visit(BPartition* partition, int32 level);
187 BPartition* partition; local
189 if (fDDRoster.GetPartitionWithID(id, &device, &partition) == B_OK) {
190 if (!partition->IsMounted()) {
191 if (partition->Mount() < B_OK) {
192 _SetStatusMessage(B_TRANSLATE("The partition can't be "
193 "mounted. Please choose a different partition."));
197 if (partition->GetMountPoint(&targetDirectory) != B_OK) {
238 BPartition *partition local
345 BPartition* partition; local
795 make_partition_label(BPartition* partition, char* label, char* menuLabel, bool showContentType) argument
836 Visit(BPartition *partition, int32 level) argument
893 Visit(BPartition *partition, int32 level) argument
[all...]
/haiku/src/add-ons/disk_systems/gpt/
H A DGPTPartitionHandle.cpp36 GPTPartitionHandle::GPTPartitionHandle(BMutablePartition* partition) argument
38 BPartitionHandle(partition)
233 BMutablePartition* partition = Partition(); local
235 status_t status = partition->CreateChild(partition->CountChildren(),
243 child->SetBlockSize(partition->BlockSize());
/haiku/src/bin/
H A Disvolume.cpp27 " -readonly-partion - partition for the volume is read-only\n"
103 BPartition* partition; local
104 ret = roster.FindPartitionByVolume(volume, &diskDevice, &partition);
106 fprintf(stderr, "%s: failed to get partition for device %" B_PRIdDEV
111 if (partition->IsReadOnly()) {

Completed in 115 milliseconds

123456789