Lines Matching refs:a_out
158 const struct exec *a_out = (const struct exec *) imgp->image_header;
174 if (((a_out->a_midmag >> 16) & 0xff) != 0x86 &&
175 ((a_out->a_midmag >> 16) & 0xff) != 0 &&
176 ((((int)ntohl(a_out->a_midmag)) >> 16) & 0xff) != 0x86)
184 switch ((int)(a_out->a_midmag & 0xffff)) {
187 if (a_out->a_text) {
198 if (N_GETMID(*a_out) == MID_ZERO)
203 switch ((int)(ntohl(a_out->a_midmag) & 0xffff)) {
214 bss_size = roundup(a_out->a_bss, PAGE_SIZE);
220 a_out->a_entry < virtual_offset ||
221 a_out->a_entry >= virtual_offset + a_out->a_text ||
224 a_out->a_text & PAGE_MASK || a_out->a_data & PAGE_MASK
229 virtual_offset + a_out->a_text + a_out->a_data + bss_size > UINT_MAX
235 if (a_out->a_data + a_out->a_text > imgp->attr->va_size)
243 a_out->a_text > maxtsiz ||
246 a_out->a_data + bss_size > lim_cur_proc(imgp->proc, RLIMIT_DATA) ||
247 racct_set(imgp->proc, RACCT_DATA, a_out->a_data + bss_size) != 0) {
282 text_end = virtual_offset + a_out->a_text;
293 data_end = text_end + a_out->a_data;
294 if (a_out->a_data) {
297 file_offset + a_out->a_text,
320 vmspace->vm_tsize = a_out->a_text >> PAGE_SHIFT;
321 vmspace->vm_dsize = (a_out->a_data + bss_size) >> PAGE_SHIFT;
324 (virtual_offset + a_out->a_text);
328 imgp->entry_addr = a_out->a_entry;