Lines Matching refs:alloc_size
40 static unsigned long alloc_preferred_address(unsigned long alloc_size) in alloc_preferred_address() argument
46 alloc_size / EFI_PAGE_SIZE, &efi_addr) == EFI_SUCCESS) in alloc_preferred_address()
53 unsigned long alloc_size, in efi_cache_sync_image() argument
64 unsigned long image_base, alloc_size, code_size; in efi_zboot_entry() local
89 alloc_size = round_up(get_unaligned_le32(_gzdata_end - 4), in efi_zboot_entry()
98 image_base = alloc_preferred_address(alloc_size); in efi_zboot_entry()
121 status = efi_random_alloc(alloc_size, min_kimg_align, &image_base, in efi_zboot_entry()
131 (void *)image_base, alloc_size, NULL, error); in efi_zboot_entry()
138 efi_cache_sync_image(image_base, alloc_size, code_size); in efi_zboot_entry()
140 efi_remap_image(image_base, alloc_size, code_size); in efi_zboot_entry()
145 efi_free(alloc_size, image_base); in efi_zboot_entry()