Lines Matching refs:varnamearg
392 efi_print_shell_str(const CHAR16 *varnamearg __unused, uint8_t *data, in efi_print_shell_str()
446 efi_print_mem_type(const CHAR16 *varnamearg __unused, uint8_t *data, in efi_print_mem_type()
472 efi_print_freebsd(const CHAR16 *varnamearg, uint8_t *data, in efi_print_freebsd() argument
478 if (ucs2_to_utf8(varnamearg, &var) != 0) in efi_print_freebsd()
498 efi_print_global(const CHAR16 *varnamearg, uint8_t *data, UINTN datasz) in efi_print_global() argument
503 if (ucs2_to_utf8(varnamearg, &var) != 0) in efi_print_global()
668 efi_print_var(CHAR16 *varnamearg, EFI_GUID *matchguid, int lflag) in efi_print_var() argument
679 status = RS->GetVariable(varnamearg, matchguid, &attr, &datasz, NULL); in efi_print_var()
691 status = RS->GetVariable(varnamearg, matchguid, &attr, &datasz, data); in efi_print_var()
705 printf(" %S", varnamearg); in efi_print_var()
709 rv = efi_print_global(varnamearg, data, datasz); in efi_print_var()
711 rv = efi_print_freebsd(varnamearg, data, datasz); in efi_print_var()
714 rv = efi_print_mem_type(varnamearg, data, datasz); in efi_print_var()
717 rv = efi_print_shell_str(varnamearg, data, datasz); in efi_print_var()
758 CHAR16 varnamearg[128]; in command_efi_show() local
783 if (strlen(optarg) >= nitems(varnamearg)) { in command_efi_show()
785 "characters\n", optarg, nitems(varnamearg)); in command_efi_show()
788 cpy8to16(optarg, varnamearg, nitems(varnamearg)); in command_efi_show()
813 rv = efi_print_var(varnamearg, &matchguid, lflag); in command_efi_show()
822 if (strlen(optarg) >= nitems(varnamearg)) { in command_efi_show()
824 optarg, nitems(varnamearg)); in command_efi_show()
829 varnamearg[i] = optarg[i]; in command_efi_show()
830 varnamearg[i] = 0; in command_efi_show()
837 rv = efi_print_var(varnamearg, &matchguid, lflag); in command_efi_show()
897 if (wcscmp(varnamearg, varname) == 0) { in command_efi_show()