Searched refs:phdrbase (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf.c219 caddr_t phdrbase = NULL; local
241 (error = getelfphdr(vp, CRED(), ehdr, nphdrs, &phdrbase,
247 if ((len = elfsize(ehdr, nphdrs, phdrbase, &lddata)) == 0) {
249 kmem_free(phdrbase, phdrsize);
255 if (error = mapelfexec(vp, ehdr, nphdrs, phdrbase, &uphdr, &dynphdr,
259 kmem_free(phdrbase, phdrsize);
282 kmem_free(phdrbase, phdrsize);
292 caddr_t phdrbase = NULL; local
352 (error = getelfphdr(vp, CRED(), ehdrp, nphdrs, &phdrbase,
415 phdrp = (Phdr *)phdrbase;
1072 elfsize(Ehdr *ehdrp, int nphdrs, caddr_t phdrbase, uintptr_t *lddata) argument
1327 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 Dfastboot.c371 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 Dmmapobj.c1309 * 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 Dkobj.c585 caddr_t phdrbase; local
613 phdrbase = kobj_alloc(n, KM_WAIT | KM_TMP);
615 if (kobj_read_file(file, phdrbase, n, ehdr.e_phoff) < 0) {
620 bootaux[BA_PHDR].ba_ptr = phdrbase;
628 Phdr *phdr = (Phdr *)(phdrbase + ehdr.e_phentsize * i);

Completed in 193 milliseconds