Lines Matching refs:edp
58 static int get_aout_head(struct vnode **vpp, struct exdata *edp, long *execsz,
137 struct exdata edp, edpout; in aoutexec() local
153 if (error = get_aout_head(&vp, &edp, execsz, &isdyn)) in aoutexec()
156 if (error = chkaout(&edp)) in aoutexec()
183 if (CURRENT_TOTAL_AVAILABLE_SWAP < btopr(edp.ux_dsize) + btopr(SSIZE)) in aoutexec()
203 getexinfo(&edp, &edpout, &pagetext, &pagedata); in aoutexec()
208 if (error = execmap(edp.vp, edp.ux_txtorg, edp.ux_tsize, in aoutexec()
209 (size_t)0, edp.ux_toffset, textprot, pagetext, 0)) in aoutexec()
211 if (error = execmap(edp.vp, edp.ux_datorg, edp.ux_dsize, in aoutexec()
212 edp.ux_bsize, edp.ux_doffset, dataprot, pagedata, 0)) in aoutexec()
215 exenv.ex_bssbase = (caddr_t)edp.ux_datorg; in aoutexec()
216 exenv.ex_brkbase = (caddr_t)edp.ux_datorg; in aoutexec()
217 exenv.ex_brksize = edp.ux_dsize + edp.ux_bsize; in aoutexec()
218 exenv.ex_magic = edp.ux_mag; in aoutexec()
219 exenv.ex_vp = edp.vp; in aoutexec()
277 get_aout_head(struct vnode **vpp, struct exdata *edp, long *execsz, int *isdyn) in get_aout_head() argument
326 edp->ux_mach = filhdr.a_machtype; in get_aout_head()
327 edp->ux_tsize = filhdr.a_text; in get_aout_head()
328 edp->ux_dsize = filhdr.a_data; in get_aout_head()
329 edp->ux_bsize = filhdr.a_bss; in get_aout_head()
330 edp->ux_mag = filhdr.a_magic; in get_aout_head()
331 edp->ux_toffset = gettfile(&filhdr); in get_aout_head()
332 edp->ux_doffset = getdfile(&filhdr); in get_aout_head()
333 edp->ux_txtorg = gettmem(&filhdr); in get_aout_head()
334 edp->ux_datorg = getdmem(&filhdr); in get_aout_head()
335 edp->ux_entloc = (caddr_t)(uintptr_t)filhdr.a_entry; in get_aout_head()
336 edp->vp = vp; in get_aout_head()