Home
last modified time | relevance | path

Searched full:image (Results 1 – 25 of 3729) sorted by relevance

12345678910>>...150

/kernel/linux/linux-5.10/arch/x86/kernel/
Dmachine_kexec_32.c54 static void machine_kexec_free_page_tables(struct kimage *image) in machine_kexec_free_page_tables() argument
56 free_pages((unsigned long)image->arch.pgd, PGD_ALLOCATION_ORDER); in machine_kexec_free_page_tables()
57 image->arch.pgd = NULL; in machine_kexec_free_page_tables()
59 free_page((unsigned long)image->arch.pmd0); in machine_kexec_free_page_tables()
60 image->arch.pmd0 = NULL; in machine_kexec_free_page_tables()
61 free_page((unsigned long)image->arch.pmd1); in machine_kexec_free_page_tables()
62 image->arch.pmd1 = NULL; in machine_kexec_free_page_tables()
64 free_page((unsigned long)image->arch.pte0); in machine_kexec_free_page_tables()
65 image->arch.pte0 = NULL; in machine_kexec_free_page_tables()
66 free_page((unsigned long)image->arch.pte1); in machine_kexec_free_page_tables()
[all …]
/kernel/linux/linux-4.19/arch/x86/kernel/
Dmachine_kexec_32.c57 static void machine_kexec_free_page_tables(struct kimage *image) in machine_kexec_free_page_tables() argument
59 free_pages((unsigned long)image->arch.pgd, PGD_ALLOCATION_ORDER); in machine_kexec_free_page_tables()
60 image->arch.pgd = NULL; in machine_kexec_free_page_tables()
62 free_page((unsigned long)image->arch.pmd0); in machine_kexec_free_page_tables()
63 image->arch.pmd0 = NULL; in machine_kexec_free_page_tables()
64 free_page((unsigned long)image->arch.pmd1); in machine_kexec_free_page_tables()
65 image->arch.pmd1 = NULL; in machine_kexec_free_page_tables()
67 free_page((unsigned long)image->arch.pte0); in machine_kexec_free_page_tables()
68 image->arch.pte0 = NULL; in machine_kexec_free_page_tables()
69 free_page((unsigned long)image->arch.pte1); in machine_kexec_free_page_tables()
[all …]
Dmachine_kexec_64.c39 static void free_transition_pgtable(struct kimage *image) in free_transition_pgtable() argument
41 free_page((unsigned long)image->arch.p4d); in free_transition_pgtable()
42 image->arch.p4d = NULL; in free_transition_pgtable()
43 free_page((unsigned long)image->arch.pud); in free_transition_pgtable()
44 image->arch.pud = NULL; in free_transition_pgtable()
45 free_page((unsigned long)image->arch.pmd); in free_transition_pgtable()
46 image->arch.pmd = NULL; in free_transition_pgtable()
47 free_page((unsigned long)image->arch.pte); in free_transition_pgtable()
48 image->arch.pte = NULL; in free_transition_pgtable()
51 static int init_transition_pgtable(struct kimage *image, pgd_t *pgd) in init_transition_pgtable() argument
[all …]
/kernel/linux/linux-5.10/drivers/staging/vme/devices/
Dvme_user.c49 * 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 …]
/kernel/linux/linux-4.19/drivers/staging/vme/devices/
Dvme_user.c49 * 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 …]
/kernel/linux/linux-5.10/kernel/
Dkexec_file.c32 static int kexec_calculate_store_digests(struct kimage *image);
39 int kexec_image_probe_default(struct kimage *image, void *buf, in kexec_image_probe_default() argument
48 image->fops = *fops; in kexec_image_probe_default()
57 int __weak arch_kexec_kernel_image_probe(struct kimage *image, void *buf, in arch_kexec_kernel_image_probe() argument
60 return kexec_image_probe_default(image, buf, buf_len); in arch_kexec_kernel_image_probe()
63 static void *kexec_image_load_default(struct kimage *image) in kexec_image_load_default() argument
65 if (!image->fops || !image->fops->load) in kexec_image_load_default()
68 return image->fops->load(image, image->kernel_buf, in kexec_image_load_default()
69 image->kernel_buf_len, image->initrd_buf, in kexec_image_load_default()
70 image->initrd_buf_len, image->cmdline_buf, in kexec_image_load_default()
[all …]
Dkexec_core.c144 static struct page *kimage_alloc_page(struct kimage *image,
148 int sanity_check_segment_list(struct kimage *image) in sanity_check_segment_list() argument
151 unsigned long nr_segments = image->nr_segments; in sanity_check_segment_list()
158 * the new image into invalid or reserved areas of RAM. This in sanity_check_segment_list()
171 mstart = image->segment[i].mem; in sanity_check_segment_list()
172 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
190 mstart = image->segment[i].mem; in sanity_check_segment_list()
191 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
195 pstart = image->segment[j].mem; in sanity_check_segment_list()
196 pend = pstart + image->segment[j].memsz; in sanity_check_segment_list()
[all …]
Dkexec.c22 static int copy_user_segment_list(struct kimage *image, in copy_user_segment_list() argument
30 image->nr_segments = nr_segments; in copy_user_segment_list()
32 ret = copy_from_user(image->segment, segments, segment_bytes); in copy_user_segment_list()
45 struct kimage *image; in kimage_alloc_init() local
56 image = do_kimage_alloc_init(); in kimage_alloc_init()
57 if (!image) in kimage_alloc_init()
60 image->start = entry; in kimage_alloc_init()
62 ret = copy_user_segment_list(image, nr_segments, segments); in kimage_alloc_init()
68 image->control_page = crashk_res.start; in kimage_alloc_init()
69 image->type = KEXEC_TYPE_CRASH; in kimage_alloc_init()
[all …]
/kernel/linux/linux-4.19/kernel/
Dkexec_file.c34 static int kexec_calculate_store_digests(struct kimage *image);
41 int kexec_image_probe_default(struct kimage *image, void *buf, in kexec_image_probe_default() argument
50 image->fops = *fops; in kexec_image_probe_default()
59 int __weak arch_kexec_kernel_image_probe(struct kimage *image, void *buf, in arch_kexec_kernel_image_probe() argument
62 return kexec_image_probe_default(image, buf, buf_len); in arch_kexec_kernel_image_probe()
65 static void *kexec_image_load_default(struct kimage *image) in kexec_image_load_default() argument
67 if (!image->fops || !image->fops->load) in kexec_image_load_default()
70 return image->fops->load(image, image->kernel_buf, in kexec_image_load_default()
71 image->kernel_buf_len, image->initrd_buf, in kexec_image_load_default()
72 image->initrd_buf_len, image->cmdline_buf, in kexec_image_load_default()
[all …]
Dkexec_core.c146 static struct page *kimage_alloc_page(struct kimage *image,
150 int sanity_check_segment_list(struct kimage *image) in sanity_check_segment_list() argument
153 unsigned long nr_segments = image->nr_segments; in sanity_check_segment_list()
159 * the new image into invalid or reserved areas of RAM. This in sanity_check_segment_list()
172 mstart = image->segment[i].mem; in sanity_check_segment_list()
173 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
191 mstart = image->segment[i].mem; in sanity_check_segment_list()
192 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
196 pstart = image->segment[j].mem; in sanity_check_segment_list()
197 pend = pstart + image->segment[j].memsz; in sanity_check_segment_list()
[all …]
Dkexec.c24 static int copy_user_segment_list(struct kimage *image, in copy_user_segment_list() argument
32 image->nr_segments = nr_segments; in copy_user_segment_list()
34 ret = copy_from_user(image->segment, segments, segment_bytes); in copy_user_segment_list()
47 struct kimage *image; in kimage_alloc_init() local
58 image = do_kimage_alloc_init(); in kimage_alloc_init()
59 if (!image) in kimage_alloc_init()
62 image->start = entry; in kimage_alloc_init()
64 ret = copy_user_segment_list(image, nr_segments, segments); in kimage_alloc_init()
70 image->control_page = crashk_res.start; in kimage_alloc_init()
71 image->type = KEXEC_TYPE_CRASH; in kimage_alloc_init()
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/
DMakefile19 targets := Image Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo
21 $(obj)/Image: vmlinux FORCE
24 $(obj)/Image.bz2: $(obj)/Image FORCE
27 $(obj)/Image.gz: $(obj)/Image FORCE
30 $(obj)/Image.lz4: $(obj)/Image FORCE
33 $(obj)/Image.lzma: $(obj)/Image FORCE
36 $(obj)/Image.lzo: $(obj)/Image FORCE
41 $(obj)/Image System.map "$(INSTALL_PATH)"
45 $(obj)/Image.gz System.map "$(INSTALL_PATH)"
/kernel/linux/linux-4.19/arch/arm64/boot/
DMakefile19 targets := Image Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo
21 $(obj)/Image: vmlinux FORCE
24 $(obj)/Image.bz2: $(obj)/Image FORCE
27 $(obj)/Image.gz: $(obj)/Image FORCE
30 $(obj)/Image.lz4: $(obj)/Image FORCE
33 $(obj)/Image.lzma: $(obj)/Image FORCE
36 $(obj)/Image.lzo: $(obj)/Image FORCE
41 $(obj)/Image System.map "$(INSTALL_PATH)"
45 $(obj)/Image.gz System.map "$(INSTALL_PATH)"
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dopal-flash.c27 /* 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 …]
/kernel/linux/linux-4.19/arch/powerpc/platforms/powernv/
Dopal-flash.c31 /* Validate image status values */
32 #define VALIDATE_IMG_READY -1001 /* Image ready for validation */
35 /* Manage image status values */
38 /* Flash image status values */
40 #define FLASH_INVALID_IMG -1003 /* Flash image shorter than expected */
45 #define FLASH_REJECT_TMP_SIDE 0 /* Reject temporary fw image */
46 #define FLASH_COMMIT_TMP_SIDE 1 /* Commit temporary fw image */
52 /* Validate image update result tokens */
55 #define VALIDATE_INVALID_IMG 2 /* Candidate image is not valid */
59 * image, and the new image is downlevel from current image
[all …]
/kernel/linux/linux-5.10/arch/s390/kernel/
Dmachine_kexec_file.c73 static int kexec_file_update_purgatory(struct kimage *image, in kexec_file_update_purgatory() argument
79 if (image->type == KEXEC_TYPE_CRASH) { in kexec_file_update_purgatory()
87 ret = kexec_purgatory_get_set_symbol(image, "kernel_entry", &entry, in kexec_file_update_purgatory()
92 ret = kexec_purgatory_get_set_symbol(image, "kernel_type", &type, in kexec_file_update_purgatory()
97 if (image->type == KEXEC_TYPE_CRASH) { in kexec_file_update_purgatory()
100 ret = kexec_purgatory_get_set_symbol(image, "crash_start", in kexec_file_update_purgatory()
108 ret = kexec_purgatory_get_set_symbol(image, "crash_size", in kexec_file_update_purgatory()
116 static int kexec_file_add_purgatory(struct kimage *image, in kexec_file_add_purgatory() argument
122 buf.image = image; in kexec_file_add_purgatory()
126 if (image->type == KEXEC_TYPE_CRASH) in kexec_file_add_purgatory()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dimage.c25 #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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dimage.c25 #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 …]
/kernel/linux/linux-4.19/Documentation/powerpc/
Dbootwrapper.txt5 PowerPC image targets compresses and wraps the kernel image (vmlinux) with
8 be adaptable for each kind of image that needs to be built.
11 Makefile in that directory has targets for all the available image types.
12 The different image types are used to support all of the various firmware
17 firmware interface requires a different image format.
21 image. The details of the build system is discussed in the next section.
22 Currently, the following image format targets exist:
26 tree). This image embeds a device tree blob inside
27 the image. The boot wrapper, kernel and device tree
43 inside the image instead of provided by firmware. The
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/qxl/
Dqxl_image.c35 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_image.c35 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 …]
/kernel/linux/linux-4.19/arch/x86/entry/vdso/
Dvma.c31 void __init init_vdso_image(const struct vdso_image *image) in init_vdso_image() argument
33 BUG_ON(image->size % PAGE_SIZE != 0); in init_vdso_image()
35 apply_alternatives((struct alt_instr *)(image->data + image->alt), in init_vdso_image()
36 (struct alt_instr *)(image->data + image->alt + in init_vdso_image()
37 image->alt_len)); in init_vdso_image()
45 const struct vdso_image *image = vma->vm_mm->context.vdso_image; in vdso_fault() local
47 if (!image || (vmf->pgoff << PAGE_SHIFT) >= image->size) in vdso_fault()
50 vmf->page = virt_to_page(image->data + (vmf->pgoff << PAGE_SHIFT)); in vdso_fault()
55 static void vdso_fix_landing(const struct vdso_image *image, in vdso_fix_landing() argument
59 if (in_ia32_syscall() && image == &vdso_image_32) { in vdso_fix_landing()
[all …]
/kernel/linux/linux-4.19/drivers/video/fbdev/core/
Dbitblit.c80 struct fb_image *image, u8 *buf, u8 *dst) in bit_putcs_aligned() argument
97 image->height); in bit_putcs_aligned()
100 image->height); in bit_putcs_aligned()
105 info->fbops->fb_imageblit(info, image); in bit_putcs_aligned()
112 struct fb_image *image, u8 *buf, in bit_putcs_unaligned() argument
131 image->height, shift_high, in bit_putcs_unaligned()
139 info->fbops->fb_imageblit(info, image); in bit_putcs_unaligned()
147 struct fb_image image; in bit_putcs() local
157 image.fg_color = fg; in bit_putcs()
158 image.bg_color = bg; in bit_putcs()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dbitblit.c80 struct fb_image *image, u8 *buf, u8 *dst) in bit_putcs_aligned() argument
97 image->height); in bit_putcs_aligned()
100 image->height); in bit_putcs_aligned()
105 info->fbops->fb_imageblit(info, image); in bit_putcs_aligned()
112 struct fb_image *image, u8 *buf, in bit_putcs_unaligned() argument
131 image->height, shift_high, in bit_putcs_unaligned()
139 info->fbops->fb_imageblit(info, image); in bit_putcs_unaligned()
147 struct fb_image image; in bit_putcs() local
157 image.fg_color = fg; in bit_putcs()
158 image.bg_color = bg; in bit_putcs()
[all …]
/kernel/linux/linux-5.10/Documentation/powerpc/
Dbootwrapper.rst7 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 …]

12345678910>>...150