Searched refs:p_memsz (Results 1 - 25 of 56) sorted by relevance

123

/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dphdr.c43 EC_XWORD(phdr->p_memsz));
/illumos-gate/usr/src/tools/elfextract/
H A Delfextract.c93 if (phdr->p_memsz == 0)
104 for (; c < phdr->p_memsz; ++c) {
163 if (phdr->p_memsz == 0)
174 for (; c < phdr->p_memsz; ++c) {
/illumos-gate/usr/src/lib/libc/i386/crt/
H A D_rtld.c195 mlen = ROUND((lph->p_vaddr + lph->p_memsz) -
208 mlen = ROUND((lph->p_vaddr + lph->p_memsz) -
228 if ((pptr->p_type != PT_LOAD) || (pptr->p_memsz == 0))
237 flen = pptr->p_memsz + (pptr->p_offset - foff);
283 if (pptr->p_memsz > pptr->p_filesz) {
288 j = (faddr + pptr->p_vaddr + pptr->p_memsz) - zaddr;
/illumos-gate/usr/src/lib/libc/sparc/crt/
H A D_rtld.c195 mlen = ROUND((lph->p_vaddr + lph->p_memsz) -
208 mlen = ROUND((lph->p_vaddr + lph->p_memsz) -
228 if ((pptr->p_type != PT_LOAD) || (pptr->p_memsz == 0))
237 flen = pptr->p_memsz + (pptr->p_offset - foff);
283 if (pptr->p_memsz > pptr->p_filesz) {
289 j = (faddr + pptr->p_vaddr + pptr->p_memsz) - zaddr;
/illumos-gate/usr/src/psm/stand/boot/common/
H A Dreadfile.c451 phdr->p_memsz, phdr->p_filesz);
472 kmem_alloc(phdr->p_memsz, 0)) == NULL)
489 size = roundup(phdr->p_memsz + off,
494 size = phdr->p_memsz;
562 if (phdr->p_memsz > phdr->p_filesz) {
567 phdr->p_memsz - phdr->p_filesz);
571 phdr->p_memsz - phdr->p_filesz);
575 phdr->p_memsz - phdr->p_filesz);
582 phdr->p_memsz);
853 (u_longlong_t)phdr->p_memsz,
[all...]
/illumos-gate/usr/src/cmd/sgs/size/common/
H A Dprocess.c258 Third += p.p_memsz;
260 memsize += p.p_memsz;
265 (void) printf(prusect[numbase], p.p_memsz);
266 total += p.p_memsz;
281 (void) printf(prusect[numbase], p.p_memsz);
/illumos-gate/usr/src/cmd/sgs/dump/common/
H A Dfcns.c129 field, EC_XWORD(p_phdr.p_memsz),
145 field, EC_XWORD(p_phdr.p_memsz));
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dtls.c145 tmi.tm_memsz = tlsphdr->p_memsz;
172 ulong_t memsz = S_ROUND(phdr->p_memsz, M_TLSSTATALIGN);
310 (PTTLS(lmp) == 0) || (PTTLS(lmp)->p_memsz == 0))
325 tlsmodlist[tlsmodndx]->tm_memsz = tlsphdr->p_memsz;
/illumos-gate/usr/src/cmd/sgs/rtld.4.x/
H A Drtld.4.x.c441 mlen = ROUND((lph->p_vaddr + lph->p_memsz) -
454 mlen = ROUND((lph->p_vaddr + lph->p_memsz) -
474 if ((pptr->p_type != PT_LOAD) || (pptr->p_memsz == 0))
483 flen = pptr->p_memsz + (pptr->p_offset - foff);
520 if (pptr->p_memsz > pptr->p_filesz) {
524 r = (faddr + pptr->p_vaddr + pptr->p_memsz) - zaddr;
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Delf.h208 Elf32_Size p_memsz; /* Size of contents in memory. */ member in struct:__anon2087
220 Elf64_Size p_memsz; /* Size of contents in memory. */ member in struct:__anon2088
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/
H A Ddlamd64getunwind.c99 PTUNWIND(lmp)->p_memsz + base);
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dload_elf.c408 (long)(phdr[i].p_paddr + off + phdr[i].p_memsz - 1));
413 (long)(phdr[i].p_vaddr + off + phdr[i].p_memsz - 1));
420 if (phdr[i].p_filesz < phdr[i].p_memsz)
421 printf("+0x%lx", (long)(phdr[i].p_memsz -phdr[i].p_filesz));
456 if (phdr[i].p_filesz < phdr[i].p_memsz) {
461 (long)(phdr[i].p_paddr + off + phdr[i].p_memsz - 1));
465 (long)(phdr[i].p_vaddr + off + phdr[i].p_memsz - 1));
471 phdr[i].p_memsz - phdr[i].p_filesz);
474 phdr[i].p_memsz - phdr[i].p_filesz);
488 lastaddr < (phdr[i].p_paddr + off + phdr[i].p_memsz))
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dphdr.c55 PHDR_CMD_T_P_MEMSZ = 6, /* phdr:p_memsz */
478 EC_XWORD(phdr->p_memsz));
802 Xword p_memsz = elfedit_atoui(argstate.argv[1], NULL); local
804 if (phdr->p_memsz == p_memsz) {
808 EC_XWORD(phdr->p_memsz));
813 EC_XWORD(phdr->p_memsz),
814 EC_XWORD(p_memsz));
816 phdr->p_memsz = p_memsz;
[all...]
/illumos-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_elfload.c144 if (phdr->p_memsz == 0)
/illumos-gate/usr/src/uts/common/os/
H A Dksyms_snapshot.c159 hdr.text_phdr.p_memsz = (Word)(e_text - s_text);
164 hdr.data_phdr.p_memsz = (Word)(e_data - s_data);
H A Dmmapobj.c1222 size_t p_memsz; local
1246 p_memsz = mrp[i].mr_msize;
1248 zfodlen = p_memsz - p_filesz;
1325 size_t p_memsz; local
1369 p_memsz = STRUCT_FGET(mph, x.p_memsz);
1375 if (p_memsz == 0) {
1415 p_end = vaddr + p_memsz + p_offset;
1572 size_t p_memsz; local
1791 p_memsz
[all...]
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Ddldump.c287 if (ophdr->p_filesz != ophdr->p_memsz)
430 (data_phdr->p_vaddr + data_phdr->p_memsz))) {
517 edata = data_phdr->p_vaddr + data_phdr->p_memsz;
562 ophdr->p_memsz = edata - ophdr->p_vaddr;
563 ophdr->p_filesz = ophdr->p_memsz;
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h171 Elf32_Word p_memsz; member in struct:__anon2187
/illumos-gate/usr/src/cmd/sgs/librtld_db/i386/
H A Dplt32_resolution.c94 phdr.p_memsz))) {
/illumos-gate/usr/src/cmd/sgs/mcs/common/
H A Dmcs.h176 GElf_Xword p_memsz; member in struct:seg_table
/illumos-gate/usr/src/tools/mbh_patch/
H A Dmbh_patch.c115 if (phdr->p_memsz == 0)
/illumos-gate/usr/src/boot/sys/sys/
H A Delf32.h112 Elf32_Word p_memsz; /* Size of contents in memory. */ member in struct:__anon410
H A Delf64.h122 Elf64_Xword p_memsz; /* Size of contents in memory. */ member in struct:__anon427
/illumos-gate/usr/src/tools/btxld/
H A Dbtxld.c383 hdr->bss = le32toh(ep->p_memsz) -
425 eh.p[0].p_filesz = eh.p[0].p_memsz = htole32(hdr->text);
429 htole32(align(le32toh(eh.p[0].p_paddr) + le32toh(eh.p[0].p_memsz),
431 eh.p[1].p_filesz = eh.p[1].p_memsz = htole32(hdr->data);
/illumos-gate/usr/src/boot/sys/boot/sparc64/boot1/
H A Dboot1.c442 if (ph.p_filesz != ph.p_memsz)
443 bzero(p + ph.p_filesz, ph.p_memsz - ph.p_filesz);
490 if (ph.p_filesz != ph.p_memsz)
491 bzero(p + ph.p_filesz, ph.p_memsz - ph.p_filesz);

Completed in 132 milliseconds

123