Lines Matching refs:status
42 efi_status_t status; in efi_get_random_bytes() local
45 status = efi_bs_call(locate_protocol, &rng_proto, NULL, (void **)&rng); in efi_get_random_bytes()
46 if (status != EFI_SUCCESS) in efi_get_random_bytes()
47 return status; in efi_get_random_bytes()
72 efi_status_t status; in efi_random_get_seed() local
74 status = efi_bs_call(locate_protocol, &rng_proto, NULL, (void **)&rng); in efi_random_get_seed()
75 if (status != EFI_SUCCESS) in efi_random_get_seed()
76 return status; in efi_random_get_seed()
83 status = efi_bs_call(allocate_pool, EFI_ACPI_RECLAIM_MEMORY, in efi_random_get_seed()
86 if (status != EFI_SUCCESS) in efi_random_get_seed()
87 return status; in efi_random_get_seed()
89 status = efi_call_proto(rng, get_rng, &rng_algo_raw, in efi_random_get_seed()
92 if (status == EFI_UNSUPPORTED) in efi_random_get_seed()
97 status = efi_call_proto(rng, get_rng, NULL, in efi_random_get_seed()
100 if (status != EFI_SUCCESS) in efi_random_get_seed()
104 status = efi_bs_call(install_configuration_table, &rng_table_guid, seed); in efi_random_get_seed()
105 if (status != EFI_SUCCESS) in efi_random_get_seed()
112 return status; in efi_random_get_seed()