Lines Matching refs:guid
671 efi_guid_to_str(const EFI_GUID *guid, char **sp) in efi_guid_to_str() argument
675 uuid_to_string((const uuid_t *)guid, sp, &status); in efi_guid_to_str()
680 efi_str_to_guid(const char *s, EFI_GUID *guid) in efi_str_to_guid() argument
684 uuid_from_string(s, (uuid_t *)guid, &status); in efi_str_to_guid()
689 efi_name_to_guid(const char *name, EFI_GUID *guid) in efi_name_to_guid() argument
695 *guid = *efi_uuid_mapping[i].efi_guid; in efi_name_to_guid()
699 return (efi_str_to_guid(name, guid)); in efi_name_to_guid()
703 efi_guid_to_name(EFI_GUID *guid, char **name) in efi_guid_to_name() argument
709 rv = uuid_equal((uuid_t *)guid, in efi_guid_to_name()
718 return (efi_guid_to_str(guid, name)); in efi_guid_to_name()
1324 EFI_GUID guid; in command_efi_set() local
1336 if (efi_name_to_guid(uuid, &guid) == false) { in command_efi_set()
1342 err = RS->SetVariable(wvar, &guid, EFI_VARIABLE_NON_VOLATILE | in command_efi_set()
1364 EFI_GUID guid; in command_efi_unset() local
1375 if (efi_name_to_guid(uuid, &guid) == false) { in command_efi_unset()
1381 err = RS->SetVariable(wvar, &guid, 0, 0, NULL); in command_efi_unset()
1422 char *value = NULL, *guid = NULL; in ficlEfiSetenv() local
1443 guid = ficlMalloc(guids); in ficlEfiSetenv()
1444 if (guid == NULL) in ficlEfiSetenv()
1446 memcpy(guid, guidp, guids); in ficlEfiSetenv()
1447 uuid_from_string(guid, &u, &ustatus); in ficlEfiSetenv()
1494 ficlFree(guid); in ficlEfiSetenv()