Lines Matching defs:alloc_size
40 static unsigned long alloc_preferred_address(unsigned long alloc_size)
46 alloc_size / EFI_PAGE_SIZE, &efi_addr) == EFI_SUCCESS)
53 unsigned long alloc_size)
68 unsigned long image_base, alloc_size;
93 alloc_size = round_up(get_unaligned_le32(_gzdata_end - 4),
98 image_base = alloc_preferred_address(alloc_size);
121 status = efi_random_alloc(alloc_size, min_kimg_align, &image_base,
131 (void *)image_base, alloc_size, NULL, error);
138 efi_cache_sync_image(image_base, alloc_size);
143 efi_free(alloc_size, image_base);