Home
last modified time | relevance | path

Searched refs:image_size (Results 1 – 16 of 16) sorted by relevance

/arch/x86/boot/compressed/
Dkaslr.c496 static void store_slot_info(struct mem_vector *region, unsigned long image_size) in store_slot_info() argument
504 slot_area.num = 1 + (region->size - image_size) / CONFIG_PHYSICAL_ALIGN; in store_slot_info()
515 process_gb_huge_pages(struct mem_vector *region, unsigned long image_size) in process_gb_huge_pages() argument
522 store_slot_info(region, image_size); in process_gb_huge_pages()
532 store_slot_info(region, image_size); in process_gb_huge_pages()
537 if (pud_start >= region->start + image_size) { in process_gb_huge_pages()
540 store_slot_info(&tmp, image_size); in process_gb_huge_pages()
553 if (region->start + region->size >= pud_end + image_size) { in process_gb_huge_pages()
556 store_slot_info(&tmp, image_size); in process_gb_huge_pages()
586 unsigned long image_size) in __process_mem_region() argument
[all …]
/arch/s390/boot/compressed/
Ddecompressor.c73 return max(decompress_offset + vmlinux.image_size, in mem_safe_offset()
74 vmlinux.default_lma + vmlinux.image_size + vmlinux.bss_size); in mem_safe_offset()
82 NULL, NULL, output, vmlinux.image_size, NULL, error); in decompress_kernel()
Ddecompressor.h16 unsigned long image_size; /* does not include .bss */ member
/arch/riscv/net/
Dbpf_jit_core.c49 unsigned int image_size = 0; in bpf_int_jit_compile() local
76 image_size = sizeof(*ctx->insns) * ctx->ninsns; in bpf_int_jit_compile()
116 image_size = sizeof(*ctx->insns) * ctx->ninsns; in bpf_int_jit_compile()
118 bpf_jit_binary_alloc(image_size, in bpf_int_jit_compile()
157 bpf_jit_dump(prog->len, image_size, pass, ctx->insns); in bpf_int_jit_compile()
161 prog->jited_len = image_size; in bpf_int_jit_compile()
/arch/mips/boot/compressed/
Ddecompress.c118 unsigned int image_size, dtb_size; in decompress_kernel() local
123 image_size = get_unaligned_le32((void *)&__image_end - 4); in decompress_kernel()
126 memcpy((void *)VMLINUX_LOAD_ADDRESS_ULL + image_size, in decompress_kernel()
/arch/s390/boot/
Dstartup.c64 return vmlinux.default_lma + vmlinux.image_size + vmlinux.bss_size; in mem_safe_offset()
126 memset((void *)vmlinux.default_lma + vmlinux.image_size, 0, vmlinux.bss_size); in clear_bss_section()
164 memmove((void *)vmlinux.default_lma, img, vmlinux.image_size); in startup_kernel()
166 memcpy((void *)vmlinux.default_lma, img, vmlinux.image_size); in startup_kernel()
181 memset(img, 0, vmlinux.image_size); in startup_kernel()
Dkaslr.c210 kernel_size = vmlinux.image_size + vmlinux.bss_size; in get_random_base()
/arch/powerpc/kernel/
Drtas_flash.c167 unsigned long block_size, image_size; in flash_list_valid() local
170 image_size = 0; in flash_list_valid()
180 image_size += block_size; in flash_list_valid()
184 if (image_size < (256 << 10)) { in flash_list_valid()
185 if (image_size < 2) in flash_list_valid()
189 …k(KERN_INFO "FLASH: flash image with %ld bytes stored for hardware flash on reboot\n", image_size); in flash_list_valid()
559 unsigned long image_size; in rtas_flash_firmware() local
606 image_size = 0; in rtas_flash_firmware()
611 image_size += f->blocks[i].length; in rtas_flash_firmware()
625 printk(KERN_ALERT "FLASH: flash image is %ld bytes\n", image_size); in rtas_flash_firmware()
/arch/arm64/kernel/
Dkexec_image.c56 if (!h->image_size) in image_load()
84 kbuf.memsz = le64_to_cpu(h->image_size); in image_load()
/arch/arm64/include/asm/
Dimage.h48 __le64 image_size; member
/arch/riscv/include/asm/
Dimage.h55 u64 image_size; member
/arch/parisc/kernel/
Dperf.c291 size_t image_size; in perf_write() local
297 image_size = PCXU_IMAGE_SIZE; in perf_write()
299 image_size = PCXW_IMAGE_SIZE; in perf_write()
/arch/sparc/net/
Dbpf_jit_comp_64.c1474 u32 prev_image_size, image_size; in bpf_int_jit_compile() local
1509 image_size = sizeof(u32) * ctx.idx; in bpf_int_jit_compile()
1510 prev_image_size = image_size; in bpf_int_jit_compile()
1558 image_size = sizeof(u32) * ctx.idx; in bpf_int_jit_compile()
1559 header = bpf_jit_binary_alloc(image_size, &image_ptr, in bpf_int_jit_compile()
1589 bpf_jit_dump(prog->len, image_size, pass, ctx.image); in bpf_int_jit_compile()
1603 prog->jited_len = image_size; in bpf_int_jit_compile()
/arch/arm64/net/
Dbpf_jit_comp.c994 int image_size, prog_size, extable_size; in bpf_int_jit_compile() local
1068 image_size = prog_size + extable_size; in bpf_int_jit_compile()
1069 header = bpf_jit_binary_alloc(image_size, &image_ptr, in bpf_int_jit_compile()
/arch/mips/net/
Debpf_jit.c1807 unsigned int image_size; in bpf_int_jit_compile() local
1889 image_size = 4 * ctx.idx; in bpf_int_jit_compile()
1891 header = bpf_jit_binary_alloc(image_size, &image_ptr, in bpf_int_jit_compile()
1913 bpf_jit_dump(prog->len, image_size, 2, ctx.target); in bpf_int_jit_compile()
1918 prog->jited_len = image_size; in bpf_int_jit_compile()
/arch/arm/net/
Dbpf_jit_32.c1903 unsigned int image_size; in bpf_int_jit_compile() local
1984 image_size = sizeof(u32) * ctx.idx; in bpf_int_jit_compile()
1987 header = bpf_jit_binary_alloc(image_size, &image_ptr, in bpf_int_jit_compile()
2025 bpf_jit_dump(prog->len, image_size, 2, ctx.target); in bpf_int_jit_compile()
2030 prog->jited_len = image_size; in bpf_int_jit_compile()