Lines Matching refs:ehdrp
1295 calc_loadable(Ehdr *ehdrp, caddr_t phdrbase, int nphdrs, size_t *len, in calc_loadable() argument
1301 ushort_t e_type = ehdrp->e_type; /* same offset 32 and 64 bit */ in calc_loadable()
1328 hsize = ehdrp->e_phentsize; in calc_loadable()
1334 hsize = ((Elf32_Ehdr *)ehdrp)->e_phentsize; in calc_loadable()
1528 process_phdr(Ehdr *ehdrp, caddr_t phdrbase, int nphdrs, mmapobj_result_t *mrp, in process_phdr() argument
1548 ushort_t e_type = ehdrp->e_type; /* same offset 32 and 64 bit */ in process_phdr()
1570 hsize = ehdrp->e_phentsize; in process_phdr()
1577 hsize = ((Elf32_Ehdr *)ehdrp)->e_phentsize; in process_phdr()
1624 ret = calc_loadable(ehdrp, phdrbase, nphdrs, &len, in process_phdr()
1913 doelfwork(Ehdr *ehdrp, vnode_t *vp, mmapobj_result_t *mrp, in doelfwork() argument
1926 ei_class = ehdrp->e_ident[EI_CLASS]; in doelfwork()
1935 if (ehdrp->e_type == ET_EXEC && in doelfwork()
1945 if (ehdrp->e_type == ET_REL || ehdrp->e_type == ET_CORE) { in doelfwork()
1962 if (ehdrp->e_type != ET_EXEC && ehdrp->e_type != ET_DYN) { in doelfwork()
1968 Elf32_Ehdr *e32hdr = (Elf32_Ehdr *)ehdrp; in doelfwork()
1978 Elf64_Ehdr *e64hdr = (Elf64_Ehdr *)ehdrp; in doelfwork()
2029 error = process_phdr(ehdrp, phbasep, nphdrs, mrp, vp, num_mapped, in doelfwork()