/linux-6.12.1/fs/efivarfs/ |
D | vars.c | 28 validate_device_path(efi_char16_t *var_name, int match, u8 *buffer, in validate_device_path() 61 validate_boot_order(efi_char16_t *var_name, int match, u8 *buffer, in validate_boot_order() 72 validate_load_option(efi_char16_t *var_name, int match, u8 *buffer, in validate_load_option() 101 desclength = ucs2_strsize((efi_char16_t *)(buffer + 6), len - 6) + 2; in validate_load_option() 123 validate_uint16(efi_char16_t *var_name, int match, u8 *buffer, in validate_uint16() 134 validate_ascii_string(efi_char16_t *var_name, int match, u8 *buffer, in validate_ascii_string() 153 bool (*validate)(efi_char16_t *var_name, int match, u8 *data, 229 efivar_validate(efi_guid_t vendor, efi_char16_t *var_name, u8 *data, in efivar_validate() 291 static bool variable_is_present(efi_char16_t *variable_name, efi_guid_t *vendor, in variable_is_present() 318 static unsigned long var_name_strnsize(efi_char16_t *variable_name, in var_name_strnsize() [all …]
|
D | internal.h | 25 efi_char16_t VariableName[EFI_VAR_NAME_LEN/sizeof(efi_char16_t)]; 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,
|
/linux-6.12.1/drivers/firmware/efi/ |
D | efibc.c | 17 static int efibc_set_variable(efi_char16_t *name, efi_char16_t *value, in efibc_set_variable() 26 len * sizeof(efi_char16_t), value); in efibc_set_variable() 38 efi_char16_t *reason = event == SYS_RESTART ? L"reboot" in efibc_reboot_notifier_call() 41 efi_char16_t *wdata; in efibc_reboot_notifier_call() 50 wdata = kmalloc(MAX_DATA_LEN * sizeof(efi_char16_t), GFP_KERNEL); in efibc_reboot_notifier_call()
|
D | runtime-wrappers.c | 67 efi_char16_t *name; 76 efi_char16_t *name; 81 efi_char16_t *name; 393 static efi_status_t virt_efi_get_variable(efi_char16_t *name, in virt_efi_get_variable() 410 efi_char16_t *name, in virt_efi_get_next_variable() 422 static efi_status_t virt_efi_set_variable(efi_char16_t *name, 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() 504 unsigned long data_size, efi_char16_t *data) in virt_efi_reset_system()
|
D | vars.c | 184 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()
|
D | efi-pstore.c | 82 efi_char16_t *varname) in efi_pstore_read_func() 147 wlen = (ucs2_strnlen(varname, DUMP_NAME_LEN) + 1) * sizeof(efi_char16_t); in efi_pstore_read_func() 159 efi_char16_t *varname = record->psi->data; in efi_pstore_read() 205 efi_char16_t efi_name[DUMP_NAME_LEN]; in efi_pstore_write()
|
D | efi.c | 201 efi_char16_t name; in generic_ops_supported() 273 efi_char16_t *name = NULL; in efivar_ssdt_load() 294 efi_char16_t *name_tmp = in efivar_ssdt_load() 831 static const efi_char16_t *__init map_fw_vendor(unsigned long fw_vendor, in map_fw_vendor() 834 const efi_char16_t *ret; in map_fw_vendor() 851 const efi_char16_t *c16; in efi_systab_report_header() 855 c16 = map_fw_vendor(fw_vendor, sizeof(vendor) * sizeof(efi_char16_t)); in efi_systab_report_header() 861 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()
|
/linux-6.12.1/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;
|
/linux-6.12.1/drivers/firmware/efi/libstub/ |
D | file.c | 34 efi_char16_t filename[MAX_FILENAME_SIZE]; 46 efi_char16_t *c; in efi_open_file() 95 static int find_file_option(const efi_char16_t *cmdline, int cmdline_len, in find_file_option() 96 const efi_char16_t *prefix, int prefix_size, in find_file_option() 97 efi_char16_t *result, int result_len) in find_file_option() 118 efi_char16_t c = cmdline[i++]; in find_file_option() 185 const efi_char16_t *optstr, in handle_cmdline_files() 192 const efi_char16_t *cmdline = efi_table_attr(image, load_options); in handle_cmdline_files()
|
D | efistub.h | 111 efi_rt_call(get_variable, (efi_char16_t *)(name), \ 115 efi_rt_call(set_variable, (efi_char16_t *)(name), \ 180 efi_char16_t *(__efiapi *convert_device_node_to_text)( 183 efi_char16_t *(__efiapi *convert_device_path_to_text)( 198 (__efiapi *convert_text_to_device_node)(const efi_char16_t *); 200 (__efiapi *convert_text_to_device_path)(const efi_char16_t *); 298 efi_char16_t **); 302 efi_char16_t *); 484 efi_char16_t unicode_char; 507 efi_char16_t *); [all …]
|
D | secureboot.c | 17 static const efi_char16_t shim_MokSBState_name[] = L"MokSBStateRT"; 19 static efi_status_t get_var(efi_char16_t *name, efi_guid_t *vendor, u32 *attr, in get_var()
|
D | printk.c | 20 void efi_char16_puts(efi_char16_t *str) in efi_char16_puts() 77 efi_char16_t buf[128]; in efi_puts()
|
D | efi-stub-helper.c | 126 const efi_char16_t *description; in efi_load_option_unpack() 332 const efi_char16_t *options = efi_table_attr(image, load_options); in efi_convert_cmdline() 336 const efi_char16_t *s2; in efi_convert_cmdline() 346 options_chars = options_size / sizeof(efi_char16_t); in efi_convert_cmdline() 351 efi_char16_t c = *s2++; in efi_convert_cmdline()
|
D | x86-stub.c | 389 static efi_char16_t *efistub_fw_vendor(void) in efistub_fw_vendor() 393 return (efi_char16_t *)vendor; in efistub_fw_vendor() 396 static const efi_char16_t apple[] = L"Apple"; 881 static const efi_char16_t ami[] = L"American Megatrends"; in efi_decompress_kernel()
|
/linux-6.12.1/include/linux/ |
D | efi.h | 50 typedef u16 efi_char16_t; /* UNICODE character */ typedef 288 typedef efi_status_t efi_get_variable_t (efi_char16_t *name, efi_guid_t *vendor, u32 *attr, 290 typedef efi_status_t efi_get_next_variable_t (unsigned long *name_size, efi_char16_t *name, 292 typedef efi_status_t efi_set_variable_t (efi_char16_t *name, efi_guid_t *vendor, 297 unsigned long data_size, efi_char16_t *data); 1028 efi_char16_t filename[]; 1101 efi_status_t efivar_get_variable(efi_char16_t *name, efi_guid_t *vendor, 1105 efi_char16_t *name, efi_guid_t *vendor); 1107 efi_status_t efivar_set_variable_locked(efi_char16_t *name, efi_guid_t *vendor, 1111 efi_status_t efivar_set_variable(efi_char16_t *name, efi_guid_t *vendor,
|
/linux-6.12.1/drivers/infiniband/hw/hfi1/ |
D | efivar.c | 29 efi_char16_t *uni_name; in read_efi_var() 44 uni_name = kcalloc(strlen(name) + 1, sizeof(efi_char16_t), GFP_KERNEL); in read_efi_var()
|
/linux-6.12.1/arch/x86/platform/efi/ |
D | efi_64.c | 600 static unsigned long efi_name_size(efi_char16_t *name) in efi_name_size() 606 efi_thunk_get_variable(efi_char16_t *name, efi_guid_t *vendor, in efi_thunk_get_variable() 638 efi_thunk_set_variable(efi_char16_t *name, efi_guid_t *vendor, 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() 699 efi_char16_t *name, in efi_thunk_get_next_variable() 736 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() 195 status = efi.set_variable((efi_char16_t *)efi_dummy_name, in efi_query_variable_store()
|
/linux-6.12.1/drivers/firmware/qcom/ |
D | qcom_qseecom_uefisecapp.c | 294 static efi_status_t qsee_uefi_get_variable(struct qcuefi_client *qcuefi, const efi_char16_t *name, in qsee_uefi_get_variable() 425 static efi_status_t qsee_uefi_set_variable(struct qcuefi_client *qcuefi, const efi_char16_t *name, in qsee_uefi_set_variable() 517 unsigned long *name_size, efi_char16_t *name, 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() 762 static efi_status_t qcuefi_get_next_variable(unsigned long *name_size, efi_char16_t *name, in qcuefi_get_next_variable()
|
/linux-6.12.1/drivers/xen/ |
D | efi.c | 120 static efi_status_t xen_efi_get_variable(efi_char16_t *name, efi_guid_t *vendor, in xen_efi_get_variable() 144 efi_char16_t *name, 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() 260 unsigned long data_size, efi_char16_t *data) in xen_efi_reset_system()
|
/linux-6.12.1/include/sound/ |
D | cs-amp-lib.h | 54 efi_status_t (*get_efi_variable)(efi_char16_t *name,
|
/linux-6.12.1/sound/soc/codecs/ |
D | cs-amp-lib-test.c | 77 static efi_status_t cs_amp_lib_test_get_efi_variable_nohead(efi_char16_t *name, in cs_amp_lib_test_get_efi_variable_nohead() 109 static efi_status_t cs_amp_lib_test_get_efi_variable_bad_count(efi_char16_t *name, in cs_amp_lib_test_get_efi_variable_bad_count() 152 static efi_status_t cs_amp_lib_test_get_efi_variable_none(efi_char16_t *name, in cs_amp_lib_test_get_efi_variable_none() 179 static efi_status_t cs_amp_lib_test_get_efi_variable(efi_char16_t *name, in cs_amp_lib_test_get_efi_variable() 184 static const efi_char16_t expected_name[] = L"CirrusSmartAmpCalibrationData"; in cs_amp_lib_test_get_efi_variable()
|
/linux-6.12.1/drivers/firmware/efi/stmm/ |
D | tee_stmm_efi.c | 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() 474 static efi_status_t tee_set_variable_nonblocking(efi_char16_t *name, in tee_set_variable_nonblocking()
|