Lines Matching refs:initrd_start
590 initrd_start = initrd_end = 0; in reserve_initrd_mem()
618 initrd_start = (unsigned long)__va(phys_initrd_start); in reserve_initrd_mem()
619 initrd_end = initrd_start + phys_initrd_size; in reserve_initrd_mem()
625 initrd_start = 0; in reserve_initrd_mem()
652 if (initrd_start >= crashk_end || initrd_end <= crashk_start) in kexec_free_initrd()
658 memset((void *)initrd_start, 0, initrd_end - initrd_start); in kexec_free_initrd()
659 if (initrd_start < crashk_start) in kexec_free_initrd()
660 free_initrd_mem(initrd_start, crashk_start); in kexec_free_initrd()
687 written = xwrite(file, (char *)initrd_start, initrd_end - initrd_start, in populate_initrd_image()
689 if (written != initrd_end - initrd_start) in populate_initrd_image()
691 written, initrd_end - initrd_start); in populate_initrd_image()
703 if (!initrd_start || IS_ENABLED(CONFIG_INITRAMFS_FORCE)) in do_populate_rootfs()
711 err = unpack_to_rootfs((char *)initrd_start, initrd_end - initrd_start); in do_populate_rootfs()
725 if (!do_retain_initrd && initrd_start && !kexec_free_initrd()) in do_populate_rootfs()
726 free_initrd_mem(initrd_start, initrd_end); in do_populate_rootfs()
727 initrd_start = 0; in do_populate_rootfs()