Searched refs:logical (Results 1 - 21 of 21) sorted by relevance

/haiku/src/add-ons/kernel/partitioning_systems/common/
H A DPartitionMapWriter.h33 bool check_logical_location(const LogicalPartition* logical,
39 This class serves for writing \a primary and \a logical \a partitions to disk.
49 status_t WriteLogical(const LogicalPartition* logical,
53 const LogicalPartition* logical,
H A DPartitionMapWriter.cpp81 TRACE(("check_logical_location() - logical paritition does not lie "
136 PartitionMapWriter::WriteLogical(const LogicalPartition* logical, argument
139 if (logical == NULL || primary == NULL)
142 if (!check_logical_location(logical, primary))
149 status_t error = _ReadBlock(logical->PartitionTableOffset(),
158 logical->GetPartitionDescriptor(descriptor);
161 if (logical->Next() != NULL)
162 logical->Next()->GetPartitionDescriptor(descriptor, true);
172 status_t error = _WriteBlock(logical->PartitionTableOffset(),
179 PartitionMapWriter::WriteExtendedHead(const LogicalPartition* logical, argument
[all...]
H A DPartitionMap.cpp538 LogicalPartition* logical = new(nothrow) LogicalPartition( local
540 if (!logical)
543 AddLogicalPartition(logical);
658 // "inner extended" partitions and the "real" logical partitions
661 // linked list of logical partitions. For "inner extended" partitions,
665 // The data containing, real logical partitions use the offset of the
879 // add only logical partition partition table locations
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DInodeJournal.h23 status_t MapBlock(off_t logical, fsblock_t& physical);
H A DInodeJournal.cpp86 InodeJournal::MapBlock(off_t logical, fsblock_t& physical) argument
89 return fInode->FindBlock(logical * fBlockSize, physical);
H A DJournal.h241 virtual status_t MapBlock(off_t logical, fsblock_t& physical);
H A DJournal.cpp315 Journal::MapBlock(off_t logical, fsblock_t& physical) argument
318 physical = logical;
785 // Maximum size of a "logical" transaction
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DChunk.cpp67 Chunk::FindBlock(off_t logical, off_t& physical) argument
72 if (logical < (off_t)fChunkOffset
73 || logical > (off_t)(fChunkOffset + fChunk->Length()))
77 physical = logical + fChunk->stripes[0].Offset() - fChunkOffset;
H A DChunk.h16 //! Used to translate logical addresses to physical addresses
24 //! Used to convert logical addresses into physical addresses
25 status_t FindBlock(off_t logical, off_t& physical);
H A DVolume.h72 status_t FindBlock(off_t logical, fsblock_t& physical);
73 status_t FindBlock(off_t logical, off_t& physical);
74 status_t GetNewBlock(uint64& logical, fsblock_t& physical,
H A DVolume.cpp459 Volume::FindBlock(off_t logical, fsblock_t& physicalBlock) argument
462 status_t status = FindBlock(logical, physical);
471 Volume::FindBlock(off_t logical, off_t& physical) argument
474 || (logical >= (off_t)fChunk->Offset()
475 && logical < (off_t)fChunk->End())) {
477 return fChunk->FindBlock(logical, physical);
481 search_key.SetOffset(logical);
493 status = _chunk.FindBlock(logical, physical);
496 TRACE("Volume::FindBlock(): logical: %" B_PRIdOFF ", physical: %" B_PRIdOFF
497 "\n", logical, physica
526 GetNewBlock(uint64& logical, fsblock_t& physical, uint64 start, uint64 flags) argument
[all...]
H A DInode.h65 status_t FindBlock(off_t logical, off_t& physical,
H A DInode.cpp194 off_t logical = 0; local
196 logical = diff + extent_data->disk_offset;
199 status = fVolume->FindBlock(logical, physical);
H A Dbtrfs.h120 void SetLogicalAddress(uint64 logical) argument
121 { logical_address = B_HOST_TO_LENDIAN_INT64(logical); }
H A DBTree.h101 status_t SetRoot(off_t logical, fsblock_t* block);
H A DBTree.cpp840 BTree::SetRoot(off_t logical, fsblock_t* block) argument
845 if (fVolume->FindBlock(logical, fRootBlock) != B_OK) {
847 logical, fRootBlock);
/haiku/src/add-ons/kernel/partitioning_systems/intel/
H A Dwrite_support.cpp38 // for logical partitions in Intel Extended Partition
39 // Count of free sectors after Partition Table Sector (at logical partition).
43 // size of logical partition header in blocks
1841 LogicalPartition* logical = (LogicalPartition*)sibling->cookie; local
1842 if (logical == NULL)
1844 if (ptsOffset > logical->Offset()
1845 && ptsOffset < logical->Offset() + logical->Size())
1847 if ((logical->PartitionTableOffset() >= offset
1848 && logical
2329 LogicalPartition* logical = (LogicalPartition*)child->cookie; local
[all...]
H A Dintel.cpp344 LogicalPartition* logical = primary->LogicalPartitionAt(i); local
346 parent->offset + logical->Offset(), logical->Size(), -1);
359 logical->GetTypeString(type);
365 logical->Active() ? "true" : "false",
366 logical->PartitionTableOffset());
368 child->cookie = logical;
402 // the logical partition's cookie belongs to the partition map partition
/haiku/src/add-ons/disk_systems/intel/
H A DExtendedPartitionAddOn.cpp209 LogicalPartition* logical = new(nothrow) LogicalPartition; local
210 if (!logical)
213 logical->SetTo(child->Offset(), child->Size(), type.Type(), active,
216 child->SetChildCookie(logical);
287 // exclude the space of the existing logical partitions
296 LogicalPartition* logical = (LogicalPartition*)child->ChildCookie();
297 if (logical == NULL)
300 logical->PartitionTableOffset(),
/haiku/src/add-ons/kernel/file_systems/udf/
H A DRecognition.cpp411 logical_volume_descriptor *logical = local
413 PDUMP(logical);
417 < logical->vds_number()) {
418 logicalVolumeDescriptor = *logical;
421 logicalVolumeDescriptor = *logical;
/haiku/src/add-ons/kernel/file_systems/exfat/
H A DInode.h80 status_t FindBlock(off_t logical, off_t& physical,

Completed in 675 milliseconds