Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/exec/elf/
H A Delf.c180 caddr_t phdrbase = NULL; in mapexec_brand() local
202 (error = getelfphdr(vp, CRED(), ehdr, nphdrs, &phdrbase, in mapexec_brand()
208 if ((len = elfsize(ehdr, nphdrs, phdrbase, &lddata)) == 0) { in mapexec_brand()
210 kmem_free(phdrbase, phdrsize); in mapexec_brand()
216 if (error = mapelfexec(vp, ehdr, nphdrs, phdrbase, &uphdr, &dynphdr, in mapexec_brand()
220 kmem_free(phdrbase, phdrsize); in mapexec_brand()
243 kmem_free(phdrbase, phdrsize); in mapexec_brand()
253 caddr_t phdrbase = NULL; in elfexec() local
311 (error = getelfphdr(vp, CRED(), ehdrp, nphdrs, &phdrbase, in elfexec()
368 phdrp = (Phdr *)phdrbase; in elfexec()
[all …]
/titanic_41/usr/src/uts/i86pc/os/
H A Dfastboot.c371 uint8_t *phdrbase; in fastboot_elf64_find_dboot_load_offset() local
377 phdrbase = (uint8_t *)img + ehdr->e_phoff; in fastboot_elf64_find_dboot_load_offset()
380 phdr = (Elf64_Phdr *)(phdrbase + ehdr->e_phentsize * i); in fastboot_elf64_find_dboot_load_offset()
408 uint8_t *phdrbase; in fastboot_elf32_find_loadables() local
416 phdrbase = (uint8_t *)img + ehdr->e_phoff; in fastboot_elf32_find_loadables()
419 phdr = (Elf32_Phdr *)(phdrbase + ehdr->e_phentsize * i); in fastboot_elf32_find_loadables()
/titanic_41/usr/src/uts/common/os/
H A Dmmapobj.c1295 calc_loadable(Ehdr *ehdrp, caddr_t phdrbase, int nphdrs, size_t *len, in calc_loadable() argument
1324 STRUCT_SET_HANDLE(mph, model, (struct myphdr *)phdrbase); in calc_loadable()
1528 process_phdr(Ehdr *ehdrp, caddr_t phdrbase, int nphdrs, mmapobj_result_t *mrp, in process_phdr() argument
1559 STRUCT_SET_HANDLE(mph, model, (struct myphdr *)phdrbase); in process_phdr()
1624 ret = calc_loadable(ehdrp, phdrbase, nphdrs, &len, in process_phdr()
1762 STRUCT_SET_HANDLE(mph, model, (struct myphdr *)phdrbase); in process_phdr()
/titanic_41/usr/src/uts/common/krtld/
H A Dkobj.c583 caddr_t phdrbase; in synthetic_bootaux() local
611 phdrbase = kobj_alloc(n, KM_WAIT | KM_TMP); in synthetic_bootaux()
613 if (kobj_read_file(file, phdrbase, n, ehdr.e_phoff) < 0) { in synthetic_bootaux()
618 bootaux[BA_PHDR].ba_ptr = phdrbase; in synthetic_bootaux()
626 Phdr *phdr = (Phdr *)(phdrbase + ehdr.e_phentsize * i); in synthetic_bootaux()