Home
last modified time | relevance | path

Searched +defs:image +defs:size (Results 1 – 25 of 185) sorted by relevance

12345678

/kernel/linux/linux-5.10/arch/s390/kernel/
Dmachine_kexec.c42 static void __do_machine_kdump(void *image) in __do_machine_kdump()
73 static noinline void __machine_kdump(void *image) in __machine_kdump()
114 struct kimage *image = (struct kimage *) addr; in do_start_kdump() local
129 static bool kdump_csum_valid(struct kimage *image) in kdump_csum_valid()
147 unsigned long addr, size; in crash_free_reserved_phys_range() local
160 unsigned long size; in crash_protect_pages() local
198 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare()
217 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup()
247 struct kimage *image = data; in __do_machine_kexec() local
280 void machine_kexec(struct kimage *image) in machine_kexec()
/kernel/linux/linux-6.6/arch/s390/kernel/
Dmachine_kexec.c47 struct kimage *image = data; in __do_machine_kdump() local
77 static noinline void __machine_kdump(void *image) in __machine_kdump()
121 static bool kdump_csum_valid(struct kimage *image) in kdump_csum_valid()
138 unsigned long addr, size; in crash_free_reserved_phys_range() local
151 unsigned long size; in crash_protect_pages() local
189 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare()
208 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup()
242 struct kimage *image = data; in __do_machine_kexec() local
279 void machine_kexec(struct kimage *image) in machine_kexec()
/kernel/linux/linux-5.10/kernel/
Dkexec_core.c148 int sanity_check_segment_list(struct kimage *image) in sanity_check_segment_list()
256 struct kimage *image; in do_kimage_alloc_init() local
281 int kimage_is_destination_range(struct kimage *image, in kimage_is_destination_range()
350 static struct page *kimage_alloc_normal_control_pages(struct kimage *image, in kimage_alloc_normal_control_pages()
416 static struct page *kimage_alloc_crash_control_pages(struct kimage *image, in kimage_alloc_crash_control_pages()
440 unsigned long hole_start, hole_end, size; in kimage_alloc_crash_control_pages() local
483 struct page *kimage_alloc_control_pages(struct kimage *image, in kimage_alloc_control_pages()
500 int kimage_crash_copy_vmcoreinfo(struct kimage *image) in kimage_crash_copy_vmcoreinfo()
534 static int kimage_add_entry(struct kimage *image, kimage_entry_t entry) in kimage_add_entry()
560 static int kimage_set_destination(struct kimage *image, in kimage_set_destination()
[all …]
/kernel/linux/linux-6.6/kernel/
Dkexec_core.c147 int sanity_check_segment_list(struct kimage *image) in sanity_check_segment_list()
255 struct kimage *image; in do_kimage_alloc_init() local
286 int kimage_is_destination_range(struct kimage *image, in kimage_is_destination_range()
355 static struct page *kimage_alloc_normal_control_pages(struct kimage *image, in kimage_alloc_normal_control_pages()
421 static struct page *kimage_alloc_crash_control_pages(struct kimage *image, in kimage_alloc_crash_control_pages()
445 unsigned long hole_start, hole_end, size; in kimage_alloc_crash_control_pages() local
488 struct page *kimage_alloc_control_pages(struct kimage *image, in kimage_alloc_control_pages()
505 int kimage_crash_copy_vmcoreinfo(struct kimage *image) in kimage_crash_copy_vmcoreinfo()
539 static int kimage_add_entry(struct kimage *image, kimage_entry_t entry) in kimage_add_entry()
565 static int kimage_set_destination(struct kimage *image, in kimage_set_destination()
[all …]
/kernel/linux/linux-6.6/drivers/of/
Dkexec.c40 static int fdt_find_and_del_mem_rsv(void *fdt, unsigned long start, unsigned long size) in fdt_find_and_del_mem_rsv()
102 size_t *size) in do_get_kexec_buffer()
127 int __init ima_get_kexec_buffer(void **addr, size_t *size) in ima_get_kexec_buffer()
172 size_t size; in ima_free_kexec_buffer() local
205 size_t size; in remove_ima_buffer() local
234 static int setup_ima_buffer(const struct kimage *image, void *fdt, in setup_ima_buffer()
260 static inline int setup_ima_buffer(const struct kimage *image, void *fdt, in setup_ima_buffer()
279 void *of_kexec_alloc_and_setup_fdt(const struct kimage *image, in of_kexec_alloc_and_setup_fdt()
/kernel/linux/linux-5.10/drivers/vme/bridges/
Dvme_ca91cx42.c333 static int ca91cx42_slave_set(struct vme_slave_resource *image, int enabled, in ca91cx42_slave_set()
334 unsigned long long vme_base, unsigned long long size, in ca91cx42_slave_set()
439 static int ca91cx42_slave_get(struct vme_slave_resource *image, int *enabled, in ca91cx42_slave_get()
440 unsigned long long *vme_base, unsigned long long *size, in ca91cx42_slave_get()
499 static int ca91cx42_alloc_resource(struct vme_master_resource *image, in ca91cx42_alloc_resource()
500 unsigned long long size) in ca91cx42_alloc_resource()
579 static void ca91cx42_free_resource(struct vme_master_resource *image) in ca91cx42_free_resource()
589 static int ca91cx42_master_set(struct vme_master_resource *image, int enabled, in ca91cx42_master_set()
590 unsigned long long vme_base, unsigned long long size, u32 aspace, in ca91cx42_master_set()
746 static int __ca91cx42_master_get(struct vme_master_resource *image, in __ca91cx42_master_get()
[all …]
Dvme_tsi148.c471 static int tsi148_slave_set(struct vme_slave_resource *image, int enabled, in tsi148_slave_set()
472 unsigned long long vme_base, unsigned long long size, in tsi148_slave_set()
616 static int tsi148_slave_get(struct vme_slave_resource *image, int *enabled, in tsi148_slave_get()
617 unsigned long long *vme_base, unsigned long long *size, in tsi148_slave_get()
716 static int tsi148_alloc_resource(struct vme_master_resource *image, in tsi148_alloc_resource()
717 unsigned long long size) in tsi148_alloc_resource()
795 static void tsi148_free_resource(struct vme_master_resource *image) in tsi148_free_resource()
807 static int tsi148_master_set(struct vme_master_resource *image, int enabled, in tsi148_master_set()
808 unsigned long long vme_base, unsigned long long size, u32 aspace, in tsi148_master_set()
1049 static int __tsi148_master_get(struct vme_master_resource *image, int *enabled, in __tsi148_master_get()
[all …]
Dvme_fake.c46 unsigned long long size; member
55 unsigned long long size; member
154 static int fake_slave_set(struct vme_slave_resource *image, int enabled, in fake_slave_set()
155 unsigned long long vme_base, unsigned long long size, in fake_slave_set()
223 static int fake_slave_get(struct vme_slave_resource *image, int *enabled, in fake_slave_get()
224 unsigned long long *vme_base, unsigned long long *size, in fake_slave_get()
251 static int fake_master_set(struct vme_master_resource *image, int enabled, in fake_master_set()
252 unsigned long long vme_base, unsigned long long size, in fake_master_set()
338 static int __fake_master_get(struct vme_master_resource *image, int *enabled, in __fake_master_get()
339 unsigned long long *vme_base, unsigned long long *size, in __fake_master_get()
[all …]
/kernel/linux/linux-6.6/arch/powerpc/kexec/
Dfile_load_64.c36 u32 size; /* size allocated for the data buffer */ member
153 u64 size = end - base; in get_crash_memory_ranges() local
726 static int load_backup_segment(struct kimage *image, struct kexec_buf *kbuf) in load_backup_segment()
770 static void update_backup_region_phdr(struct kimage *image, Elf64_Ehdr *ehdr) in update_backup_region_phdr()
794 static int load_elfcorehdr_segment(struct kimage *image, struct kexec_buf *kbuf) in load_elfcorehdr_segment()
842 int load_crashdump_segments_ppc64(struct kimage *image, in load_crashdump_segments_ppc64()
879 int setup_purgatory_ppc64(struct kimage *image, const void *slave_code, in setup_purgatory_ppc64()
944 static unsigned int size; in cpu_node_size() local
982 unsigned int kexec_extra_fdt_size_ppc64(struct kimage *image) in kexec_extra_fdt_size_ppc64()
1163 int setup_new_fdt_ppc64(const struct kimage *image, void *fdt, in setup_new_fdt_ppc64()
[all …]
/kernel/linux/linux-5.10/arch/x86/entry/vdso/
Dvma.c47 void __init init_vdso_image(const struct vdso_image *image) in init_vdso_image()
62 const struct vdso_image *image = vma->vm_mm->context.vdso_image; in vdso_fault() local
72 static void vdso_fix_landing(const struct vdso_image *image, in vdso_fix_landing()
93 const struct vdso_image *image = current->mm->context.vdso_image; in vdso_mremap() local
107 const struct vdso_image *image = new_vma->vm_mm->context.vdso_image; in vvar_mremap() local
150 unsigned long size = vma->vm_end - vma->vm_start; in vdso_join_timens() local
169 const struct vdso_image *image = vma->vm_mm->context.vdso_image; in vvar_fault() local
263 static int map_vdso(const struct vdso_image *image, unsigned long addr) in map_vdso()
362 static int map_vdso_randomized(const struct vdso_image *image) in map_vdso_randomized()
370 int map_vdso_once(const struct vdso_image *image, unsigned long addr) in map_vdso_once()
/kernel/linux/linux-5.10/arch/powerpc/kexec/
Dfile_load_64.c31 u32 size; /* size allocated for the data buffer */ member
148 u64 size = end - base; in get_crash_memory_ranges() local
719 static int load_backup_segment(struct kimage *image, struct kexec_buf *kbuf) in load_backup_segment()
763 static void update_backup_region_phdr(struct kimage *image, Elf64_Ehdr *ehdr) in update_backup_region_phdr()
787 static int load_elfcorehdr_segment(struct kimage *image, struct kexec_buf *kbuf) in load_elfcorehdr_segment()
835 int load_crashdump_segments_ppc64(struct kimage *image, in load_crashdump_segments_ppc64()
872 int setup_purgatory_ppc64(struct kimage *image, const void *slave_code, in setup_purgatory_ppc64()
936 unsigned int kexec_fdt_totalsize_ppc64(struct kimage *image) in kexec_fdt_totalsize_ppc64()
1062 int setup_new_fdt_ppc64(const struct kimage *image, void *fdt, in setup_new_fdt_ppc64()
1122 u64 base, size; in setup_new_fdt_ppc64() local
[all …]
Dima.c32 size_t *size) in do_get_kexec_buffer()
56 int ima_get_kexec_buffer(void **addr, size_t *size) in ima_get_kexec_buffer()
84 size_t size; in ima_free_kexec_buffer() local
113 size_t size; in remove_ima_buffer() local
139 int arch_ima_add_kexec_buffer(struct kimage *image, unsigned long load_addr, in arch_ima_add_kexec_buffer()
140 size_t size) in arch_ima_add_kexec_buffer()
177 int setup_ima_buffer(const struct kimage *image, void *fdt, int chosen_node) in setup_ima_buffer()
Dfile_load.c37 char *setup_kdump_cmdline(struct kimage *image, char *cmdline, in setup_kdump_cmdline()
72 int setup_purgatory(struct kimage *image, const void *slave_code, in setup_purgatory()
117 int delete_fdt_mem_rsv(void *fdt, unsigned long start, unsigned long size) in delete_fdt_mem_rsv()
155 int setup_new_fdt(const struct kimage *image, void *fdt, in setup_new_fdt()
Dcore.c56 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare()
64 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup()
96 void machine_kexec(struct kimage *image) in machine_kexec()
208 int overlaps_crashkernel(unsigned long start, unsigned long size) in overlaps_crashkernel()
/kernel/linux/linux-6.6/arch/powerpc/net/
Dbpf_jit_comp64.c125 void bpf_jit_build_prologue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_prologue()
176 static void bpf_jit_emit_common_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_emit_common_epilogue()
195 void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_epilogue()
205 static int bpf_jit_emit_func_call_hlp(u32 *image, struct codegen_context *ctx, u64 func) in bpf_jit_emit_func_call_hlp()
243 int bpf_jit_emit_func_call_rel(u32 *image, struct codegen_context *ctx, u64 func) in bpf_jit_emit_func_call_rel()
276 static int bpf_jit_emit_tail_call(u32 *image, struct codegen_context *ctx, u32 out) in bpf_jit_emit_tail_call()
364 int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, struct codegen_context *ctx, in bpf_jit_build_body()
379 u32 size = BPF_SIZE(code); in bpf_jit_build_body() local
Dbpf_jit_comp.c21 static void bpf_jit_fill_ill_insns(void *area, unsigned int size) in bpf_jit_fill_ill_insns()
26 int bpf_jit_emit_exit_insn(u32 *image, struct codegen_context *ctx, int tmp_reg, long exit_addr) in bpf_jit_emit_exit_insn()
45 u8 *image; member
59 u8 *image = NULL; in bpf_int_jit_compile() local
233 int bpf_add_extable_entry(struct bpf_prog *fp, u32 *image, int pass, struct codegen_context *ctx, in bpf_add_extable_entry()
Dbpf_jit_comp32.c126 void bpf_jit_build_prologue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_prologue()
173 static void bpf_jit_emit_common_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_emit_common_epilogue()
194 void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_epilogue()
203 int bpf_jit_emit_func_call_rel(u32 *image, struct codegen_context *ctx, u64 func) in bpf_jit_emit_func_call_rel()
220 static int bpf_jit_emit_tail_call(u32 *image, struct codegen_context *ctx, u32 out) in bpf_jit_emit_tail_call()
281 int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, struct codegen_context *ctx, in bpf_jit_build_body()
302 u32 size = BPF_SIZE(code); in bpf_jit_build_body() local
/kernel/linux/linux-5.10/arch/powerpc/net/
Dbpf_jit_comp64.c22 static void bpf_jit_fill_ill_insns(void *area, unsigned int size) in bpf_jit_fill_ill_insns()
89 static void bpf_jit_build_prologue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_prologue()
137 static void bpf_jit_emit_common_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_emit_common_epilogue()
156 static void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_epilogue()
166 static void bpf_jit_emit_func_call_hlp(u32 *image, struct codegen_context *ctx, in bpf_jit_emit_func_call_hlp()
191 static void bpf_jit_emit_func_call_rel(u32 *image, struct codegen_context *ctx, in bpf_jit_emit_func_call_rel()
228 static int bpf_jit_emit_tail_call(u32 *image, struct codegen_context *ctx, u32 out) in bpf_jit_emit_tail_call()
317 static int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, in bpf_jit_build_body()
1091 static int bpf_jit_fixup_subprog_calls(struct bpf_prog *fp, u32 *image, in bpf_jit_fixup_subprog_calls()
1142 u8 *image; member
[all …]
/kernel/linux/linux-6.6/arch/sparc/vdso/
Dvma.c69 unsigned long *size) in one_section64()
87 static int find_sections64(const struct vdso_image *image, struct vdso_elfinfo *_e) in find_sections64()
137 unsigned long *size) in one_section32()
155 static int find_sections32(const struct vdso_image *image, struct vdso_elfinfo *_e) in find_sections32()
204 static int find_sections(const struct vdso_image *image, struct vdso_elfinfo *e, in find_sections()
222 static int stick_patch(const struct vdso_image *image, struct vdso_elfinfo *e, bool elf64) in stick_patch()
246 int __init init_vdso_image(const struct vdso_image *image, in init_vdso_image()
361 static int map_vdso(const struct vdso_image *image, in map_vdso()
/kernel/linux/linux-5.10/arch/sparc/vdso/
Dvma.c69 unsigned long *size) in one_section64()
87 static int find_sections64(const struct vdso_image *image, struct vdso_elfinfo *_e) in find_sections64()
137 unsigned long *size) in one_section32()
155 static int find_sections32(const struct vdso_image *image, struct vdso_elfinfo *_e) in find_sections32()
204 static int find_sections(const struct vdso_image *image, struct vdso_elfinfo *e, in find_sections()
222 static int stick_patch(const struct vdso_image *image, struct vdso_elfinfo *e, bool elf64) in stick_patch()
246 int __init init_vdso_image(const struct vdso_image *image, in init_vdso_image()
361 static int map_vdso(const struct vdso_image *image, in map_vdso()
/kernel/linux/linux-6.6/drivers/staging/vme_user/
Dvme_tsi148.c466 static int tsi148_slave_set(struct vme_slave_resource *image, int enabled, in tsi148_slave_set()
467 unsigned long long vme_base, unsigned long long size, in tsi148_slave_set()
609 static int tsi148_slave_get(struct vme_slave_resource *image, int *enabled, in tsi148_slave_get()
610 unsigned long long *vme_base, unsigned long long *size, in tsi148_slave_get()
708 static int tsi148_alloc_resource(struct vme_master_resource *image, in tsi148_alloc_resource()
709 unsigned long long size) in tsi148_alloc_resource()
786 static void tsi148_free_resource(struct vme_master_resource *image) in tsi148_free_resource()
798 static int tsi148_master_set(struct vme_master_resource *image, int enabled, in tsi148_master_set()
799 unsigned long long vme_base, unsigned long long size, u32 aspace, in tsi148_master_set()
1033 static int __tsi148_master_get(struct vme_master_resource *image, int *enabled, in __tsi148_master_get()
[all …]
Dvme_fake.c46 unsigned long long size; member
55 unsigned long long size; member
154 static int fake_slave_set(struct vme_slave_resource *image, int enabled, in fake_slave_set()
155 unsigned long long vme_base, unsigned long long size, in fake_slave_set()
223 static int fake_slave_get(struct vme_slave_resource *image, int *enabled, in fake_slave_get()
224 unsigned long long *vme_base, unsigned long long *size, in fake_slave_get()
251 static int fake_master_set(struct vme_master_resource *image, int enabled, in fake_master_set()
252 unsigned long long vme_base, unsigned long long size, in fake_master_set()
337 static int __fake_master_get(struct vme_master_resource *image, int *enabled, in __fake_master_get()
338 unsigned long long *vme_base, unsigned long long *size, in __fake_master_get()
[all …]
Dvme.c81 void *vme_alloc_consistent(struct vme_resource *resource, size_t size, in vme_alloc_consistent()
121 void vme_free_consistent(struct vme_resource *resource, size_t size, in vme_free_consistent()
165 unsigned long long base, size; in vme_get_size() local
194 unsigned long long size) in vme_check_window()
361 unsigned long long vme_base, unsigned long long size, in vme_slave_set()
365 struct vme_slave_resource *image; in vme_slave_set() local
411 unsigned long long *vme_base, unsigned long long *size, in vme_slave_get()
415 struct vme_slave_resource *image; in vme_slave_get() local
564 unsigned long long vme_base, unsigned long long size, in vme_master_set()
568 struct vme_master_resource *image; in vme_master_set() local
[all …]
/kernel/linux/linux-5.10/drivers/vme/
Dvme.c86 void *vme_alloc_consistent(struct vme_resource *resource, size_t size, in vme_alloc_consistent()
126 void vme_free_consistent(struct vme_resource *resource, size_t size, in vme_free_consistent()
170 unsigned long long base, size; in vme_get_size() local
203 unsigned long long size) in vme_check_window()
371 unsigned long long vme_base, unsigned long long size, in vme_slave_set()
375 struct vme_slave_resource *image; in vme_slave_set() local
421 unsigned long long *vme_base, unsigned long long *size, in vme_slave_get()
425 struct vme_slave_resource *image; in vme_slave_get() local
575 unsigned long long vme_base, unsigned long long size, u32 aspace, in vme_master_set()
579 struct vme_master_resource *image; in vme_master_set() local
[all …]
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/
Defi-stub.c58 unsigned long size; in setup_graphics() local
113 efi_status_t efi_handle_cmdline(efi_loaded_image_t *image, char **cmdline_ptr) in efi_handle_cmdline()
157 efi_loaded_image_t *image, in efi_stub_common()
203 unsigned long size, mmap_key; in efi_alloc_virtmap() local
239 u64 paddr, size; in efi_get_virtmap() local

12345678