Home
last modified time | relevance | path

Searched refs:image (Results 1 – 25 of 782) sorted by relevance

12345678910>>...32

/linux-6.3-rc2/arch/x86/kernel/
A Dmachine_kexec_32.c46 image->arch.pgd = NULL; in machine_kexec_free_page_tables()
49 image->arch.pmd0 = NULL; in machine_kexec_free_page_tables()
51 image->arch.pmd1 = NULL; in machine_kexec_free_page_tables()
54 image->arch.pte0 = NULL; in machine_kexec_free_page_tables()
69 if (!image->arch.pgd || in machine_kexec_alloc_page_tables()
71 !image->arch.pmd0 || !image->arch.pmd1 || in machine_kexec_alloc_page_tables()
73 !image->arch.pte0 || !image->arch.pte1) { in machine_kexec_alloc_page_tables()
110 image->arch.pgd, pmd, image->arch.pte0, in machine_kexec_prepare_page_tables()
116 image->arch.pgd, pmd, image->arch.pte1, in machine_kexec_prepare_page_tables()
228 image->start = relocate_kernel_ptr((unsigned long)image->head, in machine_kexec()
[all …]
A Dmachine_kexec_64.c116 image->arch.p4d = NULL; in free_transition_pgtable()
118 image->arch.pud = NULL; in free_transition_pgtable()
120 image->arch.pmd = NULL; in free_transition_pgtable()
122 image->arch.pte = NULL; in free_transition_pgtable()
142 image->arch.p4d = p4d; in init_transition_pgtable()
199 .context = image, in init_pgtable()
360 image->start = relocate_kernel((unsigned long)image->head, in machine_kexec()
379 if (!image->fops || !image->fops->load) in arch_kexec_kernel_image_load()
382 return image->fops->load(image, image->kernel_buf, in arch_kexec_kernel_image_load()
383 image->kernel_buf_len, image->initrd_buf, in arch_kexec_kernel_image_load()
[all …]
/linux-6.3-rc2/kernel/
A Dkexec_core.c211 if (image->segment[i].bufsz > image->segment[i].memsz) in sanity_check_segment_list()
261 image = kzalloc(sizeof(*image), GFP_KERNEL); in do_kimage_alloc_init()
262 if (!image) in do_kimage_alloc_init()
265 image->head = 0; in do_kimage_alloc_init()
266 image->entry = &image->head; in do_kimage_alloc_init()
267 image->last_entry = &image->head; in do_kimage_alloc_init()
280 return image; in do_kimage_alloc_init()
541 if (image->entry == image->last_entry) { in kimage_add_entry()
556 image->entry++; in kimage_add_entry()
615 if (!image) in kimage_free()
[all …]
A Dkexec_file.c70 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()
81 if (!image->fops || !image->fops->cleanup) in kexec_image_post_load_cleanup_default()
84 return image->fops->cleanup(image->image_loader_data); in kexec_image_post_load_cleanup_default()
149 if (!image->fops || !image->fops->verify_sig) { in kexec_image_verify_sig()
162 ret = kexec_image_verify_sig(image, image->kernel_buf, in kimage_validate_signature()
412 image = xchg(dest_image, image); in SYSCALL_DEFINE5()
425 struct kimage *image = kbuf->image; in locate_mem_hole_top_down() local
[all …]
A Dkexec.c28 struct kimage *image; in kimage_alloc_init() local
40 if (!image) in kimage_alloc_init()
43 image->start = entry; in kimage_alloc_init()
63 image->control_code_page = kimage_alloc_control_pages(image, in kimage_alloc_init()
71 image->swap_page = kimage_alloc_control_pages(image, 0); in kimage_alloc_init()
72 if (!image->swap_page) { in kimage_alloc_init()
78 *rimage = image; in kimage_alloc_init()
83 kfree(image); in kimage_alloc_init()
145 ret = kimage_load_segment(image, &image->segment[i]); in do_kexec_load()
157 image = xchg(dest_image, image); in do_kexec_load()
[all …]
/linux-6.3-rc2/arch/riscv/kernel/
A Dmachine_kexec.c25 kexec_image_info(const struct kimage *image) in kexec_image_info() argument
35 for (i = 0; i < image->nr_segments; i++) { in kexec_image_info()
37 image->segment[i].mem, in kexec_image_info()
38 image->segment[i].mem + image->segment[i].memsz); in kexec_image_info()
40 (unsigned long) image->segment[i].memsz, in kexec_image_info()
55 machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument
63 kexec_image_info(image); in machine_kexec_prepare()
70 if (image->file_mode) in machine_kexec_prepare()
88 if (image->type != KEXEC_TYPE_CRASH) { in machine_kexec_prepare()
206 machine_kexec(struct kimage *image) in machine_kexec() argument
[all …]
/linux-6.3-rc2/drivers/staging/vme_user/
A Dvme_user.c127 copied = vme_master_read(image[minor].resource, image[minor].kern_buf, in resource_to_user()
147 return vme_master_write(image[minor].resource, image[minor].kern_buf, in resource_from_user()
536 image[i].pci_buf = 0; in vme_user_probe()
538 image[i].device = NULL; in vme_user_probe()
579 image[i].kern_buf = vme_alloc_consistent(image[i].resource, in vme_user_probe()
585 image[i].pci_buf = 0; in vme_user_probe()
608 image[i].kern_buf = kmalloc(image[i].size_buf, GFP_KERNEL); in vme_user_probe()
679 vme_free_consistent(image[i].resource, image[i].size_buf, in vme_user_probe()
680 image[i].kern_buf, image[i].pci_buf); in vme_user_probe()
710 vme_free_consistent(image[i].resource, image[i].size_buf, in vme_user_remove()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
A Dimage.c46 image->base, data); 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()
59 image->size = npde.image_size; in nvbios_imagen()
60 image->last = npde.last; in nvbios_imagen()
62 image->last = true; in nvbios_imagen()
72 memset(image, 0x00, sizeof(*image)); in nvbios_image()
75 image->base += image->size; in nvbios_image()
[all …]
/linux-6.3-rc2/arch/x86/entry/vdso/
A Dvma.c52 apply_alternatives((struct alt_instr *)(image->data + image->alt), in init_vdso_image()
53 (struct alt_instr *)(image->data + image->alt + in init_vdso_image()
54 image->alt_len)); in init_vdso_image()
67 if (!image || (vmf->pgoff << PAGE_SHIFT) >= image->size) in vdso_fault()
135 if (!image) in vvar_fault()
139 image->sym_vvar_start; in vvar_fault()
234 image->size - image->sym_vvar_start, 0, 0); in map_vdso()
247 image->size, in map_vdso()
324 unsigned long addr = vdso_addr(current->mm->start_stack, image->size-image->sym_vvar_start); in map_vdso_randomized()
326 return map_vdso(image, addr); in map_vdso_randomized()
[all …]
/linux-6.3-rc2/arch/s390/kernel/
A Dmachine_kexec_file.c133 buf.image = image; in kexec_file_add_purgatory()
154 buf.image = image; in kexec_file_add_initrd()
156 buf.buffer = image->initrd_buf; in kexec_file_add_initrd()
186 buf.image = image; in kexec_file_add_ipl_report()
247 ret = add_kernel(image, &data); in kexec_file_add_components()
269 image->cmdline_buf_len); in kexec_file_add_components()
276 if (image->initrd_buf) { in kexec_file_add_components()
288 restart_psw += image->start; in kexec_file_add_components()
290 image->start = 0; in kexec_file_add_components()
375 vfree(image->arch.ipl_buf); in arch_kimage_file_post_load_cleanup()
[all …]
A Dmachine_kexec.c44 static void __do_machine_kdump(void *image) in __do_machine_kdump() argument
111 store_status(__do_machine_kdump, image); in __machine_kdump()
116 struct kimage *image = (struct kimage *) addr; in do_start_kdump() local
138 unsigned long, (unsigned long)image); in kdump_csum_valid()
205 if (image->type == KEXEC_TYPE_CRASH) in machine_kexec_prepare()
209 if (image->type != KEXEC_TYPE_DEFAULT) in machine_kexec_prepare()
255 struct kimage *image = data; in __do_machine_kexec() local
265 (*data_mover)(&image->head, image->start, diag308_subcode); in __do_machine_kexec()
290 void machine_kexec(struct kimage *image) in machine_kexec() argument
292 if (image->type == KEXEC_TYPE_CRASH && !kdump_csum_valid(image)) in machine_kexec()
[all …]
A Dkexec_image.c16 static int kexec_file_add_kernel_image(struct kimage *image, in kexec_file_add_kernel_image() argument
21 buf.image = image; in kexec_file_add_kernel_image()
23 buf.buffer = image->kernel_buf; in kexec_file_add_kernel_image()
24 buf.bufsz = image->kernel_buf_len; in kexec_file_add_kernel_image()
27 if (image->type == KEXEC_TYPE_CRASH) in kexec_file_add_kernel_image()
31 data->kernel_buf = image->kernel_buf; in kexec_file_add_kernel_image()
33 data->parm = image->kernel_buf + PARMAREA; in kexec_file_add_kernel_image()
43 static void *s390_image_load(struct kimage *image, in s390_image_load() argument
48 return kexec_file_add_components(image, kexec_file_add_kernel_image); in s390_image_load()
/linux-6.3-rc2/drivers/gpu/drm/qxl/
A Dqxl_image.c61 struct qxl_drm_image *image; in qxl_image_alloc_objects() local
65 if (!image) in qxl_image_alloc_objects()
72 kfree(image); in qxl_image_alloc_objects()
78 qxl_bo_unref(&image->bo); in qxl_image_alloc_objects()
79 kfree(image); in qxl_image_alloc_objects()
82 *image_ptr = image; in qxl_image_alloc_objects()
109 struct qxl_image *image; in qxl_image_init_helper() local
193 image = ptr; in qxl_image_init_helper()
195 image->descriptor.id = 0; in qxl_image_init_helper()
219 image->u.bitmap.x = width; in qxl_image_init_helper()
[all …]
/linux-6.3-rc2/arch/powerpc/boot/
A DMakefile281 image-$(CONFIG_PPC_PS3) += dtbImage.ps3
282 image-$(CONFIG_PPC_CHRP) += zImage.chrp
283 image-$(CONFIG_PPC_EFIKA) += zImage.chrp
284 image-$(CONFIG_PPC_PMAC) += zImage.pmac
286 image-$(CONFIG_DEFAULT_UIMAGE) += uImage
310 image-$(CONFIG_WARP) += cuImage.warp
366 image-$(CONFIG_WII) += dtbImage.wii
381 image-y += $(CONFIG_EXTRA_TARGETS)
389 targets += $(image-y) $(initrd-y)
450 ifeq (,$(image-y))
[all …]
/linux-6.3-rc2/arch/sh/kernel/
A Dmachine_kexec.c41 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument
50 static void kexec_info(struct kimage *image) in kexec_info() argument
54 for (i = 0; i < image->nr_segments; i++) { in kexec_info()
57 (unsigned int)image->segment[i].mem, in kexec_info()
58 (unsigned int)image->segment[i].mem + in kexec_info()
59 image->segment[i].memsz, in kexec_info()
69 void machine_kexec(struct kimage *image) in machine_kexec() argument
92 if (image->preserve_context) in machine_kexec()
101 page_list = image->head; in machine_kexec()
111 kexec_info(image); in machine_kexec()
[all …]
/linux-6.3-rc2/drivers/video/fbdev/core/
A Dbitblit.c97 image->height); in bit_putcs_aligned()
157 image.fg_color = fg; in bit_putcs()
158 image.bg_color = bg; in bit_putcs()
162 image.depth = 1; in bit_putcs()
182 image.data = dst; in bit_putcs()
360 cursor.image.fg_color = ops->cursor_state.image.fg_color; in bit_cursor()
361 cursor.image.bg_color = ops->cursor_state.image.bg_color; in bit_cursor()
362 cursor.image.dx = ops->cursor_state.image.dx; in bit_cursor()
363 cursor.image.dy = ops->cursor_state.image.dy; in bit_cursor()
364 cursor.image.height = ops->cursor_state.image.height; in bit_cursor()
[all …]
A Dfbcon_ud.c105 image->height); in ud_putcs_aligned()
171 image.fg_color = fg; in ud_putcs()
176 image.depth = 1; in ud_putcs()
198 image.data = dst; in ud_putcs()
208 image.dx += image.width; in ud_putcs()
387 cursor.image.fg_color = ops->cursor_state.image.fg_color; in ud_cursor()
388 cursor.image.bg_color = ops->cursor_state.image.bg_color; in ud_cursor()
389 cursor.image.dx = ops->cursor_state.image.dx; in ud_cursor()
390 cursor.image.dy = ops->cursor_state.image.dy; in ud_cursor()
391 cursor.image.height = ops->cursor_state.image.height; in ud_cursor()
[all …]
A Dfbcon_cw.c133 image.fg_color = fg; in cw_putcs()
134 image.bg_color = bg; in cw_putcs()
138 image.depth = 1; in cw_putcs()
158 image.data = dst; in cw_putcs()
161 image.dy += image.height; in cw_putcs()
347 cursor.image.fg_color = ops->cursor_state.image.fg_color; in cw_cursor()
348 cursor.image.bg_color = ops->cursor_state.image.bg_color; in cw_cursor()
349 cursor.image.dx = ops->cursor_state.image.dx; in cw_cursor()
350 cursor.image.dy = ops->cursor_state.image.dy; in cw_cursor()
351 cursor.image.height = ops->cursor_state.image.height; in cw_cursor()
[all …]
A Dsoftcursor.c28 struct fb_image *image; in soft_cursor() local
34 s_pitch = (cursor->image.width + 7) >> 3; in soft_cursor()
35 dsize = s_pitch * cursor->image.height; in soft_cursor()
49 image = (struct fb_image *)ops->cursor_src; in soft_cursor()
50 *image = cursor->image; in soft_cursor()
53 size = d_pitch * image->height + buf_align; in soft_cursor()
61 src[i] = image->data[i] ^ cursor->mask[i]; in soft_cursor()
66 src[i] = image->data[i] & cursor->mask[i]; in soft_cursor()
70 memcpy(src, image->data, dsize); in soft_cursor()
73 image->data = dst; in soft_cursor()
[all …]
A Dfbcon_ccw.c148 image.fg_color = fg; in ccw_putcs()
149 image.bg_color = bg; in ccw_putcs()
153 image.depth = 1; in ccw_putcs()
175 image.data = dst; in ccw_putcs()
178 image.dy += image.height; in ccw_putcs()
364 cursor.image.fg_color = ops->cursor_state.image.fg_color; in ccw_cursor()
365 cursor.image.bg_color = ops->cursor_state.image.bg_color; in ccw_cursor()
366 cursor.image.dx = ops->cursor_state.image.dx; in ccw_cursor()
367 cursor.image.dy = ops->cursor_state.image.dy; in ccw_cursor()
368 cursor.image.height = ops->cursor_state.image.height; in ccw_cursor()
[all …]
A Dsysimgblt.c61 const u8 *src = image->data; in color_imageblit()
64 for (i = image->height; i--; ) { in color_imageblit()
65 n = image->width; in color_imageblit()
119 u32 spitch = (image->width+7)/8; in slow_imageblit()
130 j = image->width; in slow_imageblit()
225 k = image->width/ppw; in fast_imageblit()
292 u32 width = image->width; in sys_imageblit()
293 u32 dx = image->dx, dy = image->dy; in sys_imageblit()
310 if (image->depth == 1) { in sys_imageblit()
316 fgcolor = image->fg_color; in sys_imageblit()
[all …]
/linux-6.3-rc2/arch/arm64/kernel/
A Dmachine_kexec_file.c32 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()
101 kbuf.image = image; in load_other_segments()
126 image->elf_headers = headers; in load_other_segments()
127 image->elf_load_addr = kbuf.mem; in load_other_segments()
179 image->arch.dtb = dtb; in load_other_segments()
180 image->arch.dtb_mem = kbuf.mem; in load_other_segments()
[all …]
/linux-6.3-rc2/drivers/video/fbdev/savage/
A Dsavagefb_accel.c97 u32 *src = (u32 *) image->data; in savagefb_imageblit()
99 if (!image->width || !image->height) in savagefb_imageblit()
102 if (image->depth != 1) { in savagefb_imageblit()
103 cfb_imageblit(info, image); in savagefb_imageblit()
108 fg = image->fg_color; in savagefb_imageblit()
109 bg = image->bg_color; in savagefb_imageblit()
122 width = (image->width + 31) & ~31; in savagefb_imageblit()
123 size = (width * image->height)/8; in savagefb_imageblit()
128 BCI_SEND(BCI_CLIP_LR(image->dx, image->dx + image->width - 1)); in savagefb_imageblit()
131 BCI_SEND(BCI_X_Y(image->dx, image->dy)); in savagefb_imageblit()
[all …]
/linux-6.3-rc2/arch/powerpc/kexec/
A Delf_64.c27 static void *elf64_load(struct kimage *image, char *kernel_buf, in elf64_load() argument
40 struct kexec_buf kbuf = { .image = image, .buf_min = 0, in elf64_load()
42 struct kexec_buf pbuf = { .image = image, .buf_min = 0, in elf64_load()
50 if (image->type == KEXEC_TYPE_CRASH) { in elf64_load()
64 ret = kexec_load_purgatory(image, &pbuf); in elf64_load()
73 if (image->type == KEXEC_TYPE_CRASH) { in elf64_load()
74 ret = load_crashdump_segments_ppc64(image, &kbuf); in elf64_load()
81 modified_cmdline = setup_kdump_cmdline(image, cmdline, in elf64_load()
107 kexec_extra_fdt_size_ppc64(image)); in elf64_load()
114 ret = setup_new_fdt_ppc64(image, fdt, initrd_load_addr, in elf64_load()
[all …]
/linux-6.3-rc2/arch/ia64/kernel/
A Dmachine_kexec.c57 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument
64 control_code_buffer = page_address(image->control_code_page); in machine_kexec_prepare()
69 ia64_kimage = image; in machine_kexec_prepare()
74 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() argument
84 struct kimage *image = arg; in ia64_machine_kexec() local
92 BUG_ON(!image); in ia64_machine_kexec()
94 if (image->type == KEXEC_TYPE_CRASH) { in ia64_machine_kexec()
132 (*rnk)(image->head, image->start, ia64_boot_param, in ia64_machine_kexec()
137 void machine_kexec(struct kimage *image) in machine_kexec() argument
139 BUG_ON(!image); in machine_kexec()
[all …]

Completed in 42 milliseconds

12345678910>>...32