Lines Matching defs:kernel_img

576 compress_kernel_lzma (char *kernel_img, size_t kernel_size,
594 (unsigned char *) kernel_img,
603 compress_kernel_xz (char *kernel_img, size_t kernel_size,
632 strm.next_in = (unsigned char *) kernel_img;
652 compress_kernel (struct image_target_desc *image_target, char *kernel_img,
659 compress_kernel_lzma (kernel_img, kernel_size, core_img,
668 compress_kernel_xz (kernel_img, kernel_size, core_img,
679 memcpy (*core_img, kernel_img, kernel_size);
704 char *kernel_img, *core_img;
761 kernel_img = load_image32 (kernel_path, &exec_size, &kernel_size, &bss_size,
765 kernel_img = load_image64 (kernel_path, &exec_size, &kernel_size, &bss_size,
771 *((grub_uint32_t *) (kernel_img + image_target->total_module_size))
775 memmove (kernel_img + total_module_size, kernel_img, kernel_size);
782 modinfo = (struct grub_module_info64 *) kernel_img;
784 modinfo = (struct grub_module_info64 *) (kernel_img + kernel_size);
799 modinfo = (struct grub_module_info32 *) kernel_img;
801 modinfo = (struct grub_module_info32 *) (kernel_img + kernel_size);
820 header = (struct grub_module_header *) (kernel_img + offset);
825 memset (kernel_img + offset + orig_size, 0, mod_size - orig_size);
827 grub_util_load_image (p->name, kernel_img + offset);
835 header = (struct grub_module_header *) (kernel_img + offset);
841 grub_util_load_image (memdisk_path, kernel_img + offset);
849 header = (struct grub_module_header *) (kernel_img + offset);
855 grub_util_load_image (config_path, kernel_img + offset);
856 *(kernel_img + offset + config_size_pure - 1) = 0;
864 header = (struct grub_module_header *) (kernel_img + offset);
870 grub_memset (kernel_img + offset, 0, prefix_size);
871 grub_strcpy (kernel_img + offset, prefix);
875 grub_util_info ("kernel_img=%p, kernel_size=0x%x", kernel_img, kernel_size);
876 compress_kernel (image_target, kernel_img, kernel_size + total_module_size,
878 free (kernel_img);