Searched refs:partition (Results 151 - 175 of 202) sorted by relevance

123456789

/haiku/src/apps/drivesetup/
H A DSupport.h20 void dump_partition_info(const BPartition* partition);
H A DAbstractParametersPanel.h39 BPartition* partition);
H A DMainWindow.h63 const BPartition* partition = NULL,
/haiku/src/system/boot/loader/file_systems/bfs/
H A DVolume.h24 Volume(boot::Partition *partition);
/haiku/headers/private/kernel/platform/next_m68k/
H A Ddisklabel.h49 char dl_rootpartition; /* root partition e.g. 'a' */
50 char dl_rwpartition; /* r/w partition e.g. 'b' */
52 struct partition { struct in struct:disk_label
53 int p_base; /* base sector# of partition */
54 int p_size; /* #sectors in partition */
/haiku/src/add-ons/disk_systems/gpt/
H A DGPTPartitionHandle.h15 BMutablePartition* partition);
/haiku/src/system/kernel/disk_device_manager/
H A DKDiskDevice.cpp87 // update partition data
332 KPartition* partition = this; local
334 = writer.AllocateDeviceData(partition->CountChildren());
340 partition->WriteUserData(writer, &data->device_partition_data);
342 partition->WriteUserData(writer, NULL);
/haiku/src/kits/storage/disk_device/
H A DMutablePartition.cpp343 BPartition* partition = new(nothrow) BPartition;
344 if (!partition)
349 = new(nothrow) BPartition::Delegate(partition);
351 delete partition;
354 partition->fDelegate = delegate;
359 delete partition;
366 delete partition;
H A DPartitionDelegate.h19 Delegate(BPartition* partition);
H A DDiskDevice.cpp232 virtual bool Visit(BPartition* partition, int32 level) argument
234 return partition->_IsModified();
243 /*! \brief Initializes the partition hierarchy for modifications.
/haiku/src/system/boot/loader/
H A Dvfs.cpp623 Partition *partition; local
624 status_t status = gRoot->GetPartitionFor(rootDirectory, &partition);
632 partition->offset);
641 Node *device = get_node_from(partition->FD());
652 boot partition, and mounts its file system.
680 Partition *partition = (Partition*)partitionIterator.Next(); local
683 error = partition->Mount(&fileSystem, true);
685 // this partition doesn't contain any known file system; we
687 gPartitions.Remove(partition);
688 delete partition;
716 Partition *partition = NULL; local
[all...]
/haiku/src/add-ons/kernel/file_systems/exfat/
H A Dkernel_interface.cpp82 exfat_identify_partition(int fd, partition_data* partition, void** _cookie) argument
131 exfat_scan_partition(int fd, partition_data* partition, void* _cookie) argument
135 partition->status = B_PARTITION_VALID;
136 partition->flags |= B_PARTITION_FILE_SYSTEM;
137 partition->content_size = cookie->super_block.NumBlocks()
139 partition->block_size = 1 << cookie->super_block.BlockShift();
140 partition->content_name = strdup(cookie->name);
142 return partition->content_name != NULL ? B_OK : B_NO_MEMORY;
147 exfat_free_identify_partition_cookie(partition_data* partition, void* _cookie) argument
/haiku/src/add-ons/kernel/file_systems/iso9660/
H A Dkernel_interface.cpp93 fs_identify_partition(int fd, partition_data* partition, void** _cookie) argument
109 fs_scan_partition(int fd, partition_data* partition, void* _cookie) argument
113 partition->status = B_PARTITION_VALID;
114 partition->flags |= B_PARTITION_FILE_SYSTEM | B_PARTITION_READ_ONLY ;
115 partition->block_size = ISO_PVD_SIZE;
116 partition->content_size = ISO_PVD_SIZE * info->max_blocks;
117 partition->content_name = strdup(info->PreferredName());
119 if (partition->content_name == NULL)
127 fs_free_identify_partition_cookie(partition_data* partition, void* _cookie) argument
802 /* shadow partition modification
[all...]
/haiku/src/add-ons/kernel/file_systems/ufs2/
H A Dkernel_interface.cpp37 ufs2_identify_partition(int fd, partition_data *partition, void **_cookie) argument
53 ufs2_scan_partition(int fd, partition_data *partition, void *_cookie) argument
57 partition->status = B_PARTITION_VALID;
58 partition->flags |= B_PARTITION_FILE_SYSTEM | B_PARTITION_READ_ONLY;
59 partition->block_size = cookie->super_block.fs_bsize;
60 partition->content_size = cookie->super_block.fs_fsize
62 partition->content_name = strdup(cookie->super_block.fs_volname);
63 if (partition->content_name == NULL)
71 ufs2_free_identify_partition_cookie(partition_data *partition, void *_cookie) argument
/haiku/src/system/boot/loader/file_systems/fat/
H A DVolume.h25 Volume(boot::Partition *partition);
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DVolume.h44 status_t Identify(int fd, partition_data *partition);
/haiku/src/add-ons/kernel/file_systems/udf/
H A DAllocationDescriptorList.h254 ShortDescriptorAccessor(uint16 partition) argument
256 fPartition(partition)
303 return descriptor.partition();
/haiku/src/system/boot/platform/riscv/
H A Ddevices.cpp189 boot::Partition *partition = NULL; local
190 while ((partition = (boot::Partition *)iterator.Next()) != NULL) {
191 // ToDo: just take the first partition for now
192 partitionList->Insert(partition);
/haiku/src/add-ons/kernel/partitioning_systems/common/
H A DPartitionMap.h57 // However, some BIOSes still rely on it being 0 for unused partition, and some
108 \brief Class for validating partition types.
110 To this class we can set a partition type and then we can check whether
111 this type is valid, empty or if it represents an extended partition.
112 We can also retrieve the name of that partition type or find the next
160 // including the primary extended partition, the PartitionTableOffset()
163 // primary extended partition, but again, the returned values are absolute
167 // offset of the partition table
169 // start offset of the partition contents
228 void AddLogicalPartition(LogicalPartition* partition);
[all...]
/haiku/src/system/kernel/fs/
H A Dvfs_net_boot.cpp371 NetBootMethod::IsBootPartition(KPartition* partition, bool& foundForSure) argument
374 return (partition->ContentType()
375 && strcmp(partition->ContentType(), kPartitionTypeBFS) == 0);
/haiku/headers/cpp/
H A Dalgo.h67 using __STD::partition;
/haiku/headers/private/fs_shell/
H A Dfssh_drivers.h89 FSSH_B_GET_PARTITION_INFO, /* get info about a device partition */
92 FSSH_B_SET_PARTITION, /* create a user-defined partition */
183 int32_t logical_block_size; /* logical block size of partition */
185 int32_t partition; /* id of partition */ member in struct:__anon23
/haiku/src/add-ons/kernel/partitioning_systems/gpt/
H A DHeader.cpp59 // Read and check the partition table header
98 // allocate, read, and check partition entry array
238 PrimaryPartition *partition = NULL; local
240 while ((partition = partitionMap.PrimaryPartitionAt(index)) != NULL) {
243 partition->SetTo(fBlockSize, deviceSize, 0xEE, false, fBlockSize);
245 partition->Unset();
415 dprintf("[%3" B_PRIu32 "] partition type: %s\n", i,
/haiku/headers/os/drivers/
H A DDrivers.h81 B_GET_PARTITION_INFO, /* get info about a device partition */
154 int32 logical_block_size; /* logical block size of partition */
155 int32 physical_block_size; /* physical block size of partition */
157 int32 partition; /* id of partition */ member in struct:__anon5
/haiku/src/system/boot/platform/bios_ia32/
H A Ddevices.cpp886 dprintf("boot partition offset: %lld\n", offset);
889 boot::Partition *partition = NULL; local
890 while ((partition = (boot::Partition *)iterator.Next()) != NULL) {
891 TRACE(("partition offset = %lld, size = %lld\n", partition->offset, partition->size));
892 // search for the partition that contains the partition
894 if (offset >= partition->offset
895 && offset < partition
[all...]

Completed in 187 milliseconds

123456789