Searched refs:phdrbase (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 213 caddr_t phdrbase = NULL; local 235 (error = getelfphdr(vp, CRED(), ehdr, nphdrs, &phdrbase, 241 if ((len = elfsize(ehdr, nphdrs, phdrbase, &lddata)) == 0) { 243 kmem_free(phdrbase, phdrsize); 249 if (error = mapelfexec(vp, ehdr, nphdrs, phdrbase, &uphdr, &dynphdr, 253 kmem_free(phdrbase, phdrsize); 276 kmem_free(phdrbase, phdrsize); 286 caddr_t phdrbase = NULL; local 346 (error = getelfphdr(vp, CRED(), ehdrp, nphdrs, &phdrbase, 409 phdrp = (Phdr *)phdrbase; 1014 elfsize(Ehdr *ehdrp, int nphdrs, caddr_t phdrbase, uintptr_t *lddata) argument 1269 mapelfexec( vnode_t *vp, Ehdr *ehdr, int nphdrs, caddr_t phdrbase, Phdr **uphdr, Phdr **intphdr, Phdr **stphdr, Phdr **dtphdr, Phdr *dataphdrp, caddr_t *bssbase, caddr_t *brkbase, intptr_t *voffset, intptr_t *minaddr, size_t len, long *execsz, size_t *brksize) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | fastboot.c | 371 uint8_t *phdrbase; local 377 phdrbase = (uint8_t *)img + ehdr->e_phoff; 380 phdr = (Elf64_Phdr *)(phdrbase + ehdr->e_phentsize * i); 408 uint8_t *phdrbase; local 416 phdrbase = (uint8_t *)img + ehdr->e_phoff; 419 phdr = (Elf32_Phdr *)(phdrbase + ehdr->e_phentsize * i);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | mmapobj.c | 1309 * represented by phdrbase as well as the len of the total mapping and 1316 calc_loadable(Ehdr *ehdrp, caddr_t phdrbase, int nphdrs, size_t *len, argument 1345 STRUCT_SET_HANDLE(mph, model, (struct myphdr *)phdrbase); 1549 process_phdrs(Ehdr *ehdrp, caddr_t phdrbase, int nphdrs, mmapobj_result_t *mrp, argument 1580 STRUCT_SET_HANDLE(mph, model, (struct myphdr *)phdrbase); 1646 ret = calc_loadable(ehdrp, phdrbase, nphdrs, &len, 1786 STRUCT_SET_HANDLE(mph, model, (struct myphdr *)phdrbase);
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj.c | 583 caddr_t phdrbase; local 611 phdrbase = kobj_alloc(n, KM_WAIT | KM_TMP); 613 if (kobj_read_file(file, phdrbase, n, ehdr.e_phoff) < 0) { 618 bootaux[BA_PHDR].ba_ptr = phdrbase; 626 Phdr *phdr = (Phdr *)(phdrbase + ehdr.e_phentsize * i);
|
Completed in 86 milliseconds