Lines Matching refs:ramdisk_image
240 u64 ramdisk_image = boot_params.hdr.ramdisk_image; in get_ramdisk_image() local
242 ramdisk_image |= (u64)boot_params.ext_ramdisk_image << 32; in get_ramdisk_image()
244 if (ramdisk_image == 0) in get_ramdisk_image()
245 ramdisk_image = phys_initrd_start; in get_ramdisk_image()
247 return ramdisk_image; in get_ramdisk_image()
264 u64 ramdisk_image = get_ramdisk_image(); in relocate_initrd() local
280 copy_from_early_mem((void *)initrd_start, ramdisk_image, ramdisk_size); in relocate_initrd()
284 ramdisk_image, ramdisk_image + ramdisk_size - 1, in relocate_initrd()
291 u64 ramdisk_image = get_ramdisk_image(); in early_reserve_initrd() local
293 u64 ramdisk_end = PAGE_ALIGN(ramdisk_image + ramdisk_size); in early_reserve_initrd()
296 !ramdisk_image || !ramdisk_size) in early_reserve_initrd()
299 memblock_reserve(ramdisk_image, ramdisk_end - ramdisk_image); in early_reserve_initrd()
305 u64 ramdisk_image = get_ramdisk_image(); in reserve_initrd() local
307 u64 ramdisk_end = PAGE_ALIGN(ramdisk_image + ramdisk_size); in reserve_initrd()
310 !ramdisk_image || !ramdisk_size) in reserve_initrd()
315 printk(KERN_INFO "RAMDISK: [mem %#010llx-%#010llx]\n", ramdisk_image, in reserve_initrd()
318 if (pfn_range_is_mapped(PFN_DOWN(ramdisk_image), in reserve_initrd()
321 initrd_start = ramdisk_image + PAGE_OFFSET; in reserve_initrd()
328 memblock_free(ramdisk_image, ramdisk_end - ramdisk_image); in reserve_initrd()