Searched refs:primary (Results 1 - 25 of 50) sorted by relevance

12

/haiku-fatelf/src/add-ons/kernel/partitioning_systems/intel/
H A DPartitionMapWriter.h34 const PrimaryPartition* primary);
39 This class serves for writing \a primary and \a logical \a partitions to disk.
50 const PrimaryPartition* primary,
54 const PrimaryPartition* primary,
58 const PrimaryPartition* primary);
H A Dwrite_support.cpp107 // primary partition map doesn't naturally live in any other child partition
425 PrimaryPartition* primary = map->PrimaryPartitionAt(i); local
426 if (primary && primary->IsExtended() && primary != child)
548 PrimaryPartition* primary = map->PrimaryPartitionAt(i); local
549 if (primary->IsEmpty()) {
813 // primary partition index
823 // get the primary partition
826 PrimaryPartition* primary local
865 PrimaryPartition* primary = NULL; local
978 PrimaryPartition* primary = (PrimaryPartition*)child->cookie; local
1137 PrimaryPartition* primary = (PrimaryPartition*)child->cookie; local
1206 PrimaryPartition* primary = (PrimaryPartition*)child->cookie; local
1359 PrimaryPartition* primary = map->PrimaryPartitionAt(index); local
1454 PrimaryPartition* primary = (PrimaryPartition*)child->cookie; local
1843 PrimaryPartition* primary = (PrimaryPartition*)partition->cookie; local
1931 PrimaryPartition* primary = (PrimaryPartition*)partition->cookie; local
2013 PrimaryPartition* primary = (PrimaryPartition*)partition->cookie; local
[all...]
H A Dintel.cpp202 PrimaryPartition* primary = map->PrimaryPartitionAt(i); local
203 if (!primary->IsEmpty()) {
205 index, partition->offset + primary->Offset(), primary->Size(),
218 primary->GetTypeString(type);
222 sprintf(buffer, "type = %u ; active = %d", primary->Type(),
223 primary->Active());
225 child->cookie = primary;
265 // called for the primary partitions: the PrimaryPartition is allocated
345 PrimaryPartition* primary
[all...]
H A DPartitionMapParser.cpp172 PrimaryPartition* primary = fMap->PrimaryPartitionAt(i); local
173 if (primary->IsExtended())
174 error = _ParseExtended(primary, primary->Offset());
187 PartitionMapParser::_ParseExtended(PrimaryPartition* primary, off_t offset) argument
224 // sector of the primary extended partition. The next partition table in
237 extended.SetTo(descriptor, offset, primary);
247 nonExtended.SetTo(descriptor, offset, primary);
277 primary->AddLogicalPartition(partition);
H A DPartitionMap.cpp640 off_t tableOffset, PrimaryPartition* primary)
647 SetTo(descriptor, tableOffset, primary);
653 off_t tableOffset, PrimaryPartition* primary)
656 if (descriptor && primary) {
663 // "primary extended" partition, in another words, all inner extended
669 ? primary->Offset() : tableOffset;
671 primary->BlockSize());
672 fPrimary = primary;
679 off_t tableOffset, PrimaryPartition* primary)
682 if (primary) {
639 LogicalPartition(const partition_descriptor* descriptor, off_t tableOffset, PrimaryPartition* primary) argument
652 SetTo(const partition_descriptor* descriptor, off_t tableOffset, PrimaryPartition* primary) argument
678 SetTo(off_t offset, off_t size, uint8 type, bool active, off_t tableOffset, PrimaryPartition* primary) argument
704 PrimaryPartition* primary = GetPrimaryPartition(); local
835 int32 primary = 0; local
[all...]
H A DPartitionMapParser.h12 Parser reads primary and logical partitions from the disk (according to
43 status_t _ParseExtended(PrimaryPartition* primary,
H A DPartitionMapWriter.cpp157 const PrimaryPartition* primary, bool clearCode)
159 if (logical == NULL || primary == NULL)
162 if (!check_logical_location(logical, primary))
200 const PrimaryPartition* primary, bool clearCode)
202 if (primary == NULL)
209 status_t error = _ReadBlock(primary->Offset(), partitionTable);
223 partition.SetPartitionTableOffset(primary->Offset());
247 status_t error = _WriteBlock(primary->Offset(), partitionTable);
257 PartitionMapWriter::ClearExtendedHead(const PrimaryPartition* primary) argument
259 if (primary
156 WriteLogical(const LogicalPartition* logical, const PrimaryPartition* primary, bool clearCode) argument
199 WriteExtendedHead(const LogicalPartition* logical, const PrimaryPartition* primary, bool clearCode) argument
[all...]
H A DPartitionMap.h155 // to the session (usually the disk). Ie, for all primary partitions,
156 // including the primary extended partition, the PartitionTableOffset()
159 // primary extended partition, but again, the returned values are absolute
243 PrimaryPartition* primary);
247 PrimaryPartition* primary);
250 PrimaryPartition* primary);
257 void SetPrimaryPartition(PrimaryPartition* primary) argument
258 { fPrimary = primary; }
/haiku-fatelf/src/add-ons/kernel/file_systems/iso9660/
H A Diso9660_identify.cpp92 // unused on primary descriptor
257 return "primary";
289 dump_primary_descriptor(iso9660_volume_descriptor *primary, argument
295 dump_common_descriptor(&primary->common, indent, false);
297 primary->identifier));
299 (int)B_LENDIAN_TO_HOST_INT32(primary->size)));
301 (int)B_LENDIAN_TO_HOST_INT32(primary->set_size)));
303 (int)B_LENDIAN_TO_HOST_INT32(primary->sequence_number)));
305 (int)B_LENDIAN_TO_HOST_INT32(primary->logical_block_size)));
307 (int)B_LENDIAN_TO_HOST_INT32(primary
409 iso9660_volume_descriptor *primary local
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/
H A DTwoKeyAVLTree.h37 inline TwoKeyAVLTreeKey(const PrimaryKey &primary, argument
39 : primary(primary),
45 inline TwoKeyAVLTreeKey(const PrimaryKey *primary) argument
46 : primary(primary),
52 PrimaryKey primary; member in class:TwoKeyAVLTreeKey
65 inline TwoKeyAVLTreeKeyCompare(const PrimaryKeyCompare &primary, argument
67 : fPrimaryKeyCompare(primary), fSecondaryKeyCompare(secondary) {}
71 int result = fPrimaryKeyCompare(a.primary,
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/ramfs/
H A DTwoKeyAVLTree.h15 inline TwoKeyAVLTreeKey(const PrimaryKey &primary, argument
17 : primary(primary),
23 inline TwoKeyAVLTreeKey(const PrimaryKey *primary) argument
24 : primary(primary),
30 PrimaryKey primary; member in class:TwoKeyAVLTreeKey
43 inline TwoKeyAVLTreeKeyCompare(const PrimaryKeyCompare &primary, argument
45 : fPrimaryKeyCompare(primary), fSecondaryKeyCompare(secondary) {}
49 int result = fPrimaryKeyCompare(a.primary,
[all...]
/haiku-fatelf/src/add-ons/disk_systems/intel/
H A DPartitionMapAddOn.cpp204 PrimaryPartition* primary = fPartitionMap.PrimaryPartitionAt(index); local
205 primary->SetTo(child->Offset(), child->Size(), type.Type(), active,
208 child->SetChildCookie(primary);
293 PrimaryPartition* primary = fPartitionMap.PrimaryPartitionAt(i); local
294 if (!primary->IsEmpty()) {
295 error = info->ExcludeOccupiedSpace(primary->Offset(),
296 primary->Size());
348 // do we have a spare primary partition?
464 // get a spare primary partition
465 PrimaryPartition* primary local
[all...]
/haiku-fatelf/src/bin/makeudfimage/
H A DUdfBuilder.cpp210 Udf::primary_volume_descriptor primary; local
255 _PrintUpdate(VERBOSITY_MEDIUM, "iso: Writing primary volume descriptor");
335 // reserve primary vds (min length = 16 blocks, which is plenty for us)
337 _PrintUpdate(VERBOSITY_HIGH, "udf: Reserving space for primary vds");
349 // vds immediately following the primary vds, which seems a bit stupid to me,
387 _PrintUpdate(VERBOSITY_MEDIUM, "udf: Writing primary volume descriptor");
389 primary.set_vds_number(vdsNumber);
390 primary.set_primary_volume_descriptor_number(0);
392 if (nameLength > primary.volume_identifier().size()-1) {
393 _PrintWarning("udf: Truncating volume name as stored in primary "
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/packagefs/
H A DTwoKeyAVLTree.h18 inline TwoKeyAVLTreeKey(const PrimaryKey& primary, argument
21 primary(primary),
27 inline TwoKeyAVLTreeKey(const PrimaryKey* primary) argument
29 primary(primary),
35 PrimaryKey primary; member in class:TwoKeyAVLTreeKey
51 inline TwoKeyAVLTreeKeyCompare(const PrimaryKeyCompare& primary, argument
54 fPrimaryKeyCompare(primary),
61 int result = fPrimaryKeyCompare(a.primary,
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/intel_extreme/
H A Dintel_extreme.cpp291 ring_buffer &primary = info.shared_info->primary_ring_buffer; local
293 (addr_t*)&primary.base) == B_OK) {
294 primary.register_base = INTEL_PRIMARY_RING_BUFFER;
295 primary.size = 16 * B_PAGE_SIZE;
296 primary.offset = (addr_t)primary.base - info.aperture_base;
/haiku-fatelf/src/bin/gdb/include/opcode/
H A Dm68k.h96 const char *primary; member in struct:m68k_opcode_alias
/haiku-fatelf/src/bin/bash/lib/intl/
H A Dlocalename.c428 int primary, sub;
449 primary = PRIMARYLANGID (langid);
455 switch (primary)
/haiku-fatelf/src/bin/gawk/intl/
H A Dlocalename.c426 int primary, sub;
447 primary = PRIMARYLANGID (langid);
453 switch (primary)
/haiku-fatelf/src/add-ons/kernel/file_systems/udf/
H A DRecognition.cpp287 primary_volume_descriptor *primary = reinterpret_cast<primary_volume_descriptor*>(tag); local
288 PDUMP(primary);
289 primaryVolumeDescriptor = *primary;
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/udf/r5/
H A DRecognition.cpp289 primary_volume_descriptor *primary = reinterpret_cast<primary_volume_descriptor*>(tag); local
290 PDUMP(primary);
291 (void)primary; // kill the warning
/haiku-fatelf/headers/private/graphics/matrox/
H A DDriverInterface.h87 char primary[B_FILE_NAME_LENGTH]; member in struct:settings
/haiku-fatelf/headers/private/graphics/nvidia/
H A DDriverInterface.h215 char primary[B_FILE_NAME_LENGTH]; member in struct:__anon819
359 bool crtc2_prim; /* using CRTC2 as primary CRTC */
/haiku-fatelf/headers/private/graphics/nvidia_gpgpu/
H A DDriverInterface.h151 char primary[B_FILE_NAME_LENGTH]; member in struct:__anon863
277 bool crtc2_prim; /* using CRTC2 as primary CRTC */
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/matrox/
H A Ddriver.c130 "none", // primary
241 item = get_driver_parameter (settings_handle, "primary", "", "");
242 if ((strlen (item) > 0) && (strlen (item) < sizeof (current_settings.primary) - 1)) {
243 strcpy (current_settings.primary, item);
400 /* if we have a MMS card which only has a BIOS on the primary card, copy the
401 * primary card's BIOS for our reference too if we aren't primary ourselves.
422 /* make the copy from the primary VGA card on our bus */
660 * hierarchy folder, so the system will use it as primary adaptor if requested
662 if (strcmp(tmp_name, current_settings.primary)
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/nvidia_gpgpu/
H A Ddriver.c140 "none", // primary
354 //legacy space will get us into trouble if we aren't the primary graphics card!!
355 //(as legacy space always has the primary card's ROM 'mapped'!)
507 * hierarchy folder, so the system will use it as primary adaptor if requested
509 if (strcmp(tmp_name, sSettings.primary) == 0)
510 sprintf(tmp_name, "-%s", sSettings.primary);
1134 item = get_driver_parameter(settings, "primary", "", "");
1135 if (item[0] && strlen(item) < sizeof(sSettings.primary) - 1)
1136 strcpy(sSettings.primary, item);

Completed in 273 milliseconds

12