/linux-6.1.9/arch/x86/boot/compressed/ |
D | kaslr.c | 492 static void store_slot_info(struct mem_vector *region, unsigned long image_size) in store_slot_info() argument 500 slot_area.num = 1 + (region->size - image_size) / CONFIG_PHYSICAL_ALIGN; in store_slot_info() 511 process_gb_huge_pages(struct mem_vector *region, unsigned long image_size) in process_gb_huge_pages() argument 518 store_slot_info(region, image_size); in process_gb_huge_pages() 528 store_slot_info(region, image_size); in process_gb_huge_pages() 533 if (pud_start >= region->start + image_size) { in process_gb_huge_pages() 536 store_slot_info(&tmp, image_size); in process_gb_huge_pages() 549 if (region->start + region->size >= pud_end + image_size) { in process_gb_huge_pages() 552 store_slot_info(&tmp, image_size); in process_gb_huge_pages() 582 unsigned long image_size) in __process_mem_region() argument [all …]
|
/linux-6.1.9/arch/mips/boot/compressed/ |
D | decompress.c | 120 unsigned int image_size, dtb_size; in decompress_kernel() local 125 image_size = get_unaligned_le32((void *)__image_end - 4); in decompress_kernel() 128 image_size = ALIGN(image_size, STRUCT_ALIGNMENT); in decompress_kernel() 131 puthex(VMLINUX_LOAD_ADDRESS_ULL + image_size); in decompress_kernel() 135 memcpy((void *)VMLINUX_LOAD_ADDRESS_ULL + image_size, in decompress_kernel()
|
/linux-6.1.9/drivers/thunderbolt/ |
D | nvm.c | 88 unsigned int image_size, hdr_size; in intel_switch_nvm_validate() local 92 image_size = nvm->buf_data_size; in intel_switch_nvm_validate() 99 if (hdr_size + INTEL_NVM_DEVID + 2 >= image_size) in intel_switch_nvm_validate() 111 if (ds_size >= image_size) in intel_switch_nvm_validate() 127 nvm->buf_data_size = image_size - hdr_size; in intel_switch_nvm_validate() 222 unsigned int image_size, hdr_size; in intel_retimer_nvm_validate() local 226 image_size = nvm->buf_data_size; in intel_retimer_nvm_validate() 233 if (hdr_size + INTEL_NVM_DEVID + 2 >= image_size) in intel_retimer_nvm_validate() 245 if (ds_size >= image_size) in intel_retimer_nvm_validate() 258 nvm->buf_data_size = image_size - hdr_size; in intel_retimer_nvm_validate() [all …]
|
/linux-6.1.9/scripts/ |
D | sorttable.c | 215 static void sort_relative_table(char *extab_image, int image_size) in sort_relative_table() argument 223 while (i < image_size) { in sort_relative_table() 229 qsort(extab_image, image_size / 8, 8, compare_relative_table); in sort_relative_table() 233 while (i < image_size) { in sort_relative_table() 240 static void sort_relative_table_with_data(char *extab_image, int image_size) in sort_relative_table_with_data() argument 244 while (i < image_size) { in sort_relative_table_with_data() 254 qsort(extab_image, image_size / 12, 12, compare_relative_table); in sort_relative_table_with_data() 257 while (i < image_size) { in sort_relative_table_with_data()
|
/linux-6.1.9/drivers/input/rmi4/ |
D | rmi_f34.c | 198 u32 image_size = le32_to_cpu(syn_fw->image_size); in rmi_f34_flash_firmware() local 203 f34->update_size = image_size + config_size; in rmi_f34_flash_firmware() 205 if (image_size) { in rmi_f34_flash_firmware() 213 image_size); in rmi_f34_flash_firmware() 224 if (!image_size) { in rmi_f34_flash_firmware() 234 ret = rmi_f34_write_config(f34, &syn_fw->data[image_size]); in rmi_f34_flash_firmware() 247 u32 image_size = le32_to_cpu(syn_fw->image_size); in rmi_f34_update_firmware() local 258 image_size, config_size); in rmi_f34_update_firmware() 266 if (image_size && image_size != f34->v5.fw_blocks * f34->v5.block_size) { in rmi_f34_update_firmware() 269 image_size, f34->v5.fw_blocks * f34->v5.block_size); in rmi_f34_update_firmware() [all …]
|
/linux-6.1.9/Documentation/translations/zh_CN/arm64/ |
D | booting.txt | 96 u64 image_size; /* 映像实际大小, 小端模式 */ 116 - v3.17 之前,未明确指定 text_offset 的字节序。此时,image_size 为零, 118 当 image_size 非零,text_offset 为小端模式且是有效值,应被引导加载 119 程序使用。当 image_size 为零,text_offset 可假定为 0x80000。 134 - 当 image_size 为零时,引导装载程序应试图在内核映像末尾之后尽可能 141 从映像起始地址算起,最少必须准备 image_size 字节的空闲内存供内核使用。
|
/linux-6.1.9/drivers/firmware/efi/libstub/ |
D | riscv-stub.c | 104 unsigned long *image_size, in handle_kernel_image() argument 116 *image_size = kernel_size + (_end - _edata); in handle_kernel_image() 129 status = efi_relocate_kernel(image_addr, kernel_size, *image_size, in handle_kernel_image() 134 *image_size = 0; in handle_kernel_image()
|
D | relocate.c | 111 unsigned long image_size, in efi_relocate_kernel() argument 123 if (!image_addr || !image_size || !alloc_size) in efi_relocate_kernel() 125 if (alloc_size < image_size) in efi_relocate_kernel() 159 memcpy((void *)new_addr, (void *)cur_image_addr, image_size); in efi_relocate_kernel()
|
D | loongarch-stub.c | 26 unsigned long *image_size, in handle_kernel_image() argument 41 *image_size = kernel_asize; in handle_kernel_image()
|
D | efi-stub.c | 130 unsigned long image_size = 0; in efi_pe_entry() local 198 status = handle_kernel_image(&image_addr, &image_size, in efi_pe_entry() 257 efi_free(image_size, image_addr); in efi_pe_entry()
|
D | arm32-stub.c | 117 unsigned long *image_size, in handle_kernel_image() argument 165 *image_size = 0; in handle_kernel_image()
|
/linux-6.1.9/Documentation/translations/zh_TW/arm64/ |
D | booting.txt | 100 u64 image_size; /* 映像實際大小, 小端模式 */ 120 - v3.17 之前,未明確指定 text_offset 的字節序。此時,image_size 爲零, 122 當 image_size 非零,text_offset 爲小端模式且是有效值,應被引導加載 123 程序使用。當 image_size 爲零,text_offset 可假定爲 0x80000。 138 - 當 image_size 爲零時,引導裝載程序應試圖在內核映像末尾之後儘可能 145 從映像起始地址算起,最少必須準備 image_size 字節的空閒內存供內核使用。
|
/linux-6.1.9/drivers/staging/vme_user/ |
D | vme_user.c | 180 size_t image_size; in vme_user_read() local 188 image_size = vme_get_size(image[minor].resource); in vme_user_read() 191 if ((*ppos < 0) || (*ppos > (image_size - 1))) { in vme_user_read() 197 if (*ppos + count > image_size) in vme_user_read() 198 count = image_size - *ppos; in vme_user_read() 223 size_t image_size; in vme_user_write() local 230 image_size = vme_get_size(image[minor].resource); in vme_user_write() 233 if ((*ppos < 0) || (*ppos > (image_size - 1))) { in vme_user_write() 239 if (*ppos + count > image_size) in vme_user_write() 240 count = image_size - *ppos; in vme_user_write() [all …]
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | rtas_flash.c | 167 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()
|
/linux-6.1.9/arch/s390/boot/ |
D | startup.c | 56 return vmlinux.default_lma + vmlinux.image_size + vmlinux.bss_size; in mem_safe_offset() 217 memset((void *)vmlinux.default_lma + vmlinux.image_size, 0, vmlinux.bss_size); in clear_bss_section() 288 memmove((void *)vmlinux.default_lma, img, vmlinux.image_size); in startup_kernel() 290 memcpy((void *)vmlinux.default_lma, img, vmlinux.image_size); in startup_kernel() 304 memset(img, 0, vmlinux.image_size); in startup_kernel()
|
D | decompressor.c | 74 return max(decompress_offset + vmlinux.image_size, in mem_safe_offset() 75 vmlinux.default_lma + vmlinux.image_size + vmlinux.bss_size); in mem_safe_offset()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_uvd.c | 630 unsigned image_size, tmp, min_dpb_size, num_dpb_buffer; in amdgpu_uvd_cs_msg_decode() local 633 image_size = width * height; in amdgpu_uvd_cs_msg_decode() 634 image_size += image_size / 2; in amdgpu_uvd_cs_msg_decode() 635 image_size = ALIGN(image_size, 1024); in amdgpu_uvd_cs_msg_decode() 670 min_dpb_size = image_size * num_dpb_buffer; in amdgpu_uvd_cs_msg_decode() 682 min_dpb_size = image_size * 3; in amdgpu_uvd_cs_msg_decode() 701 min_dpb_size = image_size * 3; in amdgpu_uvd_cs_msg_decode() 707 min_dpb_size = image_size * 3; in amdgpu_uvd_cs_msg_decode() 748 min_dpb_size = image_size * num_dpb_buffer; in amdgpu_uvd_cs_msg_decode() 769 image_size = (ALIGN(width, 16) * ALIGN(height, 16) * 3) / 2; in amdgpu_uvd_cs_msg_decode() [all …]
|
/linux-6.1.9/drivers/block/ |
D | rbd_types.h | 77 __le64 image_size; member 91 __le64 image_size; member
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | radeon_uvd.c | 367 unsigned image_size, tmp, min_dpb_size; in radeon_uvd_cs_msg_decode() local 369 image_size = width * height; in radeon_uvd_cs_msg_decode() 370 image_size += image_size / 2; in radeon_uvd_cs_msg_decode() 371 image_size = ALIGN(image_size, 1024); in radeon_uvd_cs_msg_decode() 377 min_dpb_size = image_size * 17; in radeon_uvd_cs_msg_decode() 389 min_dpb_size = image_size * 3; in radeon_uvd_cs_msg_decode() 408 min_dpb_size = image_size * 3; in radeon_uvd_cs_msg_decode() 414 min_dpb_size = image_size * 3; in radeon_uvd_cs_msg_decode() 440 buf_sizes[0x2] = image_size; in radeon_uvd_cs_msg_decode()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | image.c | 52 image->size = pcir.image_size; in nvbios_imagen() 59 image->size = npde.image_size; in nvbios_imagen()
|
/linux-6.1.9/Documentation/translations/zh_CN/riscv/ |
D | boot-image-header.rst | 28 u64 image_size; /* Effective Image size, little endian */ 68 - 对于引导加载程序加载内核映像来说,image_size成员对引导加载程序而言是必须的,否
|
/linux-6.1.9/arch/arm64/kernel/ |
D | kexec_image.c | 55 if (!h->image_size) in image_load() 83 kbuf.memsz = le64_to_cpu(h->image_size); in image_load()
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_wb.c | 141 u32 image_size, out_size, out_xy; in dpu_hw_wb_roi() local 143 image_size = (wb->dest.height << 16) | wb->dest.width; in dpu_hw_wb_roi() 147 DPU_REG_WRITE(c, WB_OUT_IMAGE_SIZE, image_size); in dpu_hw_wb_roi()
|
/linux-6.1.9/drivers/nfc/s3fwrn5/ |
D | firmware.c | 415 u32 image_size, off; in s3fwrn5_fw_download() local 418 image_size = fw_info->sector_size * fw->image_sectors; in s3fwrn5_fw_download() 428 ret = crypto_shash_tfm_digest(tfm, fw->image, image_size, hash_data); in s3fwrn5_fw_download() 447 for (off = 0; off < image_size; off += fw_info->sector_size) { in s3fwrn5_fw_download()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
D | npde.h | 5 u32 image_size; member
|