Searched defs:phnum (Results 1 - 5 of 5) sorted by relevance
/osnet-11/usr/src/lib/libproc/common/ |
H A D | Pidle.c | 115 size_t phnum; local 204 if (elf_getphdrnum(elf, &phnum) == -1) { 209 dprintf("Pgrab_file: program header count = %lu\n", (ulong_t)phnum); 214 for (i = 0; i < phnum; i++) {
|
H A D | Psymtab_machelf32.c | 211 Ehdr *ehdr, uint_t phnum, Phdr *phdr) 215 Ehdr *ehdr, uint_t phnum, Phdr *phdr) 345 size += phnum * ehdr->e_phentsize; 452 ep->e_phnum = phnum; 453 ep->e_shoff = ep->e_phoff + phnum * ep->e_phentsize; 472 if (Pread(P, &elfdata[ep->e_phoff], phnum * ep->e_phentsize, 473 addr + ehdr->e_phoff) != phnum * ep->e_phentsize) { 210 fake_elf64(struct ps_prochandle *P, file_info_t *fptr, uintptr_t addr, Ehdr *ehdr, uint_t phnum, Phdr *phdr) argument
|
H A D | Pcore.c | 1181 uint64_t phnum; local 1212 phnum = phdr.p_offset - efp->e_hdr.e_ehsize - 1214 phnum /= efp->e_hdr.e_phentsize; 1216 if (phdr.p_offset != 0 && phnum != efp->e_hdr.e_phnum) { 1218 (uint_t)phnum, efp->e_hdr.e_phnum); 1229 if (phnum <= INT_MAX && 1230 (uint16_t)phnum == efp->e_hdr.e_phnum) { 1237 efp->e_hdr.e_phentsize * phnum; 1240 efp->e_hdr.e_phnum = (Elf64_Word)phnum;
|
H A D | Psymtab.c | 105 uint_t phnum; local 107 if (read_ehdr32(P, &ehdr, &phnum, ehdr_start) != 0) 110 addrs = malloc(sizeof (uintptr_t) * phnum * 2); 112 for (i = 0; i < phnum; i++, a += ehdr.e_phentsize) { 133 uint_t phnum; local 135 if (read_ehdr64(P, &ehdr, &phnum, ehdr_start) != 0) 138 addrs = malloc(sizeof (uintptr_t) * phnum * 2); 140 for (i = 0; i < phnum; i++, a += ehdr.e_phentsize) { 1062 read_ehdr32(struct ps_prochandle *P, Elf32_Ehdr *ehdr, uint_t *phnum, argument 1081 if ((*phnum 1097 read_dynamic_phdr32(struct ps_prochandle *P, const Elf32_Ehdr *ehdr, uint_t phnum, Elf32_Phdr *phdr, uintptr_t addr) argument 1116 read_ehdr64(struct ps_prochandle *P, Elf64_Ehdr *ehdr, uint_t *phnum, uintptr_t addr) argument 1151 read_dynamic_phdr64(struct ps_prochandle *P, const Elf64_Ehdr *ehdr, uint_t phnum, Elf64_Phdr *phdr, uintptr_t addr) argument 1271 uint_t phnum, i; local 1306 uint_t phnum, i; local 1352 uint_t phnum; local [all...] |
/osnet-11/usr/src/grub/grub2/util/ |
H A D | grub-mkimage.c | 1481 int phnum = 1; local 1484 phnum += 2; 1488 phnum++; 1491 header_size = ALIGN_ADDR (sizeof (*ehdr) + phnum * sizeof (*phdr)); 1514 ehdr->e_phnum = grub_host_to_target16 (phnum);
|
Completed in 31 milliseconds