Home
last modified time | relevance | path

Searched refs:efi_guid_t (Results 1 – 25 of 59) sorted by relevance

123

/linux-6.12.1/security/integrity/platform_certs/
Dkeyring_handler.c14 static efi_guid_t efi_cert_x509_guid __initdata = EFI_CERT_X509_GUID;
15 static efi_guid_t efi_cert_x509_sha256_guid __initdata =
17 static efi_guid_t efi_cert_sha256_guid __initdata = EFI_CERT_SHA256_GUID;
50 __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type) in get_handler_for_db()
61 __init efi_element_handler_t get_handler_for_mok(const efi_guid_t *sig_type) in get_handler_for_mok()
73 __init efi_element_handler_t get_handler_for_ca_keys(const efi_guid_t *sig_type) in get_handler_for_ca_keys()
81 __init efi_element_handler_t get_handler_for_code_signing_keys(const efi_guid_t *sig_type) in get_handler_for_code_signing_keys()
93 __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type) in get_handler_for_dbx()
Dkeyring_handler.h25 efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type);
30 efi_element_handler_t get_handler_for_mok(const efi_guid_t *sig_type);
35 efi_element_handler_t get_handler_for_ca_keys(const efi_guid_t *sig_type);
40 efi_element_handler_t get_handler_for_code_signing_keys(const efi_guid_t *sig_type);
45 efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type);
Dload_uefi.c56 efi_guid_t guid = EFI_SHIM_LOCK_GUID; in uefi_check_ignore_db()
65 static __init void *get_cert_list(efi_char16_t *name, efi_guid_t *guid, in get_cert_list()
110 efi_guid_t mok_var = EFI_SHIM_LOCK_GUID; in load_moklist_certs()
162 efi_guid_t secure_var = EFI_IMAGE_SECURITY_DATABASE_GUID; in load_uefi_certs()
163 efi_guid_t mok_var = EFI_SHIM_LOCK_GUID; in load_uefi_certs()
/linux-6.12.1/arch/x86/boot/compressed/
Defi.h9 typedef guid_t efi_guid_t __aligned(__alignof__(u32));
11 #define EFI_GUID(a, b, c, d...) (efi_guid_t){ { \
57 efi_guid_t guid;
62 efi_guid_t guid;
108 static inline int efi_guidcmp (efi_guid_t left, efi_guid_t right) in efi_guidcmp()
110 return memcmp(&left, &right, sizeof (efi_guid_t)); in efi_guidcmp()
Defi.c171 efi_guid_t *vendor_tbl_guid, in get_vendor_table()
211 efi_guid_t guid) in efi_find_vendor_table()
222 efi_guid_t vendor_tbl_guid; in efi_find_vendor_table()
/linux-6.12.1/include/linux/
Defi.h75 typedef guid_t efi_guid_t __aligned(__alignof__(u32));
77 #define EFI_GUID(a, b, c, d...) ((efi_guid_t){ { \
148 efi_guid_t guid;
169 efi_guid_t image_type_id;
190 efi_guid_t cert_type;
288 typedef efi_status_t efi_get_variable_t (efi_char16_t *name, efi_guid_t *vendor, u32 *attr,
291 efi_guid_t *vendor);
292 typedef efi_status_t efi_set_variable_t (efi_char16_t *name, efi_guid_t *vendor,
446 efi_guid_t guid;
451 efi_guid_t guid;
[all …]
/linux-6.12.1/drivers/firmware/efi/libstub/
Drandom.c17 efi_guid_t *);
19 efi_guid_t *, unsigned long,
41 efi_guid_t rng_proto = EFI_RNG_PROTOCOL_GUID; in efi_get_random_bytes()
67 efi_guid_t rng_proto = EFI_RNG_PROTOCOL_GUID; in efi_random_get_seed()
68 efi_guid_t rng_algo_raw = EFI_RNG_ALGORITHM_RAW; in efi_random_get_seed()
69 efi_guid_t rng_table_guid = LINUX_EFI_RANDOM_SEED_TABLE_GUID; in efi_random_get_seed()
Dtpm.c32 efi_guid_t var_guid = MEMORY_ONLY_RESET_CONTROL_GUID; in efi_enable_reset_attack_mitigation()
55 efi_guid_t linux_eventlog_guid = LINUX_EFI_TPM_EVENT_LOG_GUID; in efi_retrieve_tcg2_eventlog()
152 efi_guid_t tpm2_guid = EFI_TCG2_PROTOCOL_GUID; in efi_retrieve_eventlog()
173 efi_guid_t cc_guid = EFI_CC_MEASUREMENT_PROTOCOL_GUID; in efi_retrieve_eventlog()
Dsecureboot.c16 static const efi_guid_t shim_guid = EFI_SHIM_LOCK_GUID;
19 static efi_status_t get_var(efi_char16_t *name, efi_guid_t *vendor, u32 *attr, in get_var()
Defistub.h112 (efi_guid_t *)(vendor), __VA_ARGS__)
116 (efi_guid_t *)(vendor), __VA_ARGS__)
282 efi_guid_t *, void **);
285 efi_status_t (__efiapi *locate_handle)(int, efi_guid_t *,
288 efi_status_t (__efiapi *locate_device_path)(efi_guid_t *,
291 efi_status_t (__efiapi *install_configuration_table)(efi_guid_t *,
318 efi_status_t (__efiapi *locate_protocol)(efi_guid_t *, void *,
644 efi_guid_t *,
648 efi_guid_t *,
1047 void *get_efi_config_table(efi_guid_t guid);
[all …]
Dfile.c42 efi_guid_t info_guid = EFI_FILE_INFO_ID; in efi_open_file()
77 efi_guid_t fs_proto = EFI_FILE_SYSTEM_GUID; in efi_open_volume()
131 efi_guid_t text_to_dp_guid = EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL_GUID; in efi_open_device_path()
133 efi_guid_t fs_proto = EFI_FILE_SYSTEM_GUID; in efi_open_device_path()
Dx86-stub.c123 efi_guid_t pci_proto = EFI_PCI_IO_PROTOCOL_GUID; in setup_efi_pci()
180 efi_guid_t guid = APPLE_PROPERTIES_PROTOCOL_GUID; in retrieve_apple_device_properties()
368 efi_guid_t mem_acceptance_proto = OVMF_SEV_MEMORY_ACCEPTANCE_PROTOCOL_GUID; in setup_unaccepted_memory()
412 setup_uga(struct screen_info *si, efi_guid_t *uga_proto, unsigned long size) in setup_uga()
436 efi_guid_t pciio_proto = EFI_PCI_IO_PROTOCOL_GUID; in setup_uga()
491 efi_guid_t graphics_proto = EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID; in setup_graphics()
493 efi_guid_t uga_proto = EFI_UGA_PROTOCOL_GUID; in setup_graphics()
537 efi_guid_t proto = LOADED_IMAGE_PROTOCOL_GUID; in efi_pe_entry()
944 efi_guid_t guid = EFI_MEMORY_ATTRIBUTE_PROTOCOL_GUID; in efi_stub_entry()
Defi-stub-helper.c256 efi_guid_t tcg2_guid = EFI_TCG2_PROTOCOL_GUID; in efi_measure_tagged_event()
275 efi_guid_t cc_guid = EFI_CC_MEASUREMENT_PROTOCOL_GUID; in efi_measure_tagged_event()
490 void *get_efi_config_table(efi_guid_t guid) in get_efi_config_table()
553 efi_guid_t lf2_proto_guid = EFI_LOAD_FILE2_PROTOCOL_GUID; in efi_load_initrd_dev_path()
614 efi_guid_t tbl_guid = LINUX_EFI_INITRD_MEDIA_GUID; in efi_load_initrd()
724 efi_guid_t guid = EFI_MEMORY_ATTRIBUTE_PROTOCOL_GUID; in efi_remap_image()
/linux-6.12.1/drivers/firmware/efi/stmm/
Dmm_communication.h46 efi_guid_t header_guid;
140 efi_guid_t guid;
170 efi_guid_t guid;
230 efi_guid_t guid;
Dtee_stmm_efi.c65 buf_size = mm_hdr->message_len + sizeof(efi_guid_t) + sizeof(size_t); in tee_mm_communicate()
159 const efi_guid_t mm_var_guid = EFI_MM_VARIABLE_GUID; in setup_mm_hdr()
247 const efi_guid_t *vendor, in get_property_int()
289 static efi_status_t tee_get_variable(u16 *name, efi_guid_t *vendor, in tee_get_variable()
355 efi_char16_t *name, efi_guid_t *guid) in tee_get_next_variable()
411 static efi_status_t tee_set_variable(efi_char16_t *name, efi_guid_t *vendor, in tee_set_variable()
475 efi_guid_t *vendor, in tee_set_variable_nonblocking()
/linux-6.12.1/fs/efivarfs/
Dinternal.h26 efi_guid_t VendorGuid;
36 int efivar_init(int (*func)(efi_char16_t *, efi_guid_t, unsigned long, void *,
56 bool efivar_validate(efi_guid_t vendor, efi_char16_t *var_name, u8 *data,
58 bool efivar_variable_is_removable(efi_guid_t vendor, const char *name,
Dvars.c151 efi_guid_t vendor;
229 efivar_validate(efi_guid_t vendor, efi_char16_t *var_name, u8 *data, in efivar_validate()
264 efivar_variable_is_removable(efi_guid_t vendor, const char *var_name, in efivar_variable_is_removable()
291 static bool variable_is_present(efi_char16_t *variable_name, efi_guid_t *vendor, in variable_is_present()
342 static void dup_variable_bug(efi_char16_t *str16, efi_guid_t *vendor_guid, in dup_variable_bug()
371 int efivar_init(int (*func)(efi_char16_t *, efi_guid_t, unsigned long, void *, in efivar_init() argument
378 efi_guid_t vendor_guid; in efivar_init()
641 efi_guid_t *vendor = &entry->var.VendorGuid; in efivar_entry_set_get_size()
/linux-6.12.1/arch/x86/platform/efi/
Defi_64.c606 efi_thunk_get_variable(efi_char16_t *name, efi_guid_t *vendor, in efi_thunk_get_variable()
610 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); in efi_thunk_get_variable()
638 efi_thunk_set_variable(efi_char16_t *name, efi_guid_t *vendor, in efi_thunk_set_variable()
642 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); in efi_thunk_set_variable()
667 efi_thunk_set_variable_nonblocking(efi_char16_t *name, efi_guid_t *vendor, in efi_thunk_set_variable_nonblocking()
672 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); in efi_thunk_set_variable_nonblocking()
700 efi_guid_t *vendor) in efi_thunk_get_next_variable()
703 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); in efi_thunk_get_next_variable()
/linux-6.12.1/block/partitions/
Defi.h65 efi_guid_t disk_guid;
85 efi_guid_t partition_type_guid;
86 efi_guid_t unique_partition_guid;
/linux-6.12.1/drivers/firmware/efi/test/
Defi_test.h16 efi_guid_t *vendor_guid;
25 efi_guid_t *vendor_guid;
35 efi_guid_t *vendor_guid;
/linux-6.12.1/drivers/firmware/efi/
Dvars.c184 efi_status_t efivar_get_variable(efi_char16_t *name, efi_guid_t *vendor, in efivar_get_variable()
197 efi_char16_t *name, efi_guid_t *vendor) in efivar_get_next_variable()
209 efi_status_t efivar_set_variable_locked(efi_char16_t *name, efi_guid_t *vendor, in efivar_set_variable_locked()
242 efi_status_t efivar_set_variable(efi_char16_t *name, efi_guid_t *vendor, in efivar_set_variable()
Druntime-wrappers.c68 efi_guid_t *vendor;
77 efi_guid_t *vendor;
82 efi_guid_t *vendor;
394 efi_guid_t *vendor, in virt_efi_get_variable()
411 efi_guid_t *vendor) in virt_efi_get_next_variable()
423 efi_guid_t *vendor, in virt_efi_set_variable()
439 virt_efi_set_variable_nb(efi_char16_t *name, efi_guid_t *vendor, u32 attr, in virt_efi_set_variable_nb()
Dcapsule.c86 int efi_capsule_supported(efi_guid_t guid, u32 flags, size_t size, int *reset) in efi_capsule_supported()
97 memcpy(&capsule.guid, &guid, sizeof(efi_guid_t)); in efi_capsule_supported()
219 efi_guid_t guid = capsule->guid; in efi_capsule_update()
/linux-6.12.1/drivers/firmware/qcom/
Dqcom_qseecom_uefisecapp.c295 const efi_guid_t *guid, u32 *attributes, in qsee_uefi_get_variable()
426 const efi_guid_t *guid, u32 attributes, in qsee_uefi_set_variable()
518 efi_guid_t *guid) in qsee_uefi_get_next_variable()
730 static efi_status_t qcuefi_get_variable(efi_char16_t *name, efi_guid_t *vendor, u32 *attr, in qcuefi_get_variable()
746 static efi_status_t qcuefi_set_variable(efi_char16_t *name, efi_guid_t *vendor, in qcuefi_set_variable()
763 efi_guid_t *vendor) in qcuefi_get_next_variable()
/linux-6.12.1/drivers/xen/
Defi.c120 static efi_status_t xen_efi_get_variable(efi_char16_t *name, efi_guid_t *vendor, in xen_efi_get_variable()
145 efi_guid_t *vendor) in xen_efi_get_next_variable()
166 static efi_status_t xen_efi_set_variable(efi_char16_t *name, efi_guid_t *vendor, in xen_efi_set_variable()
332 bool __init xen_efi_config_table_is_usable(const efi_guid_t *guid, in xen_efi_config_table_is_usable()

123