Lines Matching refs:exec
72 "struct exec". Don't assume that on this machine, the "struct exec"
87 /* How big the "struct exec" is on disk */
90 /* This is the layout in memory of a "struct exec" while we process it. */
92 struct exec
130 #define N_MAGIC(exec) ((exec).a_info & 0xffff)
131 #define N_MACHTYPE(exec) ((enum machine_type)(((exec).a_info >> 16) & 0xff))
132 #define N_FLAGS(exec) (((exec).a_info >> 24) & 0xff)
133 #define N_SET_INFO(exec, magic, type, flags) \
134 ((exec).a_info = ((magic) & 0xffff) \
137 #define N_SET_MAGIC(exec, magic) \
138 ((exec).a_info = (((exec).a_info & 0xffff0000) | ((magic) & 0xffff)))
140 #define N_SET_MACHTYPE(exec, machtype) \
141 ((exec).a_info = \
142 ((exec).a_info&0xff00ffff) | ((((int)(machtype))&0xff) << 16))
144 #define N_SET_FLAGS(exec, flags) \
145 ((exec).a_info = \
146 ((exec).a_info&0x00ffffff) | (((flags) & 0xff) << 24))
179 #define _N_HDROFF(x) (N_SEGSIZE(x) - sizeof (struct exec))
184 _N_HDROFF((x)) + sizeof (struct exec) : \
185 sizeof (struct exec))