p_memsz 178 arch/alpha/boot/tools/objstrip.c mem_size = elf_phdr->p_memsz; p_memsz 26 arch/ia64/kernel/elfcore.c phdr.p_memsz = PAGE_ALIGN(phdr.p_memsz); p_memsz 27 arch/ia64/kernel/elfcore.c phdr.p_filesz = phdr.p_memsz; p_memsz 53 arch/ia64/kernel/elfcore.c size_t memsz = PAGE_ALIGN(gate_phdrs[i].p_memsz); p_memsz 72 arch/ia64/kernel/elfcore.c size += PAGE_ALIGN(gate_phdrs[i].p_memsz); p_memsz 2208 arch/ia64/kernel/unwind.c end = (struct unw_table_entry *) ((char *) start + punw->p_memsz); p_memsz 196 arch/mips/boot/elf2ecoff.c p->p_memsz = swab32(p->p_memsz); p_memsz 367 arch/mips/boot/elf2ecoff.c nbss.len = ph[i].p_memsz - ph[i].p_filesz; p_memsz 707 arch/mips/kernel/vpe.c 0, phdr->p_memsz - phdr->p_filesz); p_memsz 101 arch/powerpc/boot/elf.h Elf32_Word p_memsz; p_memsz 113 arch/powerpc/boot/elf.h Elf64_Xword p_memsz; /* Segment size in memory */ p_memsz 44 arch/powerpc/boot/elf_util.c info->memsize = (unsigned long)elf64ph->p_memsz; p_memsz 75 arch/powerpc/boot/elf_util.c info->memsize = elf32ph->p_memsz; p_memsz 670 arch/powerpc/kernel/fadump.c phdr->p_memsz = fw_dump.cpu_notes_buf_size; p_memsz 980 arch/powerpc/kernel/fadump.c phdr->p_memsz = 0; p_memsz 994 arch/powerpc/kernel/fadump.c phdr->p_memsz = phdr->p_filesz = VMCOREINFO_NOTE_SIZE; p_memsz 1033 arch/powerpc/kernel/fadump.c phdr->p_memsz = msize; p_memsz 162 arch/powerpc/oprofile/cell/vma_map.c map = vma_map_add(map, phdr.p_vaddr, phdr.p_memsz, p_memsz 384 arch/powerpc/platforms/powernv/opal-core.c phdr->p_filesz = phdr->p_memsz = cpu_to_be64(cpu_notes_size); p_memsz 407 arch/powerpc/platforms/powernv/opal-core.c phdr->p_filesz = phdr->p_memsz = p_memsz 573 arch/s390/kernel/crash_dump.c phdr->p_memsz = end - start; p_memsz 601 arch/s390/kernel/crash_dump.c phdr->p_memsz = phdr->p_filesz; p_memsz 45 arch/s390/kernel/kexec_elf.c buf.memsz = phdr->p_memsz; p_memsz 48 arch/s390/kernel/kexec_elf.c if (entry - phdr->p_paddr < phdr->p_memsz) { p_memsz 37 arch/sparc/vdso/vdso2c.h if (GET_BE(&pt[i].p_memsz) != GET_BE(&pt[i].p_filesz)) p_memsz 40 arch/sparc/vdso/vdso2c.h load_size = GET_BE(&pt[i].p_memsz); p_memsz 45 arch/sparc/vdso/vdso2c.h GET_BE(&pt[i].p_memsz); p_memsz 39 arch/x86/entry/vdso/vdso2c.h if (GET_LE(&pt[i].p_memsz) != GET_LE(&pt[i].p_filesz)) p_memsz 42 arch/x86/entry/vdso/vdso2c.h load_size = GET_LE(&pt[i].p_memsz); p_memsz 47 arch/x86/entry/vdso/vdso2c.h GET_LE(&pt[i].p_memsz); p_memsz 282 arch/x86/kernel/crash.c phdr->p_memsz == image->arch.backup_src_sz) { p_memsz 1039 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c dest, phdr->p_memsz + phdr->p_memsz / 3); p_memsz 1068 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c dst, phdr->p_memsz); p_memsz 1074 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c phdr->p_memsz - phdr->p_filesz); p_memsz 111 drivers/remoteproc/qcom_common.c if (!phdr->p_memsz) p_memsz 115 drivers/remoteproc/qcom_common.c phdr->p_memsz); p_memsz 722 drivers/remoteproc/qcom_q6v5_mss.c if (!phdr->p_memsz) p_memsz 980 drivers/remoteproc/qcom_q6v5_mss.c if (phdr->p_paddr + phdr->p_memsz > max_addr) p_memsz 981 drivers/remoteproc/qcom_q6v5_mss.c max_addr = ALIGN(phdr->p_paddr + phdr->p_memsz, SZ_4K); p_memsz 1002 drivers/remoteproc/qcom_q6v5_mss.c if (offset < 0 || offset + phdr->p_memsz > qproc->mpss_size) { p_memsz 1035 drivers/remoteproc/qcom_q6v5_mss.c if (phdr->p_memsz > phdr->p_filesz) { p_memsz 1037 drivers/remoteproc/qcom_q6v5_mss.c phdr->p_memsz - phdr->p_filesz); p_memsz 1039 drivers/remoteproc/qcom_q6v5_mss.c size += phdr->p_memsz; p_memsz 1210 drivers/remoteproc/qcom_q6v5_mss.c phdr->p_memsz, p_memsz 1616 drivers/remoteproc/remoteproc_core.c phdr->p_memsz = segment->size; p_memsz 151 drivers/remoteproc/remoteproc_elf_loader.c u32 memsz = phdr->p_memsz; p_memsz 28 drivers/soc/qcom/mdt_loader.c if (!phdr->p_memsz) p_memsz 61 drivers/soc/qcom/mdt_loader.c if (phdr->p_paddr + phdr->p_memsz > max_addr) p_memsz 62 drivers/soc/qcom/mdt_loader.c max_addr = ALIGN(phdr->p_paddr + phdr->p_memsz, SZ_4K); p_memsz 193 drivers/soc/qcom/mdt_loader.c if (phdr->p_paddr + phdr->p_memsz > max_addr) p_memsz 194 drivers/soc/qcom/mdt_loader.c max_addr = ALIGN(phdr->p_paddr + phdr->p_memsz, SZ_4K); p_memsz 227 drivers/soc/qcom/mdt_loader.c if (offset < 0 || offset + phdr->p_memsz > mem_size) { p_memsz 259 drivers/soc/qcom/mdt_loader.c if (phdr->p_memsz > phdr->p_filesz) p_memsz 260 drivers/soc/qcom/mdt_loader.c memset(ptr + phdr->p_filesz, 0, phdr->p_memsz - phdr->p_filesz); p_memsz 403 fs/binfmt_elf.c return cmds[last_idx].p_vaddr + cmds[last_idx].p_memsz - p_memsz 612 fs/binfmt_elf.c eppnt->p_filesz > eppnt->p_memsz || p_memsz 613 fs/binfmt_elf.c eppnt->p_memsz > TASK_SIZE || p_memsz 614 fs/binfmt_elf.c TASK_SIZE - eppnt->p_memsz < k) { p_memsz 631 fs/binfmt_elf.c k = load_addr + eppnt->p_vaddr + eppnt->p_memsz; p_memsz 1012 fs/binfmt_elf.c if (BAD_ADDR(k) || elf_ppnt->p_filesz > elf_ppnt->p_memsz || p_memsz 1013 fs/binfmt_elf.c elf_ppnt->p_memsz > TASK_SIZE || p_memsz 1014 fs/binfmt_elf.c TASK_SIZE - elf_ppnt->p_memsz < k) { p_memsz 1028 fs/binfmt_elf.c k = elf_ppnt->p_vaddr + elf_ppnt->p_memsz; p_memsz 1244 fs/binfmt_elf.c bss = ELF_PAGEALIGN(eppnt->p_memsz + eppnt->p_vaddr); p_memsz 1454 fs/binfmt_elf.c phdr->p_memsz = 0; p_memsz 2311 fs/binfmt_elf.c phdr.p_memsz = vma->vm_end - vma->vm_start; p_memsz 171 fs/binfmt_elf_fdpic.c params->stack_size = phdr->p_memsz; p_memsz 788 fs/binfmt_elf_fdpic.c params->hdr.e_entry < seg->p_vaddr + seg->p_memsz) { p_memsz 814 fs/binfmt_elf_fdpic.c seg->p_vaddr + seg->p_memsz) { p_memsz 834 fs/binfmt_elf_fdpic.c phdr->p_vaddr + phdr->p_memsz <= p_memsz 835 fs/binfmt_elf_fdpic.c seg->p_vaddr + seg->p_memsz) { p_memsz 846 fs/binfmt_elf_fdpic.c if (phdr->p_memsz == 0 || p_memsz 847 fs/binfmt_elf_fdpic.c phdr->p_memsz % sizeof(Elf32_Dyn) != 0) p_memsz 850 fs/binfmt_elf_fdpic.c tmp = phdr->p_memsz / sizeof(Elf32_Dyn); p_memsz 872 fs/binfmt_elf_fdpic.c load_addr = PAGE_ALIGN(mseg->addr + mseg->p_memsz); p_memsz 874 fs/binfmt_elf_fdpic.c mseg->p_memsz += p_memsz 876 fs/binfmt_elf_fdpic.c (mseg->addr + mseg->p_memsz); p_memsz 877 fs/binfmt_elf_fdpic.c mseg->p_memsz += seg->addr & ~PAGE_MASK; p_memsz 878 fs/binfmt_elf_fdpic.c mseg->p_memsz += seg->p_memsz; p_memsz 899 fs/binfmt_elf_fdpic.c seg->addr, seg->addr + seg->p_memsz - 1, p_memsz 900 fs/binfmt_elf_fdpic.c seg->p_vaddr, seg->p_memsz); p_memsz 937 fs/binfmt_elf_fdpic.c if (top < phdr->p_vaddr + phdr->p_memsz) p_memsz 938 fs/binfmt_elf_fdpic.c top = phdr->p_vaddr + phdr->p_memsz; p_memsz 962 fs/binfmt_elf_fdpic.c seg->p_memsz = phdr->p_memsz; p_memsz 974 fs/binfmt_elf_fdpic.c if (phdr->p_filesz < phdr->p_memsz) { p_memsz 976 fs/binfmt_elf_fdpic.c phdr->p_memsz - phdr->p_filesz)) p_memsz 985 fs/binfmt_elf_fdpic.c phdr->p_memsz; p_memsz 989 fs/binfmt_elf_fdpic.c mm->end_data = seg->addr + phdr->p_memsz; p_memsz 1032 fs/binfmt_elf_fdpic.c (unsigned long) phdr->p_memsz); p_memsz 1083 fs/binfmt_elf_fdpic.c maddr = vm_mmap(file, maddr, phdr->p_memsz + disp, prot, flags, p_memsz 1087 fs/binfmt_elf_fdpic.c loop, phdr->p_memsz + disp, prot, flags, p_memsz 1095 fs/binfmt_elf_fdpic.c load_addr += PAGE_ALIGN(phdr->p_memsz + disp); p_memsz 1099 fs/binfmt_elf_fdpic.c seg->p_memsz = phdr->p_memsz; p_memsz 1119 fs/binfmt_elf_fdpic.c excess = phdr->p_memsz - phdr->p_filesz; p_memsz 1161 fs/binfmt_elf_fdpic.c mm->end_code = maddr + phdr->p_memsz; p_memsz 1165 fs/binfmt_elf_fdpic.c mm->end_data = maddr + phdr->p_memsz; p_memsz 1322 fs/binfmt_elf_fdpic.c phdr->p_memsz = 0; p_memsz 1738 fs/binfmt_elf_fdpic.c phdr.p_memsz = sz; p_memsz 395 fs/proc/kcore.c phdr->p_filesz = phdr->p_memsz = m->size; p_memsz 716 fs/proc/vmcore.c max_sz = phdr_ptr->p_memsz; p_memsz 740 fs/proc/vmcore.c phdr_ptr->p_memsz = real_sz; p_memsz 780 fs/proc/vmcore.c *sz_ptnote += phdr_ptr->p_memsz; p_memsz 814 fs/proc/vmcore.c rc = elfcorehdr_read_notes(notes_buf, phdr_ptr->p_memsz, p_memsz 818 fs/proc/vmcore.c notes_buf += phdr_ptr->p_memsz; p_memsz 860 fs/proc/vmcore.c phdr.p_filesz = phdr.p_memsz = phdr_sz; p_memsz 881 fs/proc/vmcore.c elfnotes_orig_sz = phdr.p_memsz; p_memsz 907 fs/proc/vmcore.c max_sz = phdr_ptr->p_memsz; p_memsz 931 fs/proc/vmcore.c phdr_ptr->p_memsz = real_sz; p_memsz 971 fs/proc/vmcore.c *sz_ptnote += phdr_ptr->p_memsz; p_memsz 1005 fs/proc/vmcore.c rc = elfcorehdr_read_notes(notes_buf, phdr_ptr->p_memsz, p_memsz 1009 fs/proc/vmcore.c notes_buf += phdr_ptr->p_memsz; p_memsz 1051 fs/proc/vmcore.c phdr.p_filesz = phdr.p_memsz = phdr_sz; p_memsz 1072 fs/proc/vmcore.c elfnotes_orig_sz = phdr.p_memsz; p_memsz 1104 fs/proc/vmcore.c end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE); p_memsz 1147 fs/proc/vmcore.c end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE); p_memsz 1386 fs/proc/vmcore.c phdr->p_memsz = elfnotes_orig_sz + vmcoreddsz; p_memsz 1387 fs/proc/vmcore.c phdr->p_filesz = phdr->p_memsz; p_memsz 1392 fs/proc/vmcore.c end = roundup(phdr->p_offset + phdr->p_memsz, p_memsz 1406 fs/proc/vmcore.c phdr->p_memsz = elfnotes_orig_sz + vmcoreddsz; p_memsz 1407 fs/proc/vmcore.c phdr->p_filesz = phdr->p_memsz; p_memsz 1412 fs/proc/vmcore.c end = roundup(phdr->p_offset + phdr->p_memsz, p_memsz 24 include/uapi/linux/elf-fdpic.h Elf32_Word p_memsz; /* allocation size recorded in file */ p_memsz 250 include/uapi/linux/elf.h Elf32_Word p_memsz; p_memsz 262 include/uapi/linux/elf.h Elf64_Xword p_memsz; /* Segment size in memory */ p_memsz 194 kernel/kexec_elf.c } else if (phdr->p_paddr + phdr->p_memsz < phdr->p_paddr) { p_memsz 224 kernel/kexec_elf.c phdr->p_memsz = elf64_to_cpu(ehdr, buf_phdr->p_memsz); p_memsz 233 kernel/kexec_elf.c phdr->p_memsz = elf32_to_cpu(ehdr, buf_phdr->p_memsz); p_memsz 408 kernel/kexec_elf.c if (size > phdr->p_memsz) p_memsz 409 kernel/kexec_elf.c size = phdr->p_memsz; p_memsz 413 kernel/kexec_elf.c kbuf->memsz = phdr->p_memsz; p_memsz 1291 kernel/kexec_file.c phdr->p_filesz = phdr->p_memsz = sizeof(note_buf_t); p_memsz 1299 kernel/kexec_file.c phdr->p_filesz = phdr->p_memsz = VMCOREINFO_NOTE_SIZE; p_memsz 1308 kernel/kexec_file.c phdr->p_filesz = phdr->p_memsz = _end - _text; p_memsz 1325 kernel/kexec_file.c phdr->p_filesz = phdr->p_memsz = mend - mstart + 1; p_memsz 84 sound/pci/mixart/mixart_hwdep.c __be32 p_memsz; p_memsz 1195 tools/perf/util/symbol-elf.c sz = min(phdr.p_memsz, phdr.p_filesz); p_memsz 1417 tools/perf/util/symbol-elf.c .p_memsz = len, p_memsz 157 tools/testing/selftests/kvm/lib/elf.c TEST_ASSERT(phdr.p_memsz > 0, "Unexpected loadable segment " p_memsz 160 tools/testing/selftests/kvm/lib/elf.c n1, (uint64_t) phdr.p_memsz); p_memsz 163 tools/testing/selftests/kvm/lib/elf.c vm_vaddr_t seg_vend = phdr.p_vaddr + phdr.p_memsz - 1; p_memsz 102 tools/testing/selftests/proc/proc-pid-vm.c uint64_t p_memsz; p_memsz 191 tools/testing/selftests/proc/proc-pid-vm.c ph.p_memsz = sizeof(struct elf64_hdr) + sizeof(struct elf64_phdr) + len;