1N/A along with this program. If not, see <http://www.gnu.org/licenses/>.
1N/A#include <inttypes.h>
1N/A#include "pt-tools.h"
1N/A#if ENABLE_NLS
1N/A sizeof(GuidPartitionEntry_t))
1N/Astatic GuidPartitionTableHeader_t *
1N/Astatic GuidPartitionTableHeader_t *
1N/Astatic GuidPartitionTableHeader_t *
1N/A if (!gpt_sig_found)
1N/A goto error_free_disk;
1N/A int *update_needed)
1N/A#ifndef DISCOVER_ONLY
1N/A if (q == PED_EXCEPTION_FIX)
1N/A else if (q != PED_EXCEPTION_UNHANDLED)
1N/Astatic PedPartition *
1N/A if (valid_primary)
1N/A#ifndef DISCOVER_ONLY
1N/A if (read_failure)
1N/A#ifndef DISCOVER_ONLY
1N/A switch (ped_exception_throw
1N/A case PED_EXCEPTION_CANCEL:
1N/A goto error_free_gpt;
1N/A case PED_EXCEPTION_FIX:
1N/A goto error_free_gpt;
1N/A goto error_free_gpt;
1N/A goto error_free_gpt;
1N/A goto error_free_gpt;
1N/A goto error_free_ptes;
1N/A goto error_delete_all;
1N/A goto error_delete_all;
1N/A#ifndef DISCOVER_ONLY
1N/A if (write_back)
1N/A#ifndef DISCOVER_ONLY
1N/A goto error_free_ptes;
1N/A goto error_free_ptes;
1N/A goto error_free_ptes;
1N/A goto error_free_ptes;
1N/A goto error_free_ptes;
1N/A goto error_free_ptes;
1N/A goto error_free_ptes;
1N/A goto error_free_ptes;
1N/A goto error_free_ptes;
1N/A goto error_destroy_constraint;
1N/Astatic PedPartition *
1N/A if (!gpt_part_data)
1N/A goto error_free_part;
1N/Astatic PedPartition *
1N/A if (!result_data)
1N/A goto error_free_part;
1N/A * sizeof (GuidPartitionEntry_t),
1N/A PED_ASSERT (0, return 0);
1N/A case PED_PARTITION_BOOT:
1N/A case PED_PARTITION_BIOS_GRUB:
1N/A case PED_PARTITION_RAID:
1N/A case PED_PARTITION_LVM:
1N/A case PED_PARTITION_HPSERVICE:
1N/A case PED_PARTITION_DIAG:
1N/A case PED_PARTITION_HIDDEN:
1N/A case PED_PARTITION_SWAP:
1N/A case PED_PARTITION_ROOT:
1N/A case PED_PARTITION_LBA:
1N/A case PED_PARTITION_RAID:
1N/A case PED_PARTITION_LVM:
1N/A case PED_PARTITION_BOOT:
1N/A case PED_PARTITION_BIOS_GRUB:
1N/A case PED_PARTITION_HPSERVICE:
1N/A case PED_PARTITION_DIAG:
1N/A case PED_PARTITION_HIDDEN:
1N/A case PED_PARTITION_SWAP:
1N/A case PED_PARTITION_LBA:
1N/A case PED_PARTITION_ROOT:
1N/A case PED_PARTITION_RAID:
1N/A case PED_PARTITION_LVM:
1N/A case PED_PARTITION_BOOT:
1N/A case PED_PARTITION_BIOS_GRUB:
1N/A case PED_PARTITION_HPSERVICE:
1N/A case PED_PARTITION_DIAG:
1N/A case PED_PARTITION_HIDDEN:
1N/A case PED_PARTITION_SWAP:
1N/A case PED_PARTITION_ROOT:
1N/A case PED_PARTITION_LBA:
1N/A * From (http://developer.apple.com/technotes/tn2006/tn2166.html Chapter 5).
1N/Astatic PedConstraint *
1N/A#ifndef DISCOVER_ONLY
1N/A#include "pt-common.h"