Lines Matching refs:title
32 uint16_t title[]; \
37 assert_cc(offsetof(struct boot_option, title) == offsetof(struct boot_option__packed, title));
244 if (l < offsetof(struct boot_option, title)) in efi_get_boot_option()
248 title_size = utf16_size(header->title, l - offsetof(struct boot_option, title)); in efi_get_boot_option()
253 s = utf16_to_utf8(header->title, title_size); in efi_get_boot_option()
262 doff = offsetof(struct boot_option, title) + title_size; in efi_get_boot_option()
352 const char *title, in efi_add_boot_option() argument
368 title_len = (strlen(title)+1) * 2; in efi_add_boot_option()
371 buf = malloc0(offsetof(struct boot_option, title) + title_len + in efi_add_boot_option()
383 to_utf16(option->title, title); in efi_add_boot_option()
384 size = offsetof(struct boot_option, title) + title_len; in efi_add_boot_option()