/illumos-gate/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 391 phdr->p_filesz); 393 if ((note_buf = kmem_alloc(phdr->p_filesz, 0)) == NULL) 401 phdr->p_filesz, (void *)nhdr); 404 if (xread(fd, (caddr_t)nhdr, phdr->p_filesz) != phdr->p_filesz) 432 } while (offset < phdr->p_filesz); 434 kmem_free(note_buf, phdr->p_filesz); 450 dprintf("\tp_memsz = %x, p_filesz = %x\n", 451 phdr->p_memsz, phdr->p_filesz); 481 printf("0x%x+", phdr->p_filesz); [all...] |
/illumos-gate/usr/src/uts/i86pc/dboot/ |
H A D | dboot_elfload.c | 167 (ulong_t)phdr->p_filesz, (ulong_t)phdr->p_offset, 170 (void *)(uintptr_t)src, (size_t)phdr->p_filesz); 172 next_addr = dst + phdr->p_filesz;
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | phdr.c | 42 dbg_print(lml, MSG_ORIG(MSG_PHD_FILESZ), EC_XWORD(phdr->p_filesz),
|
/illumos-gate/usr/src/cmd/sgs/dump/common/ |
H A D | fcns.c | 128 field, EC_XWORD(p_phdr.p_filesz), 144 field, EC_XWORD(p_phdr.p_filesz),
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | load_elf.c | 406 (long)phdr[i].p_filesz, (long)phdr[i].p_offset, 411 (long)phdr[i].p_filesz, (long)phdr[i].p_offset, 417 printf("text=0x%lx ", (long)phdr[i].p_filesz); 419 printf("data=0x%lx", (long)phdr[i].p_filesz); 420 if (phdr[i].p_filesz < phdr[i].p_memsz) 421 printf("+0x%lx", (long)(phdr[i].p_memsz -phdr[i].p_filesz)); 436 if (phdr[i].p_filesz > fpcopy) { 439 phdr[i].p_filesz - fpcopy, 447 phdr[i].p_filesz - fpcopy, 456 if (phdr[i].p_filesz < phd [all...] |
/illumos-gate/usr/src/cmd/sgs/size/common/ |
H A D | process.c | 254 First += p.p_filesz; 257 Second += p.p_filesz; 273 (void) printf(prusect[numbase], p.p_filesz); 274 total += p.p_filesz;
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | old_notes.c | 70 v[0].p_filesz = (sizeof (Note) * (3 + nlwp)) 77 v[0].p_filesz += nlwp * sizeof (Note) 80 v[0].p_filesz += nlwp * sizeof (Note) 94 v[0].p_filesz += sizeof (Note) +
|
H A D | elf_notes.c | 97 v[0].p_filesz = (sizeof (Note) * (10 + 2 * nlwp + nzomb + nfd)) 113 v[0].p_filesz += sizeof (Note) + 121 v[0].p_filesz += sizeof (Note) + roundup(sizeof (prcred_t) + 124 v[0].p_filesz += sizeof (Note) + 135 v[0].p_filesz += sizeof (Note) + roundup(size, sizeof (Word)); 139 v[0].p_filesz += nlwp * sizeof (Note) 153 v[0].p_filesz += sizeof (Note) + 162 v[0].p_filesz += nlwp * sizeof (Note)
|
H A D | elf.c | 527 (dynamicphdr->p_filesz > 0)) { 532 for (i = 0; i < dynamicphdr->p_filesz; 534 int ndyns = (dynamicphdr->p_filesz - i) / sizeof (*dyn); 571 (capsize = capphdr->p_filesz) > 0 && 638 dlnsize = intphdr->p_filesz; 646 if ((error = vn_rdwr(UIO_READ, vp, dlnp, intphdr->p_filesz, 1355 zfodsz = (size_t)phdr->p_memsz - phdr->p_filesz; 1374 phdr->p_filesz, PAGESIZE); 1379 curproc, addr + phdr->p_filesz + 1402 if (error = execmap(vp, addr, phdr->p_filesz, [all...] |
/illumos-gate/usr/src/boot/sys/boot/sparc64/boot1/ |
H A D | boot1.c | 438 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...] |
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | phdr.c | 54 PHDR_CMD_T_P_FILESZ = 5, /* phdr:p_filesz */ 312 ((interp->phdr->p_offset + interp->phdr->p_filesz) <= 473 EC_XWORD(phdr->p_filesz)); 577 (tphdr->p_offset + tphdr->p_filesz)) && 640 interp.phdr->p_filesz = str_size; 644 EC_XWORD(interp.phdr->p_filesz)); 781 Xword p_filesz = elfedit_atoui(argstate.argv[1], NULL); local 783 if (phdr->p_filesz == p_filesz) { 787 EC_XWORD(phdr->p_filesz)); [all...] |
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | elf.h | 207 Elf32_Size p_filesz; /* Size of contents in file. */ member in struct:__anon2087 219 Elf64_Size p_filesz; /* Size of contents in file. */ member in struct:__anon2088
|
/illumos-gate/usr/src/tools/elfextract/ |
H A D | elfextract.c | 97 for (c = 0; c < phdr->p_filesz; ++c) { 167 for (c = 0; c < phdr->p_filesz; ++c) {
|
/illumos-gate/usr/src/tools/btxld/ |
H A D | btxld.c | 376 hdr->text = le32toh(ep->p_filesz); 382 hdr->data = le32toh(ep->p_filesz); 384 le32toh(ep->p_filesz); 425 eh.p[0].p_filesz = eh.p[0].p_memsz = htole32(hdr->text); 427 le32toh(eh.p[0].p_filesz)); 431 eh.p[1].p_filesz = eh.p[1].p_memsz = htole32(hdr->data); 434 eh.sh[2].sh_size = eh.p[0].p_filesz; 437 eh.sh[3].sh_size = eh.p[1].p_filesz;
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | tls.c | 144 tmi.tm_filesz = tlsphdr->p_filesz; 173 ulong_t filesz = phdr->p_filesz; 324 tlsmodlist[tlsmodndx]->tm_filesz = tlsphdr->p_filesz;
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 271 if ((dp = malloc(phdr->p_filesz)) == NULL) 273 if (Pread(P, dp, phdr->p_filesz, phdr->p_vaddr) != 274 phdr->p_filesz) 282 for (i = 0; i < phdr->p_filesz / sizeof (Dyn); i++) { 401 size += roundup(phdr->p_filesz, SH_ADDRALIGN); 597 sp->sh_size = phdr->p_filesz;
|
/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | readelf.c | 254 if (!(phdr.p_flags & PF_W) && (phdr.p_filesz > textsize)) { 268 chk = (size_t)phdr.p_vaddr + (size_t)phdr.p_filesz; 269 if (phdr.p_vaddr + phdr.p_filesz != (GElf_Xword)chk) 273 textsize = (size_t)phdr.p_filesz;
|
/illumos-gate/usr/src/lib/libc/i386/crt/ |
H A D | _rtld.c | 283 if (pptr->p_memsz > pptr->p_filesz) { 284 foff = (int)faddr + pptr->p_vaddr + pptr->p_filesz;
|
/illumos-gate/usr/src/lib/libc/sparc/crt/ |
H A D | _rtld.c | 283 if (pptr->p_memsz > pptr->p_filesz) { 285 pptr->p_filesz;
|
/illumos-gate/usr/src/boot/sys/boot/arm/at91/boot2/ |
H A D | boot2.c | 201 klen += ep[i].p_filesz; 203 if (xfsread(ino, p, ep[i].p_filesz))
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | i386-elf.h | 170 Elf32_Word p_filesz; member in struct:__anon2187
|
/illumos-gate/usr/src/cmd/sgs/mcs/common/ |
H A D | mcs.h | 177 GElf_Xword p_filesz; member in struct:seg_table
|
/illumos-gate/usr/src/tools/mbh_patch/ |
H A D | mbh_patch.c | 127 (mem >= (phdr->p_offset + phdr->p_filesz))) {
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | elf32.h | 111 Elf32_Word p_filesz; /* Size of contents in file. */ member in struct:__anon410
|
H A D | elf64.h | 121 Elf64_Xword p_filesz; /* Size of contents in file. */ member in struct:__anon427
|