Lines Matching refs:p_filesz
235 if (phdr->p_filesz > PATH_MAX) in load_elf_fdpic_binary()
238 if (phdr->p_filesz < 2) in load_elf_fdpic_binary()
242 interpreter_name = kmalloc(phdr->p_filesz, GFP_KERNEL); in load_elf_fdpic_binary()
248 phdr->p_filesz, &pos); in load_elf_fdpic_binary()
249 if (unlikely(retval != phdr->p_filesz)) { in load_elf_fdpic_binary()
256 if (interpreter_name[phdr->p_filesz - 1] != '\0') in load_elf_fdpic_binary()
812 phdr->p_offset + phdr->p_filesz < stop) in elf_fdpic_map_file()
818 phdr->p_vaddr + phdr->p_filesz <= in elf_fdpic_map_file()
966 phdr->p_filesz); in elf_fdpic_map_file_constdisp_on_uclinux()
975 if (phdr->p_filesz < phdr->p_memsz) { in elf_fdpic_map_file_constdisp_on_uclinux()
976 if (clear_user((void *) (seg->addr + phdr->p_filesz), in elf_fdpic_map_file_constdisp_on_uclinux()
977 phdr->p_memsz - phdr->p_filesz)) in elf_fdpic_map_file_constdisp_on_uclinux()
1032 (unsigned long) phdr->p_filesz, in elf_fdpic_map_file_by_direct_mmap()
1117 excess = phdr->p_memsz - phdr->p_filesz; in elf_fdpic_map_file_by_direct_mmap()
1118 excess1 = PAGE_SIZE - ((maddr + phdr->p_filesz) & ~PAGE_MASK); in elf_fdpic_map_file_by_direct_mmap()
1122 unsigned long xaddr = maddr + phdr->p_filesz + excess1; in elf_fdpic_map_file_by_direct_mmap()
1140 loop, maddr + phdr->p_filesz, excess1); in elf_fdpic_map_file_by_direct_mmap()
1141 if (clear_user((void __user *) maddr + phdr->p_filesz, in elf_fdpic_map_file_by_direct_mmap()
1149 loop, maddr + phdr->p_filesz, excess); in elf_fdpic_map_file_by_direct_mmap()
1150 if (clear_user((void *) maddr + phdr->p_filesz, excess)) in elf_fdpic_map_file_by_direct_mmap()
1264 phdr->p_filesz = sz; in fill_elf_note_phdr()
1583 phdr.p_filesz = meta->dump_size; in elf_fdpic_core_dump()
1585 offset += phdr.p_filesz; in elf_fdpic_core_dump()