Home
last modified time | relevance | path

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

123

/linux-6.15/security/integrity/platform_certs/
H A 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()
H A 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);
H A 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.15/arch/x86/boot/compressed/
H A 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()
H A 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.15/fs/efivarfs/
H A Dinternal.h25 efi_guid_t VendorGuid;
40 int efivar_init(int (*func)(efi_char16_t *, efi_guid_t, unsigned long, void *),
54 bool efivar_validate(efi_guid_t vendor, efi_char16_t *var_name, u8 *data,
56 bool efivar_variable_is_removable(efi_guid_t vendor, const char *name,
58 char *efivar_get_utf8name(const efi_char16_t *name16, efi_guid_t *vendor);
60 efi_guid_t *vendor, void *data);
H A Dvars.c151 efi_guid_t vendor;
229 efivar_get_utf8name(const efi_char16_t *name16, efi_guid_t *vendor) in efivar_get_utf8name()
254 efivar_validate(efi_guid_t vendor, efi_char16_t *var_name, u8 *data, in efivar_validate()
289 efivar_variable_is_removable(efi_guid_t vendor, const char *var_name, in efivar_variable_is_removable()
345 static void dup_variable_bug(efi_char16_t *str16, efi_guid_t *vendor_guid, in dup_variable_bug()
374 int efivar_init(int (*func)(efi_char16_t *, efi_guid_t, unsigned long, void *), in efivar_init() argument
380 efi_guid_t vendor_guid; in efivar_init()
584 efi_guid_t *vendor = &entry->var.VendorGuid; in efivar_entry_set_get_size()
H A Dsuper.c202 efi_guid_t *vendor, void *data) in efivarfs_variable_is_present()
231 unsigned long name_size, efi_guid_t vendor, in efivarfs_create_dentry()
256 memcpy(&(entry->var.VendorGuid), &vendor, sizeof(efi_guid_t)); in efivarfs_create_dentry()
285 static int efivarfs_callback(efi_char16_t *name16, efi_guid_t vendor, in efivarfs_callback()
438 static int efivarfs_check_missing(efi_char16_t *name16, efi_guid_t vendor, in efivarfs_check_missing()
/linux-6.15/include/linux/
H A Defi.h149 efi_guid_t guid;
170 efi_guid_t image_type_id;
191 efi_guid_t cert_type;
444 efi_guid_t guid;
449 efi_guid_t guid;
455 efi_guid_t guid;
462 efi_guid_t guid;
608 efi_guid_t signature_owner;
613 efi_guid_t signature_type;
697 efi_guidcmp (efi_guid_t left, efi_guid_t right) in efi_guidcmp()
[all …]
/linux-6.15/drivers/firmware/efi/libstub/
H A 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()
H A 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()
155 efi_guid_t tpm2_guid = EFI_TCG2_PROTOCOL_GUID; in efi_retrieve_eventlog()
176 efi_guid_t cc_guid = EFI_CC_MEASUREMENT_PROTOCOL_GUID; in efi_retrieve_eventlog()
H A 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()
H A Defistub.h113 (efi_guid_t *)(vendor), __VA_ARGS__)
117 (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 *,
317 efi_status_t (__efiapi *locate_handle_buffer)(int, efi_guid_t *,
320 efi_status_t (__efiapi *locate_protocol)(efi_guid_t *, void *,
646 efi_guid_t *,
650 efi_guid_t *,
1049 void *get_efi_config_table(efi_guid_t guid);
[all …]
H A 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()
H A 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()
488 void *get_efi_config_table(efi_guid_t guid) in get_efi_config_table()
551 efi_guid_t lf2_proto_guid = EFI_LOAD_FILE2_PROTOCOL_GUID; in efi_load_initrd_dev_path()
612 efi_guid_t tbl_guid = LINUX_EFI_INITRD_MEDIA_GUID; in efi_load_initrd()
723 efi_guid_t guid = EFI_MEMORY_ATTRIBUTE_PROTOCOL_GUID; in efi_remap_image()
/linux-6.15/drivers/firmware/efi/stmm/
H A Dmm_communication.h46 efi_guid_t header_guid;
140 efi_guid_t guid;
170 efi_guid_t guid;
230 efi_guid_t guid;
H A 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.15/arch/x86/platform/efi/
H A Defi_64.c564 efi_thunk_get_variable(efi_char16_t *name, efi_guid_t *vendor, in efi_thunk_get_variable()
568 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); in efi_thunk_get_variable()
596 efi_thunk_set_variable(efi_char16_t *name, efi_guid_t *vendor, in efi_thunk_set_variable()
600 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); in efi_thunk_set_variable()
625 efi_thunk_set_variable_nonblocking(efi_char16_t *name, efi_guid_t *vendor, in efi_thunk_set_variable_nonblocking()
630 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); in efi_thunk_set_variable_nonblocking()
658 efi_guid_t *vendor) in efi_thunk_get_next_variable()
661 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); in efi_thunk_get_next_variable()
/linux-6.15/block/partitions/
H A Defi.h65 efi_guid_t disk_guid;
85 efi_guid_t partition_type_guid;
86 efi_guid_t unique_partition_guid;
/linux-6.15/drivers/firmware/efi/test/
H A Defi_test.h16 efi_guid_t *vendor_guid;
25 efi_guid_t *vendor_guid;
35 efi_guid_t *vendor_guid;
/linux-6.15/drivers/firmware/efi/
H A 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()
H A 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()
H A 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.15/drivers/firmware/qcom/
H A 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.15/drivers/xen/
H A 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