Lines Matching refs:filhdr
280 struct exec filhdr; in get_aout_head() local
286 if (error = vn_rdwr(UIO_READ, vp, (caddr_t)&filhdr, in get_aout_head()
287 (ssize_t)sizeof (filhdr), (offset_t)0, UIO_SYSSPACE, 0, in get_aout_head()
294 switch (filhdr.a_magic) { in get_aout_head()
296 filhdr.a_data += filhdr.a_text; in get_aout_head()
297 filhdr.a_text = 0; in get_aout_head()
314 *execsz += btopr(filhdr.a_text + filhdr.a_data); in get_aout_head()
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()
337 *isdyn = filhdr.a_dynamic; in get_aout_head()