Home
last modified time | relevance | path

Searched refs:CGPT_OK (Results 1 – 19 of 19) sorted by relevance

/external/vboot_reference/cgpt/
Dcgpt_common.c60 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 …]
Dcgpt_boot.c23 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()
Dcmd_find.c104 if (CGPT_OK != SupportedType(optarg, &params.type_guid) && in cmd_find()
105 CGPT_OK != StrToGuid(optarg, &params.type_guid)) { in cmd_find()
112 if (CGPT_OK != StrToGuid(optarg, &params.unique_guid)) { in cmd_find()
141 return CGPT_OK; in cmd_find()
179 return CGPT_OK; in cmd_find()
Dcmd_add.c88 if (CGPT_OK != SupportedType(optarg, &params.type_guid) && in cmd_add()
89 CGPT_OK != StrToGuid(optarg, &params.type_guid)) { in cmd_add()
96 if (CGPT_OK != StrToGuid(optarg, &params.unique_guid)) { in cmd_add()
156 return CGPT_OK; in cmd_add()
Dcgpt_add.c81 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()
Dcgpt_show.c112 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()
Dcgpt_create.c44 if (CGPT_OK != GenerateGuid(&h->disk_uuid)) { in GptCreate()
111 if (CGPT_OK != DriveOpen(params->drive_name, &drive, O_RDWR, in CgptCreate()
Dcgpt_repair.c18 if (CGPT_OK != DriveOpen(params->drive_name, &drive, O_RDWR, in CgptRepair()
Dcmd_repair.c52 return CGPT_OK; in cmd_repair()
Dcmd_legacy.c52 return CGPT_OK; in cmd_legacy()
Dcmd_create.c61 return CGPT_OK; in cmd_create()
Dcgpt_find.c132 if (CGPT_OK != UTF16ToUTF8(entry->name, in gpt_search()
157 if (CGPT_OK != DriveOpen(fileName, &drive, O_RDONLY, params->drive_size)) in do_search()
Dcmd_boot.c69 return CGPT_OK; in cmd_boot()
Dcgpt_legacy.c18 if (CGPT_OK != DriveOpen(params->drive_name, &drive, O_RDWR, in CgptLegacy()
Dcmd_show.c96 return CGPT_OK; in cmd_show()
Dcgpt.c23 return CGPT_OK; in GenerateGuid()
Dcmd_prioritize.c87 return CGPT_OK; in cmd_prioritize()
Dcgpt_prioritize.c109 if (CGPT_OK != DriveOpen(params->drive_name, &drive, O_RDWR, in CgptPrioritize()
/external/vboot_reference/host/include/
Dcgpt_params.h12 CGPT_OK = 0, enumerator