Searched refs:image (Results 1 - 25 of 319) sorted by relevance

1234567891011>>

/linux-master/drivers/firmware/efi/libstub/
H A Dloongarch-stub.h4 efi_loaded_image_t *image);
H A Dloongarch-stub.c21 efi_loaded_image_t *image,
27 kernel_addr = (unsigned long)image->image_base;
39 efi_loaded_image_t *image)
41 unsigned long base = (unsigned long)image->image_base;
17 handle_kernel_image(unsigned long *image_addr, unsigned long *image_size, unsigned long *reserve_addr, unsigned long *reserve_size, efi_loaded_image_t *image, efi_handle_t image_handle) argument
38 kernel_entry_address(unsigned long kernel_addr, efi_loaded_image_t *image) argument
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dimage.c25 #include <subdev/bios/image.h>
30 nvbios_imagen(struct nvkm_bios *bios, struct nvbios_image *image) argument
39 switch ((data = nvbios_rd16(bios, image->base + 0x00))) {
46 image->base, data);
50 if (!(data = nvbios_pcirTp(bios, image->base, &ver, &hdr, &pcir)))
52 image->size = pcir.image_size;
53 image->type = pcir.image_type;
54 image->last = pcir.last;
56 if (image->type != 0x70) {
57 if (!(data = nvbios_npdeTp(bios, image
69 nvbios_image(struct nvkm_bios *bios, int idx, struct nvbios_image *image) argument
[all...]
/linux-master/arch/x86/include/asm/
H A Dcrash.h7 int crash_load_segments(struct kimage *image);
8 int crash_setup_memmap_entries(struct kimage *image,
/linux-master/arch/xtensa/boot/boot-elf/
H A Dboot.lds.S23 .image KERNELOFFSET: AT (CONFIG_KERNEL_LOAD_ADDRESS)
26 *(image)
31 .bss ((LOADADDR(.image) + SIZEOF(.image) + 3) & ~ 3):
/linux-master/kernel/
H A Dkexec_internal.h10 int sanity_check_segment_list(struct kimage *image);
12 void kimage_free(struct kimage *image);
13 int kimage_load_segment(struct kimage *image, struct kexec_segment *segment);
14 void kimage_terminate(struct kimage *image);
15 int kimage_is_destination_range(struct kimage *image,
35 void kimage_file_post_load_cleanup(struct kimage *image);
39 static inline void kimage_file_post_load_cleanup(struct kimage *image) { } argument
H A Dkexec_file.c41 static int kexec_calculate_store_digests(struct kimage *image);
51 int kexec_image_probe_default(struct kimage *image, void *buf, argument
60 image->fops = *fops;
68 static void *kexec_image_load_default(struct kimage *image) argument
70 if (!image->fops || !image->fops->load)
73 return image->fops->load(image, image->kernel_buf,
74 image
79 kexec_image_post_load_cleanup_default(struct kimage *image) argument
92 kimage_file_post_load_cleanup(struct kimage *image) argument
148 kexec_image_verify_sig(struct kimage *image, void *buf, unsigned long buf_len) argument
160 kimage_validate_signature(struct kimage *image) argument
194 kimage_file_prepare_segments(struct kimage *image, int kernel_fd, int initrd_fd, const char __user *cmdline_ptr, unsigned long cmdline_len, unsigned flags) argument
278 struct kimage *image; local
338 struct kimage **dest_image, *image; local
438 struct kimage *image = kbuf->image; local
476 struct kimage *image = kbuf->image; local
696 kexec_calculate_store_digests(struct kimage *image) argument
962 kexec_apply_relocations(struct kimage *image) argument
1033 kexec_load_purgatory(struct kimage *image, struct kexec_buf *kbuf) argument
1120 kexec_purgatory_get_symbol_addr(struct kimage *image, const char *name) argument
1143 kexec_purgatory_get_set_symbol(struct kimage *image, const char *name, void *buf, unsigned int size, bool get_value) argument
[all...]
H A Dkexec.c28 struct kimage *image; local
41 image = do_kimage_alloc_init();
42 if (!image)
45 image->start = entry;
46 image->nr_segments = nr_segments;
47 memcpy(image->segment, segments, nr_segments * sizeof(*segments));
52 image->control_page = crashk_res.start;
53 image->type = KEXEC_TYPE_CRASH;
57 ret = sanity_check_segment_list(image);
67 image
94 struct kimage **dest_image, *image; local
[all...]
H A Dkexec_core.c104 static struct page *kimage_alloc_page(struct kimage *image,
108 int sanity_check_segment_list(struct kimage *image) argument
111 unsigned long nr_segments = image->nr_segments;
118 * the new image into invalid or reserved areas of RAM. This
131 mstart = image->segment[i].mem;
132 mend = mstart + image->segment[i].memsz;
150 mstart = image->segment[i].mem;
151 mend = mstart + image->segment[i].memsz;
155 pstart = image->segment[j].mem;
156 pend = pstart + image
218 struct kimage *image; local
249 kimage_is_destination_range(struct kimage *image, unsigned long start, unsigned long end) argument
318 kimage_alloc_normal_control_pages(struct kimage *image, unsigned int order) argument
385 kimage_alloc_crash_control_pages(struct kimage *image, unsigned int order) argument
453 kimage_alloc_control_pages(struct kimage *image, unsigned int order) argument
472 kimage_add_entry(struct kimage *image, kimage_entry_t entry) argument
498 kimage_set_destination(struct kimage *image, unsigned long destination) argument
507 kimage_add_page(struct kimage *image, unsigned long page) argument
515 kimage_free_extra_pages(struct kimage *image) argument
525 kimage_terminate(struct kimage *image) argument
546 kimage_free(struct kimage *image) argument
594 kimage_dst_used(struct kimage *image, unsigned long page) argument
613 kimage_alloc_page(struct kimage *image, gfp_t gfp_mask, unsigned long destination) argument
709 kimage_load_normal_segment(struct kimage *image, struct kexec_segment *segment) argument
780 kimage_load_crash_segment(struct kimage *image, struct kexec_segment *segment) argument
851 kimage_load_segment(struct kimage *image, struct kexec_segment *segment) argument
[all...]
/linux-master/arch/x86/kernel/
H A Dmachine_kexec_32.c43 static void machine_kexec_free_page_tables(struct kimage *image) argument
45 free_pages((unsigned long)image->arch.pgd, PGD_ALLOCATION_ORDER);
46 image->arch.pgd = NULL;
48 free_page((unsigned long)image->arch.pmd0);
49 image->arch.pmd0 = NULL;
50 free_page((unsigned long)image->arch.pmd1);
51 image->arch.pmd1 = NULL;
53 free_page((unsigned long)image->arch.pte0);
54 image->arch.pte0 = NULL;
55 free_page((unsigned long)image
59 machine_kexec_alloc_page_tables(struct kimage *image) argument
100 machine_kexec_prepare_page_tables(struct kimage *image) argument
135 machine_kexec_prepare(struct kimage *image) argument
151 machine_kexec_cleanup(struct kimage *image) argument
161 machine_kexec(struct kimage *image) argument
[all...]
/linux-master/arch/riscv/kernel/
H A Dmachine_kexec.c25 * 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) argument
33 struct kimage_arch *internal = &image->arch;
40 for (i = 0; i < image->nr_segments; i++) {
41 if (image->segment[i].memsz <= sizeof(fdt))
44 if (image->file_mode)
45 memcpy(&fdt, image->segment[i].buf, sizeof(fdt));
46 else if (copy_from_user(&fdt, image->segment[i].buf, sizeof(fdt)))
52 internal->fdt_addr = (unsigned long) image
92 machine_kexec_cleanup(struct kimage *image) argument
180 machine_kexec(struct kimage *image) argument
[all...]
/linux-master/arch/s390/kernel/
H A Dkexec_image.c16 static int kexec_file_add_kernel_image(struct kimage *image, argument
21 buf.image = image;
23 buf.buffer = image->kernel_buf;
24 buf.bufsz = image->kernel_buf_len;
28 if (image->type == KEXEC_TYPE_CRASH)
33 data->kernel_buf = image->kernel_buf;
35 data->parm = image->kernel_buf + PARMAREA;
45 static void *s390_image_load(struct kimage *image, argument
50 return kexec_file_add_components(image, kexec_file_add_kernel_imag
[all...]
H A Dmachine_kexec.c44 * and jump to the kdump image
48 struct kimage *image = data; local
52 purgatory = (purgatory_t)image->start;
78 static noinline void __machine_kdump(void *image) argument
114 store_status(__do_machine_kdump, image);
122 static bool kdump_csum_valid(struct kimage *image) argument
125 purgatory_t purgatory = (purgatory_t)image->start;
190 int machine_kexec_prepare(struct kimage *image) argument
194 if (image->type == KEXEC_TYPE_CRASH)
197 /* We don't support anything but the default image typ
209 machine_kexec_cleanup(struct kimage *image) argument
228 struct kimage *image = data; local
265 machine_kexec(struct kimage *image) argument
[all...]
/linux-master/drivers/video/fbdev/core/
H A Dsoftcursor.c28 struct fb_image *image; local
34 s_pitch = (cursor->image.width + 7) >> 3;
35 dsize = s_pitch * cursor->image.height;
49 image = (struct fb_image *)ops->cursor_src;
50 *image = cursor->image;
53 size = d_pitch * image->height + buf_align;
61 src[i] = image->data[i] ^ cursor->mask[i];
66 src[i] = image->data[i] & cursor->mask[i];
70 memcpy(src, image
[all...]
/linux-master/arch/powerpc/kexec/
H A Dcore_32.c25 * It merely copies the image relocation code to the control page and
29 void default_machine_kexec(struct kimage *image) argument
43 page_list = image->head;
47 (unsigned long)page_address(image->control_code_page);
59 relocate_new_kernel(page_list, reboot_code_buffer_phys, image->start);
63 (*rnk)(page_list, reboot_code_buffer_phys, image->start);
66 int machine_kexec_prepare(struct kimage *image) argument
H A Dfile_load.c28 * @image: Kexec image
36 char *setup_kdump_cmdline(struct kimage *image, char *cmdline, argument
47 image->elf_load_addr);
63 * @image: kexec image.
71 int setup_purgatory(struct kimage *image, const void *slave_code, argument
83 ret = kexec_purgatory_get_set_symbol(image, "purgatory_start",
94 ret = kexec_purgatory_get_set_symbol(image, "purgatory_start",
99 ret = kexec_purgatory_get_set_symbol(image, "kerne
[all...]
/linux-master/drivers/remoteproc/
H A Dqcom_pil_info.h7 int qcom_pil_info_store(const char *image, phys_addr_t base, size_t size);
/linux-master/drivers/staging/vme_user/
H A 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 relate
101 static struct image_desc image[VME_DEVS]; variable in typeref:struct:image_desc
[all...]
/linux-master/arch/m68k/kernel/
H A Dmachine_kexec.c39 void machine_kexec(struct kimage *image) argument
44 reboot_code_buffer = page_address(image->control_code_page);
54 pr_info("Will call new kernel at 0x%08lx. Bye...\n", image->start);
57 ((relocate_kernel_t) reboot_code_buffer)(image->head & PAGE_MASK,
58 image->start,
/linux-master/arch/arm64/kernel/
H A Dmachine_kexec_file.c30 int arch_kimage_file_post_load_cleanup(struct kimage *image) argument
32 kvfree(image->arch.dtb);
33 image->arch.dtb = NULL;
35 vfree(image->elf_headers);
36 image->elf_headers = NULL;
37 image->elf_headers_sz = 0;
39 return kexec_image_post_load_cleanup_default(image);
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, argument
[all...]
/linux-master/arch/x86/entry/vdso/
H A Dvma.c47 int __init init_vdso_image(const struct vdso_image *image) argument
50 BUG_ON(image->size % PAGE_SIZE != 0);
52 apply_alternatives((struct alt_instr *)(image->data + image->alt),
53 (struct alt_instr *)(image->data + image->alt +
54 image->alt_len));
65 const struct vdso_image *image = vma->vm_mm->context.vdso_image; local
67 if (!image || (vmf->pgoff << PAGE_SHIFT) >= image
75 vdso_fix_landing(const struct vdso_image *image, struct vm_area_struct *new_vma) argument
95 const struct vdso_image *image = current->mm->context.vdso_image; local
131 const struct vdso_image *image = vma->vm_mm->context.vdso_image; local
223 map_vdso(const struct vdso_image *image, unsigned long addr) argument
277 map_vdso_once(const struct vdso_image *image, unsigned long addr) argument
350 const struct vdso_image *image = current->mm->context.vdso_image; local
[all...]
/linux-master/drivers/video/fbdev/savage/
H A Dsavagefb_accel.c92 void savagefb_imageblit(struct fb_info *info, const struct fb_image *image) argument
97 u32 *src = (u32 *) image->data;
99 if (!image->width || !image->height)
102 if (image->depth != 1) {
103 cfb_imageblit(info, image);
108 fg = image->fg_color;
109 bg = image->bg_color;
111 fg = ((u32 *)info->pseudo_palette)[image->fg_color];
112 bg = ((u32 *)info->pseudo_palette)[image
[all...]
/linux-master/arch/sh/kernel/
H A Dmachine_kexec.c37 * Do what every setup is needed on image and the
41 int machine_kexec_prepare(struct kimage *image) argument
46 void machine_kexec_cleanup(struct kimage *image) argument
50 static void kexec_info(struct kimage *image) argument
54 for (i = 0; i < image->nr_segments; i++) {
57 (unsigned int)image->segment[i].mem,
58 (unsigned int)image->segment[i].mem +
59 image->segment[i].memsz,
60 (unsigned int)image->segment[i].memsz);
62 printk(" start : 0x%08x\n\n", (unsigned int)image
69 machine_kexec(struct kimage *image) argument
[all...]
/linux-master/drivers/gpu/drm/qxl/
H A Dqxl_image.c35 struct qxl_drm_image *image,
51 list_add_tail(&chunk->head, &image->chunk_list);
61 struct qxl_drm_image *image; local
64 image = kmalloc(sizeof(struct qxl_drm_image), GFP_KERNEL);
65 if (!image)
68 INIT_LIST_HEAD(&image->chunk_list);
70 ret = qxl_alloc_bo_reserved(qdev, release, sizeof(struct qxl_image), &image->bo);
72 kfree(image);
76 ret = qxl_allocate_chunk(qdev, release, image, sizeof(struct qxl_data_chunk) + stride * height);
78 qxl_bo_unref(&image
33 qxl_allocate_chunk(struct qxl_device *qdev, struct qxl_release *release, struct qxl_drm_image *image, unsigned int chunk_size) argument
109 struct qxl_image *image; local
[all...]
/linux-master/drivers/media/usb/pwc/
H A Dpwc-uncompress.c24 void *yuv, *image; local
28 image = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0);
35 struct pwc_raw_frame *raw_frame = image;
59 dsty = (u16 *)(image);
60 dstu = (u16 *)(image + n);
61 dstv = (u16 *)(image + n + n / 4);
89 pwc_dec23_decompress(pdev, yuv, image);

Completed in 432 milliseconds

1234567891011>>