Searched refs:p_filesz (Results 1 – 16 of 16) sorted by relevance
/arch/x86/um/ |
D | elfcore.c | 29 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/ |
D | bootloader.c | 151 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/ |
D | elfcore.c | 26 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/ |
D | elf_util.c | 47 info->loadsize = (unsigned long)elf64ph->p_filesz; in parse_elf64() 78 info->loadsize = elf32ph->p_filesz; in parse_elf32()
|
D | elf.h | 99 Elf32_Word p_filesz; member 111 Elf64_Xword p_filesz; /* Segment size in file */ member
|
/arch/mips/boot/ |
D | elf2ecoff.c | 193 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/ |
D | crash.c | 385 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/ |
D | elf.c | 109 if (phdr32->p_filesz < sizeof(abiflags)) in arch_elf_pt_proc() 118 if (phdr64->p_filesz < sizeof(abiflags)) in arch_elf_pt_proc()
|
D | vpe.c | 705 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/ |
D | crash_dump.c | 502 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/ |
D | fadump.c | 546 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()
|
D | prom_init.c | 793 .p_filesz = sizeof(struct chrpnote) 797 .p_filesz = sizeof(struct rpanote)
|
/arch/alpha/boot/tools/ |
D | objstrip.c | 178 fil_size = elf_phdr->p_filesz; in main()
|
/arch/x86/entry/vdso/ |
D | vdso2c.h | 38 if (GET_LE(&pt[i].p_memsz) != GET_LE(&pt[i].p_filesz)) in BITSFUNC()
|
/arch/x86/boot/compressed/ |
D | misc.c | 312 memmove(dest, output + phdr->p_offset, phdr->p_filesz); in parse_elf()
|
/arch/metag/kernel/ |
D | process.c | 384 unsigned long raw_size = eppnt->p_filesz + page_off; in __metag_elf_map()
|