/kernel/linux/linux-5.10/drivers/firmware/efi/ |
D | vars.c | 36 validate_device_path(efi_char16_t *var_name, int match, u8 *buffer, in validate_device_path() 69 validate_boot_order(efi_char16_t *var_name, int match, u8 *buffer, in validate_boot_order() 80 validate_load_option(efi_char16_t *var_name, int match, u8 *buffer, in validate_load_option() 109 desclength = ucs2_strsize((efi_char16_t *)(buffer + 6), len - 6) + 2; in validate_load_option() 131 validate_uint16(efi_char16_t *var_name, int match, u8 *buffer, in validate_uint16() 142 validate_ascii_string(efi_char16_t *var_name, int match, u8 *buffer, in validate_ascii_string() 161 bool (*validate)(efi_char16_t *var_name, int match, u8 *data, 237 efivar_validate(efi_guid_t vendor, efi_char16_t *var_name, u8 *data, in efivar_validate() 333 static bool variable_is_present(efi_char16_t *variable_name, efi_guid_t *vendor, in variable_is_present() 360 static unsigned long var_name_strnsize(efi_char16_t *variable_name, in var_name_strnsize() [all …]
|
D | runtime-wrappers.c | 207 status = efi_call_virt(get_variable, (efi_char16_t *)arg1, in efi_call_rts() 213 (efi_char16_t *)arg2, in efi_call_rts() 217 status = efi_call_virt(set_variable, (efi_char16_t *)arg1, in efi_call_rts() 300 static efi_status_t virt_efi_get_variable(efi_char16_t *name, in virt_efi_get_variable() 317 efi_char16_t *name, in virt_efi_get_next_variable() 330 static efi_status_t virt_efi_set_variable(efi_char16_t *name, in virt_efi_set_variable() 347 virt_efi_set_variable_nonblocking(efi_char16_t *name, efi_guid_t *vendor, in virt_efi_set_variable_nonblocking() 416 efi_char16_t *data) in virt_efi_reset_system()
|
D | efibc.c | 14 static void efibc_str_to_str16(const char *str, efi_char16_t *str16) in efibc_str_to_str16() 29 size_t size = (strlen(value) + 1) * sizeof(efi_char16_t); in efibc_set_variable() 43 efibc_str_to_str16(value, (efi_char16_t *)entry->var.Data); in efibc_set_variable()
|
D | efivars.c | 34 efi_char16_t VariableName[EFI_VAR_NAME_LEN/sizeof(efi_char16_t)]; 156 sanity_check(struct efi_variable *var, efi_char16_t *name, efi_guid_t vendor, in sanity_check() 202 efi_char16_t *name; in efivar_store_raw() 370 efi_char16_t *name; in efivar_create() 439 efi_char16_t *name; in efivar_delete() 496 efi_char16_t *variable_name = new_var->var.VariableName; in efivar_create_sysfs_entry() 592 static int efivars_sysfs_callback(efi_char16_t *name, efi_guid_t vendor, in efivars_sysfs_callback()
|
D | efi-pstore.c | 250 efi_char16_t efi_name[DUMP_NAME_LEN]; in efi_pstore_write() 283 efi_char16_t *efi_name = data; in efi_pstore_erase_func() 311 efi_char16_t efi_name[DUMP_NAME_LEN]; in efi_pstore_erase_name() 363 static int efi_pstore_callback(efi_char16_t *name, efi_guid_t vendor, in efi_pstore_callback() 383 static int efi_pstore_update_entry(efi_char16_t *name, efi_guid_t vendor, in efi_pstore_update_entry()
|
D | efi.c | 216 static __init int efivar_ssdt_iter(efi_char16_t *name, efi_guid_t vendor, in efivar_ssdt_iter() 685 static const efi_char16_t *__init map_fw_vendor(unsigned long fw_vendor, in map_fw_vendor() 688 const efi_char16_t *ret; in map_fw_vendor() 709 const efi_char16_t *c16; in efi_systab_report_header() 712 c16 = map_fw_vendor(fw_vendor, sizeof(vendor) * sizeof(efi_char16_t)); in efi_systab_report_header() 718 unmap_fw_vendor(c16, sizeof(vendor) * sizeof(efi_char16_t)); in efi_systab_report_header()
|
D | apple-properties.c | 66 key_len < sizeof(key_len) + sizeof(efi_char16_t) || in unmarshal_key_value_pairs() 67 *(efi_char16_t *)(ptr + sizeof(key_len)) == 0) { in unmarshal_key_value_pairs()
|
/kernel/linux/linux-5.10/drivers/firmware/efi/test/ |
D | efi_test.c | 33 static inline size_t user_ucs2_strsize(efi_char16_t __user *str) in user_ucs2_strsize() 35 efi_char16_t *s = str, c; in user_ucs2_strsize() 42 len = sizeof(efi_char16_t); in user_ucs2_strsize() 54 len += sizeof(efi_char16_t); in user_ucs2_strsize() 63 copy_ucs2_from_user_len(efi_char16_t **dst, efi_char16_t __user *src, in copy_ucs2_from_user_len() 66 efi_char16_t *buf; in copy_ucs2_from_user_len() 89 get_ucs2_strsize_from_user(efi_char16_t __user *src, size_t *len) in get_ucs2_strsize_from_user() 111 copy_ucs2_from_user(efi_char16_t **dst, efi_char16_t __user *src) in copy_ucs2_from_user() 131 copy_ucs2_to_user_len(efi_char16_t __user *dst, efi_char16_t *src, size_t len) in copy_ucs2_to_user_len() 146 efi_char16_t *name = NULL; in efi_runtime_get_variable() [all …]
|
D | efi_test.h | 15 efi_char16_t *variable_name; 24 efi_char16_t *variable_name; 34 efi_char16_t *variable_name; 88 efi_char16_t *data;
|
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
D | file.c | 34 efi_char16_t filename[MAX_FILENAME_SIZE]; 87 static int find_file_option(const efi_char16_t *cmdline, int cmdline_len, in find_file_option() 88 const efi_char16_t *prefix, int prefix_size, in find_file_option() 89 efi_char16_t *result, int result_len) in find_file_option() 110 efi_char16_t c = cmdline[i++]; in find_file_option() 131 const efi_char16_t *optstr, in handle_cmdline_files() 138 const efi_char16_t *cmdline = image->load_options; in handle_cmdline_files()
|
D | secureboot.c | 17 static const efi_char16_t efi_SecureBoot_name[] = L"SecureBoot"; 18 static const efi_char16_t efi_SetupMode_name[] = L"SetupMode"; 22 static const efi_char16_t shim_MokSBState_name[] = L"MokSBStateRT";
|
D | efistub.h | 95 efi_rt_call(get_variable, (efi_char16_t *)(name), \ 99 efi_rt_call(set_variable, (efi_char16_t *)(name), \ 259 efi_char16_t *); 351 efi_char16_t unicode_char; 374 efi_char16_t *); 487 efi_char16_t filename[]; 496 efi_char16_t *, u64, u64); 649 efi_char16_t *, void *, u32 *); 652 efi_char16_t *, void *, u32); 655 efi_char16_t *); [all …]
|
D | efi-stub-helper.c | 39 void efi_char16_puts(efi_char16_t *str) in efi_char16_puts() 96 efi_char16_t buf[128]; in efi_puts() 258 const efi_char16_t *description; in efi_load_option_unpack()
|
D | tpm.c | 17 static const efi_char16_t efi_MemoryOverWriteRequest_name[] =
|
D | x86-stub.c | 214 static const efi_char16_t apple[] = L"Apple"; 218 efi_char16_t *fw_vendor = (efi_char16_t *)(unsigned long) in setup_quirks()
|
/kernel/linux/linux-5.10/include/linux/ |
D | efi.h | 48 typedef u16 efi_char16_t; /* UNICODE character */ typedef 241 typedef efi_status_t efi_get_variable_t (efi_char16_t *name, efi_guid_t *vendor, u32 *attr, 243 typedef efi_status_t efi_get_next_variable_t (unsigned long *name_size, efi_char16_t *name, 245 typedef efi_status_t efi_set_variable_t (efi_char16_t *name, efi_guid_t *vendor, 250 unsigned long data_size, efi_char16_t *data); 978 efi_char16_t VariableName[EFI_VAR_NAME_LEN/sizeof(efi_char16_t)]; 1007 int efivar_init(int (*func)(efi_char16_t *, efi_guid_t, unsigned long, void *), 1025 int efivar_entry_set_safe(efi_char16_t *name, efi_guid_t vendor, u32 attributes, 1037 struct efivar_entry *efivar_entry_find(efi_char16_t *name, efi_guid_t guid, 1040 bool efivar_validate(efi_guid_t vendor, efi_char16_t *var_name, u8 *data,
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | efivar.c | 69 efi_char16_t *uni_name; in read_efi_var() 84 uni_name = kcalloc(strlen(name) + 1, sizeof(efi_char16_t), GFP_KERNEL); in read_efi_var()
|
/kernel/linux/linux-5.10/drivers/xen/ |
D | efi.c | 119 static efi_status_t xen_efi_get_variable(efi_char16_t *name, efi_guid_t *vendor, in xen_efi_get_variable() 143 efi_char16_t *name, in xen_efi_get_next_variable() 165 static efi_status_t xen_efi_set_variable(efi_char16_t *name, efi_guid_t *vendor, in xen_efi_set_variable() 259 unsigned long data_size, efi_char16_t *data) in xen_efi_reset_system()
|
/kernel/linux/linux-5.10/arch/x86/platform/efi/ |
D | efi_64.c | 567 static unsigned long efi_name_size(efi_char16_t *name) in efi_name_size() 573 efi_thunk_get_variable(efi_char16_t *name, efi_guid_t *vendor, in efi_thunk_get_variable() 605 efi_thunk_set_variable(efi_char16_t *name, efi_guid_t *vendor, in efi_thunk_set_variable() 634 efi_thunk_set_variable_nonblocking(efi_char16_t *name, efi_guid_t *vendor, in efi_thunk_set_variable_nonblocking() 666 efi_char16_t *name, in efi_thunk_get_next_variable() 703 unsigned long data_size, efi_char16_t *data) in efi_thunk_reset_system()
|
D | quirks.c | 80 static const efi_char16_t efi_dummy_name[] = L"DUMMY"; 110 efi.set_variable_nonblocking((efi_char16_t *)efi_dummy_name, in efi_delete_dummy_variable() 187 status = efi.set_variable((efi_char16_t *)efi_dummy_name, in efi_query_variable_store()
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
D | efi.c | 141 prefix##_get_variable (efi_char16_t *name, efi_guid_t *vendor, u32 *attr, \ 161 prefix##_get_next_variable (unsigned long *name_size, efi_char16_t *name, \ 177 prefix##_set_variable (efi_char16_t *name, efi_guid_t *vendor, \ 211 unsigned long data_size, efi_char16_t *data) \ 214 efi_char16_t *adata = NULL; \ 924 efi_char16_t *utf16, name_utf16[32]; in efi_uart_console_only()
|
/kernel/linux/linux-5.10/security/integrity/platform_certs/ |
D | load_uefi.c | 64 static __init void *get_cert_list(efi_char16_t *name, efi_guid_t *guid, in get_cert_list()
|
/kernel/linux/linux-5.10/arch/x86/xen/ |
D | efi.c | 19 static efi_char16_t vendor[100] __initdata;
|
/kernel/linux/linux-5.10/drivers/firmware/google/ |
D | gsmi.c | 309 static efi_status_t gsmi_get_variable(efi_char16_t *name, in gsmi_get_variable() 375 efi_char16_t *name, in gsmi_get_next_variable() 431 static efi_status_t gsmi_set_variable(efi_char16_t *name, in gsmi_set_variable()
|
/kernel/linux/linux-5.10/drivers/scsi/isci/ |
D | probe_roms.c | 37 static efi_char16_t isci_efivar_name[] = {
|