Lines Matching refs:Ehdr
86 static int getelfhead(vnode_t *, cred_t *, Ehdr *, uint_t *, uint_t *,
88 static int getelfphdr(vnode_t *, cred_t *, const Ehdr *, uint_t, caddr_t *,
90 static int getelfshdr(vnode_t *, cred_t *, const Ehdr *, uint_t, uint_t,
92 static size_t elfsize(const Ehdr *, uint_t, const caddr_t, uintptr_t *);
93 static int mapelfexec(vnode_t *, Ehdr *, uint_t, caddr_t, Phdr **, Phdr **,
187 mapexec_brand(vnode_t *vp, uarg_t *args, Ehdr *ehdr, Addr *uphdr_vaddr, in mapexec_brand()
301 Ehdr ehdr; in elfexec()
308 Ehdr *ehdrp; in elfexec()
1065 elfsize(const Ehdr *ehdrp, uint_t nphdrs, const caddr_t phdrbase, in elfsize()
1112 getelfhead(vnode_t *vp, cred_t *credp, Ehdr *ehdr, uint_t *nshdrs, in getelfhead()
1123 sizeof (Ehdr), (offset_t)0, UIO_SYSSPACE, 0, in getelfhead()
1193 getelfphdr(vnode_t *vp, cred_t *credp, const Ehdr *ehdr, uint_t nphdrs, in getelfphdr()
1229 getelfshdr(vnode_t *vp, cred_t *credp, const Ehdr *ehdr, uint_t nshdrs, in getelfshdr()
1303 elfreadhdr(vnode_t *vp, cred_t *credp, Ehdr *ehdrp, uint_t *nphdrs, in elfreadhdr()
1321 Ehdr *ehdr, in mapelfexec()
1687 Ehdr ehdr; in elf_process_obj_scns()
2085 Ehdr *ehdr; in elfcore()
2142 bigsize = MAX(sizeof (Ehdr), MAX(phdrsz, shdrsz)); in elfcore()
2145 ehdr = (Ehdr *)bigwad; in elfcore()
2181 poffset = sizeof (Ehdr); in elfcore()
2182 soffset = sizeof (Ehdr) + phdrsz; in elfcore()
2183 doffset = sizeof (Ehdr) + phdrsz + shdrsz; in elfcore()
2221 ehdr->e_ehsize = sizeof (Ehdr); in elfcore()
2226 sizeof (Ehdr), rlimit, credp)) { in elfcore()