p_filesz 179 arch/alpha/boot/tools/objstrip.c fil_size = elf_phdr->p_filesz; p_filesz 27 arch/ia64/kernel/elfcore.c phdr.p_filesz = phdr.p_memsz; p_filesz 30 arch/ia64/kernel/elfcore.c offset += phdr.p_filesz; p_filesz 195 arch/mips/boot/elf2ecoff.c p->p_filesz = swab32(p->p_filesz); p_filesz 365 arch/mips/boot/elf2ecoff.c ndata.len = ph[i].p_filesz; p_filesz 366 arch/mips/boot/elf2ecoff.c nbss.vaddr = ph[i].p_vaddr + ph[i].p_filesz; p_filesz 367 arch/mips/boot/elf2ecoff.c nbss.len = ph[i].p_memsz - ph[i].p_filesz; p_filesz 375 arch/mips/boot/elf2ecoff.c ntxt.len = ph[i].p_filesz; p_filesz 567 arch/mips/boot/elf2ecoff.c if (ph[i].p_type == PT_LOAD && ph[i].p_filesz) { p_filesz 597 arch/mips/boot/elf2ecoff.c ph[i].p_filesz); p_filesz 599 arch/mips/boot/elf2ecoff.c ph[i].p_filesz); p_filesz 600 arch/mips/boot/elf2ecoff.c cur_vma = ph[i].p_vaddr + ph[i].p_filesz; p_filesz 108 arch/mips/kernel/elf.c if (phdr32->p_filesz < sizeof(abiflags)) p_filesz 114 arch/mips/kernel/elf.c if (phdr64->p_filesz < sizeof(abiflags)) p_filesz 705 arch/mips/kernel/vpe.c phdr->p_filesz); p_filesz 706 arch/mips/kernel/vpe.c memset((void *)phdr->p_paddr + phdr->p_filesz, p_filesz 707 arch/mips/kernel/vpe.c 0, phdr->p_memsz - phdr->p_filesz); p_filesz 271 arch/parisc/boot/compressed/misc.c memmove(dest, output + phdr->p_offset, phdr->p_filesz); p_filesz 100 arch/powerpc/boot/elf.h Elf32_Word p_filesz; p_filesz 112 arch/powerpc/boot/elf.h Elf64_Xword p_filesz; /* Segment size in file */ p_filesz 43 arch/powerpc/boot/elf_util.c info->loadsize = (unsigned long)elf64ph->p_filesz; p_filesz 74 arch/powerpc/boot/elf_util.c info->loadsize = elf32ph->p_filesz; p_filesz 669 arch/powerpc/kernel/fadump.c phdr->p_filesz = fw_dump.cpu_notes_buf_size; p_filesz 979 arch/powerpc/kernel/fadump.c phdr->p_filesz = 0; p_filesz 994 arch/powerpc/kernel/fadump.c phdr->p_memsz = phdr->p_filesz = VMCOREINFO_NOTE_SIZE; p_filesz 1032 arch/powerpc/kernel/fadump.c phdr->p_filesz = msize; p_filesz 1124 arch/powerpc/kernel/prom_init.c .p_filesz = sizeof(struct chrpnote) p_filesz 1128 arch/powerpc/kernel/prom_init.c .p_filesz = sizeof(struct rpanote) p_filesz 384 arch/powerpc/platforms/powernv/opal-core.c phdr->p_filesz = phdr->p_memsz = cpu_to_be64(cpu_notes_size); p_filesz 407 arch/powerpc/platforms/powernv/opal-core.c phdr->p_filesz = phdr->p_memsz = p_filesz 568 arch/s390/kernel/crash_dump.c phdr->p_filesz = end - start; p_filesz 600 arch/s390/kernel/crash_dump.c phdr->p_filesz = (unsigned long) PTR_SUB(ptr, ptr_start); p_filesz 601 arch/s390/kernel/crash_dump.c phdr->p_memsz = phdr->p_filesz; p_filesz 40 arch/s390/kernel/kexec_elf.c buf.bufsz = phdr->p_filesz; p_filesz 101 arch/s390/kernel/kexec_elf.c size += ALIGN(phdr->p_filesz, phdr->p_align); p_filesz 37 arch/sparc/vdso/vdso2c.h if (GET_BE(&pt[i].p_memsz) != GET_BE(&pt[i].p_filesz)) p_filesz 314 arch/x86/boot/compressed/misc.c memmove(dest, output + phdr->p_offset, phdr->p_filesz); p_filesz 39 arch/x86/entry/vdso/vdso2c.h if (GET_LE(&pt[i].p_memsz) != GET_LE(&pt[i].p_filesz)) p_filesz 30 arch/x86/um/elfcore.c offset += phdr.p_filesz; p_filesz 54 arch/x86/um/elfcore.c size_t filesz = phdrp[i].p_filesz; p_filesz 74 arch/x86/um/elfcore.c return (size_t) phdrp[i].p_filesz; p_filesz 1038 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c phdr->p_paddr, phdr->p_filesz, p_filesz 1041 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c for (i = 0; i < phdr->p_filesz; i++) { p_filesz 1067 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c seg_num, phdr->p_paddr, phdr->p_filesz, p_filesz 1071 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c phdr->p_filesz); p_filesz 1073 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c memset((void __force *)dst + phdr->p_filesz, 0, p_filesz 1074 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c phdr->p_memsz - phdr->p_filesz); p_filesz 1100 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c if (phdr->p_offset + phdr->p_filesz > fw->size) { p_filesz 1010 drivers/remoteproc/qcom_q6v5_mss.c if (phdr->p_filesz && phdr->p_offset < fw->size) { p_filesz 1012 drivers/remoteproc/qcom_q6v5_mss.c if (phdr->p_offset + phdr->p_filesz > fw->size) { p_filesz 1020 drivers/remoteproc/qcom_q6v5_mss.c memcpy(ptr, fw->data + phdr->p_offset, phdr->p_filesz); p_filesz 1021 drivers/remoteproc/qcom_q6v5_mss.c } else if (phdr->p_filesz) { p_filesz 1035 drivers/remoteproc/qcom_q6v5_mss.c if (phdr->p_memsz > phdr->p_filesz) { p_filesz 1036 drivers/remoteproc/qcom_q6v5_mss.c memset(ptr + phdr->p_filesz, 0, p_filesz 1037 drivers/remoteproc/qcom_q6v5_mss.c phdr->p_memsz - phdr->p_filesz); p_filesz 1615 drivers/remoteproc/remoteproc_core.c phdr->p_filesz = segment->size; p_filesz 1634 drivers/remoteproc/remoteproc_core.c offset += phdr->p_filesz; p_filesz 152 drivers/remoteproc/remoteproc_elf_loader.c u32 filesz = phdr->p_filesz; p_filesz 185 drivers/remoteproc/remoteproc_elf_loader.c if (phdr->p_filesz) p_filesz 107 drivers/soc/qcom/mdt_loader.c ehdr_size = phdrs[0].p_filesz; p_filesz 108 drivers/soc/qcom/mdt_loader.c hash_size = phdrs[1].p_filesz; p_filesz 116 drivers/soc/qcom/mdt_loader.c hash_offset = phdrs[0].p_filesz; p_filesz 235 drivers/soc/qcom/mdt_loader.c if (phdr->p_filesz && phdr->p_offset < fw->size) { p_filesz 237 drivers/soc/qcom/mdt_loader.c if (phdr->p_offset + phdr->p_filesz > fw->size) { p_filesz 245 drivers/soc/qcom/mdt_loader.c memcpy(ptr, fw->data + phdr->p_offset, phdr->p_filesz); p_filesz 246 drivers/soc/qcom/mdt_loader.c } else if (phdr->p_filesz) { p_filesz 250 drivers/soc/qcom/mdt_loader.c ptr, phdr->p_filesz); p_filesz 259 drivers/soc/qcom/mdt_loader.c if (phdr->p_memsz > phdr->p_filesz) p_filesz 260 drivers/soc/qcom/mdt_loader.c memset(ptr + phdr->p_filesz, 0, phdr->p_memsz - phdr->p_filesz); p_filesz 353 fs/binfmt_elf.c unsigned long size = eppnt->p_filesz + ELF_PAGEOFFSET(eppnt->p_vaddr); p_filesz 612 fs/binfmt_elf.c eppnt->p_filesz > eppnt->p_memsz || p_filesz 623 fs/binfmt_elf.c k = load_addr + eppnt->p_vaddr + eppnt->p_filesz; p_filesz 735 fs/binfmt_elf.c if (elf_ppnt->p_filesz > PATH_MAX || elf_ppnt->p_filesz < 2) p_filesz 739 fs/binfmt_elf.c elf_interpreter = kmalloc(elf_ppnt->p_filesz, GFP_KERNEL); p_filesz 745 fs/binfmt_elf.c elf_ppnt->p_filesz, &pos); p_filesz 746 fs/binfmt_elf.c if (retval != elf_ppnt->p_filesz) { p_filesz 753 fs/binfmt_elf.c if (elf_interpreter[elf_ppnt->p_filesz - 1] != '\0') p_filesz 1012 fs/binfmt_elf.c if (BAD_ADDR(k) || elf_ppnt->p_filesz > elf_ppnt->p_memsz || p_filesz 1020 fs/binfmt_elf.c k = elf_ppnt->p_vaddr + elf_ppnt->p_filesz; p_filesz 1228 fs/binfmt_elf.c (eppnt->p_filesz + p_filesz 1237 fs/binfmt_elf.c elf_bss = eppnt->p_vaddr + eppnt->p_filesz; p_filesz 1243 fs/binfmt_elf.c len = ELF_PAGEALIGN(eppnt->p_filesz + eppnt->p_vaddr); p_filesz 1453 fs/binfmt_elf.c phdr->p_filesz = sz; p_filesz 2310 fs/binfmt_elf.c phdr.p_filesz = vma_filesz[i++]; p_filesz 2312 fs/binfmt_elf.c offset += phdr.p_filesz; p_filesz 235 fs/binfmt_elf_fdpic.c if (phdr->p_filesz > PATH_MAX) p_filesz 238 fs/binfmt_elf_fdpic.c if (phdr->p_filesz < 2) p_filesz 242 fs/binfmt_elf_fdpic.c interpreter_name = kmalloc(phdr->p_filesz, GFP_KERNEL); p_filesz 248 fs/binfmt_elf_fdpic.c phdr->p_filesz, &pos); p_filesz 249 fs/binfmt_elf_fdpic.c if (unlikely(retval != phdr->p_filesz)) { p_filesz 256 fs/binfmt_elf_fdpic.c if (interpreter_name[phdr->p_filesz - 1] != '\0') p_filesz 807 fs/binfmt_elf_fdpic.c phdr->p_offset + phdr->p_filesz < stop) p_filesz 813 fs/binfmt_elf_fdpic.c phdr->p_vaddr + phdr->p_filesz <= p_filesz 965 fs/binfmt_elf_fdpic.c phdr->p_filesz); p_filesz 974 fs/binfmt_elf_fdpic.c if (phdr->p_filesz < phdr->p_memsz) { p_filesz 975 fs/binfmt_elf_fdpic.c if (clear_user((void *) (seg->addr + phdr->p_filesz), p_filesz 976 fs/binfmt_elf_fdpic.c phdr->p_memsz - phdr->p_filesz)) p_filesz 1031 fs/binfmt_elf_fdpic.c (unsigned long) phdr->p_filesz, p_filesz 1119 fs/binfmt_elf_fdpic.c excess = phdr->p_memsz - phdr->p_filesz; p_filesz 1120 fs/binfmt_elf_fdpic.c excess1 = PAGE_SIZE - ((maddr + phdr->p_filesz) & ~PAGE_MASK); p_filesz 1124 fs/binfmt_elf_fdpic.c unsigned long xaddr = maddr + phdr->p_filesz + excess1; p_filesz 1142 fs/binfmt_elf_fdpic.c loop, maddr + phdr->p_filesz, excess1); p_filesz 1143 fs/binfmt_elf_fdpic.c if (clear_user((void __user *) maddr + phdr->p_filesz, p_filesz 1151 fs/binfmt_elf_fdpic.c loop, maddr + phdr->p_filesz, excess); p_filesz 1152 fs/binfmt_elf_fdpic.c if (clear_user((void *) maddr + phdr->p_filesz, excess)) p_filesz 1321 fs/binfmt_elf_fdpic.c phdr->p_filesz = sz; p_filesz 1737 fs/binfmt_elf_fdpic.c phdr.p_filesz = maydump(vma, cprm->mm_flags) ? sz : 0; p_filesz 1739 fs/binfmt_elf_fdpic.c offset += phdr.p_filesz; p_filesz 378 fs/proc/kcore.c phdrs[0].p_filesz = notes_len; p_filesz 395 fs/proc/kcore.c phdr->p_filesz = phdr->p_memsz = m->size; p_filesz 860 fs/proc/vmcore.c phdr.p_filesz = phdr.p_memsz = phdr_sz; p_filesz 1051 fs/proc/vmcore.c phdr.p_filesz = phdr.p_memsz = phdr_sz; p_filesz 1387 fs/proc/vmcore.c phdr->p_filesz = phdr->p_memsz; p_filesz 1407 fs/proc/vmcore.c phdr->p_filesz = phdr->p_memsz; p_filesz 249 include/uapi/linux/elf.h Elf32_Word p_filesz; p_filesz 261 include/uapi/linux/elf.h Elf64_Xword p_filesz; /* Segment size in file */ p_filesz 216 kernel/bpf/stackmap.c phdr[i].p_filesz); p_filesz 239 kernel/bpf/stackmap.c phdr[i].p_filesz); p_filesz 188 kernel/kexec_elf.c if (phdr->p_offset + phdr->p_filesz < phdr->p_offset) { p_filesz 191 kernel/kexec_elf.c } else if (phdr->p_offset + phdr->p_filesz > buf_len) { p_filesz 223 kernel/kexec_elf.c phdr->p_filesz = elf64_to_cpu(ehdr, buf_phdr->p_filesz); p_filesz 232 kernel/kexec_elf.c phdr->p_filesz = elf32_to_cpu(ehdr, buf_phdr->p_filesz); p_filesz 407 kernel/kexec_elf.c size = phdr->p_filesz; p_filesz 1291 kernel/kexec_file.c phdr->p_filesz = phdr->p_memsz = sizeof(note_buf_t); p_filesz 1299 kernel/kexec_file.c phdr->p_filesz = phdr->p_memsz = VMCOREINFO_NOTE_SIZE; p_filesz 1308 kernel/kexec_file.c phdr->p_filesz = phdr->p_memsz = _end - _text; p_filesz 1325 kernel/kexec_file.c phdr->p_filesz = phdr->p_memsz = mend - mstart + 1; p_filesz 1330 kernel/kexec_file.c phdr, phdr->p_vaddr, phdr->p_paddr, phdr->p_filesz, p_filesz 83 sound/pci/mixart/mixart_hwdep.c __be32 p_filesz; p_filesz 109 sound/pci/mixart/mixart_hwdep.c if( elf_programheader.p_filesz != 0 ) { p_filesz 112 sound/pci/mixart/mixart_hwdep.c be32_to_cpu( elf_programheader.p_filesz )); p_filesz 1195 tools/perf/util/symbol-elf.c sz = min(phdr.p_memsz, phdr.p_filesz); p_filesz 1416 tools/perf/util/symbol-elf.c .p_filesz = len, p_filesz 142 tools/perf/util/symbol-minimal.c phdr->p_filesz = bswap_32(phdr->p_filesz); p_filesz 148 tools/perf/util/symbol-minimal.c buf_size = phdr->p_filesz; p_filesz 193 tools/perf/util/symbol-minimal.c phdr->p_filesz = bswap_64(phdr->p_filesz); p_filesz 199 tools/perf/util/symbol-minimal.c buf_size = phdr->p_filesz; p_filesz 183 tools/testing/selftests/kvm/lib/elf.c if (phdr.p_filesz) { p_filesz 193 tools/testing/selftests/kvm/lib/elf.c phdr.p_filesz); p_filesz 233 tools/testing/selftests/powerpc/ptrace/core-pkey.c (void *) nhdr < p + phdr->p_offset + phdr->p_filesz; p_filesz 238 tools/testing/selftests/powerpc/ptrace/core-pkey.c FAIL_IF((void *) nhdr >= p + phdr->p_offset + phdr->p_filesz); p_filesz 101 tools/testing/selftests/proc/proc-pid-vm.c uint64_t p_filesz; p_filesz 190 tools/testing/selftests/proc/proc-pid-vm.c ph.p_filesz = sizeof(struct elf64_hdr) + sizeof(struct elf64_phdr) + len;