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

/osnet-11/usr/src/grub/grub2/grub-core/kern/
H A Delf.c168 (unsigned long) phdr->p_filesz);
267 if (phdr->p_filesz)
270 read = grub_file_read (elf->file, (void *) load_addr, phdr->p_filesz);
271 if (read != (grub_ssize_t) phdr->p_filesz)
278 phdr->p_filesz, read);
282 if (phdr->p_filesz < phdr->p_memsz)
283 grub_memset ((void *) (long) (load_addr + phdr->p_filesz),
284 0, phdr->p_memsz - phdr->p_filesz);
358 (unsigned long) phdr->p_filesz);
458 if (phdr->p_filesz)
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/loader/
H A Dmultiboot_elfxx.c114 if (phdr(i)->p_filesz != 0)
121 if (grub_file_read (file, source, phdr(i)->p_filesz)
122 != (grub_ssize_t) phdr(i)->p_filesz)
127 if (phdr(i)->p_filesz < phdr(i)->p_memsz)
128 grub_memset ((grub_uint8_t *) source + phdr(i)->p_filesz, 0,
129 phdr(i)->p_memsz - phdr(i)->p_filesz);
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Delf.h207 Elf32_Size p_filesz; /* Size of contents in file. */ member in struct:__anon211
219 Elf64_Size p_filesz; /* Size of contents in file. */ member in struct:__anon212
/osnet-11/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c267 if ((dp = malloc(phdr->p_filesz)) == NULL)
269 if (Pread(P, dp, phdr->p_filesz, phdr->p_vaddr) !=
270 phdr->p_filesz)
278 for (i = 0; i < phdr->p_filesz / sizeof (Dyn); i++) {
396 size += roundup(phdr->p_filesz, SH_ADDRALIGN);
590 sp->sh_size = phdr->p_filesz;
H A DPidle.c85 (u_longlong_t)php->p_vaddr, (u_longlong_t)php->p_filesz,
89 pmap.pr_size = php->p_filesz;
H A DPgcore.c885 phdr.p_filesz = pmp->pr_size;
886 *pgc->pgc_doff += roundup(phdr.p_filesz, 8);
905 phdr32.p_filesz = (Elf32_Word)phdr.p_filesz;
1239 phdr.p_filesz = doff - boff;
1253 phdr.p_filesz = doff - boff;
1402 phdr.p_filesz = doff - boff;
1416 phdr.p_filesz = doff - boff;
H A DPcore.c742 (u_longlong_t)php->p_vaddr, (u_longlong_t)php->p_filesz,
761 } else if (php->p_filesz != 0 && php->p_offset >= P->core->core_size) {
784 if (php->p_filesz == 0)
1014 dst->p_filesz = (Elf64_Xword)src->p_filesz;
1897 for (nleft = note_phdr.p_filesz; nleft > 0; ) {
H A DPsymtab.c1279 if ((dynp = malloc(phdr.p_filesz)) == NULL)
1282 if (Pread(P, dynp, phdr.p_filesz, phdr.p_vaddr) !=
1283 phdr.p_filesz) {
1288 for (i = 0; i < phdr.p_filesz / sizeof (Elf32_Dyn); i++) {
1314 if ((dynp = malloc(phdr.p_filesz)) == NULL)
1317 if (Pread(P, dynp, phdr.p_filesz, phdr.p_vaddr) !=
1318 phdr.p_filesz) {
1323 for (i = 0; i < phdr.p_filesz / sizeof (Elf64_Dyn); i++) {
/osnet-11/usr/src/lib/libc/i386/crt/
H A D_rtld.c283 if (pptr->p_memsz > pptr->p_filesz) {
284 foff = (int)faddr + pptr->p_vaddr + pptr->p_filesz;
/osnet-11/usr/src/lib/libc/sparc/crt/
H A D_rtld.c283 if (pptr->p_memsz > pptr->p_filesz) {
285 pptr->p_filesz;
/osnet-11/usr/src/grub/grub2/grub-core/loader/ia64/efi/
H A Dlinux.c477 phdr->p_filesz)
478 != (grub_ssize_t) phdr->p_filesz)
486 if (phdr->p_filesz < phdr->p_memsz)
488 ((char *)(phdr->p_paddr + reloc_offset + phdr->p_filesz),
489 0, phdr->p_memsz - phdr->p_filesz);
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h170 Elf32_Word p_filesz; member in struct:__anon310
H A Dboot.c608 filesiz = phdr->p_filesz;
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-mkimage.c1552 phdr->p_filesz = grub_host_to_target32 (core_size);
1558 phdr->p_filesz = grub_host_to_target32 (kernel_size);
1564 phdr->p_paddr = phdr->p_vaddr = phdr->p_filesz = phdr->p_memsz = 0;
1572 phdr->p_filesz = phdr->p_memsz
1608 phdr->p_filesz = grub_host_to_target32 (note_size);
/osnet-11/usr/src/grub/grub2/include/grub/
H A Delf.h526 Elf32_Word p_filesz; /* Segment size in file */ member in struct:__anon733
539 Elf64_Xword p_filesz; /* Segment size in file */ member in struct:__anon734

Completed in 59 milliseconds