Lines Matching refs:status
75 int status; in update_fdt() local
96 status = fdt_open_into(orig_fdt, fdt, new_fdt_size); in update_fdt()
98 status = fdt_create_empty_tree(fdt, new_fdt_size); in update_fdt()
99 if (status == 0) { in update_fdt()
108 if (status != 0) in update_fdt()
124 status = node; in update_fdt()
130 status = fdt_setprop(fdt, node, "bootargs", cmdline_ptr, in update_fdt()
132 if (status) in update_fdt()
140 status = fdt_setprop_var(fdt, node, "linux,uefi-system-table", in update_fdt()
142 if (status) in update_fdt()
147 status = fdt_setprop_var(fdt, node, "linux,uefi-mmap-start", fdt_val64); in update_fdt()
148 if (status) in update_fdt()
153 status = fdt_setprop_var(fdt, node, "linux,uefi-mmap-size", fdt_val32); in update_fdt()
154 if (status) in update_fdt()
157 status = fdt_setprop_var(fdt, node, "linux,uefi-mmap-desc-size", in update_fdt()
159 if (status) in update_fdt()
162 status = fdt_setprop_var(fdt, node, "linux,uefi-mmap-desc-ver", in update_fdt()
164 if (status) in update_fdt()
177 status = fdt_setprop_var(fdt, node, "kaslr-seed", in update_fdt()
179 if (status) in update_fdt()
190 if (status == -FDT_ERR_NOSPACE) in update_fdt()
230 efi_status_t status; in allocate_new_fdt_and_exit_boot() local
235 status = efi_alloc_virtmap(&priv.runtime_map, &desc_size, in allocate_new_fdt_and_exit_boot()
237 if (status != EFI_SUCCESS) { in allocate_new_fdt_and_exit_boot()
239 return status; in allocate_new_fdt_and_exit_boot()
279 status = efi_allocate_pages(MAX_FDT_SIZE, new_fdt_addr, ULONG_MAX); in allocate_new_fdt_and_exit_boot()
280 if (status != EFI_SUCCESS) { in allocate_new_fdt_and_exit_boot()
286 status = update_fdt((void *)fdt_addr, fdt_size, (void *)*new_fdt_addr, in allocate_new_fdt_and_exit_boot()
289 if (status != EFI_SUCCESS) { in allocate_new_fdt_and_exit_boot()
297 status = efi_exit_boot_services(handle, &priv, exit_boot_func); in allocate_new_fdt_and_exit_boot()
299 if (status == EFI_SUCCESS) { in allocate_new_fdt_and_exit_boot()
307 status = svam(priv.runtime_entry_count * desc_size, desc_size, in allocate_new_fdt_and_exit_boot()
314 if (status != EFI_SUCCESS) { in allocate_new_fdt_and_exit_boot()
354 efi_status_t status; in efi_boot_kernel() local
358 status = load_elf(payload_info); in efi_boot_kernel()
360 if (status != EFI_SUCCESS) { in efi_boot_kernel()
362 status); in efi_boot_kernel()
363 return status; in efi_boot_kernel()
367 status = allocate_new_fdt_and_exit_boot(handle, loaded_image, &fdt_addr, in efi_boot_kernel()
369 if (status != EFI_SUCCESS) { in efi_boot_kernel()
371 return status; in efi_boot_kernel()