Home
last modified time | relevance | path

Searched refs:efi_char (Results 1 – 12 of 12) sorted by relevance

/freebsd/stand/efi/libefi/
H A Defichar.c50 ucs2len(const efi_char *str) in ucs2len()
65 utf8_len_of_ucs2(const efi_char *nm) in utf8_len_of_ucs2()
68 efi_char c; in utf8_len_of_ucs2()
85 ucs2_to_utf8(const efi_char *nm, char **name) in ucs2_to_utf8()
88 efi_char c; in ucs2_to_utf8()
135 utf8_to_ucs2(const char *name, efi_char **nmp, size_t *len) in utf8_to_ucs2()
137 efi_char *nm; in utf8_to_ucs2()
187 *nm++ = (efi_char)ucs4; in utf8_to_ucs2()
H A Defienv.c98 (ucs2len(valstr) + 1) * sizeof(efi_char), valstr); in efi_setenv_freebsd_wcs()
/freebsd/usr.sbin/efivar/
H A Defiutil.c77 efi_char *ucs2; in utf8dump()
83 ucs2 = malloc(datalen + sizeof(efi_char)); in utf8dump()
85 ucs2[datalen / sizeof(efi_char)] = 0; in utf8dump()
126 efi_char *descr; in efi_print_load_option()
135 if (datalen < sizeof(attr) + sizeof(fplen) + sizeof(efi_char)) in efi_print_load_option()
144 descr = (efi_char *)(intptr_t)(void *)walker; in efi_print_load_option()
146 walker += (len + 1) * sizeof(efi_char); in efi_print_load_option()
/freebsd/stand/efi/include/
H A Defichar.h33 typedef CHAR16 efi_char; typedef
36 int ucs2_to_utf8(const efi_char *, char **);
37 int utf8_to_ucs2(const char *, efi_char **, size_t *);
38 int ucs2len(const efi_char *);
/freebsd/sys/dev/efidev/
H A Defidev.c109 efi_char *name; in efidev_ioctl()
116 if (name[ev->namesize / sizeof(efi_char) - 1] != 0) { in efidev_ioctl()
144 efi_char *name; in efidev_ioctl()
167 efi_char *name; in efidev_ioctl()
181 if (name[ev->namesize / sizeof(efi_char) - 1] != 0) { in efidev_ioctl()
H A Defirt.c721 var_get(efi_char *name, struct uuid *vendor, uint32_t *attrib, in var_get()
745 var_nextname(size_t *namesize, efi_char *name, struct uuid *vendor) in var_nextname()
766 var_set(efi_char *name, struct uuid *vendor, uint32_t attrib, in var_set()
/freebsd/sys/sys/
H A Defi.h54 typedef uint16_t efi_char; typedef
172 efi_status (*rt_getvar)(efi_char *, struct uuid *, uint32_t *,
174 efi_status (*rt_scanvar)(u_long *, efi_char *, struct uuid *)
176 efi_status (*rt_setvar)(efi_char *, struct uuid *, uint32_t,
180 efi_char *) EFIABI_ATTR;
187 efi_char *st_fwvendor;
H A Defiio.h43 efi_char *name; /* User pointer to name, in wide chars */
/freebsd/lib/libefivar/
H A Defivar.c217 static efi_char *buf; in efi_get_next_variable_name()
218 static size_t buflen = 256 * sizeof(efi_char); in efi_get_next_variable_name()
231 buf = malloc(buflen + sizeof(efi_char)); in efi_get_next_variable_name()
252 void *new = realloc(buf, var.namesize + sizeof(efi_char)); in efi_get_next_variable_name()
266 var.name[var.namesize / sizeof(efi_char)] = 0; /* EFI doesn't NUL terminate */ in efi_get_next_variable_name()
H A Defivar-dp-parse.c3199 efi_char *v; in DevPathFromTextFilePath()
/freebsd/usr.sbin/efibootmgr/
H A Defibootmgr.c616 efi_char *bbuf = NULL; in create_loadopt()
750 efi_char *descr; in print_loadopt_str()
759 if (datalen < sizeof(attr) + sizeof(fplen) + sizeof(efi_char)) in print_loadopt_str()
768 descr = (efi_char *)(intptr_t)(void *)walker; in print_loadopt_str()
770 walker += (len + 1) * sizeof(efi_char); in print_loadopt_str()
807 efi_char *desc; in get_descr()
813 desc = (efi_char*)(intptr_t)(void *)pos; in get_descr()
1003 efi_char *descr; in report_esp_device()
1026 descr = (efi_char *)(intptr_t)(void *)walker; in report_esp_device()
1028 walker += (len + 1) * sizeof(efi_char); in report_esp_device()
/freebsd/sys/dev/xen/efi/
H A Dpvefi.c125 var_get(efi_char *name, struct uuid *vendor, uint32_t *attrib, in var_get()
154 var_nextname(size_t *namesize, efi_char *name, struct uuid *vendor) in var_nextname()
180 var_set(efi_char *name, struct uuid *vendor, uint32_t attrib, in var_set()