/external/vboot_reference/cgpt/ |
D | cgpt_boot.c | 23 if (CGPT_OK != DriveOpen(params->drive_name, &drive, O_RDONLY, in CgptGetBootPartitionNumber() 34 if (CGPT_OK != ReadPMBR(&drive)) { in CgptGetBootPartitionNumber() 50 retval = CGPT_OK; in CgptGetBootPartitionNumber() 77 if (CGPT_OK != DriveOpen(params->drive_name, &drive, mode, in CgptBoot() 82 if (CGPT_OK != ReadPMBR(&drive)) { in CgptBoot() 146 if (mode == O_RDONLY || CGPT_OK == WritePMBR(&drive)) in CgptBoot()
|
D | cmd_find.c | 104 if (CGPT_OK != SupportedType(optarg, ¶ms.type_guid) && in cmd_find() 105 CGPT_OK != StrToGuid(optarg, ¶ms.type_guid)) { in cmd_find() 112 if (CGPT_OK != StrToGuid(optarg, ¶ms.unique_guid)) { in cmd_find() 141 return CGPT_OK; in cmd_find() 179 return CGPT_OK; in cmd_find()
|
D | cgpt_common.c | 60 return CGPT_OK; in CheckValid() 97 return CGPT_OK; in Load() 114 return CGPT_OK; in ReadPMBR() 125 return CGPT_OK; in WritePMBR() 145 return CGPT_OK; in Save() 163 if (CGPT_OK != Load(drive, &drive->gpt.primary_header, in GptLoad() 169 if (CGPT_OK != Load(drive, &drive->gpt.secondary_header, in GptLoad() 179 if (CGPT_OK != Load(drive, &drive->gpt.primary_entries, in GptLoad() 193 if (CGPT_OK != Load(drive, &drive->gpt.secondary_entries, in GptLoad() 209 if (CGPT_OK != Save(drive, drive->gpt.primary_header, in GptSave() [all …]
|
D | cmd_add.c | 88 if (CGPT_OK != SupportedType(optarg, ¶ms.type_guid) && in cmd_add() 89 CGPT_OK != StrToGuid(optarg, ¶ms.type_guid)) { in cmd_add() 96 if (CGPT_OK != StrToGuid(optarg, ¶ms.unique_guid)) { in cmd_add() 156 return CGPT_OK; in cmd_add()
|
D | cgpt_add.c | 81 if (CGPT_OK != GenerateGuid(&entry->unique)) { in GptSetEntryAttributes() 89 if (CGPT_OK != UTF8ToUTF16((uint8_t *)params->label, entry->name, in GptSetEntryAttributes() 178 if (CGPT_OK != DriveOpen(params->drive_name, &drive, O_RDWR, in CgptSetAttributes() 216 if (CGPT_OK != DriveOpen(params->drive_name, &drive, O_RDWR, in CgptGetPartitionDetails() 260 result = CGPT_OK; in CgptGetPartitionDetails() 303 if (CGPT_OK != DriveOpen(params->drive_name, &drive, O_RDWR, in CgptAdd()
|
D | cgpt_show.c | 112 if (!raw && CGPT_OK == ResolveType(&entry->type, type)) { in EntryDetails() 232 if (!params->numeric && CGPT_OK == ResolveType(&entry->type, type)) { in GptShow() 243 if (CGPT_OK != ReadPMBR(drive)) { in GptShow() 331 return CGPT_OK; in GptShow() 340 if (CGPT_OK != DriveOpen(params->drive_name, &drive, O_RDONLY, in CgptShow() 348 return CGPT_OK; in CgptShow()
|
D | cgpt_create.c | 44 if (CGPT_OK != GenerateGuid(&h->disk_uuid)) { in GptCreate() 111 if (CGPT_OK != DriveOpen(params->drive_name, &drive, O_RDWR, in CgptCreate()
|
D | cmd_repair.c | 52 return CGPT_OK; in cmd_repair()
|
D | cgpt_repair.c | 18 if (CGPT_OK != DriveOpen(params->drive_name, &drive, O_RDWR, in CgptRepair()
|
D | cmd_legacy.c | 52 return CGPT_OK; in cmd_legacy()
|
D | cmd_create.c | 61 return CGPT_OK; in cmd_create()
|
D | cmd_boot.c | 69 return CGPT_OK; in cmd_boot()
|
D | cgpt_find.c | 132 if (CGPT_OK != UTF16ToUTF8(entry->name, in gpt_search() 157 if (CGPT_OK != DriveOpen(fileName, &drive, O_RDONLY, params->drive_size)) in do_search()
|
D | cmd_show.c | 96 return CGPT_OK; in cmd_show()
|
D | cgpt_legacy.c | 18 if (CGPT_OK != DriveOpen(params->drive_name, &drive, O_RDWR, in CgptLegacy()
|
D | cgpt.c | 23 return CGPT_OK; in GenerateGuid()
|
D | cmd_prioritize.c | 87 return CGPT_OK; in cmd_prioritize()
|
D | cgpt_prioritize.c | 109 if (CGPT_OK != DriveOpen(params->drive_name, &drive, O_RDWR, in CgptPrioritize()
|
/external/vboot_reference/host/include/ |
D | cgpt_params.h | 12 CGPT_OK = 0, enumerator
|