Home
last modified time | relevance | path

Searched refs:gpt_table_header (Results 1 – 4 of 4) sorted by relevance

/haiku/src/add-ons/kernel/partitioning_systems/gpt/
H A DHeader.h34 const gpt_table_header& TableHeader() const in TableHeader()
54 void _UpdateCRC(gpt_table_header& header);
59 static bool _IsHeaderValid(gpt_table_header& header,
61 static bool _ValidateHeaderCRC(gpt_table_header& header);
69 void _Dump(const gpt_table_header& header);
75 gpt_table_header fHeader;
76 gpt_table_header fBackupHeader;
H A DHeader.cpp62 &fHeader, sizeof(gpt_table_header)); in Header()
76 sizeof(gpt_table_header)); in Header()
278 &fHeader, sizeof(gpt_table_header)); in _WriteHeader()
283 &fBackupHeader, sizeof(gpt_table_header)); in _WriteHeader()
309 Header::_UpdateCRC(gpt_table_header& header) in _UpdateCRC()
313 header.SetHeaderCRC(crc32((uint8*)&header, sizeof(gpt_table_header))); in _UpdateCRC()
332 Header::_IsHeaderValid(gpt_table_header& header, uint64 block) in _IsHeaderValid()
341 Header::_ValidateHeaderCRC(gpt_table_header& header) in _ValidateHeaderCRC()
347 sizeof(gpt_table_header)); in _ValidateHeaderCRC()
388 Header::_Dump(const gpt_table_header& header) in _Dump()
H A Dgpt.h15 struct gpt_table_header { struct
/haiku/src/system/boot/platform/efi/
H A Ddevices.cpp136 gpt_table_header *deviceHeader = in device_contains_partition()
137 (gpt_table_header*)malloc(blockSize); in device_contains_partition()
144 sizeof(gpt_table_header)) != 0) in device_contains_partition()