Searched refs:nshdrs (Results 1 - 3 of 3) sorted by relevance

/opensolaris-onvv-gate/usr/src/uts/common/exec/elf/
H A Delf.c173 int nshdrs, shstrndx, nphdrs; local
191 if ((error = getelfhead(vp, CRED(), ehdr, &nshdrs, &shstrndx,
284 int nshdrs, shstrndx, nphdrs; local
300 if ((error = getelfhead(vp, CRED(), ehdrp, &nshdrs, &shstrndx,
662 if ((error = getelfhead(nvp, CRED(), ehdrp, &nshdrs,
941 getelfhead(vnode_t *vp, cred_t *credp, Ehdr *ehdr, int *nshdrs, int *shstrndx, argument
976 *nshdrs = ehdr->e_shnum;
985 if ((*nshdrs == 0 && ehdr->e_shoff != 0) ||
997 if (*nshdrs == 0)
998 *nshdrs
1067 getelfshdr(vnode_t *vp, cred_t *credp, const Ehdr *ehdr, int nshdrs, int shstrndx, caddr_t *shbasep, ssize_t *shsizep, char **shstrbasep, ssize_t *shstrsizep) argument
1440 int nshdrs, shstrndx, nphdrs; local
1703 int error, i, nphdrs, nshdrs; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/libproc/common/
H A DPgcore.c552 uint_t nshdrs = 0; local
567 nshdrs++;
578 nshdrs += 2;
585 nshdrs += 2;
589 return (nshdrs == 0 ? 0 : nshdrs + 2);
979 uint_t nphdrs, nshdrs; local
1012 nshdrs = count_sections(&pgc);
1026 if (nshdrs == 0 && nphdrs >= PN_XNUM)
1027 nshdrs
[all...]
H A DPsymtab.c1592 size_t *nshdrs, Elf_Data **shdata)
1601 elf_getshdrnum(elf, nshdrs) == -1 ||
1629 size_t nshdrs, shstrndx; local
1689 if ((elf = build_fake_elf(P, fptr, &ehdr, &nshdrs, &shdata)) ==
1697 if ((elf = build_fake_elf(P, fptr, &ehdr, &nshdrs, &shdata)) ==
1704 elf_getshdrnum(elf, &nshdrs) == -1 ||
1714 if ((elf = build_fake_elf(P, fptr, &ehdr, &nshdrs, &shdata)) ==
1731 if ((newelf = build_fake_elf(P, fptr, &ehdr, &nshdrs, &shdata))
1739 if ((cache = malloc(nshdrs * sizeof (*cache))) == NULL) {
1781 for (i = 1, cp = cache + 1; i < nshdrs;
1591 build_fake_elf(struct ps_prochandle *P, file_info_t *fptr, GElf_Ehdr *ehdr, size_t *nshdrs, Elf_Data **shdata) argument
[all...]

Completed in 176 milliseconds