Lines Matching refs:status

74 	efi_status_t status;  in efi_get_memory_map()  local
85 status = efi_call_early(allocate_pool, EFI_LOADER_DATA, in efi_get_memory_map()
87 if (status != EFI_SUCCESS) in efi_get_memory_map()
92 status = efi_call_early(get_memory_map, map_size, m, in efi_get_memory_map()
94 if (status == EFI_BUFFER_TOO_SMALL) { in efi_get_memory_map()
99 if (status != EFI_SUCCESS) in efi_get_memory_map()
102 if (key_ptr && status == EFI_SUCCESS) in efi_get_memory_map()
104 if (desc_ver && status == EFI_SUCCESS) in efi_get_memory_map()
109 return status; in efi_get_memory_map()
115 efi_status_t status; in get_dram_base() local
121 status = efi_get_memory_map(sys_table_arg, (efi_memory_desc_t **)&map.map, in get_dram_base()
123 if (status != EFI_SUCCESS) in get_dram_base()
147 efi_status_t status; in efi_high_alloc() local
152 status = efi_get_memory_map(sys_table_arg, &map, &map_size, &desc_size, in efi_high_alloc()
154 if (status != EFI_SUCCESS) in efi_high_alloc()
205 status = EFI_NOT_FOUND; in efi_high_alloc()
207 status = efi_call_early(allocate_pages, in efi_high_alloc()
210 if (status != EFI_SUCCESS) { in efi_high_alloc()
221 return status; in efi_high_alloc()
233 efi_status_t status; in efi_low_alloc() local
237 status = efi_get_memory_map(sys_table_arg, &map, &map_size, &desc_size, in efi_low_alloc()
239 if (status != EFI_SUCCESS) in efi_low_alloc()
279 status = efi_call_early(allocate_pages, in efi_low_alloc()
282 if (status == EFI_SUCCESS) { in efi_low_alloc()
289 status = EFI_NOT_FOUND; in efi_low_alloc()
293 return status; in efi_low_alloc()
369 efi_status_t status; in handle_cmdline_files() local
408 status = efi_call_early(allocate_pool, EFI_LOADER_DATA, in handle_cmdline_files()
410 if (status != EFI_SUCCESS) { in handle_cmdline_files()
450 status = efi_open_volume(sys_table_arg, image, in handle_cmdline_files()
452 if (status != EFI_SUCCESS) in handle_cmdline_files()
456 status = efi_file_size(sys_table_arg, fh, filename_16, in handle_cmdline_files()
458 if (status != EFI_SUCCESS) in handle_cmdline_files()
472 status = efi_high_alloc(sys_table_arg, file_size_total, 0x1000, in handle_cmdline_files()
474 if (status != EFI_SUCCESS) { in handle_cmdline_files()
482 status = EFI_INVALID_PARAMETER; in handle_cmdline_files()
498 status = efi_file_read(files[j].handle, in handle_cmdline_files()
501 if (status != EFI_SUCCESS) { in handle_cmdline_files()
519 return status; in handle_cmdline_files()
533 return status; in handle_cmdline_files()
554 efi_status_t status; in efi_relocate_kernel() local
574 status = efi_call_early(allocate_pages, in efi_relocate_kernel()
582 if (status != EFI_SUCCESS) { in efi_relocate_kernel()
583 status = efi_low_alloc(sys_table_arg, alloc_size, alignment, in efi_relocate_kernel()
586 if (status != EFI_SUCCESS) { in efi_relocate_kernel()
588 return status; in efi_relocate_kernel()
600 return status; in efi_relocate_kernel()
668 efi_status_t status; in efi_convert_cmdline() local
687 status = efi_low_alloc(sys_table_arg, options_bytes, 0, &cmdline_addr); in efi_convert_cmdline()
688 if (status != EFI_SUCCESS) in efi_convert_cmdline()