Home
last modified time | relevance | path

Searched refs:nphdrs (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf.c212 &nphdrs)) != 0 || in mapexec_brand()
327 &nphdrs)) != 0 || in elfexec()
1149 *nphdrs = ehdr->e_phnum; in getelfhead()
1174 *nphdrs = shdr.sh_info; in getelfhead()
1310 nphdrs)) != 0 || in elfreadhdr()
1322 uint_t nphdrs, in mapelfexec() argument
2080 uint_t i, nphdrs, nshdrs; in elfcore() local
2139 VERIFY3U(nphdrs, >=, 2); in elfcore()
2193 if (nphdrs >= PN_XNUM) { in elfcore()
2195 shdr0.sh_info = nphdrs; in elfcore()
[all …]
/illumos-gate/usr/src/psm/stand/boot/common/
H A Dreadfile.c258 int nphdrs, phdrsize; in read_elf32() local
294 nphdrs = elfhdrp->e_phnum; in read_elf32()
295 phdrsize = nphdrs * elfhdrp->e_phentsize; in read_elf32()
311 for (i = 0; i < nphdrs; i++) { in read_elf32()
371 for (i = 0; i < nphdrs; i++) { in read_elf32()
631 int nphdrs, phdrsize; in read_elf64() local
667 nphdrs = elfhdrp->e_phnum; in read_elf64()
668 phdrsize = nphdrs * elfhdrp->e_phentsize; in read_elf64()
685 for (i = 0; i < nphdrs; i++) { in read_elf64()
746 for (i = 0; i < nphdrs; i++) { in read_elf64()
/illumos-gate/usr/src/lib/libproc/common/
H A DPgcore.c1100 uint_t nphdrs, nshdrs; in Pfgcore() local
1135 nphdrs = 2 + P->map_count; in Pfgcore()
1150 if (nshdrs == 0 && nphdrs >= PN_XNUM) in Pfgcore()
1181 if (nphdrs >= PN_XNUM) in Pfgcore()
1184 ehdr.e_phnum = (unsigned short)nphdrs; in Pfgcore()
1201 ehdr.e_shoff = ehdr.e_phoff + ehdr.e_phentsize * nphdrs; in Pfgcore()
1210 ehdr.e_phentsize * nphdrs + in Pfgcore()
1239 if (nphdrs >= PN_XNUM) in Pfgcore()
1242 ehdr.e_phnum = (unsigned short)nphdrs; in Pfgcore()
1268 ehdr.e_phentsize * nphdrs + in Pfgcore()
[all …]
H A DPcore.c1948 size_t nphdrs; in core_find_text() local
1950 if (elf_getphdrnum(elf, &nphdrs) == -1) in core_find_text()
1953 for (i = 0; i < nphdrs; i++) { in core_find_text()
1976 size_t nphdrs; in core_find_data() local
1985 elf_getphdrnum(elf, &nphdrs) == -1) in core_find_data()
1988 for (i = 0; i < nphdrs; i++) { in core_find_data()
/illumos-gate/usr/src/uts/common/os/
H A Dmmapobj.c1302 calc_loadable(Ehdr *ehdrp, caddr_t phdrbase, int nphdrs, size_t *len, in calc_loadable() argument
1351 for (i = 0; i < nphdrs; i++) { in calc_loadable()
1535 process_phdrs(Ehdr *ehdrp, caddr_t phdrbase, int nphdrs, mmapobj_result_t *mrp, in process_phdrs() argument
1632 ret = calc_loadable(ehdrp, phdrbase, nphdrs, &len, in process_phdrs()
1773 for (i = 0; i < nphdrs; i++) { in process_phdrs()
1928 int nphdrs; in doelfwork() local
1980 nphdrs = e32hdr->e_phnum; in doelfwork()
1990 nphdrs = e64hdr->e_phnum; in doelfwork()
2008 if (nphdrs == PN_XNUM) { in doelfwork()
2013 phsizep = nphdrs * phentsize; in doelfwork()
[all …]