Home
last modified time | relevance | path

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

/arch/x86/um/
Delfcore.c29 offset += phdr.p_filesz; in elf_core_write_extra_phdrs()
53 size_t filesz = phdrp[i].p_filesz; in elf_core_write_extra_data()
73 return (size_t) phdrp[i].p_filesz; in elf_core_extra_data_size()
/arch/ia64/hp/sim/boot/
Dbootloader.c151 req.len = elf_phdr->p_filesz; in start_bootloader()
155 memset((char *)__pa(elf_phdr->p_paddr) + elf_phdr->p_filesz, 0, in start_bootloader()
156 elf_phdr->p_memsz - elf_phdr->p_filesz); in start_bootloader()
/arch/ia64/kernel/
Delfcore.c26 phdr.p_filesz = phdr.p_memsz; in elf_core_write_extra_phdrs()
29 offset += phdr.p_filesz; in elf_core_write_extra_phdrs()
/arch/powerpc/boot/
Delf_util.c47 info->loadsize = (unsigned long)elf64ph->p_filesz; in parse_elf64()
78 info->loadsize = elf32ph->p_filesz; in parse_elf32()
Delf.h99 Elf32_Word p_filesz; member
111 Elf64_Xword p_filesz; /* Segment size in file */ member
/arch/mips/boot/
Delf2ecoff.c193 p->p_filesz = swab32(p->p_filesz); in convert_elf_phdrs()
363 ndata.len = ph[i].p_filesz; in main()
364 nbss.vaddr = ph[i].p_vaddr + ph[i].p_filesz; in main()
365 nbss.len = ph[i].p_memsz - ph[i].p_filesz; in main()
373 ntxt.len = ph[i].p_filesz; in main()
565 if (ph[i].p_type == PT_LOAD && ph[i].p_filesz) { in main()
596 ph[i].p_filesz); in main()
598 ph[i].p_filesz); in main()
599 cur_vma = ph[i].p_vaddr + ph[i].p_filesz; in main()
/arch/x86/kernel/
Dcrash.c385 phdr->p_filesz = phdr->p_memsz = mend - mstart + 1; in prepare_elf64_ram_headers_callback()
389 phdr, phdr->p_vaddr, phdr->p_paddr, phdr->p_filesz, in prepare_elf64_ram_headers_callback()
450 phdr->p_filesz = phdr->p_memsz = sizeof(note_buf_t); in prepare_elf64_headers()
459 phdr->p_filesz = phdr->p_memsz = sizeof(vmcoreinfo_note); in prepare_elf64_headers()
469 phdr->p_filesz = phdr->p_memsz = _end - _text; in prepare_elf64_headers()
/arch/mips/kernel/
Delf.c109 if (phdr32->p_filesz < sizeof(abiflags)) in arch_elf_pt_proc()
118 if (phdr64->p_filesz < sizeof(abiflags)) in arch_elf_pt_proc()
Dvpe.c705 phdr->p_filesz); in vpe_elfload()
706 memset((void *)phdr->p_paddr + phdr->p_filesz, in vpe_elfload()
707 0, phdr->p_memsz - phdr->p_filesz); in vpe_elfload()
/arch/s390/kernel/
Dcrash_dump.c502 phdr->p_filesz = end - start; in loads_init()
534 phdr->p_filesz = (unsigned long) PTR_SUB(ptr, ptr_start); in notes_init()
535 phdr->p_memsz = phdr->p_filesz; in notes_init()
/arch/powerpc/kernel/
Dfadump.c546 phdr->p_filesz = fw_dump.cpu_notes_buf_size; in fadump_update_elfcore_header()
871 phdr->p_filesz = 0; in fadump_create_elfcore_headers()
887 phdr->p_filesz = vmcoreinfo_max_size; in fadump_create_elfcore_headers()
919 phdr->p_filesz = msize; in fadump_create_elfcore_headers()
Dprom_init.c793 .p_filesz = sizeof(struct chrpnote)
797 .p_filesz = sizeof(struct rpanote)
/arch/alpha/boot/tools/
Dobjstrip.c178 fil_size = elf_phdr->p_filesz; in main()
/arch/x86/entry/vdso/
Dvdso2c.h38 if (GET_LE(&pt[i].p_memsz) != GET_LE(&pt[i].p_filesz)) in BITSFUNC()
/arch/x86/boot/compressed/
Dmisc.c312 memmove(dest, output + phdr->p_offset, phdr->p_filesz); in parse_elf()
/arch/metag/kernel/
Dprocess.c384 unsigned long raw_size = eppnt->p_filesz + page_off; in __metag_elf_map()