/linux-6.15/arch/x86/kernel/ |
D | machine_kexec_32.c | 43 static void machine_kexec_free_page_tables(struct kimage *image) in machine_kexec_free_page_tables() argument 45 free_pages((unsigned long)image->arch.pgd, pgd_allocation_order()); in machine_kexec_free_page_tables() 46 image->arch.pgd = NULL; in machine_kexec_free_page_tables() 48 free_page((unsigned long)image->arch.pmd0); in machine_kexec_free_page_tables() 49 image->arch.pmd0 = NULL; in machine_kexec_free_page_tables() 50 free_page((unsigned long)image->arch.pmd1); in machine_kexec_free_page_tables() 51 image->arch.pmd1 = NULL; in machine_kexec_free_page_tables() 53 free_page((unsigned long)image->arch.pte0); in machine_kexec_free_page_tables() 54 image->arch.pte0 = NULL; in machine_kexec_free_page_tables() 55 free_page((unsigned long)image->arch.pte1); in machine_kexec_free_page_tables() [all …]
|
D | machine_kexec_64.c | 137 static void free_transition_pgtable(struct kimage *image) in free_transition_pgtable() argument 139 free_page((unsigned long)image->arch.p4d); in free_transition_pgtable() 140 image->arch.p4d = NULL; in free_transition_pgtable() 141 free_page((unsigned long)image->arch.pud); in free_transition_pgtable() 142 image->arch.pud = NULL; in free_transition_pgtable() 143 free_page((unsigned long)image->arch.pmd); in free_transition_pgtable() 144 image->arch.pmd = NULL; in free_transition_pgtable() 145 free_page((unsigned long)image->arch.pte); in free_transition_pgtable() 146 image->arch.pte = NULL; in free_transition_pgtable() 149 static int init_transition_pgtable(struct kimage *image, pgd_t *pgd, in init_transition_pgtable() argument [all …]
|
/linux-6.15/arch/riscv/ |
D | Makefile | 152 KBUILD_IMAGE := $(boot)/Image.gz 160 boot-image-y := Image 161 boot-image-$(CONFIG_KERNEL_BZIP2) := Image.bz2 162 boot-image-$(CONFIG_KERNEL_GZIP) := Image.gz 163 boot-image-$(CONFIG_KERNEL_LZ4) := Image.lz4 164 boot-image-$(CONFIG_KERNEL_LZMA) := Image.lzma 165 boot-image-$(CONFIG_KERNEL_LZO) := Image.lzo 166 boot-image-$(CONFIG_KERNEL_ZSTD) := Image.zst 167 boot-image-$(CONFIG_KERNEL_XZ) := Image.xz 169 boot-image-$(CONFIG_ARCH_CANAAN) := loader.bin [all …]
|
/linux-6.15/arch/arm64/boot/ |
D | Makefile | 19 targets := Image Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo \ 20 Image.zst Image.xz image.fit 22 $(obj)/Image: vmlinux FORCE 25 $(obj)/Image.bz2: $(obj)/Image FORCE 28 $(obj)/Image.gz: $(obj)/Image FORCE 31 $(obj)/Image.lz4: $(obj)/Image FORCE 34 $(obj)/Image.lzma: $(obj)/Image FORCE 37 $(obj)/Image.lzo: $(obj)/Image FORCE 40 $(obj)/Image.zst: $(obj)/Image FORCE 43 $(obj)/Image.xz: $(obj)/Image FORCE [all …]
|
/linux-6.15/kernel/ |
D | kexec_file.c | 41 static int kexec_calculate_store_digests(struct kimage *image); 51 int kexec_image_probe_default(struct kimage *image, void *buf, in kexec_image_probe_default() argument 60 image->fops = *fops; in kexec_image_probe_default() 68 static void *kexec_image_load_default(struct kimage *image) in kexec_image_load_default() argument 70 if (!image->fops || !image->fops->load) in kexec_image_load_default() 73 return image->fops->load(image, image->kernel_buf, in kexec_image_load_default() 74 image->kernel_buf_len, image->initrd_buf, in kexec_image_load_default() 75 image->initrd_buf_len, image->cmdline_buf, in kexec_image_load_default() 76 image->cmdline_buf_len); in kexec_image_load_default() 79 int kexec_image_post_load_cleanup_default(struct kimage *image) in kexec_image_post_load_cleanup_default() argument [all …]
|
D | kexec_core.c | 104 static struct page *kimage_alloc_page(struct kimage *image, 108 int sanity_check_segment_list(struct kimage *image) in sanity_check_segment_list() argument 111 unsigned long nr_segments = image->nr_segments; in sanity_check_segment_list() 118 * the new image into invalid or reserved areas of RAM. This in sanity_check_segment_list() 131 mstart = image->segment[i].mem; in sanity_check_segment_list() 132 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list() 150 mstart = image->segment[i].mem; in sanity_check_segment_list() 151 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list() 155 pstart = image->segment[j].mem; in sanity_check_segment_list() 156 pend = pstart + image->segment[j].memsz; in sanity_check_segment_list() [all …]
|
D | kexec.c | 28 struct kimage *image; in kimage_alloc_init() local 41 image = do_kimage_alloc_init(); in kimage_alloc_init() 42 if (!image) in kimage_alloc_init() 45 image->start = entry; in kimage_alloc_init() 46 image->nr_segments = nr_segments; in kimage_alloc_init() 47 memcpy(image->segment, segments, nr_segments * sizeof(*segments)); in kimage_alloc_init() 52 image->control_page = crashk_res.start; in kimage_alloc_init() 53 image->type = KEXEC_TYPE_CRASH; in kimage_alloc_init() 57 ret = sanity_check_segment_list(image); in kimage_alloc_init() 67 image->control_code_page = kimage_alloc_control_pages(image, in kimage_alloc_init() [all …]
|
/linux-6.15/drivers/staging/vme_user/ |
D | vme_user.c | 49 * 0 = /dev/bus/vme/m0 First master image 50 * 1 = /dev/bus/vme/m1 Second master image 51 * 2 = /dev/bus/vme/m2 Third master image 52 * 3 = /dev/bus/vme/m3 Fourth master image 53 * 4 = /dev/bus/vme/s0 First slave image 54 * 5 = /dev/bus/vme/s1 Second slave image 55 * 6 = /dev/bus/vme/s2 Third slave image 56 * 7 = /dev/bus/vme/s3 Fourth slave image 86 #define PCI_BUF_SIZE 0x20000 /* Size of one slave image buffer */ 89 * Structure to handle image related parameters. [all …]
|
/linux-6.15/drivers/video/fbdev/core/ |
D | fb_logo.c | 211 struct fb_image *image, int rotate) in fb_rotate_logo() argument 216 fb_rotate_logo_ud(image->data, dst, image->width, in fb_rotate_logo() 217 image->height); in fb_rotate_logo() 218 image->dx = info->var.xres - image->width - image->dx; in fb_rotate_logo() 219 image->dy = info->var.yres - image->height - image->dy; in fb_rotate_logo() 221 fb_rotate_logo_cw(image->data, dst, image->width, in fb_rotate_logo() 222 image->height); in fb_rotate_logo() 223 swap(image->width, image->height); in fb_rotate_logo() 224 tmp = image->dy; in fb_rotate_logo() 225 image->dy = image->dx; in fb_rotate_logo() [all …]
|
D | bitblit.c | 79 struct fb_image *image, u8 *buf, u8 *dst) in bit_putcs_aligned() argument 96 image->height); in bit_putcs_aligned() 99 image->height); in bit_putcs_aligned() 104 info->fbops->fb_imageblit(info, image); in bit_putcs_aligned() 111 struct fb_image *image, u8 *buf, in bit_putcs_unaligned() argument 130 image->height, shift_high, in bit_putcs_unaligned() 138 info->fbops->fb_imageblit(info, image); in bit_putcs_unaligned() 146 struct fb_image image; in bit_putcs() local 156 image.fg_color = fg; in bit_putcs() 157 image.bg_color = bg; in bit_putcs() [all …]
|
D | fbcon_ud.c | 87 struct fb_image *image, u8 *buf, u8 *dst) in ud_putcs_aligned() argument 104 image->height); in ud_putcs_aligned() 107 image->height); in ud_putcs_aligned() 112 info->fbops->fb_imageblit(info, image); in ud_putcs_aligned() 119 struct fb_image *image, u8 *buf, in ud_putcs_unaligned() argument 138 image->height, shift_high, in ud_putcs_unaligned() 146 info->fbops->fb_imageblit(info, image); in ud_putcs_unaligned() 154 struct fb_image image; in ud_putcs() local 170 image.fg_color = fg; in ud_putcs() 171 image.bg_color = bg; in ud_putcs() [all …]
|
D | fbcon_cw.c | 85 struct fb_image *image, u8 *buf, u8 *dst) in cw_putcs_aligned() argument 110 info->fbops->fb_imageblit(info, image); in cw_putcs_aligned() 117 struct fb_image image; in cw_putcs() local 132 image.fg_color = fg; in cw_putcs() 133 image.bg_color = bg; in cw_putcs() 134 image.dx = vxres - ((yy + 1) * vc->vc_font.height); in cw_putcs() 135 image.dy = xx * vc->vc_font.width; in cw_putcs() 136 image.width = vc->vc_font.height; in cw_putcs() 137 image.depth = 1; in cw_putcs() 151 image.height = vc->vc_font.width * cnt; in cw_putcs() [all …]
|
D | fbcon_ccw.c | 100 struct fb_image *image, u8 *buf, u8 *dst) in ccw_putcs_aligned() argument 125 info->fbops->fb_imageblit(info, image); in ccw_putcs_aligned() 132 struct fb_image image; in ccw_putcs() local 147 image.fg_color = fg; in ccw_putcs() 148 image.bg_color = bg; in ccw_putcs() 149 image.dx = yy * vc->vc_font.height; in ccw_putcs() 150 image.dy = vyres - ((xx + count) * vc->vc_font.width); in ccw_putcs() 151 image.width = vc->vc_font.height; in ccw_putcs() 152 image.depth = 1; in ccw_putcs() 168 image.height = vc->vc_font.width * cnt; in ccw_putcs() [all …]
|
/linux-6.15/arch/powerpc/platforms/powernv/ |
D | opal-flash.c | 27 /* Validate image status values */ 28 #define VALIDATE_IMG_READY -1001 /* Image ready for validation */ 31 /* Manage image status values */ 34 /* Flash image status values */ 36 #define FLASH_INVALID_IMG -1003 /* Flash image shorter than expected */ 41 #define FLASH_REJECT_TMP_SIDE 0 /* Reject temporary fw image */ 42 #define FLASH_COMMIT_TMP_SIDE 1 /* Commit temporary fw image */ 48 /* Validate image update result tokens */ 51 #define VALIDATE_INVALID_IMG 2 /* Candidate image is not valid */ 55 * image, and the new image is downlevel from current image [all …]
|
/linux-6.15/arch/s390/kernel/ |
D | machine_kexec_file.c | 84 static int kexec_file_update_purgatory(struct kimage *image, in kexec_file_update_purgatory() argument 90 if (image->type == KEXEC_TYPE_CRASH) { in kexec_file_update_purgatory() 98 ret = kexec_purgatory_get_set_symbol(image, "kernel_entry", &entry, in kexec_file_update_purgatory() 103 ret = kexec_purgatory_get_set_symbol(image, "kernel_type", &type, in kexec_file_update_purgatory() 109 if (image->type == KEXEC_TYPE_CRASH) { in kexec_file_update_purgatory() 112 ret = kexec_purgatory_get_set_symbol(image, "crash_start", in kexec_file_update_purgatory() 120 ret = kexec_purgatory_get_set_symbol(image, "crash_size", in kexec_file_update_purgatory() 129 static int kexec_file_add_purgatory(struct kimage *image, in kexec_file_add_purgatory() argument 135 buf.image = image; in kexec_file_add_purgatory() 140 if (image->type == KEXEC_TYPE_CRASH) in kexec_file_add_purgatory() [all …]
|
/linux-6.15/arch/riscv/boot/ |
D | Makefile | 21 targets := Image Image.* loader loader.o loader.lds loader.bin xipImage 35 $(obj)/Image: vmlinux.unstripped FORCE 37 $(obj)/Image: vmlinux FORCE 41 $(obj)/Image.gz: $(obj)/Image FORCE 44 $(obj)/loader.o: $(src)/loader.S $(obj)/Image 46 $(obj)/loader: $(obj)/loader.o $(obj)/Image $(obj)/loader.lds FORCE 49 $(obj)/Image.bz2: $(obj)/Image FORCE 52 $(obj)/Image.lz4: $(obj)/Image FORCE 55 $(obj)/Image.lzma: $(obj)/Image FORCE 58 $(obj)/Image.lzo: $(obj)/Image FORCE [all …]
|
/linux-6.15/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | image.c | 25 #include <subdev/bios/image.h> 30 nvbios_imagen(struct nvkm_bios *bios, struct nvbios_image *image) in nvbios_imagen() argument 39 switch ((data = nvbios_rd16(bios, image->base + 0x00))) { in nvbios_imagen() 46 image->base, data); in nvbios_imagen() 50 if (!(data = nvbios_pcirTp(bios, image->base, &ver, &hdr, &pcir))) in nvbios_imagen() 52 image->size = pcir.image_size; in nvbios_imagen() 53 image->type = pcir.image_type; in nvbios_imagen() 54 image->last = pcir.last; in nvbios_imagen() 56 if (image->type != 0x70) { in nvbios_imagen() 57 if (!(data = nvbios_npdeTp(bios, image->base, &npde))) in nvbios_imagen() [all …]
|
/linux-6.15/drivers/gpu/drm/qxl/ |
D | qxl_image.c | 35 struct qxl_drm_image *image, in qxl_allocate_chunk() argument 51 list_add_tail(&chunk->head, &image->chunk_list); in qxl_allocate_chunk() 61 struct qxl_drm_image *image; in qxl_image_alloc_objects() local 64 image = kmalloc(sizeof(struct qxl_drm_image), GFP_KERNEL); in qxl_image_alloc_objects() 65 if (!image) in qxl_image_alloc_objects() 68 INIT_LIST_HEAD(&image->chunk_list); in qxl_image_alloc_objects() 70 ret = qxl_alloc_bo_reserved(qdev, release, sizeof(struct qxl_image), &image->bo); in qxl_image_alloc_objects() 72 kfree(image); in qxl_image_alloc_objects() 76 ret = qxl_allocate_chunk(qdev, release, image, sizeof(struct qxl_data_chunk) + stride * height); in qxl_image_alloc_objects() 78 qxl_bo_unref(&image->bo); in qxl_image_alloc_objects() [all …]
|
/linux-6.15/Documentation/arch/powerpc/ |
D | bootwrapper.rst | 7 PowerPC image targets compresses and wraps the kernel image (vmlinux) with 10 be adaptable for each kind of image that needs to be built. 13 Makefile in that directory has targets for all the available image types. 14 The different image types are used to support all of the various firmware 19 firmware interface requires a different image format. 23 image. The details of the build system is discussed in the next section. 24 Currently, the following image format targets exist: 29 tree). This image embeds a device tree blob inside 30 the image. The boot wrapper, kernel and device tree 48 inside the image instead of provided by firmware. The [all …]
|
/linux-6.15/arch/x86/entry/vdso/ |
D | vma.c | 38 int __init init_vdso_image(const struct vdso_image *image) in init_vdso_image() argument 41 BUG_ON(image->size % PAGE_SIZE != 0); in init_vdso_image() 43 apply_alternatives((struct alt_instr *)(image->data + image->alt), in init_vdso_image() 44 (struct alt_instr *)(image->data + image->alt + in init_vdso_image() 45 image->alt_len)); in init_vdso_image() 55 const struct vdso_image *image = vma->vm_mm->context.vdso_image; in vdso_fault() local 57 if (!image || (vmf->pgoff << PAGE_SHIFT) >= image->size) in vdso_fault() 60 vmf->page = virt_to_page(image->data + (vmf->pgoff << PAGE_SHIFT)); in vdso_fault() 65 static void vdso_fix_landing(const struct vdso_image *image, in vdso_fix_landing() argument 69 if (in_ia32_syscall() && image == &vdso_image_32) { in vdso_fix_landing() [all …]
|
/linux-6.15/arch/powerpc/boot/ |
D | Makefile | 15 # needed to build the 32 bit image. That's normally the same 276 image-$(CONFIG_PPC_PSERIES) += zImage.pseries 277 image-$(CONFIG_PPC_POWERNV) += zImage.pseries 278 image-$(CONFIG_PPC_PS3) += dtbImage.ps3 279 image-$(CONFIG_PPC_CHRP) += zImage.chrp 280 image-$(CONFIG_PPC_EFIKA) += zImage.chrp 281 image-$(CONFIG_PPC_PMAC) += zImage.pmac 282 image-$(CONFIG_PPC_HOLLY) += dtbImage.holly 283 image-$(CONFIG_DEFAULT_UIMAGE) += uImage 284 image-$(CONFIG_EPAPR_BOOT) += zImage.epapr [all …]
|
/linux-6.15/arch/arm64/kernel/ |
D | machine_kexec_file.c | 30 int arch_kimage_file_post_load_cleanup(struct kimage *image) in arch_kimage_file_post_load_cleanup() argument 32 kvfree(image->arch.dtb); in arch_kimage_file_post_load_cleanup() 33 image->arch.dtb = NULL; in arch_kimage_file_post_load_cleanup() 35 vfree(image->elf_headers); in arch_kimage_file_post_load_cleanup() 36 image->elf_headers = NULL; in arch_kimage_file_post_load_cleanup() 37 image->elf_headers_sz = 0; in arch_kimage_file_post_load_cleanup() 39 return kexec_image_post_load_cleanup_default(image); in arch_kimage_file_post_load_cleanup() 87 * Tries to add the initrd and DTB to the image. If it is not possible to find 88 * valid locations, this function will undo changes to the image and return non 91 int load_other_segments(struct kimage *image, in load_other_segments() argument [all …]
|
/linux-6.15/arch/powerpc/kexec/ |
D | file_load_64.c | 52 int arch_check_excluded_range(struct kimage *image, unsigned long start, in arch_check_excluded_range() argument 58 emem = image->arch.exclude_ranges; in arch_check_excluded_range() 339 * @image: Kexec image. 344 static int load_backup_segment(struct kimage *image, struct kexec_buf *kbuf) in load_backup_segment() argument 372 image->arch.backup_buf = buf; in load_backup_segment() 373 image->arch.backup_start = kbuf->mem; in load_backup_segment() 380 * @image: Kexec image. 388 static void update_backup_region_phdr(struct kimage *image, Elf64_Ehdr *ehdr) in update_backup_region_phdr() argument 396 phdr->p_offset = image->arch.backup_start; in update_backup_region_phdr() 398 image->arch.backup_start); in update_backup_region_phdr() [all …]
|
/linux-6.15/arch/riscv/kernel/ |
D | machine_kexec.c | 25 * provided us with an image to be loaded. Its goal is to validate 26 * the image and prepare the control code buffer as needed. 31 machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument 33 struct kimage_arch *internal = &image->arch; in machine_kexec_prepare() 40 for (i = 0; i < image->nr_segments; i++) { in machine_kexec_prepare() 41 if (image->segment[i].memsz <= sizeof(fdt)) in machine_kexec_prepare() 44 if (image->file_mode) in machine_kexec_prepare() 45 memcpy(&fdt, image->segment[i].buf, sizeof(fdt)); in machine_kexec_prepare() 46 else if (copy_from_user(&fdt, image->segment[i].buf, sizeof(fdt))) in machine_kexec_prepare() 52 internal->fdt_addr = (unsigned long) image->segment[i].mem; in machine_kexec_prepare() [all …]
|
/linux-6.15/arch/powerpc/boot/dts/fsl/ |
D | c293pcie.dts | 83 /* 1MB for DTB Image */ 85 label = "NOR DTB Image"; 89 /* 8 MB for Linux Kernel Image */ 91 label = "NOR Linux Kernel Image"; 97 label = "NOR Rootfs Image"; 107 /* 512KB for u-boot Bootloader Image and evn */ 109 label = "NOR U-Boot Image"; 122 /* 1MB for u-boot Bootloader Image */ 124 label = "NAND U-Boot Image"; 129 /* 1MB for DTB Image */ [all …]
|