Searched refs:ehdrp (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 292 Ehdr *ehdrp; in elfexec() local 302 ehdrp = &bigwad->ehdr; in elfexec() 309 if ((error = getelfhead(vp, CRED(), ehdrp, &nshdrs, &shstrndx, in elfexec() 311 (error = getelfphdr(vp, CRED(), ehdrp, nphdrs, &phdrbase, in elfexec() 318 if (ehdrp->e_entry == 0) { in elfexec() 330 if (ehdrp->e_ident[EI_CLASS] == ELFCLASS32) { in elfexec() 367 hsize = ehdrp->e_phentsize; in elfexec() 396 if (ehdrp->e_type != ET_EXEC) { in elfexec() 533 if (ehdrp->e_type == ET_DYN) in elfexec() 534 len = elfsize(ehdrp, nphdrs, phdrbase, NULL); in elfexec() [all …]
|
/titanic_44/usr/src/uts/common/os/ |
H A D | mmapobj.c | 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 [all …]
|