Home
last modified time | relevance | path

Searched refs:load_option (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/lib/efi_loader/
H A Defi_bootmgr.c129 void *load_option, *image = NULL; in try_load_entry() local
137 load_option = get_var(varname, &efi_global_variable_guid, &size); in try_load_entry()
138 if (!load_option) in try_load_entry()
141 efi_deserialize_load_option(&lo, load_option); in try_load_entry()
159 free(load_option); in try_load_entry()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_hdr_options.c130 static int load_option(struct bpf_sock_ops *skops, in load_option() function
170 err = load_option(skops, &test_opt, true); in synack_opt_len()
421 err = load_option(skops, &active_estab_in, false); in handle_active_estab()
473 err = load_option(skops, &passive_estab_in, true); in handle_passive_estab()
479 err = load_option(skops, &passive_estab_in, false); in handle_passive_estab()
589 err = load_option(skops, fin_opt, false); in handle_parse_hdr()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Defi-stub-helper.c182 const efi_load_option_t *load_option = *load_options; in efi_apply_loadoptions_quirk() local
187 if (!load_option) in efi_apply_loadoptions_quirk()
189 if (*load_options_size < sizeof(*load_option)) in efi_apply_loadoptions_quirk()
191 if ((load_option->attributes & ~EFI_LOAD_OPTION_BOOT_MASK) != 0) in efi_apply_loadoptions_quirk()
194 if (!efi_load_option_unpack(&load_option_unpacked, load_option, *load_options_size)) in efi_apply_loadoptions_quirk()