Searched refs:p_filesz (Results 1 - 25 of 48) sorted by relevance

12

/freebsd-10-stable/sys/mips/mips/
H A Delf_trampoline.c160 (void*)(kstart + phdr[i].p_offset), phdr[i].p_filesz);
163 if (phdr[i].p_filesz < phdr[i].p_memsz)
164 bzero(mkptr(phdr[i].p_vaddr + phdr[i].p_filesz),
165 phdr[i].p_memsz - phdr[i].p_filesz);
H A Ddump_machdep.c226 phdr.p_filesz = size;
231 fileofs += phdr.p_filesz;
/freebsd-10-stable/contrib/binutils/include/elf/
H A Dexternal.h81 unsigned char p_filesz[4]; /* Segment size in file */ member in struct:__anon511
93 unsigned char p_filesz[8]; /* Segment size in file */ member in struct:__anon512
H A Dinternal.h69 bfd_vma p_filesz; /* Segment size in file */ member in struct:elf_internal_phdr
282 <= segment->p_offset + segment->p_filesz))) \
/freebsd-10-stable/lib/libelf/
H A Dgelf_phdr.c81 d->p_filesz = (Elf64_Xword) ep32->p_filesz;
173 LIBELF_COPY_U32(ph32, s, p_filesz);
/freebsd-10-stable/libexec/rtld-elf/
H A Dmap_object.c155 phdr->p_offset + phdr->p_filesz > PAGE_SIZE) {
157 phdr->p_filesz) - trunc_page(phdr->p_offset);
169 note_end = note_start + phdr->p_filesz;
194 if (npagesizes > 1 && round_page(segs[0]->p_filesz) >= pagesizes[1])
213 data_vlimit = round_page(segs[i]->p_vaddr + segs[i]->p_filesz);
225 if (segs[i]->p_filesz != segs[i]->p_memsz) {
228 clear_vaddr = segs[i]->p_vaddr + segs[i]->p_filesz;
303 obj->tlsinitsize = phtls->p_filesz;
/freebsd-10-stable/usr.sbin/kgzip/
H A Dkgzcmp.c200 if (p.p_memsz < p.p_filesz)
202 n = p.p_memsz - p.p_filesz;
203 xcopy(idi, ido, p.p_filesz, p.p_offset);
204 addr += p.p_filesz;
/freebsd-10-stable/sys/boot/sparc64/boot1/
H A Dboot1.c438 if (zbread(p, fs_off, ph.p_filesz) != ph.p_filesz) {
442 if (ph.p_filesz != ph.p_memsz)
443 bzero(p + ph.p_filesz, ph.p_memsz - ph.p_filesz);
486 if (fsread(ino, p, ph.p_filesz) != ph.p_filesz) {
490 if (ph.p_filesz != ph.p_memsz)
491 bzero(p + ph.p_filesz, ph.p_memsz - ph.p_filesz);
[all...]
/freebsd-10-stable/sys/boot/common/
H A Dload_elf.c393 (long)phdr[i].p_filesz, (long)phdr[i].p_offset,
398 printf("text=0x%lx ", (long)phdr[i].p_filesz);
400 printf("data=0x%lx", (long)phdr[i].p_filesz);
401 if (phdr[i].p_filesz < phdr[i].p_memsz)
402 printf("+0x%lx", (long)(phdr[i].p_memsz -phdr[i].p_filesz));
412 if (phdr[i].p_filesz > fpcopy) {
414 phdr[i].p_filesz - fpcopy, phdr[i].p_offset + fpcopy) != 0) {
421 if (phdr[i].p_filesz < phdr[i].p_memsz) {
424 (long)(phdr[i].p_vaddr + off + phdr[i].p_filesz),
428 kern_bzero(phdr[i].p_vaddr + off + phdr[i].p_filesz,
[all...]
/freebsd-10-stable/usr.sbin/btxld/
H A Dbtxld.c375 hdr->text = le32toh(ep->p_filesz);
381 hdr->data = le32toh(ep->p_filesz);
383 le32toh(ep->p_filesz);
424 eh.p[0].p_filesz = eh.p[0].p_memsz = htole32(hdr->text);
426 le32toh(eh.p[0].p_filesz));
430 eh.p[1].p_filesz = eh.p[1].p_memsz = htole32(hdr->data);
433 eh.sh[2].sh_size = eh.p[0].p_filesz;
436 eh.sh[3].sh_size = eh.p[1].p_filesz;
/freebsd-10-stable/contrib/llvm/tools/llvm-objdump/
H A DELFDump.cpp66 << format(Fmt, (uint64_t)pi->p_filesz)
/freebsd-10-stable/sys/boot/powerpc/boot1.chrp/
H A Dboot1.c518 ofw_claim(p,(ph.p_filesz > ph.p_memsz) ?
519 ph.p_filesz : ph.p_memsz,0);
520 if (fsread(ino, p, ph.p_filesz) != ph.p_filesz) {
524 if (ph.p_filesz != ph.p_memsz)
525 bzero(p + ph.p_filesz, ph.p_memsz - ph.p_filesz);
/freebsd-10-stable/sys/arm/arm/
H A Ddump_machdep.c240 phdr.p_filesz = size;
245 fileofs += phdr.p_filesz;
264 phdr.p_filesz = 0;
H A Delf_trampoline.c525 phdr[j].p_filesz)) {
571 (void*)(kstart + phdr[i].p_offset), phdr[i].p_filesz);
573 if (phdr[i].p_filesz < phdr[i].p_memsz)
575 curaddr + phdr[i].p_filesz), phdr[i].p_memsz -
576 phdr[i].p_filesz);
/freebsd-10-stable/sys/ia64/ia64/
H A Ddump_machdep.c177 phdr.p_filesz = mdp->md_pages << EFI_PAGE_SHIFT;
182 fileofs += phdr.p_filesz;
246 phdr.p_filesz = sz;
251 fileofs += phdr.p_filesz;
/freebsd-10-stable/sys/powerpc/powerpc/
H A Ddump_machdep.c172 phdr.p_filesz = md->md_size;
177 fileofs += phdr.p_filesz;
/freebsd-10-stable/sys/boot/arm/at91/boot2/
H A Dboot2.c199 klen += ep[i].p_filesz;
201 if (xfsread(ino, p, ep[i].p_filesz))
/freebsd-10-stable/contrib/file/src/
H A Dreadelf.h180 Elf32_Word p_filesz; member in struct:__anon138
192 Elf64_Xword p_filesz; member in struct:__anon139
/freebsd-10-stable/usr.sbin/kldxref/
H A Def.c119 printf("text=0x%lx ", (long)phdr->p_filesz);
121 printf("data=0x%lx", (long)phdr->p_filesz);
122 if (phdr->p_filesz < phdr->p_memsz)
123 printf("+0x%lx", (long)(phdr->p_memsz - phdr->p_filesz));
608 phdyn->p_filesz, (void**)&ef->ef_dyn) != 0) {
/freebsd-10-stable/sys/kern/
H A Dimgact_elf.c326 /* ELF image p_filesz includes terminating zero */
704 phdr[i].p_memsz, phdr[i].p_filesz, prot, pagesize);
798 if (phdr[i].p_filesz < 2 ||
799 phdr[i].p_filesz > MAXPATHLEN) {
809 interp_name_len = phdr[i].p_filesz;
901 phdr[i].p_memsz, phdr[i].p_filesz, prot,
914 <= phdr[i].p_filesz)
1369 php->p_filesz, offset, cred, NOCRED, curthread, core_buf, gzfile);
1372 offset += php->p_filesz;
1417 phdr->p_filesz
[all...]
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h197 elf_xword p_filesz; ///< Byte size of the segment in file. member in struct:elf::ELFProgramHeader
/freebsd-10-stable/usr.bin/elf2aout/
H A Delf2aout.c137 filesz = xe64toh(p[i].p_filesz);
/freebsd-10-stable/sys/sys/
H A Delf64.h121 Elf64_Xword p_filesz; /* Size of contents in file. */ member in struct:__anon32
H A Delf32.h111 Elf32_Word p_filesz; /* Size of contents in file. */ member in struct:__anon15
/freebsd-10-stable/sys/x86/x86/
H A Ddump_machdep.c235 phdr.p_filesz = size;
240 fileofs += phdr.p_filesz;

Completed in 309 milliseconds

12