Lines Matching refs:phdrbase
193 caddr_t phdrbase = NULL; in mapexec_brand() local
213 (error = getelfphdr(vp, CRED(), ehdr, nphdrs, &phdrbase, in mapexec_brand()
219 if ((len = elfsize(ehdr, nphdrs, phdrbase, &lddata)) == 0) { in mapexec_brand()
221 kmem_free(phdrbase, phdrsize); in mapexec_brand()
227 if (error = mapelfexec(vp, ehdr, nphdrs, phdrbase, &uphdr, &dynphdr, in mapexec_brand()
233 kmem_free(phdrbase, phdrsize); in mapexec_brand()
259 kmem_free(phdrbase, phdrsize); in mapexec_brand()
268 caddr_t phdrbase = NULL; in elfexec() local
328 (error = getelfphdr(vp, CRED(), ehdrp, nphdrs, &phdrbase, in elfexec()
391 phdrp = (Phdr *)phdrbase; in elfexec()
614 len = elfsize(ehdrp, nphdrs, phdrbase, NULL); in elfexec()
620 error = mapelfexec(vp, ehdrp, nphdrs, phdrbase, &uphdr, &intphdr, in elfexec()
784 kmem_free(phdrbase, phdrsize); in elfexec()
785 phdrbase = NULL; in elfexec()
788 (error = getelfphdr(nvp, CRED(), ehdrp, nphdrs, &phdrbase, in elfexec()
801 if ((len = elfsize(ehdrp, nphdrs, phdrbase, &lddata)) == 0) { in elfexec()
809 error = mapelfexec(nvp, ehdrp, nphdrs, phdrbase, NULL, &junk, in elfexec()
1053 if (phdrbase != NULL) in elfexec()
1054 kmem_free(phdrbase, phdrsize); in elfexec()
1065 elfsize(const Ehdr *ehdrp, uint_t nphdrs, const caddr_t phdrbase, in elfsize() argument
1068 const Phdr *phdrp = (Phdr *)phdrbase; in elfsize()
1323 caddr_t phdrbase, in mapelfexec() argument
1368 phdr = (Phdr *)phdrbase; in mapelfexec()
1381 phdr = (Phdr *)phdrbase; in mapelfexec()