Lines Matching refs:guid
43 static bool part_name_guid_eql(const gpt_partition_t *part, const char *name, const uint8_t guid[GPT_GUID_LEN] ) {
47 if (!memcmp(part->type, &guid[0], GPT_GUID_LEN) && part_name_eql(part, name)) {
63 // find_by_type finds the first partition matching the given type guid.
77 // find_by_type_and_name finds the first partition matching the given type guid and name.
229 uint8_t guid[GPT_GUID_LEN];
230 zx_cprng_draw(guid, GPT_GUID_LEN);
234 if (gpt_partition_add(gpt, name, tguid, guid, first, blks, 0)) {
266 gpt_partition_remove(gpt, p->guid);
269 gpt_partition_remove(gpt, p->guid);
272 gpt_partition_remove(gpt, p->guid);
275 gpt_partition_remove(gpt, p->guid);
278 gpt_partition_remove(gpt, p->guid);
298 gpt_partition_remove(gpt, p->guid);
301 gpt_partition_remove(gpt, p->guid);