xref: /freebsd/sys/compat/freebsd32/freebsd32_proto.h (revision 5956d97f4b3204318ceb6aa9c77bd0bc6ea87a41)
1 /*
2  * System call prototypes.
3  *
4  * DO NOT EDIT-- this file is automatically @generated.
5  * $FreeBSD$
6  */
7 
8 #ifndef _FREEBSD32_SYSPROTO_H_
9 #define	_FREEBSD32_SYSPROTO_H_
10 
11 #include <sys/signal.h>
12 #include <sys/acl.h>
13 #include <sys/cpuset.h>
14 #include <sys/domainset.h>
15 #include <sys/_ffcounter.h>
16 #include <sys/_semaphore.h>
17 #include <sys/ucontext.h>
18 #include <sys/wait.h>
19 
20 #include <bsm/audit_kevents.h>
21 
22 struct proc;
23 
24 struct thread;
25 
26 #define	PAD_(t)	(sizeof(syscallarg_t) <= sizeof(t) ? \
27 		0 : sizeof(syscallarg_t) - sizeof(t))
28 
29 #if BYTE_ORDER == LITTLE_ENDIAN
30 #define	PADL_(t)	0
31 #define	PADR_(t)	PAD_(t)
32 #else
33 #define	PADL_(t)	PAD_(t)
34 #define	PADR_(t)	0
35 #endif
36 
37 #if !defined(PAD64_REQUIRED) && !defined(__amd64__)
38 #define PAD64_REQUIRED
39 #endif
40 struct freebsd32_wait4_args {
41 	char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)];
42 	char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)];
43 	char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
44 	char rusage_l_[PADL_(struct rusage32 *)]; struct rusage32 * rusage; char rusage_r_[PADR_(struct rusage32 *)];
45 };
46 struct freebsd32_ptrace_args {
47 	char req_l_[PADL_(int)]; int req; char req_r_[PADR_(int)];
48 	char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
49 	char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
50 	char data_l_[PADL_(int)]; int data; char data_r_[PADR_(int)];
51 };
52 struct freebsd32_recvmsg_args {
53 	char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
54 	char msg_l_[PADL_(struct msghdr32 *)]; struct msghdr32 * msg; char msg_r_[PADR_(struct msghdr32 *)];
55 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
56 };
57 struct freebsd32_sendmsg_args {
58 	char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
59 	char msg_l_[PADL_(const struct msghdr32 *)]; const struct msghdr32 * msg; char msg_r_[PADR_(const struct msghdr32 *)];
60 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
61 };
62 struct freebsd32_sigaltstack_args {
63 	char ss_l_[PADL_(const struct sigaltstack32 *)]; const struct sigaltstack32 * ss; char ss_r_[PADR_(const struct sigaltstack32 *)];
64 	char oss_l_[PADL_(struct sigaltstack32 *)]; struct sigaltstack32 * oss; char oss_r_[PADR_(struct sigaltstack32 *)];
65 };
66 struct freebsd32_ioctl_args {
67 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
68 	char com_l_[PADL_(u_long)]; u_long com; char com_r_[PADR_(u_long)];
69 	char data_l_[PADL_(char *)]; char * data; char data_r_[PADR_(char *)];
70 };
71 struct freebsd32_execve_args {
72 	char fname_l_[PADL_(const char *)]; const char * fname; char fname_r_[PADR_(const char *)];
73 	char argv_l_[PADL_(uint32_t *)]; uint32_t * argv; char argv_r_[PADR_(uint32_t *)];
74 	char envv_l_[PADL_(uint32_t *)]; uint32_t * envv; char envv_r_[PADR_(uint32_t *)];
75 };
76 struct freebsd32_mprotect_args {
77 	char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)];
78 	char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
79 	char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
80 };
81 struct freebsd32_setitimer_args {
82 	char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
83 	char itv_l_[PADL_(const struct itimerval32 *)]; const struct itimerval32 * itv; char itv_r_[PADR_(const struct itimerval32 *)];
84 	char oitv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * oitv; char oitv_r_[PADR_(struct itimerval32 *)];
85 };
86 struct freebsd32_getitimer_args {
87 	char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
88 	char itv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * itv; char itv_r_[PADR_(struct itimerval32 *)];
89 };
90 struct freebsd32_fcntl_args {
91 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
92 	char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
93 	char arg_l_[PADL_(int32_t)]; int32_t arg; char arg_r_[PADR_(int32_t)];
94 };
95 struct freebsd32_select_args {
96 	char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)];
97 	char in_l_[PADL_(fd_set *)]; fd_set * in; char in_r_[PADR_(fd_set *)];
98 	char ou_l_[PADL_(fd_set *)]; fd_set * ou; char ou_r_[PADR_(fd_set *)];
99 	char ex_l_[PADL_(fd_set *)]; fd_set * ex; char ex_r_[PADR_(fd_set *)];
100 	char tv_l_[PADL_(struct timeval32 *)]; struct timeval32 * tv; char tv_r_[PADR_(struct timeval32 *)];
101 };
102 struct freebsd32_gettimeofday_args {
103 	char tp_l_[PADL_(struct timeval32 *)]; struct timeval32 * tp; char tp_r_[PADR_(struct timeval32 *)];
104 	char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
105 };
106 struct freebsd32_getrusage_args {
107 	char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
108 	char rusage_l_[PADL_(struct rusage32 *)]; struct rusage32 * rusage; char rusage_r_[PADR_(struct rusage32 *)];
109 };
110 struct freebsd32_readv_args {
111 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
112 	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
113 	char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
114 };
115 struct freebsd32_writev_args {
116 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
117 	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
118 	char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
119 };
120 struct freebsd32_settimeofday_args {
121 	char tv_l_[PADL_(const struct timeval32 *)]; const struct timeval32 * tv; char tv_r_[PADR_(const struct timeval32 *)];
122 	char tzp_l_[PADL_(const struct timezone *)]; const struct timezone * tzp; char tzp_r_[PADR_(const struct timezone *)];
123 };
124 struct freebsd32_utimes_args {
125 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
126 	char tptr_l_[PADL_(const struct timeval32 *)]; const struct timeval32 * tptr; char tptr_r_[PADR_(const struct timeval32 *)];
127 };
128 struct freebsd32_adjtime_args {
129 	char delta_l_[PADL_(const struct timeval32 *)]; const struct timeval32 * delta; char delta_r_[PADR_(const struct timeval32 *)];
130 	char olddelta_l_[PADL_(struct timeval32 *)]; struct timeval32 * olddelta; char olddelta_r_[PADR_(struct timeval32 *)];
131 };
132 struct freebsd32_sysarch_args {
133 	char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
134 	char parms_l_[PADL_(char *)]; char * parms; char parms_r_[PADR_(char *)];
135 };
136 struct freebsd32_semsys_args {
137 	char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
138 	char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
139 	char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
140 	char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
141 	char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
142 };
143 struct freebsd32_msgsys_args {
144 	char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
145 	char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
146 	char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
147 	char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
148 	char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
149 	char a6_l_[PADL_(int)]; int a6; char a6_r_[PADR_(int)];
150 };
151 struct freebsd32_shmsys_args {
152 	char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
153 	char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
154 	char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
155 	char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
156 };
157 struct freebsd32_ntp_adjtime_args {
158 	char tp_l_[PADL_(struct timex32 *)]; struct timex32 * tp; char tp_r_[PADR_(struct timex32 *)];
159 };
160 struct freebsd32___sysctl_args {
161 	char name_l_[PADL_(int *)]; int * name; char name_r_[PADR_(int *)];
162 	char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)];
163 	char old_l_[PADL_(void *)]; void * old; char old_r_[PADR_(void *)];
164 	char oldlenp_l_[PADL_(uint32_t *)]; uint32_t * oldlenp; char oldlenp_r_[PADR_(uint32_t *)];
165 	char new_l_[PADL_(const void *)]; const void * new; char new_r_[PADR_(const void *)];
166 	char newlen_l_[PADL_(size_t)]; size_t newlen; char newlen_r_[PADR_(size_t)];
167 };
168 struct freebsd32_futimes_args {
169 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
170 	char tptr_l_[PADL_(const struct timeval32 *)]; const struct timeval32 * tptr; char tptr_r_[PADR_(const struct timeval32 *)];
171 };
172 struct freebsd32_msgsnd_args {
173 	char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
174 	char msgp_l_[PADL_(const void *)]; const void * msgp; char msgp_r_[PADR_(const void *)];
175 	char msgsz_l_[PADL_(size_t)]; size_t msgsz; char msgsz_r_[PADR_(size_t)];
176 	char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)];
177 };
178 struct freebsd32_msgrcv_args {
179 	char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
180 	char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)];
181 	char msgsz_l_[PADL_(size_t)]; size_t msgsz; char msgsz_r_[PADR_(size_t)];
182 	char msgtyp_l_[PADL_(int32_t)]; int32_t msgtyp; char msgtyp_r_[PADR_(int32_t)];
183 	char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)];
184 };
185 struct freebsd32_clock_gettime_args {
186 	char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
187 	char tp_l_[PADL_(struct timespec32 *)]; struct timespec32 * tp; char tp_r_[PADR_(struct timespec32 *)];
188 };
189 struct freebsd32_clock_settime_args {
190 	char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
191 	char tp_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * tp; char tp_r_[PADR_(const struct timespec32 *)];
192 };
193 struct freebsd32_clock_getres_args {
194 	char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
195 	char tp_l_[PADL_(struct timespec32 *)]; struct timespec32 * tp; char tp_r_[PADR_(struct timespec32 *)];
196 };
197 struct freebsd32_ktimer_create_args {
198 	char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
199 	char evp_l_[PADL_(struct sigevent32 *)]; struct sigevent32 * evp; char evp_r_[PADR_(struct sigevent32 *)];
200 	char timerid_l_[PADL_(int *)]; int * timerid; char timerid_r_[PADR_(int *)];
201 };
202 struct freebsd32_ktimer_settime_args {
203 	char timerid_l_[PADL_(int)]; int timerid; char timerid_r_[PADR_(int)];
204 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
205 	char value_l_[PADL_(const struct itimerspec32 *)]; const struct itimerspec32 * value; char value_r_[PADR_(const struct itimerspec32 *)];
206 	char ovalue_l_[PADL_(struct itimerspec32 *)]; struct itimerspec32 * ovalue; char ovalue_r_[PADR_(struct itimerspec32 *)];
207 };
208 struct freebsd32_ktimer_gettime_args {
209 	char timerid_l_[PADL_(int)]; int timerid; char timerid_r_[PADR_(int)];
210 	char value_l_[PADL_(struct itimerspec32 *)]; struct itimerspec32 * value; char value_r_[PADR_(struct itimerspec32 *)];
211 };
212 struct freebsd32_nanosleep_args {
213 	char rqtp_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * rqtp; char rqtp_r_[PADR_(const struct timespec32 *)];
214 	char rmtp_l_[PADL_(struct timespec32 *)]; struct timespec32 * rmtp; char rmtp_r_[PADR_(struct timespec32 *)];
215 };
216 struct freebsd32_ffclock_setestimate_args {
217 	char cest_l_[PADL_(struct ffclock_estimate32 *)]; struct ffclock_estimate32 * cest; char cest_r_[PADR_(struct ffclock_estimate32 *)];
218 };
219 struct freebsd32_ffclock_getestimate_args {
220 	char cest_l_[PADL_(struct ffclock_estimate32 *)]; struct ffclock_estimate32 * cest; char cest_r_[PADR_(struct ffclock_estimate32 *)];
221 };
222 struct freebsd32_clock_nanosleep_args {
223 	char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
224 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
225 	char rqtp_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * rqtp; char rqtp_r_[PADR_(const struct timespec32 *)];
226 	char rmtp_l_[PADL_(struct timespec32 *)]; struct timespec32 * rmtp; char rmtp_r_[PADR_(struct timespec32 *)];
227 };
228 struct freebsd32_clock_getcpuclockid2_args {
229 	char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
230 	char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
231 	char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
232 	char clock_id_l_[PADL_(clockid_t *)]; clockid_t * clock_id; char clock_id_r_[PADR_(clockid_t *)];
233 };
234 struct freebsd32_aio_read_args {
235 	char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
236 };
237 struct freebsd32_aio_write_args {
238 	char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
239 };
240 struct freebsd32_lio_listio_args {
241 	char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
242 	char acb_list_l_[PADL_(uint32_t *)]; uint32_t * acb_list; char acb_list_r_[PADR_(uint32_t *)];
243 	char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)];
244 	char sig_l_[PADL_(struct sigevent32 *)]; struct sigevent32 * sig; char sig_r_[PADR_(struct sigevent32 *)];
245 };
246 struct freebsd32_lutimes_args {
247 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
248 	char tptr_l_[PADL_(const struct timeval32 *)]; const struct timeval32 * tptr; char tptr_r_[PADR_(const struct timeval32 *)];
249 };
250 struct freebsd32_preadv_args {
251 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
252 	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
253 	char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
254 #ifdef PAD64_REQUIRED
255 	char _pad_l_[PADL_(int)]; int _pad; char _pad_r_[PADR_(int)];
256 #endif
257 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
258 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
259 };
260 struct freebsd32_pwritev_args {
261 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
262 	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
263 	char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
264 #ifdef PAD64_REQUIRED
265 	char _pad_l_[PADL_(int)]; int _pad; char _pad_r_[PADR_(int)];
266 #endif
267 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
268 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
269 };
270 struct freebsd32_modstat_args {
271 	char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)];
272 	char stat_l_[PADL_(struct module_stat32 *)]; struct module_stat32 * stat; char stat_r_[PADR_(struct module_stat32 *)];
273 };
274 struct freebsd32_kldstat_args {
275 	char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)];
276 	char stat_l_[PADL_(struct kld_file_stat32 *)]; struct kld_file_stat32 * stat; char stat_r_[PADR_(struct kld_file_stat32 *)];
277 };
278 struct freebsd32_aio_return_args {
279 	char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
280 };
281 struct freebsd32_aio_suspend_args {
282 	char aiocbp_l_[PADL_(uint32_t *)]; uint32_t * aiocbp; char aiocbp_r_[PADR_(uint32_t *)];
283 	char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)];
284 	char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)];
285 };
286 struct freebsd32_aio_error_args {
287 	char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
288 };
289 struct freebsd32_sched_rr_get_interval_args {
290 	char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
291 	char interval_l_[PADL_(struct timespec32 *)]; struct timespec32 * interval; char interval_r_[PADR_(struct timespec32 *)];
292 };
293 struct freebsd32_jail_args {
294 	char jail_l_[PADL_(struct jail32 *)]; struct jail32 * jail; char jail_r_[PADR_(struct jail32 *)];
295 };
296 struct freebsd32_sigtimedwait_args {
297 	char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
298 	char info_l_[PADL_(struct siginfo32 *)]; struct siginfo32 * info; char info_r_[PADR_(struct siginfo32 *)];
299 	char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)];
300 };
301 struct freebsd32_sigwaitinfo_args {
302 	char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
303 	char info_l_[PADL_(struct siginfo32 *)]; struct siginfo32 * info; char info_r_[PADR_(struct siginfo32 *)];
304 };
305 struct freebsd32_aio_waitcomplete_args {
306 	char aiocbp_l_[PADL_(uint32_t *)]; uint32_t * aiocbp; char aiocbp_r_[PADR_(uint32_t *)];
307 	char timeout_l_[PADL_(struct timespec32 *)]; struct timespec32 * timeout; char timeout_r_[PADR_(struct timespec32 *)];
308 };
309 struct freebsd32_nmount_args {
310 	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
311 	char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)];
312 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
313 };
314 struct freebsd32_sendfile_args {
315 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
316 	char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
317 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
318 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
319 	char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
320 	char hdtr_l_[PADL_(struct sf_hdtr32 *)]; struct sf_hdtr32 * hdtr; char hdtr_r_[PADR_(struct sf_hdtr32 *)];
321 	char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
322 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
323 };
324 struct freebsd32_ksem_init_args {
325 	char idp_l_[PADL_(int32_t *)]; int32_t * idp; char idp_r_[PADR_(int32_t *)];
326 	char value_l_[PADL_(unsigned int)]; unsigned int value; char value_r_[PADR_(unsigned int)];
327 };
328 struct freebsd32_ksem_open_args {
329 	char idp_l_[PADL_(int32_t *)]; int32_t * idp; char idp_r_[PADR_(int32_t *)];
330 	char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
331 	char oflag_l_[PADL_(int)]; int oflag; char oflag_r_[PADR_(int)];
332 	char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)];
333 	char value_l_[PADL_(unsigned int)]; unsigned int value; char value_r_[PADR_(unsigned int)];
334 };
335 struct freebsd32_sigaction_args {
336 	char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
337 	char act_l_[PADL_(const struct sigaction32 *)]; const struct sigaction32 * act; char act_r_[PADR_(const struct sigaction32 *)];
338 	char oact_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * oact; char oact_r_[PADR_(struct sigaction32 *)];
339 };
340 struct freebsd32_sigreturn_args {
341 	char sigcntxp_l_[PADL_(const struct __ucontext32 *)]; const struct __ucontext32 * sigcntxp; char sigcntxp_r_[PADR_(const struct __ucontext32 *)];
342 };
343 struct freebsd32_getcontext_args {
344 	char ucp_l_[PADL_(struct __ucontext32 *)]; struct __ucontext32 * ucp; char ucp_r_[PADR_(struct __ucontext32 *)];
345 };
346 struct freebsd32_setcontext_args {
347 	char ucp_l_[PADL_(const struct __ucontext32 *)]; const struct __ucontext32 * ucp; char ucp_r_[PADR_(const struct __ucontext32 *)];
348 };
349 struct freebsd32_swapcontext_args {
350 	char oucp_l_[PADL_(struct __ucontext32 *)]; struct __ucontext32 * oucp; char oucp_r_[PADR_(struct __ucontext32 *)];
351 	char ucp_l_[PADL_(const struct __ucontext32 *)]; const struct __ucontext32 * ucp; char ucp_r_[PADR_(const struct __ucontext32 *)];
352 };
353 struct freebsd32_ksem_timedwait_args {
354 	char id_l_[PADL_(int32_t)]; int32_t id; char id_r_[PADR_(int32_t)];
355 	char abstime_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * abstime; char abstime_r_[PADR_(const struct timespec32 *)];
356 };
357 struct freebsd32_thr_suspend_args {
358 	char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)];
359 };
360 struct freebsd32__umtx_op_args {
361 	char obj_l_[PADL_(void *)]; void * obj; char obj_r_[PADR_(void *)];
362 	char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
363 	char val_l_[PADL_(u_long)]; u_long val; char val_r_[PADR_(u_long)];
364 	char uaddr1_l_[PADL_(void *)]; void * uaddr1; char uaddr1_r_[PADR_(void *)];
365 	char uaddr2_l_[PADL_(void *)]; void * uaddr2; char uaddr2_r_[PADR_(void *)];
366 };
367 struct freebsd32_thr_new_args {
368 	char param_l_[PADL_(struct thr_param32 *)]; struct thr_param32 * param; char param_r_[PADR_(struct thr_param32 *)];
369 	char param_size_l_[PADL_(int)]; int param_size; char param_size_r_[PADR_(int)];
370 };
371 struct freebsd32_sigqueue_args {
372 	char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
373 	char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
374 	char value_l_[PADL_(void *)]; void * value; char value_r_[PADR_(void *)];
375 };
376 struct freebsd32_kmq_open_args {
377 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
378 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
379 	char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)];
380 	char attr_l_[PADL_(const struct mq_attr32 *)]; const struct mq_attr32 * attr; char attr_r_[PADR_(const struct mq_attr32 *)];
381 };
382 struct freebsd32_kmq_setattr_args {
383 	char mqd_l_[PADL_(int)]; int mqd; char mqd_r_[PADR_(int)];
384 	char attr_l_[PADL_(const struct mq_attr32 *)]; const struct mq_attr32 * attr; char attr_r_[PADR_(const struct mq_attr32 *)];
385 	char oattr_l_[PADL_(struct mq_attr32 *)]; struct mq_attr32 * oattr; char oattr_r_[PADR_(struct mq_attr32 *)];
386 };
387 struct freebsd32_kmq_timedreceive_args {
388 	char mqd_l_[PADL_(int)]; int mqd; char mqd_r_[PADR_(int)];
389 	char msg_ptr_l_[PADL_(char *)]; char * msg_ptr; char msg_ptr_r_[PADR_(char *)];
390 	char msg_len_l_[PADL_(size_t)]; size_t msg_len; char msg_len_r_[PADR_(size_t)];
391 	char msg_prio_l_[PADL_(unsigned *)]; unsigned * msg_prio; char msg_prio_r_[PADR_(unsigned *)];
392 	char abs_timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * abs_timeout; char abs_timeout_r_[PADR_(const struct timespec32 *)];
393 };
394 struct freebsd32_kmq_timedsend_args {
395 	char mqd_l_[PADL_(int)]; int mqd; char mqd_r_[PADR_(int)];
396 	char msg_ptr_l_[PADL_(const char *)]; const char * msg_ptr; char msg_ptr_r_[PADR_(const char *)];
397 	char msg_len_l_[PADL_(size_t)]; size_t msg_len; char msg_len_r_[PADR_(size_t)];
398 	char msg_prio_l_[PADL_(unsigned)]; unsigned msg_prio; char msg_prio_r_[PADR_(unsigned)];
399 	char abs_timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * abs_timeout; char abs_timeout_r_[PADR_(const struct timespec32 *)];
400 };
401 struct freebsd32_kmq_notify_args {
402 	char mqd_l_[PADL_(int)]; int mqd; char mqd_r_[PADR_(int)];
403 	char sigev_l_[PADL_(const struct sigevent32 *)]; const struct sigevent32 * sigev; char sigev_r_[PADR_(const struct sigevent32 *)];
404 };
405 struct freebsd32_abort2_args {
406 	char why_l_[PADL_(const char *)]; const char * why; char why_r_[PADR_(const char *)];
407 	char nargs_l_[PADL_(int)]; int nargs; char nargs_r_[PADR_(int)];
408 	char args_l_[PADL_(uint32_t *)]; uint32_t * args; char args_r_[PADR_(uint32_t *)];
409 };
410 struct freebsd32_aio_fsync_args {
411 	char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
412 	char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
413 };
414 struct freebsd32_pread_args {
415 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
416 	char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)];
417 	char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
418 #ifdef PAD64_REQUIRED
419 	char _pad_l_[PADL_(int)]; int _pad; char _pad_r_[PADR_(int)];
420 #endif
421 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
422 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
423 };
424 struct freebsd32_pwrite_args {
425 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
426 	char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)];
427 	char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
428 #ifdef PAD64_REQUIRED
429 	char _pad_l_[PADL_(int)]; int _pad; char _pad_r_[PADR_(int)];
430 #endif
431 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
432 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
433 };
434 struct freebsd32_mmap_args {
435 	char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)];
436 	char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
437 	char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
438 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
439 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
440 #ifdef PAD64_REQUIRED
441 	char _pad_l_[PADL_(int)]; int _pad; char _pad_r_[PADR_(int)];
442 #endif
443 	char pos1_l_[PADL_(uint32_t)]; uint32_t pos1; char pos1_r_[PADR_(uint32_t)];
444 	char pos2_l_[PADL_(uint32_t)]; uint32_t pos2; char pos2_r_[PADR_(uint32_t)];
445 };
446 struct freebsd32_lseek_args {
447 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
448 #ifdef PAD64_REQUIRED
449 	char _pad_l_[PADL_(int)]; int _pad; char _pad_r_[PADR_(int)];
450 #endif
451 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
452 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
453 	char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
454 };
455 struct freebsd32_truncate_args {
456 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
457 #ifdef PAD64_REQUIRED
458 	char _pad_l_[PADL_(int)]; int _pad; char _pad_r_[PADR_(int)];
459 #endif
460 	char length1_l_[PADL_(uint32_t)]; uint32_t length1; char length1_r_[PADR_(uint32_t)];
461 	char length2_l_[PADL_(uint32_t)]; uint32_t length2; char length2_r_[PADR_(uint32_t)];
462 };
463 struct freebsd32_ftruncate_args {
464 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
465 #ifdef PAD64_REQUIRED
466 	char _pad_l_[PADL_(int)]; int _pad; char _pad_r_[PADR_(int)];
467 #endif
468 	char length1_l_[PADL_(uint32_t)]; uint32_t length1; char length1_r_[PADR_(uint32_t)];
469 	char length2_l_[PADL_(uint32_t)]; uint32_t length2; char length2_r_[PADR_(uint32_t)];
470 };
471 struct freebsd32_cpuset_setid_args {
472 	char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
473 #ifdef PAD64_REQUIRED
474 	char _pad_l_[PADL_(int)]; int _pad; char _pad_r_[PADR_(int)];
475 #endif
476 	char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
477 	char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
478 	char setid_l_[PADL_(cpusetid_t)]; cpusetid_t setid; char setid_r_[PADR_(cpusetid_t)];
479 };
480 struct freebsd32_cpuset_getid_args {
481 	char level_l_[PADL_(cpulevel_t)]; cpulevel_t level; char level_r_[PADR_(cpulevel_t)];
482 	char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
483 	char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
484 	char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
485 	char setid_l_[PADL_(cpusetid_t *)]; cpusetid_t * setid; char setid_r_[PADR_(cpusetid_t *)];
486 };
487 struct freebsd32_cpuset_getaffinity_args {
488 	char level_l_[PADL_(cpulevel_t)]; cpulevel_t level; char level_r_[PADR_(cpulevel_t)];
489 	char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
490 	char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
491 	char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
492 	char cpusetsize_l_[PADL_(size_t)]; size_t cpusetsize; char cpusetsize_r_[PADR_(size_t)];
493 	char mask_l_[PADL_(cpuset_t *)]; cpuset_t * mask; char mask_r_[PADR_(cpuset_t *)];
494 };
495 struct freebsd32_cpuset_setaffinity_args {
496 	char level_l_[PADL_(cpulevel_t)]; cpulevel_t level; char level_r_[PADR_(cpulevel_t)];
497 	char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
498 	char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
499 	char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
500 	char cpusetsize_l_[PADL_(size_t)]; size_t cpusetsize; char cpusetsize_r_[PADR_(size_t)];
501 	char mask_l_[PADL_(const cpuset_t *)]; const cpuset_t * mask; char mask_r_[PADR_(const cpuset_t *)];
502 };
503 struct freebsd32_fexecve_args {
504 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
505 	char argv_l_[PADL_(uint32_t *)]; uint32_t * argv; char argv_r_[PADR_(uint32_t *)];
506 	char envv_l_[PADL_(uint32_t *)]; uint32_t * envv; char envv_r_[PADR_(uint32_t *)];
507 };
508 struct freebsd32_futimesat_args {
509 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
510 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
511 	char times_l_[PADL_(const struct timeval32 *)]; const struct timeval32 * times; char times_r_[PADR_(const struct timeval32 *)];
512 };
513 struct freebsd32_jail_get_args {
514 	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
515 	char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)];
516 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
517 };
518 struct freebsd32_jail_set_args {
519 	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
520 	char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)];
521 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
522 };
523 struct freebsd32___semctl_args {
524 	char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)];
525 	char semnum_l_[PADL_(int)]; int semnum; char semnum_r_[PADR_(int)];
526 	char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
527 	char arg_l_[PADL_(union semun32 *)]; union semun32 * arg; char arg_r_[PADR_(union semun32 *)];
528 };
529 struct freebsd32_msgctl_args {
530 	char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
531 	char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
532 	char buf_l_[PADL_(struct msqid_ds32 *)]; struct msqid_ds32 * buf; char buf_r_[PADR_(struct msqid_ds32 *)];
533 };
534 struct freebsd32_shmctl_args {
535 	char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)];
536 	char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
537 	char buf_l_[PADL_(struct shmid_ds32 *)]; struct shmid_ds32 * buf; char buf_r_[PADR_(struct shmid_ds32 *)];
538 };
539 struct freebsd32_pselect_args {
540 	char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)];
541 	char in_l_[PADL_(fd_set *)]; fd_set * in; char in_r_[PADR_(fd_set *)];
542 	char ou_l_[PADL_(fd_set *)]; fd_set * ou; char ou_r_[PADR_(fd_set *)];
543 	char ex_l_[PADL_(fd_set *)]; fd_set * ex; char ex_r_[PADR_(fd_set *)];
544 	char ts_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * ts; char ts_r_[PADR_(const struct timespec32 *)];
545 	char sm_l_[PADL_(const sigset_t *)]; const sigset_t * sm; char sm_r_[PADR_(const sigset_t *)];
546 };
547 struct freebsd32_posix_fallocate_args {
548 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
549 #ifdef PAD64_REQUIRED
550 	char _pad_l_[PADL_(int)]; int _pad; char _pad_r_[PADR_(int)];
551 #endif
552 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
553 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
554 	char len1_l_[PADL_(uint32_t)]; uint32_t len1; char len1_r_[PADR_(uint32_t)];
555 	char len2_l_[PADL_(uint32_t)]; uint32_t len2; char len2_r_[PADR_(uint32_t)];
556 };
557 struct freebsd32_posix_fadvise_args {
558 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
559 #ifdef PAD64_REQUIRED
560 	char _pad_l_[PADL_(int)]; int _pad; char _pad_r_[PADR_(int)];
561 #endif
562 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
563 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
564 	char len1_l_[PADL_(uint32_t)]; uint32_t len1; char len1_r_[PADR_(uint32_t)];
565 	char len2_l_[PADL_(uint32_t)]; uint32_t len2; char len2_r_[PADR_(uint32_t)];
566 	char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)];
567 };
568 struct freebsd32_wait6_args {
569 	char idtype_l_[PADL_(idtype_t)]; idtype_t idtype; char idtype_r_[PADR_(idtype_t)];
570 #ifdef PAD64_REQUIRED
571 	char _pad_l_[PADL_(int)]; int _pad; char _pad_r_[PADR_(int)];
572 #endif
573 	char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
574 	char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
575 	char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)];
576 	char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
577 	char wrusage_l_[PADL_(struct __wrusage32 *)]; struct __wrusage32 * wrusage; char wrusage_r_[PADR_(struct __wrusage32 *)];
578 	char info_l_[PADL_(struct siginfo32 *)]; struct siginfo32 * info; char info_r_[PADR_(struct siginfo32 *)];
579 };
580 struct freebsd32_cap_ioctls_limit_args {
581 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
582 	char cmds_l_[PADL_(const uint32_t *)]; const uint32_t * cmds; char cmds_r_[PADR_(const uint32_t *)];
583 	char ncmds_l_[PADL_(size_t)]; size_t ncmds; char ncmds_r_[PADR_(size_t)];
584 };
585 struct freebsd32_cap_ioctls_get_args {
586 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
587 	char cmds_l_[PADL_(uint32_t *)]; uint32_t * cmds; char cmds_r_[PADR_(uint32_t *)];
588 	char maxcmds_l_[PADL_(size_t)]; size_t maxcmds; char maxcmds_r_[PADR_(size_t)];
589 };
590 struct freebsd32_aio_mlock_args {
591 	char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
592 };
593 struct freebsd32_procctl_args {
594 	char idtype_l_[PADL_(idtype_t)]; idtype_t idtype; char idtype_r_[PADR_(idtype_t)];
595 #ifdef PAD64_REQUIRED
596 	char _pad_l_[PADL_(int)]; int _pad; char _pad_r_[PADR_(int)];
597 #endif
598 	char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
599 	char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
600 	char com_l_[PADL_(int)]; int com; char com_r_[PADR_(int)];
601 	char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
602 };
603 struct freebsd32_ppoll_args {
604 	char fds_l_[PADL_(struct pollfd *)]; struct pollfd * fds; char fds_r_[PADR_(struct pollfd *)];
605 	char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)];
606 	char ts_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * ts; char ts_r_[PADR_(const struct timespec32 *)];
607 	char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
608 };
609 struct freebsd32_futimens_args {
610 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
611 	char times_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * times; char times_r_[PADR_(const struct timespec32 *)];
612 };
613 struct freebsd32_utimensat_args {
614 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
615 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
616 	char times_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * times; char times_r_[PADR_(const struct timespec32 *)];
617 	char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
618 };
619 struct freebsd32_fstat_args {
620 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
621 	char sb_l_[PADL_(struct stat32 *)]; struct stat32 * sb; char sb_r_[PADR_(struct stat32 *)];
622 };
623 struct freebsd32_fstatat_args {
624 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
625 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
626 	char buf_l_[PADL_(struct stat32 *)]; struct stat32 * buf; char buf_r_[PADR_(struct stat32 *)];
627 	char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
628 };
629 struct freebsd32_fhstat_args {
630 	char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
631 	char sb_l_[PADL_(struct stat32 *)]; struct stat32 * sb; char sb_r_[PADR_(struct stat32 *)];
632 };
633 struct freebsd32_getfsstat_args {
634 	char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)];
635 	char bufsize_l_[PADL_(int32_t)]; int32_t bufsize; char bufsize_r_[PADR_(int32_t)];
636 	char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
637 };
638 struct freebsd32_mknodat_args {
639 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
640 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
641 	char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)];
642 #ifdef PAD64_REQUIRED
643 	char _pad_l_[PADL_(int)]; int _pad; char _pad_r_[PADR_(int)];
644 #endif
645 	char dev1_l_[PADL_(uint32_t)]; uint32_t dev1; char dev1_r_[PADR_(uint32_t)];
646 	char dev2_l_[PADL_(uint32_t)]; uint32_t dev2; char dev2_r_[PADR_(uint32_t)];
647 };
648 struct freebsd32_kevent_args {
649 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
650 	char changelist_l_[PADL_(const struct kevent32 *)]; const struct kevent32 * changelist; char changelist_r_[PADR_(const struct kevent32 *)];
651 	char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)];
652 	char eventlist_l_[PADL_(struct kevent32 *)]; struct kevent32 * eventlist; char eventlist_r_[PADR_(struct kevent32 *)];
653 	char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)];
654 	char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)];
655 };
656 struct freebsd32_cpuset_getdomain_args {
657 	char level_l_[PADL_(cpulevel_t)]; cpulevel_t level; char level_r_[PADR_(cpulevel_t)];
658 	char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
659 	char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
660 	char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
661 	char domainsetsize_l_[PADL_(size_t)]; size_t domainsetsize; char domainsetsize_r_[PADR_(size_t)];
662 	char mask_l_[PADL_(domainset_t *)]; domainset_t * mask; char mask_r_[PADR_(domainset_t *)];
663 	char policy_l_[PADL_(int *)]; int * policy; char policy_r_[PADR_(int *)];
664 };
665 struct freebsd32_cpuset_setdomain_args {
666 	char level_l_[PADL_(cpulevel_t)]; cpulevel_t level; char level_r_[PADR_(cpulevel_t)];
667 	char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
668 	char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
669 	char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
670 	char domainsetsize_l_[PADL_(size_t)]; size_t domainsetsize; char domainsetsize_r_[PADR_(size_t)];
671 	char mask_l_[PADL_(domainset_t *)]; domainset_t * mask; char mask_r_[PADR_(domainset_t *)];
672 	char policy_l_[PADL_(int)]; int policy; char policy_r_[PADR_(int)];
673 };
674 struct freebsd32___sysctlbyname_args {
675 	char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
676 	char namelen_l_[PADL_(size_t)]; size_t namelen; char namelen_r_[PADR_(size_t)];
677 	char old_l_[PADL_(void *)]; void * old; char old_r_[PADR_(void *)];
678 	char oldlenp_l_[PADL_(uint32_t *)]; uint32_t * oldlenp; char oldlenp_r_[PADR_(uint32_t *)];
679 	char new_l_[PADL_(void *)]; void * new; char new_r_[PADR_(void *)];
680 	char newlen_l_[PADL_(size_t)]; size_t newlen; char newlen_r_[PADR_(size_t)];
681 };
682 struct freebsd32_aio_writev_args {
683 	char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
684 };
685 struct freebsd32_aio_readv_args {
686 	char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
687 };
688 int	freebsd32_wait4(struct thread *, struct freebsd32_wait4_args *);
689 int	freebsd32_ptrace(struct thread *, struct freebsd32_ptrace_args *);
690 int	freebsd32_recvmsg(struct thread *, struct freebsd32_recvmsg_args *);
691 int	freebsd32_sendmsg(struct thread *, struct freebsd32_sendmsg_args *);
692 int	freebsd32_sigaltstack(struct thread *, struct freebsd32_sigaltstack_args *);
693 int	freebsd32_ioctl(struct thread *, struct freebsd32_ioctl_args *);
694 int	freebsd32_execve(struct thread *, struct freebsd32_execve_args *);
695 int	freebsd32_mprotect(struct thread *, struct freebsd32_mprotect_args *);
696 int	freebsd32_setitimer(struct thread *, struct freebsd32_setitimer_args *);
697 int	freebsd32_getitimer(struct thread *, struct freebsd32_getitimer_args *);
698 int	freebsd32_fcntl(struct thread *, struct freebsd32_fcntl_args *);
699 int	freebsd32_select(struct thread *, struct freebsd32_select_args *);
700 int	freebsd32_gettimeofday(struct thread *, struct freebsd32_gettimeofday_args *);
701 int	freebsd32_getrusage(struct thread *, struct freebsd32_getrusage_args *);
702 int	freebsd32_readv(struct thread *, struct freebsd32_readv_args *);
703 int	freebsd32_writev(struct thread *, struct freebsd32_writev_args *);
704 int	freebsd32_settimeofday(struct thread *, struct freebsd32_settimeofday_args *);
705 int	freebsd32_utimes(struct thread *, struct freebsd32_utimes_args *);
706 int	freebsd32_adjtime(struct thread *, struct freebsd32_adjtime_args *);
707 int	freebsd32_sysarch(struct thread *, struct freebsd32_sysarch_args *);
708 int	freebsd32_semsys(struct thread *, struct freebsd32_semsys_args *);
709 int	freebsd32_msgsys(struct thread *, struct freebsd32_msgsys_args *);
710 int	freebsd32_shmsys(struct thread *, struct freebsd32_shmsys_args *);
711 int	freebsd32_ntp_adjtime(struct thread *, struct freebsd32_ntp_adjtime_args *);
712 int	freebsd32___sysctl(struct thread *, struct freebsd32___sysctl_args *);
713 int	freebsd32_futimes(struct thread *, struct freebsd32_futimes_args *);
714 int	freebsd32_msgsnd(struct thread *, struct freebsd32_msgsnd_args *);
715 int	freebsd32_msgrcv(struct thread *, struct freebsd32_msgrcv_args *);
716 int	freebsd32_clock_gettime(struct thread *, struct freebsd32_clock_gettime_args *);
717 int	freebsd32_clock_settime(struct thread *, struct freebsd32_clock_settime_args *);
718 int	freebsd32_clock_getres(struct thread *, struct freebsd32_clock_getres_args *);
719 int	freebsd32_ktimer_create(struct thread *, struct freebsd32_ktimer_create_args *);
720 int	freebsd32_ktimer_settime(struct thread *, struct freebsd32_ktimer_settime_args *);
721 int	freebsd32_ktimer_gettime(struct thread *, struct freebsd32_ktimer_gettime_args *);
722 int	freebsd32_nanosleep(struct thread *, struct freebsd32_nanosleep_args *);
723 int	freebsd32_ffclock_setestimate(struct thread *, struct freebsd32_ffclock_setestimate_args *);
724 int	freebsd32_ffclock_getestimate(struct thread *, struct freebsd32_ffclock_getestimate_args *);
725 int	freebsd32_clock_nanosleep(struct thread *, struct freebsd32_clock_nanosleep_args *);
726 int	freebsd32_clock_getcpuclockid2(struct thread *, struct freebsd32_clock_getcpuclockid2_args *);
727 int	freebsd32_aio_read(struct thread *, struct freebsd32_aio_read_args *);
728 int	freebsd32_aio_write(struct thread *, struct freebsd32_aio_write_args *);
729 int	freebsd32_lio_listio(struct thread *, struct freebsd32_lio_listio_args *);
730 int	freebsd32_lutimes(struct thread *, struct freebsd32_lutimes_args *);
731 int	freebsd32_preadv(struct thread *, struct freebsd32_preadv_args *);
732 int	freebsd32_pwritev(struct thread *, struct freebsd32_pwritev_args *);
733 int	freebsd32_modstat(struct thread *, struct freebsd32_modstat_args *);
734 int	freebsd32_kldstat(struct thread *, struct freebsd32_kldstat_args *);
735 int	freebsd32_aio_return(struct thread *, struct freebsd32_aio_return_args *);
736 int	freebsd32_aio_suspend(struct thread *, struct freebsd32_aio_suspend_args *);
737 int	freebsd32_aio_error(struct thread *, struct freebsd32_aio_error_args *);
738 int	freebsd32_sched_rr_get_interval(struct thread *, struct freebsd32_sched_rr_get_interval_args *);
739 int	freebsd32_jail(struct thread *, struct freebsd32_jail_args *);
740 int	freebsd32_sigtimedwait(struct thread *, struct freebsd32_sigtimedwait_args *);
741 int	freebsd32_sigwaitinfo(struct thread *, struct freebsd32_sigwaitinfo_args *);
742 int	freebsd32_aio_waitcomplete(struct thread *, struct freebsd32_aio_waitcomplete_args *);
743 int	freebsd32_nmount(struct thread *, struct freebsd32_nmount_args *);
744 int	freebsd32_sendfile(struct thread *, struct freebsd32_sendfile_args *);
745 int	freebsd32_ksem_init(struct thread *, struct freebsd32_ksem_init_args *);
746 int	freebsd32_ksem_open(struct thread *, struct freebsd32_ksem_open_args *);
747 int	freebsd32_sigaction(struct thread *, struct freebsd32_sigaction_args *);
748 int	freebsd32_sigreturn(struct thread *, struct freebsd32_sigreturn_args *);
749 int	freebsd32_getcontext(struct thread *, struct freebsd32_getcontext_args *);
750 int	freebsd32_setcontext(struct thread *, struct freebsd32_setcontext_args *);
751 int	freebsd32_swapcontext(struct thread *, struct freebsd32_swapcontext_args *);
752 int	freebsd32_ksem_timedwait(struct thread *, struct freebsd32_ksem_timedwait_args *);
753 int	freebsd32_thr_suspend(struct thread *, struct freebsd32_thr_suspend_args *);
754 int	freebsd32__umtx_op(struct thread *, struct freebsd32__umtx_op_args *);
755 int	freebsd32_thr_new(struct thread *, struct freebsd32_thr_new_args *);
756 int	freebsd32_sigqueue(struct thread *, struct freebsd32_sigqueue_args *);
757 int	freebsd32_kmq_open(struct thread *, struct freebsd32_kmq_open_args *);
758 int	freebsd32_kmq_setattr(struct thread *, struct freebsd32_kmq_setattr_args *);
759 int	freebsd32_kmq_timedreceive(struct thread *, struct freebsd32_kmq_timedreceive_args *);
760 int	freebsd32_kmq_timedsend(struct thread *, struct freebsd32_kmq_timedsend_args *);
761 int	freebsd32_kmq_notify(struct thread *, struct freebsd32_kmq_notify_args *);
762 int	freebsd32_abort2(struct thread *, struct freebsd32_abort2_args *);
763 int	freebsd32_aio_fsync(struct thread *, struct freebsd32_aio_fsync_args *);
764 int	freebsd32_pread(struct thread *, struct freebsd32_pread_args *);
765 int	freebsd32_pwrite(struct thread *, struct freebsd32_pwrite_args *);
766 int	freebsd32_mmap(struct thread *, struct freebsd32_mmap_args *);
767 int	freebsd32_lseek(struct thread *, struct freebsd32_lseek_args *);
768 int	freebsd32_truncate(struct thread *, struct freebsd32_truncate_args *);
769 int	freebsd32_ftruncate(struct thread *, struct freebsd32_ftruncate_args *);
770 int	freebsd32_cpuset_setid(struct thread *, struct freebsd32_cpuset_setid_args *);
771 int	freebsd32_cpuset_getid(struct thread *, struct freebsd32_cpuset_getid_args *);
772 int	freebsd32_cpuset_getaffinity(struct thread *, struct freebsd32_cpuset_getaffinity_args *);
773 int	freebsd32_cpuset_setaffinity(struct thread *, struct freebsd32_cpuset_setaffinity_args *);
774 int	freebsd32_fexecve(struct thread *, struct freebsd32_fexecve_args *);
775 int	freebsd32_futimesat(struct thread *, struct freebsd32_futimesat_args *);
776 int	freebsd32_jail_get(struct thread *, struct freebsd32_jail_get_args *);
777 int	freebsd32_jail_set(struct thread *, struct freebsd32_jail_set_args *);
778 int	freebsd32___semctl(struct thread *, struct freebsd32___semctl_args *);
779 int	freebsd32_msgctl(struct thread *, struct freebsd32_msgctl_args *);
780 int	freebsd32_shmctl(struct thread *, struct freebsd32_shmctl_args *);
781 int	freebsd32_pselect(struct thread *, struct freebsd32_pselect_args *);
782 int	freebsd32_posix_fallocate(struct thread *, struct freebsd32_posix_fallocate_args *);
783 int	freebsd32_posix_fadvise(struct thread *, struct freebsd32_posix_fadvise_args *);
784 int	freebsd32_wait6(struct thread *, struct freebsd32_wait6_args *);
785 int	freebsd32_cap_ioctls_limit(struct thread *, struct freebsd32_cap_ioctls_limit_args *);
786 int	freebsd32_cap_ioctls_get(struct thread *, struct freebsd32_cap_ioctls_get_args *);
787 int	freebsd32_aio_mlock(struct thread *, struct freebsd32_aio_mlock_args *);
788 int	freebsd32_procctl(struct thread *, struct freebsd32_procctl_args *);
789 int	freebsd32_ppoll(struct thread *, struct freebsd32_ppoll_args *);
790 int	freebsd32_futimens(struct thread *, struct freebsd32_futimens_args *);
791 int	freebsd32_utimensat(struct thread *, struct freebsd32_utimensat_args *);
792 int	freebsd32_fstat(struct thread *, struct freebsd32_fstat_args *);
793 int	freebsd32_fstatat(struct thread *, struct freebsd32_fstatat_args *);
794 int	freebsd32_fhstat(struct thread *, struct freebsd32_fhstat_args *);
795 int	freebsd32_getfsstat(struct thread *, struct freebsd32_getfsstat_args *);
796 int	freebsd32_mknodat(struct thread *, struct freebsd32_mknodat_args *);
797 int	freebsd32_kevent(struct thread *, struct freebsd32_kevent_args *);
798 int	freebsd32_cpuset_getdomain(struct thread *, struct freebsd32_cpuset_getdomain_args *);
799 int	freebsd32_cpuset_setdomain(struct thread *, struct freebsd32_cpuset_setdomain_args *);
800 int	freebsd32___sysctlbyname(struct thread *, struct freebsd32___sysctlbyname_args *);
801 int	freebsd32_aio_writev(struct thread *, struct freebsd32_aio_writev_args *);
802 int	freebsd32_aio_readv(struct thread *, struct freebsd32_aio_readv_args *);
803 
804 #ifdef COMPAT_43
805 
806 struct ofreebsd32_lseek_args {
807 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
808 	char offset_l_[PADL_(int32_t)]; int32_t offset; char offset_r_[PADR_(int32_t)];
809 	char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
810 };
811 struct ofreebsd32_stat_args {
812 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
813 	char ub_l_[PADL_(struct ostat32 *)]; struct ostat32 * ub; char ub_r_[PADR_(struct ostat32 *)];
814 };
815 struct ofreebsd32_lstat_args {
816 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
817 	char ub_l_[PADL_(struct ostat32 *)]; struct ostat32 * ub; char ub_r_[PADR_(struct ostat32 *)];
818 };
819 struct ofreebsd32_sigaction_args {
820 	char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
821 	char nsa_l_[PADL_(struct osigaction32 *)]; struct osigaction32 * nsa; char nsa_r_[PADR_(struct osigaction32 *)];
822 	char osa_l_[PADL_(struct osigaction32 *)]; struct osigaction32 * osa; char osa_r_[PADR_(struct osigaction32 *)];
823 };
824 struct ofreebsd32_fstat_args {
825 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
826 	char sb_l_[PADL_(struct ostat32 *)]; struct ostat32 * sb; char sb_r_[PADR_(struct ostat32 *)];
827 };
828 struct ofreebsd32_mmap_args {
829 	char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)];
830 	char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
831 	char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
832 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
833 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
834 	char pos_l_[PADL_(int32_t)]; int32_t pos; char pos_r_[PADR_(int32_t)];
835 };
836 struct ofreebsd32_sigreturn_args {
837 	char sigcntxp_l_[PADL_(struct osigcontext *)]; struct osigcontext * sigcntxp; char sigcntxp_r_[PADR_(struct osigcontext *)];
838 };
839 struct ofreebsd32_sigvec_args {
840 	char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
841 	char nsv_l_[PADL_(struct sigvec32 *)]; struct sigvec32 * nsv; char nsv_r_[PADR_(struct sigvec32 *)];
842 	char osv_l_[PADL_(struct sigvec32 *)]; struct sigvec32 * osv; char osv_r_[PADR_(struct sigvec32 *)];
843 };
844 struct ofreebsd32_sigstack_args {
845 	char nss_l_[PADL_(struct sigstack32 *)]; struct sigstack32 * nss; char nss_r_[PADR_(struct sigstack32 *)];
846 	char oss_l_[PADL_(struct sigstack32 *)]; struct sigstack32 * oss; char oss_r_[PADR_(struct sigstack32 *)];
847 };
848 struct ofreebsd32_recvmsg_args {
849 	char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
850 	char msg_l_[PADL_(struct omsghdr32 *)]; struct omsghdr32 * msg; char msg_r_[PADR_(struct omsghdr32 *)];
851 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
852 };
853 struct ofreebsd32_sendmsg_args {
854 	char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
855 	char msg_l_[PADL_(const struct omsghdr32 *)]; const struct omsghdr32 * msg; char msg_r_[PADR_(const struct omsghdr32 *)];
856 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
857 };
858 struct ofreebsd32_truncate_args {
859 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
860 	char length_l_[PADL_(int32_t)]; int32_t length; char length_r_[PADR_(int32_t)];
861 };
862 struct ofreebsd32_ftruncate_args {
863 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
864 	char length_l_[PADL_(int32_t)]; int32_t length; char length_r_[PADR_(int32_t)];
865 };
866 struct ofreebsd32_sethostid_args {
867 	char hostid_l_[PADL_(int32_t)]; int32_t hostid; char hostid_r_[PADR_(int32_t)];
868 };
869 struct ofreebsd32_getdirentries_args {
870 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
871 	char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
872 	char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
873 	char basep_l_[PADL_(int32_t *)]; int32_t * basep; char basep_r_[PADR_(int32_t *)];
874 };
875 int	ofreebsd32_lseek(struct thread *, struct ofreebsd32_lseek_args *);
876 int	ofreebsd32_stat(struct thread *, struct ofreebsd32_stat_args *);
877 int	ofreebsd32_lstat(struct thread *, struct ofreebsd32_lstat_args *);
878 int	ofreebsd32_sigaction(struct thread *, struct ofreebsd32_sigaction_args *);
879 int	ofreebsd32_fstat(struct thread *, struct ofreebsd32_fstat_args *);
880 int	ofreebsd32_mmap(struct thread *, struct ofreebsd32_mmap_args *);
881 int	ofreebsd32_sigreturn(struct thread *, struct ofreebsd32_sigreturn_args *);
882 int	ofreebsd32_sigvec(struct thread *, struct ofreebsd32_sigvec_args *);
883 int	ofreebsd32_sigstack(struct thread *, struct ofreebsd32_sigstack_args *);
884 int	ofreebsd32_recvmsg(struct thread *, struct ofreebsd32_recvmsg_args *);
885 int	ofreebsd32_sendmsg(struct thread *, struct ofreebsd32_sendmsg_args *);
886 int	ofreebsd32_truncate(struct thread *, struct ofreebsd32_truncate_args *);
887 int	ofreebsd32_ftruncate(struct thread *, struct ofreebsd32_ftruncate_args *);
888 int	ofreebsd32_sethostid(struct thread *, struct ofreebsd32_sethostid_args *);
889 int	ofreebsd32_getdirentries(struct thread *, struct ofreebsd32_getdirentries_args *);
890 
891 #endif /* COMPAT_43 */
892 
893 
894 #ifdef COMPAT_FREEBSD4
895 
896 struct freebsd4_freebsd32_getfsstat_args {
897 	char buf_l_[PADL_(struct ostatfs32 *)]; struct ostatfs32 * buf; char buf_r_[PADR_(struct ostatfs32 *)];
898 	char bufsize_l_[PADL_(int32_t)]; int32_t bufsize; char bufsize_r_[PADR_(int32_t)];
899 	char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
900 };
901 struct freebsd4_freebsd32_statfs_args {
902 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
903 	char buf_l_[PADL_(struct ostatfs32 *)]; struct ostatfs32 * buf; char buf_r_[PADR_(struct ostatfs32 *)];
904 };
905 struct freebsd4_freebsd32_fstatfs_args {
906 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
907 	char buf_l_[PADL_(struct ostatfs32 *)]; struct ostatfs32 * buf; char buf_r_[PADR_(struct ostatfs32 *)];
908 };
909 struct freebsd4_freebsd32_fhstatfs_args {
910 	char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
911 	char buf_l_[PADL_(struct ostatfs32 *)]; struct ostatfs32 * buf; char buf_r_[PADR_(struct ostatfs32 *)];
912 };
913 struct freebsd4_freebsd32_sendfile_args {
914 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
915 	char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
916 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
917 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
918 	char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
919 	char hdtr_l_[PADL_(struct sf_hdtr32 *)]; struct sf_hdtr32 * hdtr; char hdtr_r_[PADR_(struct sf_hdtr32 *)];
920 	char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
921 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
922 };
923 struct freebsd4_freebsd32_sigaction_args {
924 	char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
925 	char act_l_[PADL_(const struct sigaction32 *)]; const struct sigaction32 * act; char act_r_[PADR_(const struct sigaction32 *)];
926 	char oact_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * oact; char oact_r_[PADR_(struct sigaction32 *)];
927 };
928 struct freebsd4_freebsd32_sigreturn_args {
929 	char sigcntxp_l_[PADL_(const struct freebsd4_ucontext32 *)]; const struct freebsd4_ucontext32 * sigcntxp; char sigcntxp_r_[PADR_(const struct freebsd4_ucontext32 *)];
930 };
931 int	freebsd4_freebsd32_getfsstat(struct thread *, struct freebsd4_freebsd32_getfsstat_args *);
932 int	freebsd4_freebsd32_statfs(struct thread *, struct freebsd4_freebsd32_statfs_args *);
933 int	freebsd4_freebsd32_fstatfs(struct thread *, struct freebsd4_freebsd32_fstatfs_args *);
934 int	freebsd4_freebsd32_fhstatfs(struct thread *, struct freebsd4_freebsd32_fhstatfs_args *);
935 int	freebsd4_freebsd32_sendfile(struct thread *, struct freebsd4_freebsd32_sendfile_args *);
936 int	freebsd4_freebsd32_sigaction(struct thread *, struct freebsd4_freebsd32_sigaction_args *);
937 int	freebsd4_freebsd32_sigreturn(struct thread *, struct freebsd4_freebsd32_sigreturn_args *);
938 
939 #endif /* COMPAT_FREEBSD4 */
940 
941 
942 #ifdef COMPAT_FREEBSD6
943 
944 struct freebsd6_freebsd32_pread_args {
945 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
946 	char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)];
947 	char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
948 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
949 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
950 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
951 };
952 struct freebsd6_freebsd32_pwrite_args {
953 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
954 	char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)];
955 	char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
956 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
957 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
958 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
959 };
960 struct freebsd6_freebsd32_mmap_args {
961 	char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)];
962 	char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
963 	char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
964 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
965 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
966 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
967 	char pos1_l_[PADL_(uint32_t)]; uint32_t pos1; char pos1_r_[PADR_(uint32_t)];
968 	char pos2_l_[PADL_(uint32_t)]; uint32_t pos2; char pos2_r_[PADR_(uint32_t)];
969 };
970 struct freebsd6_freebsd32_lseek_args {
971 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
972 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
973 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
974 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
975 	char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
976 };
977 struct freebsd6_freebsd32_truncate_args {
978 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
979 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
980 	char length1_l_[PADL_(uint32_t)]; uint32_t length1; char length1_r_[PADR_(uint32_t)];
981 	char length2_l_[PADL_(uint32_t)]; uint32_t length2; char length2_r_[PADR_(uint32_t)];
982 };
983 struct freebsd6_freebsd32_ftruncate_args {
984 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
985 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
986 	char length1_l_[PADL_(uint32_t)]; uint32_t length1; char length1_r_[PADR_(uint32_t)];
987 	char length2_l_[PADL_(uint32_t)]; uint32_t length2; char length2_r_[PADR_(uint32_t)];
988 };
989 struct freebsd6_freebsd32_aio_read_args {
990 	char aiocbp_l_[PADL_(struct oaiocb32 *)]; struct oaiocb32 * aiocbp; char aiocbp_r_[PADR_(struct oaiocb32 *)];
991 };
992 struct freebsd6_freebsd32_aio_write_args {
993 	char aiocbp_l_[PADL_(struct oaiocb32 *)]; struct oaiocb32 * aiocbp; char aiocbp_r_[PADR_(struct oaiocb32 *)];
994 };
995 struct freebsd6_freebsd32_lio_listio_args {
996 	char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
997 	char acb_list_l_[PADL_(uint32_t *)]; uint32_t * acb_list; char acb_list_r_[PADR_(uint32_t *)];
998 	char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)];
999 	char sig_l_[PADL_(struct osigevent32 *)]; struct osigevent32 * sig; char sig_r_[PADR_(struct osigevent32 *)];
1000 };
1001 int	freebsd6_freebsd32_pread(struct thread *, struct freebsd6_freebsd32_pread_args *);
1002 int	freebsd6_freebsd32_pwrite(struct thread *, struct freebsd6_freebsd32_pwrite_args *);
1003 int	freebsd6_freebsd32_mmap(struct thread *, struct freebsd6_freebsd32_mmap_args *);
1004 int	freebsd6_freebsd32_lseek(struct thread *, struct freebsd6_freebsd32_lseek_args *);
1005 int	freebsd6_freebsd32_truncate(struct thread *, struct freebsd6_freebsd32_truncate_args *);
1006 int	freebsd6_freebsd32_ftruncate(struct thread *, struct freebsd6_freebsd32_ftruncate_args *);
1007 int	freebsd6_freebsd32_aio_read(struct thread *, struct freebsd6_freebsd32_aio_read_args *);
1008 int	freebsd6_freebsd32_aio_write(struct thread *, struct freebsd6_freebsd32_aio_write_args *);
1009 int	freebsd6_freebsd32_lio_listio(struct thread *, struct freebsd6_freebsd32_lio_listio_args *);
1010 
1011 #endif /* COMPAT_FREEBSD6 */
1012 
1013 
1014 #ifdef COMPAT_FREEBSD7
1015 
1016 struct freebsd7_freebsd32___semctl_args {
1017 	char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)];
1018 	char semnum_l_[PADL_(int)]; int semnum; char semnum_r_[PADR_(int)];
1019 	char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
1020 	char arg_l_[PADL_(union semun_old32 *)]; union semun_old32 * arg; char arg_r_[PADR_(union semun_old32 *)];
1021 };
1022 struct freebsd7_freebsd32_msgctl_args {
1023 	char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
1024 	char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
1025 	char buf_l_[PADL_(struct msqid_ds_old32 *)]; struct msqid_ds_old32 * buf; char buf_r_[PADR_(struct msqid_ds_old32 *)];
1026 };
1027 struct freebsd7_freebsd32_shmctl_args {
1028 	char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)];
1029 	char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
1030 	char buf_l_[PADL_(struct shmid_ds_old32 *)]; struct shmid_ds_old32 * buf; char buf_r_[PADR_(struct shmid_ds_old32 *)];
1031 };
1032 int	freebsd7_freebsd32___semctl(struct thread *, struct freebsd7_freebsd32___semctl_args *);
1033 int	freebsd7_freebsd32_msgctl(struct thread *, struct freebsd7_freebsd32_msgctl_args *);
1034 int	freebsd7_freebsd32_shmctl(struct thread *, struct freebsd7_freebsd32_shmctl_args *);
1035 
1036 #endif /* COMPAT_FREEBSD7 */
1037 
1038 
1039 #ifdef COMPAT_FREEBSD10
1040 
1041 struct freebsd10_freebsd32__umtx_lock_args {
1042 	char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)];
1043 };
1044 struct freebsd10_freebsd32__umtx_unlock_args {
1045 	char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)];
1046 };
1047 int	freebsd10_freebsd32__umtx_lock(struct thread *, struct freebsd10_freebsd32__umtx_lock_args *);
1048 int	freebsd10_freebsd32__umtx_unlock(struct thread *, struct freebsd10_freebsd32__umtx_unlock_args *);
1049 
1050 #endif /* COMPAT_FREEBSD10 */
1051 
1052 
1053 #ifdef COMPAT_FREEBSD11
1054 
1055 struct freebsd11_freebsd32_stat_args {
1056 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
1057 	char ub_l_[PADL_(struct freebsd11_stat32 *)]; struct freebsd11_stat32 * ub; char ub_r_[PADR_(struct freebsd11_stat32 *)];
1058 };
1059 struct freebsd11_freebsd32_fstat_args {
1060 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
1061 	char sb_l_[PADL_(struct freebsd11_stat32 *)]; struct freebsd11_stat32 * sb; char sb_r_[PADR_(struct freebsd11_stat32 *)];
1062 };
1063 struct freebsd11_freebsd32_lstat_args {
1064 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
1065 	char ub_l_[PADL_(struct freebsd11_stat32 *)]; struct freebsd11_stat32 * ub; char ub_r_[PADR_(struct freebsd11_stat32 *)];
1066 };
1067 struct freebsd11_freebsd32_getdirentries_args {
1068 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
1069 	char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
1070 	char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
1071 	char basep_l_[PADL_(int32_t *)]; int32_t * basep; char basep_r_[PADR_(int32_t *)];
1072 };
1073 struct freebsd11_freebsd32_nstat_args {
1074 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
1075 	char ub_l_[PADL_(struct nstat32 *)]; struct nstat32 * ub; char ub_r_[PADR_(struct nstat32 *)];
1076 };
1077 struct freebsd11_freebsd32_nfstat_args {
1078 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
1079 	char sb_l_[PADL_(struct nstat32 *)]; struct nstat32 * sb; char sb_r_[PADR_(struct nstat32 *)];
1080 };
1081 struct freebsd11_freebsd32_nlstat_args {
1082 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
1083 	char ub_l_[PADL_(struct nstat32 *)]; struct nstat32 * ub; char ub_r_[PADR_(struct nstat32 *)];
1084 };
1085 struct freebsd11_freebsd32_fhstat_args {
1086 	char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
1087 	char sb_l_[PADL_(struct freebsd11_stat32 *)]; struct freebsd11_stat32 * sb; char sb_r_[PADR_(struct freebsd11_stat32 *)];
1088 };
1089 struct freebsd11_freebsd32_kevent_args {
1090 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
1091 	char changelist_l_[PADL_(const struct freebsd11_kevent32 *)]; const struct freebsd11_kevent32 * changelist; char changelist_r_[PADR_(const struct freebsd11_kevent32 *)];
1092 	char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)];
1093 	char eventlist_l_[PADL_(struct freebsd11_kevent32 *)]; struct freebsd11_kevent32 * eventlist; char eventlist_r_[PADR_(struct freebsd11_kevent32 *)];
1094 	char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)];
1095 	char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)];
1096 };
1097 struct freebsd11_freebsd32_getfsstat_args {
1098 	char buf_l_[PADL_(struct freebsd11_statfs *)]; struct freebsd11_statfs * buf; char buf_r_[PADR_(struct freebsd11_statfs *)];
1099 	char bufsize_l_[PADL_(int32_t)]; int32_t bufsize; char bufsize_r_[PADR_(int32_t)];
1100 	char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
1101 };
1102 struct freebsd11_freebsd32_fstatat_args {
1103 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
1104 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
1105 	char buf_l_[PADL_(struct freebsd11_stat32 *)]; struct freebsd11_stat32 * buf; char buf_r_[PADR_(struct freebsd11_stat32 *)];
1106 	char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
1107 };
1108 int	freebsd11_freebsd32_stat(struct thread *, struct freebsd11_freebsd32_stat_args *);
1109 int	freebsd11_freebsd32_fstat(struct thread *, struct freebsd11_freebsd32_fstat_args *);
1110 int	freebsd11_freebsd32_lstat(struct thread *, struct freebsd11_freebsd32_lstat_args *);
1111 int	freebsd11_freebsd32_getdirentries(struct thread *, struct freebsd11_freebsd32_getdirentries_args *);
1112 int	freebsd11_freebsd32_nstat(struct thread *, struct freebsd11_freebsd32_nstat_args *);
1113 int	freebsd11_freebsd32_nfstat(struct thread *, struct freebsd11_freebsd32_nfstat_args *);
1114 int	freebsd11_freebsd32_nlstat(struct thread *, struct freebsd11_freebsd32_nlstat_args *);
1115 int	freebsd11_freebsd32_fhstat(struct thread *, struct freebsd11_freebsd32_fhstat_args *);
1116 int	freebsd11_freebsd32_kevent(struct thread *, struct freebsd11_freebsd32_kevent_args *);
1117 int	freebsd11_freebsd32_getfsstat(struct thread *, struct freebsd11_freebsd32_getfsstat_args *);
1118 int	freebsd11_freebsd32_fstatat(struct thread *, struct freebsd11_freebsd32_fstatat_args *);
1119 
1120 #endif /* COMPAT_FREEBSD11 */
1121 
1122 
1123 #ifdef COMPAT_FREEBSD12
1124 
1125 
1126 #endif /* COMPAT_FREEBSD12 */
1127 
1128 
1129 #ifdef COMPAT_FREEBSD13
1130 
1131 
1132 #endif /* COMPAT_FREEBSD13 */
1133 
1134 #define	FREEBSD32_SYS_AUE_freebsd32_wait4	AUE_WAIT4
1135 #define	FREEBSD32_SYS_AUE_freebsd4_freebsd32_getfsstat	AUE_GETFSSTAT
1136 #define	FREEBSD32_SYS_AUE_ofreebsd32_lseek	AUE_LSEEK
1137 #define	FREEBSD32_SYS_AUE_freebsd32_ptrace	AUE_PTRACE
1138 #define	FREEBSD32_SYS_AUE_freebsd32_recvmsg	AUE_RECVMSG
1139 #define	FREEBSD32_SYS_AUE_freebsd32_sendmsg	AUE_SENDMSG
1140 #define	FREEBSD32_SYS_AUE_ofreebsd32_stat	AUE_STAT
1141 #define	FREEBSD32_SYS_AUE_ofreebsd32_lstat	AUE_LSTAT
1142 #define	FREEBSD32_SYS_AUE_ofreebsd32_sigaction	AUE_SIGACTION
1143 #define	FREEBSD32_SYS_AUE_freebsd32_sigaltstack	AUE_SIGALTSTACK
1144 #define	FREEBSD32_SYS_AUE_freebsd32_ioctl	AUE_IOCTL
1145 #define	FREEBSD32_SYS_AUE_freebsd32_execve	AUE_EXECVE
1146 #define	FREEBSD32_SYS_AUE_ofreebsd32_fstat	AUE_FSTAT
1147 #define	FREEBSD32_SYS_AUE_ofreebsd32_mmap	AUE_MMAP
1148 #define	FREEBSD32_SYS_AUE_freebsd32_mprotect	AUE_MPROTECT
1149 #define	FREEBSD32_SYS_AUE_freebsd32_setitimer	AUE_SETITIMER
1150 #define	FREEBSD32_SYS_AUE_freebsd32_getitimer	AUE_GETITIMER
1151 #define	FREEBSD32_SYS_AUE_freebsd32_fcntl	AUE_FCNTL
1152 #define	FREEBSD32_SYS_AUE_freebsd32_select	AUE_SELECT
1153 #define	FREEBSD32_SYS_AUE_ofreebsd32_sigreturn	AUE_SIGRETURN
1154 #define	FREEBSD32_SYS_AUE_ofreebsd32_sigvec	AUE_NULL
1155 #define	FREEBSD32_SYS_AUE_ofreebsd32_sigstack	AUE_NULL
1156 #define	FREEBSD32_SYS_AUE_ofreebsd32_recvmsg	AUE_RECVMSG
1157 #define	FREEBSD32_SYS_AUE_ofreebsd32_sendmsg	AUE_SENDMSG
1158 #define	FREEBSD32_SYS_AUE_freebsd32_gettimeofday	AUE_GETTIMEOFDAY
1159 #define	FREEBSD32_SYS_AUE_freebsd32_getrusage	AUE_GETRUSAGE
1160 #define	FREEBSD32_SYS_AUE_freebsd32_readv	AUE_READV
1161 #define	FREEBSD32_SYS_AUE_freebsd32_writev	AUE_WRITEV
1162 #define	FREEBSD32_SYS_AUE_freebsd32_settimeofday	AUE_SETTIMEOFDAY
1163 #define	FREEBSD32_SYS_AUE_ofreebsd32_truncate	AUE_TRUNCATE
1164 #define	FREEBSD32_SYS_AUE_ofreebsd32_ftruncate	AUE_FTRUNCATE
1165 #define	FREEBSD32_SYS_AUE_freebsd32_utimes	AUE_UTIMES
1166 #define	FREEBSD32_SYS_AUE_freebsd32_adjtime	AUE_ADJTIME
1167 #define	FREEBSD32_SYS_AUE_ofreebsd32_sethostid	AUE_SYSCTL
1168 #define	FREEBSD32_SYS_AUE_ofreebsd32_getdirentries	AUE_GETDIRENTRIES
1169 #define	FREEBSD32_SYS_AUE_freebsd4_freebsd32_statfs	AUE_STATFS
1170 #define	FREEBSD32_SYS_AUE_freebsd4_freebsd32_fstatfs	AUE_FSTATFS
1171 #define	FREEBSD32_SYS_AUE_freebsd32_sysarch	AUE_SYSARCH
1172 #define	FREEBSD32_SYS_AUE_freebsd32_semsys	AUE_SEMSYS
1173 #define	FREEBSD32_SYS_AUE_freebsd32_msgsys	AUE_MSGSYS
1174 #define	FREEBSD32_SYS_AUE_freebsd32_shmsys	AUE_SHMSYS
1175 #define	FREEBSD32_SYS_AUE_freebsd6_freebsd32_pread	AUE_PREAD
1176 #define	FREEBSD32_SYS_AUE_freebsd6_freebsd32_pwrite	AUE_PWRITE
1177 #define	FREEBSD32_SYS_AUE_freebsd32_ntp_adjtime	AUE_NTP_ADJTIME
1178 #define	FREEBSD32_SYS_AUE_freebsd11_freebsd32_stat	AUE_STAT
1179 #define	FREEBSD32_SYS_AUE_freebsd11_freebsd32_fstat	AUE_FSTAT
1180 #define	FREEBSD32_SYS_AUE_freebsd11_freebsd32_lstat	AUE_LSTAT
1181 #define	FREEBSD32_SYS_AUE_freebsd11_freebsd32_getdirentries	AUE_GETDIRENTRIES
1182 #define	FREEBSD32_SYS_AUE_freebsd6_freebsd32_mmap	AUE_MMAP
1183 #define	FREEBSD32_SYS_AUE_freebsd6_freebsd32_lseek	AUE_LSEEK
1184 #define	FREEBSD32_SYS_AUE_freebsd6_freebsd32_truncate	AUE_TRUNCATE
1185 #define	FREEBSD32_SYS_AUE_freebsd6_freebsd32_ftruncate	AUE_FTRUNCATE
1186 #define	FREEBSD32_SYS_AUE_freebsd32___sysctl	AUE_SYSCTL
1187 #define	FREEBSD32_SYS_AUE_freebsd32_futimes	AUE_FUTIMES
1188 #define	FREEBSD32_SYS_AUE_freebsd7_freebsd32___semctl	AUE_SEMCTL
1189 #define	FREEBSD32_SYS_AUE_freebsd7_freebsd32_msgctl	AUE_MSGCTL
1190 #define	FREEBSD32_SYS_AUE_freebsd32_msgsnd	AUE_MSGSND
1191 #define	FREEBSD32_SYS_AUE_freebsd32_msgrcv	AUE_MSGRCV
1192 #define	FREEBSD32_SYS_AUE_freebsd7_freebsd32_shmctl	AUE_SHMCTL
1193 #define	FREEBSD32_SYS_AUE_freebsd32_clock_gettime	AUE_NULL
1194 #define	FREEBSD32_SYS_AUE_freebsd32_clock_settime	AUE_CLOCK_SETTIME
1195 #define	FREEBSD32_SYS_AUE_freebsd32_clock_getres	AUE_NULL
1196 #define	FREEBSD32_SYS_AUE_freebsd32_ktimer_create	AUE_NULL
1197 #define	FREEBSD32_SYS_AUE_freebsd32_ktimer_settime	AUE_NULL
1198 #define	FREEBSD32_SYS_AUE_freebsd32_ktimer_gettime	AUE_NULL
1199 #define	FREEBSD32_SYS_AUE_freebsd32_nanosleep	AUE_NULL
1200 #define	FREEBSD32_SYS_AUE_freebsd32_ffclock_setestimate	AUE_NULL
1201 #define	FREEBSD32_SYS_AUE_freebsd32_ffclock_getestimate	AUE_NULL
1202 #define	FREEBSD32_SYS_AUE_freebsd32_clock_nanosleep	AUE_NULL
1203 #define	FREEBSD32_SYS_AUE_freebsd32_clock_getcpuclockid2	AUE_NULL
1204 #define	FREEBSD32_SYS_AUE_freebsd32_aio_read	AUE_AIO_READ
1205 #define	FREEBSD32_SYS_AUE_freebsd32_aio_write	AUE_AIO_WRITE
1206 #define	FREEBSD32_SYS_AUE_freebsd32_lio_listio	AUE_LIO_LISTIO
1207 #define	FREEBSD32_SYS_AUE_freebsd32_lutimes	AUE_LUTIMES
1208 #define	FREEBSD32_SYS_AUE_freebsd11_freebsd32_nstat	AUE_STAT
1209 #define	FREEBSD32_SYS_AUE_freebsd11_freebsd32_nfstat	AUE_FSTAT
1210 #define	FREEBSD32_SYS_AUE_freebsd11_freebsd32_nlstat	AUE_LSTAT
1211 #define	FREEBSD32_SYS_AUE_freebsd32_preadv	AUE_PREADV
1212 #define	FREEBSD32_SYS_AUE_freebsd32_pwritev	AUE_PWRITEV
1213 #define	FREEBSD32_SYS_AUE_freebsd4_freebsd32_fhstatfs	AUE_FHSTATFS
1214 #define	FREEBSD32_SYS_AUE_freebsd11_freebsd32_fhstat	AUE_FHSTAT
1215 #define	FREEBSD32_SYS_AUE_freebsd32_modstat	AUE_NULL
1216 #define	FREEBSD32_SYS_AUE_freebsd32_kldstat	AUE_NULL
1217 #define	FREEBSD32_SYS_AUE_freebsd32_aio_return	AUE_AIO_RETURN
1218 #define	FREEBSD32_SYS_AUE_freebsd32_aio_suspend	AUE_AIO_SUSPEND
1219 #define	FREEBSD32_SYS_AUE_freebsd32_aio_error	AUE_AIO_ERROR
1220 #define	FREEBSD32_SYS_AUE_freebsd6_freebsd32_aio_read	AUE_AIO_READ
1221 #define	FREEBSD32_SYS_AUE_freebsd6_freebsd32_aio_write	AUE_AIO_WRITE
1222 #define	FREEBSD32_SYS_AUE_freebsd6_freebsd32_lio_listio	AUE_LIO_LISTIO
1223 #define	FREEBSD32_SYS_AUE_freebsd32_sched_rr_get_interval	AUE_NULL
1224 #define	FREEBSD32_SYS_AUE_freebsd4_freebsd32_sendfile	AUE_SENDFILE
1225 #define	FREEBSD32_SYS_AUE_freebsd32_jail	AUE_JAIL
1226 #define	FREEBSD32_SYS_AUE_freebsd4_freebsd32_sigaction	AUE_SIGACTION
1227 #define	FREEBSD32_SYS_AUE_freebsd4_freebsd32_sigreturn	AUE_SIGRETURN
1228 #define	FREEBSD32_SYS_AUE_freebsd32_sigtimedwait	AUE_SIGWAIT
1229 #define	FREEBSD32_SYS_AUE_freebsd32_sigwaitinfo	AUE_NULL
1230 #define	FREEBSD32_SYS_AUE_freebsd32_aio_waitcomplete	AUE_AIO_WAITCOMPLETE
1231 #define	FREEBSD32_SYS_AUE_freebsd11_freebsd32_kevent	AUE_KEVENT
1232 #define	FREEBSD32_SYS_AUE_freebsd32_nmount	AUE_NMOUNT
1233 #define	FREEBSD32_SYS_AUE_freebsd32_sendfile	AUE_SENDFILE
1234 #define	FREEBSD32_SYS_AUE_freebsd11_freebsd32_getfsstat	AUE_GETFSSTAT
1235 #define	FREEBSD32_SYS_AUE_freebsd32_ksem_init	AUE_SEMINIT
1236 #define	FREEBSD32_SYS_AUE_freebsd32_ksem_open	AUE_SEMOPEN
1237 #define	FREEBSD32_SYS_AUE_freebsd32_sigaction	AUE_SIGACTION
1238 #define	FREEBSD32_SYS_AUE_freebsd32_sigreturn	AUE_SIGRETURN
1239 #define	FREEBSD32_SYS_AUE_freebsd32_getcontext	AUE_NULL
1240 #define	FREEBSD32_SYS_AUE_freebsd32_setcontext	AUE_NULL
1241 #define	FREEBSD32_SYS_AUE_freebsd32_swapcontext	AUE_NULL
1242 #define	FREEBSD32_SYS_AUE_freebsd10_freebsd32__umtx_lock	AUE_NULL
1243 #define	FREEBSD32_SYS_AUE_freebsd10_freebsd32__umtx_unlock	AUE_NULL
1244 #define	FREEBSD32_SYS_AUE_freebsd32_ksem_timedwait	AUE_SEMWAIT
1245 #define	FREEBSD32_SYS_AUE_freebsd32_thr_suspend	AUE_NULL
1246 #define	FREEBSD32_SYS_AUE_freebsd32__umtx_op	AUE_NULL
1247 #define	FREEBSD32_SYS_AUE_freebsd32_thr_new	AUE_THR_NEW
1248 #define	FREEBSD32_SYS_AUE_freebsd32_sigqueue	AUE_NULL
1249 #define	FREEBSD32_SYS_AUE_freebsd32_kmq_open	AUE_MQ_OPEN
1250 #define	FREEBSD32_SYS_AUE_freebsd32_kmq_setattr	AUE_MQ_SETATTR
1251 #define	FREEBSD32_SYS_AUE_freebsd32_kmq_timedreceive	AUE_MQ_TIMEDRECEIVE
1252 #define	FREEBSD32_SYS_AUE_freebsd32_kmq_timedsend	AUE_MQ_TIMEDSEND
1253 #define	FREEBSD32_SYS_AUE_freebsd32_kmq_notify	AUE_MQ_NOTIFY
1254 #define	FREEBSD32_SYS_AUE_freebsd32_abort2	AUE_NULL
1255 #define	FREEBSD32_SYS_AUE_freebsd32_aio_fsync	AUE_AIO_FSYNC
1256 #define	FREEBSD32_SYS_AUE_freebsd32_pread	AUE_PREAD
1257 #define	FREEBSD32_SYS_AUE_freebsd32_pwrite	AUE_PWRITE
1258 #define	FREEBSD32_SYS_AUE_freebsd32_mmap	AUE_MMAP
1259 #define	FREEBSD32_SYS_AUE_freebsd32_lseek	AUE_LSEEK
1260 #define	FREEBSD32_SYS_AUE_freebsd32_truncate	AUE_TRUNCATE
1261 #define	FREEBSD32_SYS_AUE_freebsd32_ftruncate	AUE_FTRUNCATE
1262 #define	FREEBSD32_SYS_AUE_freebsd32_cpuset_setid	AUE_NULL
1263 #define	FREEBSD32_SYS_AUE_freebsd32_cpuset_getid	AUE_NULL
1264 #define	FREEBSD32_SYS_AUE_freebsd32_cpuset_getaffinity	AUE_NULL
1265 #define	FREEBSD32_SYS_AUE_freebsd32_cpuset_setaffinity	AUE_NULL
1266 #define	FREEBSD32_SYS_AUE_freebsd32_fexecve	AUE_FEXECVE
1267 #define	FREEBSD32_SYS_AUE_freebsd11_freebsd32_fstatat	AUE_FSTATAT
1268 #define	FREEBSD32_SYS_AUE_freebsd32_futimesat	AUE_FUTIMESAT
1269 #define	FREEBSD32_SYS_AUE_freebsd32_jail_get	AUE_JAIL_GET
1270 #define	FREEBSD32_SYS_AUE_freebsd32_jail_set	AUE_JAIL_SET
1271 #define	FREEBSD32_SYS_AUE_freebsd32___semctl	AUE_SEMCTL
1272 #define	FREEBSD32_SYS_AUE_freebsd32_msgctl	AUE_MSGCTL
1273 #define	FREEBSD32_SYS_AUE_freebsd32_shmctl	AUE_SHMCTL
1274 #define	FREEBSD32_SYS_AUE_freebsd32_pselect	AUE_SELECT
1275 #define	FREEBSD32_SYS_AUE_freebsd32_posix_fallocate	AUE_POSIX_FALLOCATE
1276 #define	FREEBSD32_SYS_AUE_freebsd32_posix_fadvise	AUE_POSIX_FADVISE
1277 #define	FREEBSD32_SYS_AUE_freebsd32_wait6	AUE_WAIT6
1278 #define	FREEBSD32_SYS_AUE_freebsd32_cap_ioctls_limit	AUE_CAP_IOCTLS_LIMIT
1279 #define	FREEBSD32_SYS_AUE_freebsd32_cap_ioctls_get	AUE_CAP_IOCTLS_GET
1280 #define	FREEBSD32_SYS_AUE_freebsd32_aio_mlock	AUE_AIO_MLOCK
1281 #define	FREEBSD32_SYS_AUE_freebsd32_procctl	AUE_PROCCTL
1282 #define	FREEBSD32_SYS_AUE_freebsd32_ppoll	AUE_POLL
1283 #define	FREEBSD32_SYS_AUE_freebsd32_futimens	AUE_FUTIMES
1284 #define	FREEBSD32_SYS_AUE_freebsd32_utimensat	AUE_FUTIMESAT
1285 #define	FREEBSD32_SYS_AUE_freebsd32_fstat	AUE_FSTAT
1286 #define	FREEBSD32_SYS_AUE_freebsd32_fstatat	AUE_FSTATAT
1287 #define	FREEBSD32_SYS_AUE_freebsd32_fhstat	AUE_FHSTAT
1288 #define	FREEBSD32_SYS_AUE_freebsd32_getfsstat	AUE_GETFSSTAT
1289 #define	FREEBSD32_SYS_AUE_freebsd32_mknodat	AUE_MKNODAT
1290 #define	FREEBSD32_SYS_AUE_freebsd32_kevent	AUE_KEVENT
1291 #define	FREEBSD32_SYS_AUE_freebsd32_cpuset_getdomain	AUE_NULL
1292 #define	FREEBSD32_SYS_AUE_freebsd32_cpuset_setdomain	AUE_NULL
1293 #define	FREEBSD32_SYS_AUE_freebsd32___sysctlbyname	AUE_SYSCTL
1294 #define	FREEBSD32_SYS_AUE_freebsd32_aio_writev	AUE_AIO_WRITEV
1295 #define	FREEBSD32_SYS_AUE_freebsd32_aio_readv	AUE_AIO_READV
1296 
1297 #undef PAD_
1298 #undef PADL_
1299 #undef PADR_
1300 
1301 #endif /* !_FREEBSD32_SYSPROTO_H_ */
1302