Lines Matching refs:imgp

31 __elfN(powerpc_copyout_auxargs)(struct image_params *imgp, uintptr_t base)  in __elfN()
52 if (imgp->proc->p_osrel >= P_OSREL_POWERPC_NEW_AUX_ARGS || in __elfN()
53 imgp->proc->p_osrel == 0) in __elfN()
54 return (__elfN(freebsd_copyout_auxargs)(imgp, base)); in __elfN()
56 args = (Elf_Auxargs *)imgp->auxargs; in __elfN()
60 vmspace = imgp->proc->p_vmspace; in __elfN()
72 if (imgp->execpathp != 0) in __elfN()
73 AUXARGS_ENTRY_PTR(pos, AT_OLD_EXECPATH, imgp->execpathp); in __elfN()
75 imgp->proc->p_ucred->cr_prison->pr_osreldate); in __elfN()
76 if (imgp->canary != 0) { in __elfN()
77 AUXARGS_ENTRY_PTR(pos, AT_OLD_CANARY, imgp->canary); in __elfN()
78 AUXARGS_ENTRY(pos, AT_OLD_CANARYLEN, imgp->canarylen); in __elfN()
81 if (imgp->pagesizes != 0) { in __elfN()
82 AUXARGS_ENTRY_PTR(pos, AT_OLD_PAGESIZES, imgp->pagesizes); in __elfN()
83 AUXARGS_ENTRY(pos, AT_OLD_PAGESIZESLEN, imgp->pagesizeslen); in __elfN()
85 if ((imgp->sysent->sv_flags & SV_TIMEKEEP) != 0) { in __elfN()
87 vmspace->vm_shp_base + imgp->sysent->sv_timekeep_offset); in __elfN()
89 AUXARGS_ENTRY(pos, AT_OLD_STACKPROT, imgp->sysent->sv_shared_page_obj in __elfN()
90 != NULL && imgp->stack_prot != 0 ? imgp->stack_prot : in __elfN()
91 imgp->sysent->sv_stackprot); in __elfN()
92 if (imgp->sysent->sv_hwcap != NULL) in __elfN()
93 AUXARGS_ENTRY(pos, AT_OLD_HWCAP, *imgp->sysent->sv_hwcap); in __elfN()
94 if (imgp->sysent->sv_hwcap2 != NULL) in __elfN()
95 AUXARGS_ENTRY(pos, AT_OLD_HWCAP2, *imgp->sysent->sv_hwcap2); in __elfN()
98 free(imgp->auxargs, M_TEMP); in __elfN()
99 imgp->auxargs = NULL; in __elfN()