Lines Matching refs:status
45 efi_status_t status;
54 status = efi_call_proto(volume, open, &fh, fi->filename,
56 if (status != EFI_SUCCESS) {
58 return status;
62 status = efi_call_proto(fh, get_info, &info_guid, &info_sz, fi);
63 if (status != EFI_SUCCESS) {
66 return status;
79 efi_status_t status;
81 status = efi_bs_call(handle_protocol, efi_table_attr(image, device_handle),
83 if (status != EFI_SUCCESS) {
85 return status;
88 status = efi_call_proto(io, open_volume, fh);
89 if (status != EFI_SUCCESS)
92 return status;
138 efi_status_t status;
171 status = efi_call_proto(io, open_volume, volume);
172 if (status != EFI_SUCCESS)
175 return status;
199 efi_status_t status;
227 status = efi_open_device_path(&volume, &fi);
228 if (status == EFI_UNSUPPORTED || status == EFI_NOT_FOUND)
230 status = efi_open_volume(image, &volume);
232 if (status != EFI_SUCCESS)
235 status = efi_open_file(volume, &fi, &file, &size);
236 if (status != EFI_SUCCESS)
249 status = EFI_OUT_OF_RESOURCES;
251 status = efi_allocate_pages(alloc_size + size,
254 if (status == EFI_OUT_OF_RESOURCES)
255 status = efi_allocate_pages(alloc_size + size,
258 if (status != EFI_SUCCESS) {
281 status = efi_call_proto(file, read, &chunksize, addr);
282 if (status != EFI_SUCCESS) {
308 return status;