Lines Matching refs:x
76 #define N_BADMAG(x) (N_MAGIC(x) != OMAGIC \ argument
77 && N_MAGIC(x) != NMAGIC \
78 && N_MAGIC(x) != ZMAGIC \
79 && N_MAGIC(x) != QMAGIC)
82 #define _N_HDROFF(x) (1024 - sizeof (struct exec)) argument
85 #define N_TXTOFF(x) \ argument
86 (N_MAGIC(x) == ZMAGIC ? _N_HDROFF((x)) + sizeof (struct exec) : \
87 (N_MAGIC(x) == QMAGIC ? 0 : sizeof (struct exec)))
91 #define N_DATOFF(x) (N_TXTOFF(x) + (x).a_text) argument
95 #define N_TRELOFF(x) (N_DATOFF(x) + (x).a_data) argument
99 #define N_DRELOFF(x) (N_TRELOFF(x) + N_TRSIZE(x)) argument
103 #define N_SYMOFF(x) (N_DRELOFF(x) + N_DRSIZE(x)) argument
107 #define N_STROFF(x) (N_SYMOFF(x) + N_SYMSIZE(x)) argument
112 #define N_TXTADDR(x) (N_MAGIC(x) == QMAGIC ? PAGE_SIZE : 0) argument
151 #define _N_SEGMENT_ROUND(x) ALIGN(x, SEGMENT_SIZE) argument
153 #define _N_TXTENDADDR(x) (N_TXTADDR(x)+(x).a_text) argument
156 #define N_DATADDR(x) \ argument
157 (N_MAGIC(x)==OMAGIC? (_N_TXTENDADDR(x)) \
158 : (_N_SEGMENT_ROUND (_N_TXTENDADDR(x))))
163 #define N_BSSADDR(x) (N_DATADDR(x) + (x).a_data) argument