Lines Matching defs:paGptEntries
144 PGptEntry paGptEntries;
282 pThis->paGptEntries = (PGptEntry)RTMemAllocZ(pThis->HdrRev1.cPartitionEntries * pThis->HdrRev1.cbPartitionEntry);
283 if (pThis->paGptEntries)
286 pThis->paGptEntries, pThis->HdrRev1.cPartitionEntries * pThis->HdrRev1.cbPartitionEntry);
291 if (!RTUuidIsNull(&pThis->paGptEntries[i].UuidType))
295 pThis->paGptEntries[i].u64LbaFirst = RT_LE2H_U64(pThis->paGptEntries[i].u64LbaFirst);
296 pThis->paGptEntries[i].u64LbaLast = RT_LE2H_U64(pThis->paGptEntries[i].u64LbaLast);
297 pThis->paGptEntries[i].u64Flags = RT_LE2H_U64(pThis->paGptEntries[i].u64Flags);
298 for (unsigned cwc = 0; cwc < RT_ELEMENTS(pThis->paGptEntries[i].aPartitionName); cwc++)
299 pThis->paGptEntries[i].aPartitionName[cwc] = RT_LE2H_U16(pThis->paGptEntries[i].aPartitionName[cwc]);
306 RTMemFree(pThis->paGptEntries);
338 RTMemFree(pThis->paGptEntries);
340 pThis->paGptEntries = NULL;
412 PGptEntry pGptEntry = &pThis->paGptEntries[0];