Searched refs:nshdrs (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 1147 *nshdrs = ehdr->e_shnum; in getelfhead() 1169 if (*nshdrs == 0) in getelfhead() 1170 *nshdrs = shdr.sh_size; in getelfhead() 1245 nshdrs == 0 || shstrndx >= nshdrs) { in getelfshdr() 1307 uint_t nshdrs, shstrndx; in elfreadhdr() local 2080 uint_t i, nphdrs, nshdrs; in elfcore() local 2117 nshdrs = error = 0; in elfcore() 2131 nshdrs = 1; in elfcore() 2200 if (nshdrs > 0) { in elfcore() 2529 if (nshdrs > 0) { in elfcore() [all …]
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pgcore.c | 598 uint_t nshdrs = 0; in count_sections() local 615 nshdrs++; in count_sections() 626 nshdrs += 2; in count_sections() 633 nshdrs += 2; in count_sections() 640 return (nshdrs == 0 ? 0 : nshdrs + 2); in count_sections() 1100 uint_t nphdrs, nshdrs; in Pfgcore() local 1151 nshdrs = 1; in Pfgcore() 1189 if (nshdrs > 0) { in Pfgcore() 1247 if (nshdrs > 0) { in Pfgcore() 1278 nshdrs >= SHN_LORESERVE ? nshdrs : 0, in Pfgcore() [all …]
|
H A D | Psymtab.c | 1581 size_t *nshdrs, Elf_Data **shdata) in build_fake_elf() argument 1590 elf_getshdrnum(elf, nshdrs) == -1 || in build_fake_elf() 1837 size_t nshdrs, shstrndx; in Pbuild_file_symtab() local 1898 if ((elf = build_fake_elf(P, fptr, &ehdr, &nshdrs, &shdata)) == in Pbuild_file_symtab() 1906 if ((elf = build_fake_elf(P, fptr, &ehdr, &nshdrs, &shdata)) == in Pbuild_file_symtab() 1913 elf_getshdrnum(elf, &nshdrs) == -1 || in Pbuild_file_symtab() 1923 if ((elf = build_fake_elf(P, fptr, &ehdr, &nshdrs, &shdata)) == in Pbuild_file_symtab() 1940 if ((newelf = build_fake_elf(P, fptr, &ehdr, &nshdrs, &shdata)) in Pbuild_file_symtab() 1963 if ((cache = malloc(nshdrs * sizeof (*cache))) == NULL) { in Pbuild_file_symtab() 2005 for (i = 1, cp = cache + 1; i < nshdrs; i++, cp++) { in Pbuild_file_symtab() [all …]
|