Home
last modified time | relevance | path

Searched refs:phdrbase (Results 1 – 4 of 4) sorted by last modified time

/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf.c193 caddr_t phdrbase = NULL; in mapexec_brand() local
221 kmem_free(phdrbase, phdrsize); in mapexec_brand()
233 kmem_free(phdrbase, phdrsize); in mapexec_brand()
259 kmem_free(phdrbase, phdrsize); in mapexec_brand()
268 caddr_t phdrbase = NULL; in elfexec() local
391 phdrp = (Phdr *)phdrbase; in elfexec()
785 phdrbase = NULL; in elfexec()
1053 if (phdrbase != NULL) in elfexec()
1323 caddr_t phdrbase, in mapelfexec() argument
1368 phdr = (Phdr *)phdrbase; in mapelfexec()
[all …]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfastboot.c363 uint8_t *phdrbase; in fastboot_elf64_find_dboot_load_offset() local
369 phdrbase = (uint8_t *)img + ehdr->e_phoff; in fastboot_elf64_find_dboot_load_offset()
372 phdr = (Elf64_Phdr *)(phdrbase + ehdr->e_phentsize * i); in fastboot_elf64_find_dboot_load_offset()
400 uint8_t *phdrbase; in fastboot_elf32_find_loadables() local
408 phdrbase = (uint8_t *)img + ehdr->e_phoff; in fastboot_elf32_find_loadables()
411 phdr = (Elf32_Phdr *)(phdrbase + ehdr->e_phentsize * i); in fastboot_elf32_find_loadables()
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj.c572 caddr_t phdrbase; in synthetic_bootaux() local
600 phdrbase = kobj_alloc(n, KM_WAIT | KM_TMP); in synthetic_bootaux()
602 if (kobj_read_file(file, phdrbase, n, ehdr.e_phoff) < 0) { in synthetic_bootaux()
607 bootaux[BA_PHDR].ba_ptr = phdrbase; in synthetic_bootaux()
615 Phdr *phdr = (Phdr *)(phdrbase + ehdr.e_phentsize * i); in synthetic_bootaux()
/illumos-gate/usr/src/uts/common/os/
H A Dmmapobj.c1302 calc_loadable(Ehdr *ehdrp, caddr_t phdrbase, int nphdrs, size_t *len, in calc_loadable() argument
1331 STRUCT_SET_HANDLE(mph, model, (struct myphdr *)phdrbase); in calc_loadable()
1535 process_phdrs(Ehdr *ehdrp, caddr_t phdrbase, int nphdrs, mmapobj_result_t *mrp, in process_phdrs() argument
1566 STRUCT_SET_HANDLE(mph, model, (struct myphdr *)phdrbase); in process_phdrs()
1632 ret = calc_loadable(ehdrp, phdrbase, nphdrs, &len, in process_phdrs()
1772 STRUCT_SET_HANDLE(mph, model, (struct myphdr *)phdrbase); in process_phdrs()