1d874057dim//===-- sanitizer_platform_limits_netbsd.h --------------------------------===//
2d874057dim//
3d874057dim// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4d874057dim// See https://llvm.org/LICENSE.txt for license information.
5d874057dim// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6d874057dim//
7d874057dim//===----------------------------------------------------------------------===//
8d874057dim//
9d874057dim// This file is a part of Sanitizer common code.
10d874057dim//
11d874057dim// Sizes and layouts of platform-specific NetBSD data structures.
12d874057dim//===----------------------------------------------------------------------===//
13d874057dim
14d874057dim#ifndef SANITIZER_PLATFORM_LIMITS_NETBSD_H
15d874057dim#define SANITIZER_PLATFORM_LIMITS_NETBSD_H
16d874057dim
17d874057dim#if SANITIZER_NETBSD
18d874057dim
19d874057dim#include "sanitizer_internal_defs.h"
20d874057dim#include "sanitizer_platform.h"
21d874057dim
22d874057dimnamespace __sanitizer {
23340097edimvoid *__sanitizer_get_link_map_by_dlopen_handle(void *handle);
24340097edim# define GET_LINK_MAP_BY_DLOPEN_HANDLE(handle) \
25340097edim    (link_map *)__sanitizer_get_link_map_by_dlopen_handle(handle)
26340097edim
27d874057dimextern unsigned struct_utsname_sz;
28d874057dimextern unsigned struct_stat_sz;
29d874057dimextern unsigned struct_rusage_sz;
30d874057dimextern unsigned siginfo_t_sz;
31d874057dimextern unsigned struct_itimerval_sz;
32d874057dimextern unsigned pthread_t_sz;
33d874057dimextern unsigned pthread_mutex_t_sz;
34d874057dimextern unsigned pthread_cond_t_sz;
35d874057dimextern unsigned pid_t_sz;
36d874057dimextern unsigned timeval_sz;
37d874057dimextern unsigned uid_t_sz;
38d874057dimextern unsigned gid_t_sz;
39d874057dimextern unsigned mbstate_t_sz;
40d874057dimextern unsigned struct_timezone_sz;
41d874057dimextern unsigned struct_tms_sz;
42d874057dimextern unsigned struct_itimerspec_sz;
43d874057dimextern unsigned struct_sigevent_sz;
44340097edimextern unsigned struct_stack_t_sz;
45d874057dimextern unsigned struct_sched_param_sz;
46d874057dimextern unsigned struct_statfs_sz;
47d874057dimextern unsigned struct_sockaddr_sz;
48d874057dimextern unsigned ucontext_t_sz;
49d874057dim
50d874057dimextern unsigned struct_rlimit_sz;
51d874057dimextern unsigned struct_utimbuf_sz;
52d874057dimextern unsigned struct_timespec_sz;
53d874057dimextern unsigned struct_sembuf_sz;
54d874057dim
55d874057dimextern unsigned struct_kevent_sz;
56d874057dimextern unsigned struct_FTS_sz;
57d874057dimextern unsigned struct_FTSENT_sz;
58d874057dim
59d874057dimextern unsigned struct_regex_sz;
60d874057dimextern unsigned struct_regmatch_sz;
61d874057dim
62d874057dimextern unsigned struct_fstab_sz;
63d874057dim
64d874057dimstruct __sanitizer_regmatch {
65d874057dim  OFF_T rm_so;
66d874057dim  OFF_T rm_eo;
67d874057dim};
68d874057dim
69d874057dimtypedef struct __sanitizer_modctl_load {
70d874057dim  const char *ml_filename;
71d874057dim  int ml_flags;
72d874057dim  const char *ml_props;
73d874057dim  uptr ml_propslen;
74d874057dim} __sanitizer_modctl_load_t;
75d874057dimextern const int modctl_load;
76d874057dimextern const int modctl_unload;
77d874057dimextern const int modctl_stat;
78d874057dimextern const int modctl_exists;
79d874057dim
80d874057dimunion __sanitizer_sigval {
81d874057dim  int sival_int;
82d874057dim  uptr sival_ptr;
83d874057dim};
84d874057dim
85d874057dimstruct __sanitizer_sigevent {
86d874057dim  int sigev_notify;
87d874057dim  int sigev_signo;
88d874057dim  union __sanitizer_sigval sigev_value;
89d874057dim  uptr sigev_notify_function;
90d874057dim  uptr sigev_notify_attributes;
91d874057dim};
92d874057dim
93d874057dimstruct __sanitizer_aiocb {
94d874057dim  u64 aio_offset;
95d874057dim  uptr aio_buf;
96d874057dim  uptr aio_nbytes;
97d874057dim  int aio_fildes;
98d874057dim  int aio_lio_opcode;
99d874057dim  int aio_reqprio;
100d874057dim  struct __sanitizer_sigevent aio_sigevent;
101d874057dim  int _state;
102d874057dim  int _errno;
103d874057dim  long _retval;
104d874057dim};
105d874057dim
106d874057dimstruct __sanitizer_sem_t {
107d874057dim  uptr data[5];
108d874057dim};
109d874057dim
110d874057dimstruct __sanitizer_ipc_perm {
111d874057dim  u32 uid;
112d874057dim  u32 gid;
113d874057dim  u32 cuid;
114d874057dim  u32 cgid;
115d874057dim  u32 mode;
116d874057dim  unsigned short _seq;
117d874057dim  long _key;
118d874057dim};
119d874057dim
120d874057dimstruct __sanitizer_shmid_ds {
121d874057dim  __sanitizer_ipc_perm shm_perm;
122d874057dim  unsigned long shm_segsz;
123d874057dim  u32 shm_lpid;
124d874057dim  u32 shm_cpid;
125d874057dim  unsigned int shm_nattch;
126d874057dim  u64 shm_atime;
127d874057dim  u64 shm_dtime;
128d874057dim  u64 shm_ctime;
129d874057dim  void *_shm_internal;
130d874057dim};
131d874057dim
1322ff5c2bdimstruct __sanitizer_protoent {
1332ff5c2bdim  char *p_name;
1342ff5c2bdim  char **p_aliases;
1352ff5c2bdim  int p_proto;
1362ff5c2bdim};
1372ff5c2bdim
138d874057dimstruct __sanitizer_netent {
139d874057dim  char *n_name;
140d874057dim  char **n_aliases;
141d874057dim  int n_addrtype;
142d874057dim  u32 n_net;
143d874057dim};
144d874057dim
145d874057dimextern unsigned struct_msqid_ds_sz;
146d874057dimextern unsigned struct_mq_attr_sz;
147d874057dimextern unsigned struct_timex_sz;
148d874057dimextern unsigned struct_statvfs_sz;
149d874057dim
150d874057dimstruct __sanitizer_iovec {
151d874057dim  void *iov_base;
152d874057dim  uptr iov_len;
153d874057dim};
154d874057dim
155d874057dimstruct __sanitizer_ifaddrs {
156d874057dim  struct __sanitizer_ifaddrs *ifa_next;
157d874057dim  char *ifa_name;
158d874057dim  unsigned int ifa_flags;
159d874057dim  void *ifa_addr;     // (struct sockaddr *)
160d874057dim  void *ifa_netmask;  // (struct sockaddr *)
161d874057dim  void *ifa_dstaddr;  // (struct sockaddr *)
162d874057dim  void *ifa_data;
163d874057dim  unsigned int ifa_addrflags;
164d874057dim};
165d874057dim
166d874057dimtypedef unsigned int __sanitizer_socklen_t;
167d874057dim
168d874057dimtypedef unsigned __sanitizer_pthread_key_t;
169d874057dim
170d874057dimtypedef long long __sanitizer_time_t;
171d874057dimtypedef int __sanitizer_suseconds_t;
172d874057dim
173d874057dimstruct __sanitizer_timeval {
174d874057dim  __sanitizer_time_t tv_sec;
175d874057dim  __sanitizer_suseconds_t tv_usec;
176d874057dim};
177d874057dim
178d874057dimstruct __sanitizer_itimerval {
179d874057dim  struct __sanitizer_timeval it_interval;
180d874057dim  struct __sanitizer_timeval it_value;
181d874057dim};
182d874057dim
183d874057dimstruct __sanitizer_timespec {
184d874057dim  __sanitizer_time_t tv_sec;
185d874057dim  long tv_nsec;
186d874057dim};
187d874057dim
188d874057dimstruct __sanitizer_passwd {
189d874057dim  char *pw_name;
190d874057dim  char *pw_passwd;
191d874057dim  int pw_uid;
192d874057dim  int pw_gid;
193d874057dim  __sanitizer_time_t pw_change;
194d874057dim  char *pw_class;
195d874057dim  char *pw_gecos;
196d874057dim  char *pw_dir;
197d874057dim  char *pw_shell;
198d874057dim  __sanitizer_time_t pw_expire;
199d874057dim};
200d874057dim
201d874057dimstruct __sanitizer_group {
202d874057dim  char *gr_name;
203d874057dim  char *gr_passwd;
204d874057dim  int gr_gid;
205d874057dim  char **gr_mem;
206d874057dim};
207d874057dim
208d874057dimstruct __sanitizer_timeb {
209d874057dim  __sanitizer_time_t time;
210d874057dim  unsigned short millitm;
211d874057dim  short timezone;
212d874057dim  short dstflag;
213d874057dim};
214d874057dim
215d874057dimstruct __sanitizer_ether_addr {
216d874057dim  u8 octet[6];
217d874057dim};
218d874057dim
219d874057dimstruct __sanitizer_tm {
220d874057dim  int tm_sec;
221d874057dim  int tm_min;
222d874057dim  int tm_hour;
223d874057dim  int tm_mday;
224d874057dim  int tm_mon;
225d874057dim  int tm_year;
226d874057dim  int tm_wday;
227d874057dim  int tm_yday;
228d874057dim  int tm_isdst;
229d874057dim  long int tm_gmtoff;
230d874057dim  const char *tm_zone;
231d874057dim};
232d874057dim
233d874057dimstruct __sanitizer_msghdr {
234d874057dim  void *msg_name;
235d874057dim  unsigned msg_namelen;
236d874057dim  struct __sanitizer_iovec *msg_iov;
237d874057dim  unsigned msg_iovlen;
238d874057dim  void *msg_control;
239d874057dim  unsigned msg_controllen;
240d874057dim  int msg_flags;
241d874057dim};
242d874057dim
243d874057dimstruct __sanitizer_mmsghdr {
244d874057dim  struct __sanitizer_msghdr msg_hdr;
245d874057dim  unsigned int msg_len;
246d874057dim};
247d874057dim
248d874057dimstruct __sanitizer_cmsghdr {
249d874057dim  unsigned cmsg_len;
250d874057dim  int cmsg_level;
251d874057dim  int cmsg_type;
252d874057dim};
253d874057dim
254d874057dimstruct __sanitizer_dirent {
255d874057dim  u64 d_fileno;
256d874057dim  u16 d_reclen;
257d874057dim  // more fields that we don't care about
258d874057dim};
259d874057dim
260d874057dimtypedef int __sanitizer_clock_t;
261d874057dimtypedef int __sanitizer_clockid_t;
262d874057dim
263d874057dimtypedef u32 __sanitizer___kernel_uid_t;
264d874057dimtypedef u32 __sanitizer___kernel_gid_t;
265d874057dimtypedef u64 __sanitizer___kernel_off_t;
266d874057dimtypedef struct {
267d874057dim  u32 fds_bits[8];
268d874057dim} __sanitizer___kernel_fd_set;
269d874057dim
270d874057dimtypedef struct {
271d874057dim  unsigned int pta_magic;
272d874057dim  int pta_flags;
273d874057dim  void *pta_private;
274d874057dim} __sanitizer_pthread_attr_t;
275d874057dim
276d874057dimstruct __sanitizer_sigset_t {
277d874057dim  // uint32_t * 4
278d874057dim  unsigned int __bits[4];
279d874057dim};
280d874057dim
281d874057dimstruct __sanitizer_siginfo {
282d874057dim  // The size is determined by looking at sizeof of real siginfo_t on linux.
283d874057dim  u64 opaque[128 / sizeof(u64)];
284d874057dim};
285d874057dim
286d874057dimusing __sanitizer_sighandler_ptr = void (*)(int sig);
287d874057dimusing __sanitizer_sigactionhandler_ptr = void (*)(int sig,
288d874057dim                                                  __sanitizer_siginfo *siginfo,
289d874057dim                                                  void *uctx);
290d874057dim
291d874057dimstruct __sanitizer_sigaction {
292d874057dim  union {
293d874057dim    __sanitizer_sighandler_ptr handler;
294d874057dim    __sanitizer_sigactionhandler_ptr sigaction;
295d874057dim  };
296d874057dim  __sanitizer_sigset_t sa_mask;
297d874057dim  int sa_flags;
298d874057dim};
299d874057dim
300d874057dimextern unsigned struct_sigaltstack_sz;
301d874057dim
302d874057dimtypedef unsigned int __sanitizer_sigset13_t;
303d874057dim
304d874057dimstruct __sanitizer_sigaction13 {
305d874057dim  __sanitizer_sighandler_ptr osa_handler;
306d874057dim  __sanitizer_sigset13_t osa_mask;
307d874057dim  int osa_flags;
308d874057dim};
309d874057dim
310d874057dimstruct __sanitizer_sigaltstack {
311d874057dim  void *ss_sp;
312d874057dim  uptr ss_size;
313d874057dim  int ss_flags;
314d874057dim};
315d874057dim
316d874057dimtypedef __sanitizer_sigset_t __sanitizer_kernel_sigset_t;
317d874057dim
318d874057dimstruct __sanitizer_kernel_sigaction_t {
319d874057dim  union {
320d874057dim    void (*handler)(int signo);
321d874057dim    void (*sigaction)(int signo, void *info, void *ctx);
322d874057dim  };
323d874057dim  unsigned long sa_flags;
324d874057dim  void (*sa_restorer)(void);
325d874057dim  __sanitizer_kernel_sigset_t sa_mask;
326d874057dim};
327d874057dim
328d874057dimextern const uptr sig_ign;
329d874057dimextern const uptr sig_dfl;
330d874057dimextern const uptr sig_err;
331d874057dimextern const uptr sa_siginfo;
332d874057dim
333d874057dimextern int af_inet;
334d874057dimextern int af_inet6;
335d874057dimuptr __sanitizer_in_addr_sz(int af);
336d874057dim
337d874057dimstruct __sanitizer_dl_phdr_info {
338d874057dim  uptr dlpi_addr;
339d874057dim  const char *dlpi_name;
340d874057dim  const void *dlpi_phdr;
341d874057dim  short dlpi_phnum;
342d874057dim};
343d874057dim
344d874057dimextern unsigned struct_ElfW_Phdr_sz;
345d874057dim
346d874057dimstruct __sanitizer_addrinfo {
347d874057dim  int ai_flags;
348d874057dim  int ai_family;
349d874057dim  int ai_socktype;
350d874057dim  int ai_protocol;
351332da66dim#if defined(__sparc__) && defined(_LP64)
352332da66dim  int __ai_pad0;
353332da66dim#endif
354d874057dim  unsigned ai_addrlen;
355332da66dim#if defined(__alpha__) || (defined(__i386__) && defined(_LP64))
356332da66dim  int __ai_pad0;
357332da66dim#endif
358d874057dim  char *ai_canonname;
359d874057dim  void *ai_addr;
360d874057dim  struct __sanitizer_addrinfo *ai_next;
361d874057dim};
362d874057dim
363d874057dimstruct __sanitizer_hostent {
364d874057dim  char *h_name;
365d874057dim  char **h_aliases;
366d874057dim  int h_addrtype;
367d874057dim  int h_length;
368d874057dim  char **h_addr_list;
369d874057dim};
370d874057dim
371d874057dimstruct __sanitizer_pollfd {
372d874057dim  int fd;
373d874057dim  short events;
374d874057dim  short revents;
375d874057dim};
376d874057dim
377d874057dimtypedef unsigned __sanitizer_nfds_t;
378d874057dim
379d874057dimtypedef int __sanitizer_lwpid_t;
380d874057dim
381d874057dimstruct __sanitizer_glob_t {
382d874057dim  uptr gl_pathc;
383d874057dim  uptr gl_matchc;
384d874057dim  uptr gl_offs;
385d874057dim  int gl_flags;
386d874057dim  char **gl_pathv;
387d874057dim  int (*gl_errfunc)(const char *, int);
388d874057dim  void (*gl_closedir)(void *dirp);
389d874057dim  struct dirent *(*gl_readdir)(void *dirp);
390d874057dim  void *(*gl_opendir)(const char *);
391d874057dim  int (*gl_lstat)(const char *, void * /* struct stat* */);
392d874057dim  int (*gl_stat)(const char *, void * /* struct stat* */);
393d874057dim};
394d874057dim
395d874057dimextern int glob_nomatch;
396d874057dimextern int glob_altdirfunc;
397d874057dim
398d874057dimextern unsigned path_max;
399d874057dim
400d874057dimextern int struct_ttyent_sz;
401d874057dim
402d874057dimextern int ptrace_pt_io;
403d874057dimextern int ptrace_pt_lwpinfo;
404d874057dimextern int ptrace_pt_set_event_mask;
405d874057dimextern int ptrace_pt_get_event_mask;
406d874057dimextern int ptrace_pt_get_process_state;
407d874057dimextern int ptrace_pt_set_siginfo;
408d874057dimextern int ptrace_pt_get_siginfo;
409332da66dimextern int ptrace_pt_lwpstatus;
410332da66dimextern int ptrace_pt_lwpnext;
411d874057dimextern int ptrace_piod_read_d;
412d874057dimextern int ptrace_piod_write_d;
413d874057dimextern int ptrace_piod_read_i;
414d874057dimextern int ptrace_piod_write_i;
415d874057dimextern int ptrace_piod_read_auxv;
416d874057dimextern int ptrace_pt_setregs;
417d874057dimextern int ptrace_pt_getregs;
418d874057dimextern int ptrace_pt_setfpregs;
419d874057dimextern int ptrace_pt_getfpregs;
420d874057dimextern int ptrace_pt_setdbregs;
421d874057dimextern int ptrace_pt_getdbregs;
422d874057dim
423d874057dimstruct __sanitizer_ptrace_io_desc {
424d874057dim  int piod_op;
425d874057dim  void *piod_offs;
426d874057dim  void *piod_addr;
427d874057dim  uptr piod_len;
428d874057dim};
429d874057dim
430d874057dimstruct __sanitizer_ptrace_lwpinfo {
431d874057dim  __sanitizer_lwpid_t pl_lwpid;
432d874057dim  int pl_event;
433d874057dim};
434d874057dim
435332da66dimstruct __sanitizer_ptrace_lwpstatus {
436332da66dim  __sanitizer_lwpid_t pl_lwpid;
437332da66dim  __sanitizer_sigset_t pl_sigpend;
438332da66dim  __sanitizer_sigset_t pl_sigmask;
439332da66dim  char pl_name[20];
440332da66dim  void *pl_private;
441332da66dim};
442332da66dim
443d874057dimextern unsigned struct_ptrace_ptrace_io_desc_struct_sz;
444d874057dimextern unsigned struct_ptrace_ptrace_lwpinfo_struct_sz;
445332da66dimextern unsigned struct_ptrace_ptrace_lwpstatus_struct_sz;
446d874057dimextern unsigned struct_ptrace_ptrace_event_struct_sz;
447d874057dimextern unsigned struct_ptrace_ptrace_siginfo_struct_sz;
448d874057dim
449d874057dimextern unsigned struct_ptrace_reg_struct_sz;
450d874057dimextern unsigned struct_ptrace_fpreg_struct_sz;
451d874057dimextern unsigned struct_ptrace_dbreg_struct_sz;
452d874057dim
453d874057dimstruct __sanitizer_wordexp_t {
454d874057dim  uptr we_wordc;
455d874057dim  char **we_wordv;
456d874057dim  uptr we_offs;
457d874057dim  char *we_strings;
458d874057dim  uptr we_nbytes;
459d874057dim};
460d874057dim
461d874057dimstruct __sanitizer_FILE {
462d874057dim  unsigned char *_p;
463d874057dim  int _r;
464d874057dim  int _w;
465d874057dim  unsigned short _flags;
466d874057dim  short _file;
467d874057dim  struct {
468d874057dim    unsigned char *_base;
469d874057dim    int _size;
470d874057dim  } _bf;
471d874057dim  int _lbfsize;
472d874057dim  void *_cookie;
473d874057dim  int (*_close)(void *ptr);
474d874057dim  u64 (*_read)(void *, void *, uptr);
475d874057dim  u64 (*_seek)(void *, u64, int);
476d874057dim  uptr (*_write)(void *, const void *, uptr);
477d874057dim  struct {
478d874057dim    unsigned char *_base;
479d874057dim    int _size;
480d874057dim  } _ext;
481d874057dim  unsigned char *_up;
482d874057dim  int _ur;
483d874057dim  unsigned char _ubuf[3];
484d874057dim  unsigned char _nbuf[1];
485d874057dim  int (*_flush)(void *ptr);
486d874057dim  char _lb_unused[sizeof(uptr)];
487d874057dim  int _blksize;
488d874057dim  u64 _offset;
489d874057dim};
490d874057dim#define SANITIZER_HAS_STRUCT_FILE 1
491d874057dim
492d874057dimextern int shmctl_ipc_stat;
493d874057dim
494d874057dim// This simplifies generic code
495d874057dim#define struct_shminfo_sz -1
496d874057dim#define struct_shm_info_sz -1
497d874057dim#define shmctl_shm_stat -1
498d874057dim#define shmctl_ipc_info -1
499d874057dim#define shmctl_shm_info -1
500d874057dim
501d874057dimextern unsigned struct_utmp_sz;
502d874057dimextern unsigned struct_utmpx_sz;
503d874057dim
504d874057dimextern int map_fixed;
505d874057dim
506d874057dim// ioctl arguments
507d874057dimstruct __sanitizer_ifconf {
508d874057dim  int ifc_len;
509d874057dim  union {
510d874057dim    void *ifcu_req;
511d874057dim  } ifc_ifcu;
512d874057dim};
513d874057dim
514d874057dimstruct __sanitizer_ttyent {
515d874057dim  char *ty_name;
516d874057dim  char *ty_getty;
517d874057dim  char *ty_type;
518d874057dim  int ty_status;
519d874057dim  char *ty_window;
520d874057dim  char *ty_comment;
521d874057dim  char *ty_class;
522d874057dim};
523d874057dim
524d874057dimextern const unsigned long __sanitizer_bufsiz;
525d874057dim
526d874057dim#define IOC_NRBITS 8
527d874057dim#define IOC_TYPEBITS 8
528d874057dim#define IOC_SIZEBITS 14
529d874057dim#define IOC_DIRBITS 2
530d874057dim#define IOC_NONE 0U
531d874057dim#define IOC_WRITE 1U
532d874057dim#define IOC_READ 2U
533d874057dim#define IOC_NRMASK ((1 << IOC_NRBITS) - 1)
534d874057dim#define IOC_TYPEMASK ((1 << IOC_TYPEBITS) - 1)
535d874057dim#define IOC_SIZEMASK ((1 << IOC_SIZEBITS) - 1)
536d874057dim#undef IOC_DIRMASK
537d874057dim#define IOC_DIRMASK ((1 << IOC_DIRBITS) - 1)
538d874057dim#define IOC_NRSHIFT 0
539d874057dim#define IOC_TYPESHIFT (IOC_NRSHIFT + IOC_NRBITS)
540d874057dim#define IOC_SIZESHIFT (IOC_TYPESHIFT + IOC_TYPEBITS)
541d874057dim#define IOC_DIRSHIFT (IOC_SIZESHIFT + IOC_SIZEBITS)
542d874057dim#define EVIOC_EV_MAX 0x1f
543d874057dim#define EVIOC_ABS_MAX 0x3f
544d874057dim
545d874057dim#define IOC_DIR(nr) (((nr) >> IOC_DIRSHIFT) & IOC_DIRMASK)
546d874057dim#define IOC_TYPE(nr) (((nr) >> IOC_TYPESHIFT) & IOC_TYPEMASK)
547d874057dim#define IOC_NR(nr) (((nr) >> IOC_NRSHIFT) & IOC_NRMASK)
548d874057dim#define IOC_SIZE(nr) (((nr) >> IOC_SIZESHIFT) & IOC_SIZEMASK)
549d874057dim
550d874057dim// ioctl request identifiers
551d874057dim
552d874057dimextern unsigned struct_altqreq_sz;
553d874057dimextern unsigned struct_amr_user_ioctl_sz;
554d874057dimextern unsigned struct_ap_control_sz;
555d874057dimextern unsigned struct_apm_ctl_sz;
556d874057dimextern unsigned struct_apm_event_info_sz;
557d874057dimextern unsigned struct_apm_power_info_sz;
558d874057dimextern unsigned struct_atabusiodetach_args_sz;
559d874057dimextern unsigned struct_atabusioscan_args_sz;
560d874057dimextern unsigned struct_ath_diag_sz;
561d874057dimextern unsigned struct_atm_flowmap_sz;
562d874057dimextern unsigned struct_audio_buf_info_sz;
563d874057dimextern unsigned struct_audio_device_sz;
564d874057dimextern unsigned struct_audio_encoding_sz;
565d874057dimextern unsigned struct_audio_info_sz;
566d874057dimextern unsigned struct_audio_offset_sz;
567d874057dimextern unsigned struct_bio_locate_sz;
568d874057dimextern unsigned struct_bioc_alarm_sz;
569d874057dimextern unsigned struct_bioc_blink_sz;
570d874057dimextern unsigned struct_bioc_disk_sz;
571d874057dimextern unsigned struct_bioc_inq_sz;
572d874057dimextern unsigned struct_bioc_setstate_sz;
573d874057dimextern unsigned struct_bioc_vol_sz;
574d874057dimextern unsigned struct_bioc_volops_sz;
575d874057dimextern unsigned struct_bktr_chnlset_sz;
576d874057dimextern unsigned struct_bktr_remote_sz;
577d874057dimextern unsigned struct_blue_conf_sz;
578d874057dimextern unsigned struct_blue_interface_sz;
579d874057dimextern unsigned struct_blue_stats_sz;
580d874057dimextern unsigned struct_bpf_dltlist_sz;
581d874057dimextern unsigned struct_bpf_program_sz;
582d874057dimextern unsigned struct_bpf_stat_old_sz;
583d874057dimextern unsigned struct_bpf_stat_sz;
584d874057dimextern unsigned struct_bpf_version_sz;
585d874057dimextern unsigned struct_btreq_sz;
586d874057dimextern unsigned struct_btsco_info_sz;
587d874057dimextern unsigned struct_buffmem_desc_sz;
588d874057dimextern unsigned struct_cbq_add_class_sz;
589d874057dimextern unsigned struct_cbq_add_filter_sz;
590d874057dimextern unsigned struct_cbq_delete_class_sz;
591d874057dimextern unsigned struct_cbq_delete_filter_sz;
592d874057dimextern unsigned struct_cbq_getstats_sz;
593d874057dimextern unsigned struct_cbq_interface_sz;
594d874057dimextern unsigned struct_cbq_modify_class_sz;
595d874057dimextern unsigned struct_ccd_ioctl_sz;
596d874057dimextern unsigned struct_cdnr_add_element_sz;
597d874057dimextern unsigned struct_cdnr_add_filter_sz;
598d874057dimextern unsigned struct_cdnr_add_tbmeter_sz;
599d874057dimextern unsigned struct_cdnr_add_trtcm_sz;
600d874057dimextern unsigned struct_cdnr_add_tswtcm_sz;
601d874057dimextern unsigned struct_cdnr_delete_element_sz;
602d874057dimextern unsigned struct_cdnr_delete_filter_sz;
603d874057dimextern unsigned struct_cdnr_get_stats_sz;
604d874057dimextern unsigned struct_cdnr_interface_sz;
605d874057dimextern unsigned struct_cdnr_modify_tbmeter_sz;
606d874057dimextern unsigned struct_cdnr_modify_trtcm_sz;
607d874057dimextern unsigned struct_cdnr_modify_tswtcm_sz;
608d874057dimextern unsigned struct_cdnr_tbmeter_stats_sz;
609d874057dimextern unsigned struct_cdnr_tcm_stats_sz;
610d874057dimextern unsigned struct_cgd_ioctl_sz;
611d874057dimextern unsigned struct_cgd_user_sz;
612d874057dimextern unsigned struct_changer_element_status_request_sz;
613d874057dimextern unsigned struct_changer_exchange_request_sz;
614d874057dimextern unsigned struct_changer_move_request_sz;
615d874057dimextern unsigned struct_changer_params_sz;
616d874057dimextern unsigned struct_changer_position_request_sz;
617d874057dimextern unsigned struct_changer_set_voltag_request_sz;
618d874057dimextern unsigned struct_clockctl_adjtime_sz;
619d874057dimextern unsigned struct_clockctl_clock_settime_sz;
620d874057dimextern unsigned struct_clockctl_ntp_adjtime_sz;
621d874057dimextern unsigned struct_clockctl_settimeofday_sz;
622d874057dimextern unsigned struct_cnwistats_sz;
623d874057dimextern unsigned struct_cnwitrail_sz;
624d874057dimextern unsigned struct_cnwstatus_sz;
625d874057dimextern unsigned struct_count_info_sz;
626d874057dimextern unsigned struct_cpu_ucode_sz;
627d874057dimextern unsigned struct_cpu_ucode_version_sz;
628d874057dimextern unsigned struct_crypt_kop_sz;
629d874057dimextern unsigned struct_crypt_mkop_sz;
630d874057dimextern unsigned struct_crypt_mop_sz;
631d874057dimextern unsigned struct_crypt_op_sz;
632d874057dimextern unsigned struct_crypt_result_sz;
633d874057dimextern unsigned struct_crypt_sfop_sz;
634d874057dimextern unsigned struct_crypt_sgop_sz;
635d874057dimextern unsigned struct_cryptret_sz;
636d874057dimextern unsigned struct_devdetachargs_sz;
637d874057dimextern unsigned struct_devlistargs_sz;
638d874057dimextern unsigned struct_devpmargs_sz;
639d874057dimextern unsigned struct_devrescanargs_sz;
640d874057dimextern unsigned struct_disk_badsecinfo_sz;
641d874057dimextern unsigned struct_disk_strategy_sz;
642d874057dimextern unsigned struct_disklabel_sz;
643d874057dimextern unsigned struct_dkbad_sz;
644d874057dimextern unsigned struct_dkwedge_info_sz;
645d874057dimextern unsigned struct_dkwedge_list_sz;
646d874057dimextern unsigned struct_dmio_setfunc_sz;
647d874057dimextern unsigned struct_dmx_pes_filter_params_sz;
648d874057dimextern unsigned struct_dmx_sct_filter_params_sz;
649d874057dimextern unsigned struct_dmx_stc_sz;
650d874057dimextern unsigned struct_dvb_diseqc_master_cmd_sz;
651d874057dimextern unsigned struct_dvb_diseqc_slave_reply_sz;
652d874057dimextern unsigned struct_dvb_frontend_event_sz;
653d874057dimextern unsigned struct_dvb_frontend_info_sz;
654d874057dimextern unsigned struct_dvb_frontend_parameters_sz;
655d874057dimextern unsigned struct_eccapreq_sz;
656d874057dimextern unsigned struct_fbcmap_sz;
657d874057dimextern unsigned struct_fbcurpos_sz;
658d874057dimextern unsigned struct_fbcursor_sz;
659d874057dimextern unsigned struct_fbgattr_sz;
660d874057dimextern unsigned struct_fbsattr_sz;
661d874057dimextern unsigned struct_fbtype_sz;
662d874057dimextern unsigned struct_fdformat_cmd_sz;
663d874057dimextern unsigned struct_fdformat_parms_sz;
664d874057dimextern unsigned struct_fifoq_conf_sz;
665d874057dimextern unsigned struct_fifoq_getstats_sz;
666d874057dimextern unsigned struct_fifoq_interface_sz;
667d874057dimextern unsigned struct_format_op_sz;
668d874057dimextern unsigned struct_fss_get_sz;
669d874057dimextern unsigned struct_fss_set_sz;
670d874057dimextern unsigned struct_gpio_attach_sz;
671d874057dimextern unsigned struct_gpio_info_sz;
672d874057dimextern unsigned struct_gpio_req_sz;
673d874057dimextern unsigned struct_gpio_set_sz;
674d874057dimextern unsigned struct_hfsc_add_class_sz;
675d874057dimextern unsigned struct_hfsc_add_filter_sz;
676d874057dimextern unsigned struct_hfsc_attach_sz;
677d874057dimextern unsigned struct_hfsc_class_stats_sz;
678d874057dimextern unsigned struct_hfsc_delete_class_sz;
679d874057dimextern unsigned struct_hfsc_delete_filter_sz;
680d874057dimextern unsigned struct_hfsc_interface_sz;
681d874057dimextern unsigned struct_hfsc_modify_class_sz;
682d874057dimextern unsigned struct_hpcfb_dsp_op_sz;
683d874057dimextern unsigned struct_hpcfb_dspconf_sz;
684d874057dimextern unsigned struct_hpcfb_fbconf_sz;
685d874057dimextern unsigned struct_if_addrprefreq_sz;
686d874057dimextern unsigned struct_if_clonereq_sz;
687d874057dimextern unsigned struct_if_laddrreq_sz;
688d874057dimextern unsigned struct_ifaddr_sz;
689d874057dimextern unsigned struct_ifaliasreq_sz;
690d874057dimextern unsigned struct_ifcapreq_sz;
691d874057dimextern unsigned struct_ifconf_sz;
692d874057dimextern unsigned struct_ifdatareq_sz;
693d874057dimextern unsigned struct_ifdrv_sz;
694d874057dimextern unsigned struct_ifmediareq_sz;
695d874057dimextern unsigned struct_ifpppcstatsreq_sz;
696d874057dimextern unsigned struct_ifpppstatsreq_sz;
697d874057dimextern unsigned struct_ifreq_sz;
698d874057dimextern unsigned struct_in6_addrpolicy_sz;
699d874057dimextern unsigned struct_in6_ndireq_sz;
700d874057dimextern unsigned struct_ioc_load_unload_sz;
701d874057dimextern unsigned struct_ioc_patch_sz;
702d874057dimextern unsigned struct_ioc_play_blocks_sz;
703d874057dimextern unsigned struct_ioc_play_msf_sz;
704d874057dimextern unsigned struct_ioc_play_track_sz;
705d874057dimextern unsigned struct_ioc_read_subchannel_sz;
706d874057dimextern unsigned struct_ioc_read_toc_entry_sz;
707d874057dimextern unsigned struct_ioc_toc_header_sz;
708d874057dimextern unsigned struct_ioc_vol_sz;
709d874057dimextern unsigned struct_ioctl_pt_sz;
710d874057dimextern unsigned struct_ioppt_sz;
711d874057dimextern unsigned struct_iovec_sz;
712d874057dimextern unsigned struct_ipfobj_sz;
713d874057dimextern unsigned struct_irda_params_sz;
714d874057dimextern unsigned struct_isp_fc_device_sz;
715d874057dimextern unsigned struct_isp_fc_tsk_mgmt_sz;
716d874057dimextern unsigned struct_isp_hba_device_sz;
717d874057dimextern unsigned struct_isv_cmd_sz;
718d874057dimextern unsigned struct_jobs_add_class_sz;
719d874057dimextern unsigned struct_jobs_add_filter_sz;
720d874057dimextern unsigned struct_jobs_attach_sz;
721d874057dimextern unsigned struct_jobs_class_stats_sz;
722d874057dimextern unsigned struct_jobs_delete_class_sz;
723d874057dimextern unsigned struct_jobs_delete_filter_sz;
724d874057dimextern unsigned struct_jobs_interface_sz;
725d874057dimextern unsigned struct_jobs_modify_class_sz;
726d874057dimextern unsigned struct_kbentry_sz;
727d874057dimextern unsigned struct_kfilter_mapping_sz;
728d874057dimextern unsigned struct_kiockeymap_sz;
729d874057dimextern unsigned struct_ksyms_gsymbol_sz;
730d874057dimextern unsigned struct_ksyms_gvalue_sz;
731d874057dimextern unsigned struct_ksyms_ogsymbol_sz;
732d874057dimextern unsigned struct_kttcp_io_args_sz;
733d874057dimextern unsigned struct_ltchars_sz;
734d874057dimextern unsigned struct_lua_create_sz;
735d874057dimextern unsigned struct_lua_info_sz;
736d874057dimextern unsigned struct_lua_load_sz;
737d874057dimextern unsigned struct_lua_require_sz;
738d874057dimextern unsigned struct_mbpp_param_sz;
739d874057dimextern unsigned struct_md_conf_sz;
740d874057dimextern unsigned struct_meteor_capframe_sz;
741d874057dimextern unsigned struct_meteor_counts_sz;
742d874057dimextern unsigned struct_meteor_geomet_sz;
743d874057dimextern unsigned struct_meteor_pixfmt_sz;
744d874057dimextern unsigned struct_meteor_video_sz;
745d874057dimextern unsigned struct_mlx_cinfo_sz;
746d874057dimextern unsigned struct_mlx_pause_sz;
747d874057dimextern unsigned struct_mlx_rebuild_request_sz;
748d874057dimextern unsigned struct_mlx_rebuild_status_sz;
749d874057dimextern unsigned struct_mlx_usercommand_sz;
750d874057dimextern unsigned struct_mly_user_command_sz;
751d874057dimextern unsigned struct_mly_user_health_sz;
752d874057dimextern unsigned struct_mtget_sz;
753d874057dimextern unsigned struct_mtop_sz;
754d874057dimextern unsigned struct_npf_ioctl_table_sz;
755d874057dimextern unsigned struct_npioctl_sz;
756d874057dimextern unsigned struct_nvme_pt_command_sz;
757d874057dimextern unsigned struct_ochanger_element_status_request_sz;
758d874057dimextern unsigned struct_ofiocdesc_sz;
759d874057dimextern unsigned struct_okiockey_sz;
760d874057dimextern unsigned struct_ortentry_sz;
761d874057dimextern unsigned struct_oscsi_addr_sz;
762d874057dimextern unsigned struct_oss_audioinfo_sz;
763d874057dimextern unsigned struct_oss_sysinfo_sz;
764d874057dimextern unsigned struct_pciio_bdf_cfgreg_sz;
765d874057dimextern unsigned struct_pciio_businfo_sz;
766d874057dimextern unsigned struct_pciio_cfgreg_sz;
767d874057dimextern unsigned struct_pciio_drvname_sz;
768d874057dimextern unsigned struct_pciio_drvnameonbus_sz;
769d874057dimextern unsigned struct_pcvtid_sz;
770d874057dimextern unsigned struct_pf_osfp_ioctl_sz;
771d874057dimextern unsigned struct_pf_status_sz;
772d874057dimextern unsigned struct_pfioc_altq_sz;
773d874057dimextern unsigned struct_pfioc_if_sz;
774d874057dimextern unsigned struct_pfioc_iface_sz;
775d874057dimextern unsigned struct_pfioc_limit_sz;
776d874057dimextern unsigned struct_pfioc_natlook_sz;
777d874057dimextern unsigned struct_pfioc_pooladdr_sz;
778d874057dimextern unsigned struct_pfioc_qstats_sz;
779d874057dimextern unsigned struct_pfioc_rule_sz;
780d874057dimextern unsigned struct_pfioc_ruleset_sz;
781d874057dimextern unsigned struct_pfioc_src_node_kill_sz;
782d874057dimextern unsigned struct_pfioc_src_nodes_sz;
783d874057dimextern unsigned struct_pfioc_state_kill_sz;
784d874057dimextern unsigned struct_pfioc_state_sz;
785d874057dimextern unsigned struct_pfioc_states_sz;
786d874057dimextern unsigned struct_pfioc_table_sz;
787d874057dimextern unsigned struct_pfioc_tm_sz;
788d874057dimextern unsigned struct_pfioc_trans_sz;
789d874057dimextern unsigned struct_plistref_sz;
790d874057dimextern unsigned struct_power_type_sz;
791d874057dimextern unsigned struct_ppp_idle_sz;
792d874057dimextern unsigned struct_ppp_option_data_sz;
793d874057dimextern unsigned struct_ppp_rawin_sz;
794d874057dimextern unsigned struct_pppoeconnectionstate_sz;
795d874057dimextern unsigned struct_pppoediscparms_sz;
796d874057dimextern unsigned struct_priq_add_class_sz;
797d874057dimextern unsigned struct_priq_add_filter_sz;
798d874057dimextern unsigned struct_priq_class_stats_sz;
799d874057dimextern unsigned struct_priq_delete_class_sz;
800d874057dimextern unsigned struct_priq_delete_filter_sz;
801d874057dimextern unsigned struct_priq_interface_sz;
802d874057dimextern unsigned struct_priq_modify_class_sz;
803d874057dimextern unsigned struct_ptmget_sz;
804d874057dimextern unsigned struct_pvctxreq_sz;
805d874057dimextern unsigned struct_radio_info_sz;
806d874057dimextern unsigned struct_red_conf_sz;
807d874057dimextern unsigned struct_red_interface_sz;
808d874057dimextern unsigned struct_red_stats_sz;
809d874057dimextern unsigned struct_redparams_sz;
810d874057dimextern unsigned struct_rf_pmparams_sz;
811d874057dimextern unsigned struct_rf_pmstat_sz;
812d874057dimextern unsigned struct_rf_recon_req_sz;
813d874057dimextern unsigned struct_rio_conf_sz;
814d874057dimextern unsigned struct_rio_interface_sz;
815d874057dimextern unsigned struct_rio_stats_sz;
816d874057dimextern unsigned struct_scan_io_sz;
817d874057dimextern unsigned struct_scbusaccel_args_sz;
818d874057dimextern unsigned struct_scbusiodetach_args_sz;
819d874057dimextern unsigned struct_scbusioscan_args_sz;
820d874057dimextern unsigned struct_scsi_addr_sz;
821d874057dimextern unsigned struct_seq_event_rec_sz;
822d874057dimextern unsigned struct_session_op_sz;
823d874057dimextern unsigned struct_sgttyb_sz;
824d874057dimextern unsigned struct_sioc_sg_req_sz;
825d874057dimextern unsigned struct_sioc_vif_req_sz;
826d874057dimextern unsigned struct_smbioc_flags_sz;
827d874057dimextern unsigned struct_smbioc_lookup_sz;
828d874057dimextern unsigned struct_smbioc_oshare_sz;
829d874057dimextern unsigned struct_smbioc_ossn_sz;
830d874057dimextern unsigned struct_smbioc_rq_sz;
831d874057dimextern unsigned struct_smbioc_rw_sz;
832d874057dimextern unsigned struct_spppauthcfg_sz;
833d874057dimextern unsigned struct_spppauthfailuresettings_sz;
834d874057dimextern unsigned struct_spppauthfailurestats_sz;
835d874057dimextern unsigned struct_spppdnsaddrs_sz;
836d874057dimextern unsigned struct_spppdnssettings_sz;
837d874057dimextern unsigned struct_spppidletimeout_sz;
838d874057dimextern unsigned struct_spppkeepalivesettings_sz;
839d874057dimextern unsigned struct_sppplcpcfg_sz;
840d874057dimextern unsigned struct_spppstatus_sz;
841d874057dimextern unsigned struct_spppstatusncp_sz;
842d874057dimextern unsigned struct_srt_rt_sz;
843d874057dimextern unsigned struct_stic_xinfo_sz;
844d874057dimextern unsigned struct_sun_dkctlr_sz;
845d874057dimextern unsigned struct_sun_dkgeom_sz;
846d874057dimextern unsigned struct_sun_dkpart_sz;
847d874057dimextern unsigned struct_synth_info_sz;
848d874057dimextern unsigned struct_tbrreq_sz;
849d874057dimextern unsigned struct_tchars_sz;
850d874057dimextern unsigned struct_termios_sz;
851d874057dimextern unsigned struct_timeval_sz;
852d874057dimextern unsigned struct_twe_drivecommand_sz;
853d874057dimextern unsigned struct_twe_paramcommand_sz;
854d874057dimextern unsigned struct_twe_usercommand_sz;
855d874057dimextern unsigned struct_ukyopon_identify_sz;
856d874057dimextern unsigned struct_urio_command_sz;
857d874057dimextern unsigned struct_usb_alt_interface_sz;
858d874057dimextern unsigned struct_usb_bulk_ra_wb_opt_sz;
859d874057dimextern unsigned struct_usb_config_desc_sz;
860d874057dimextern unsigned struct_usb_ctl_report_desc_sz;
861d874057dimextern unsigned struct_usb_ctl_report_sz;
862d874057dimextern unsigned struct_usb_ctl_request_sz;
863d874057dim#if defined(__x86_64__)
864d874057dimextern unsigned struct_nvmm_ioc_capability_sz;
865d874057dimextern unsigned struct_nvmm_ioc_machine_create_sz;
866d874057dimextern unsigned struct_nvmm_ioc_machine_destroy_sz;
867d874057dimextern unsigned struct_nvmm_ioc_machine_configure_sz;
868d874057dimextern unsigned struct_nvmm_ioc_vcpu_create_sz;
869d874057dimextern unsigned struct_nvmm_ioc_vcpu_destroy_sz;
870332da66dimextern unsigned struct_nvmm_ioc_vcpu_configure_sz;
871d874057dimextern unsigned struct_nvmm_ioc_vcpu_setstate_sz;
872d874057dimextern unsigned struct_nvmm_ioc_vcpu_getstate_sz;
873d874057dimextern unsigned struct_nvmm_ioc_vcpu_inject_sz;
874d874057dimextern unsigned struct_nvmm_ioc_vcpu_run_sz;
875d874057dimextern unsigned struct_nvmm_ioc_gpa_map_sz;
876d874057dimextern unsigned struct_nvmm_ioc_gpa_unmap_sz;
877d874057dimextern unsigned struct_nvmm_ioc_hva_map_sz;
878d874057dimextern unsigned struct_nvmm_ioc_hva_unmap_sz;
879d874057dimextern unsigned struct_nvmm_ioc_ctl_sz;
880d874057dim#endif
881d874057dimextern unsigned struct_spi_ioctl_configure_sz;
882d874057dimextern unsigned struct_spi_ioctl_transfer_sz;
883d874057dimextern unsigned struct_autofs_daemon_request_sz;
884d874057dimextern unsigned struct_autofs_daemon_done_sz;
885d874057dimextern unsigned struct_sctp_connectx_addrs_sz;
886d874057dimextern unsigned struct_usb_device_info_old_sz;
887d874057dimextern unsigned struct_usb_device_info_sz;
888d874057dimextern unsigned struct_usb_device_stats_sz;
889d874057dimextern unsigned struct_usb_endpoint_desc_sz;
890d874057dimextern unsigned struct_usb_full_desc_sz;
891d874057dimextern unsigned struct_usb_interface_desc_sz;
892d874057dimextern unsigned struct_usb_string_desc_sz;
893d874057dimextern unsigned struct_utoppy_readfile_sz;
894d874057dimextern unsigned struct_utoppy_rename_sz;
895d874057dimextern unsigned struct_utoppy_stats_sz;
896d874057dimextern unsigned struct_utoppy_writefile_sz;
897d874057dimextern unsigned struct_v4l2_audio_sz;
898d874057dimextern unsigned struct_v4l2_audioout_sz;
899d874057dimextern unsigned struct_v4l2_buffer_sz;
900d874057dimextern unsigned struct_v4l2_capability_sz;
901d874057dimextern unsigned struct_v4l2_control_sz;
902d874057dimextern unsigned struct_v4l2_crop_sz;
903d874057dimextern unsigned struct_v4l2_cropcap_sz;
904d874057dimextern unsigned struct_v4l2_fmtdesc_sz;
905d874057dimextern unsigned struct_v4l2_format_sz;
906d874057dimextern unsigned struct_v4l2_framebuffer_sz;
907d874057dimextern unsigned struct_v4l2_frequency_sz;
908d874057dimextern unsigned struct_v4l2_frmivalenum_sz;
909d874057dimextern unsigned struct_v4l2_frmsizeenum_sz;
910d874057dimextern unsigned struct_v4l2_input_sz;
911d874057dimextern unsigned struct_v4l2_jpegcompression_sz;
912d874057dimextern unsigned struct_v4l2_modulator_sz;
913d874057dimextern unsigned struct_v4l2_output_sz;
914d874057dimextern unsigned struct_v4l2_queryctrl_sz;
915d874057dimextern unsigned struct_v4l2_querymenu_sz;
916d874057dimextern unsigned struct_v4l2_requestbuffers_sz;
917d874057dimextern unsigned struct_v4l2_standard_sz;
918d874057dimextern unsigned struct_v4l2_streamparm_sz;
919d874057dimextern unsigned struct_v4l2_tuner_sz;
920d874057dimextern unsigned struct_vnd_ioctl_sz;
921d874057dimextern unsigned struct_vnd_user_sz;
922d874057dimextern unsigned struct_vt_stat_sz;
923d874057dimextern unsigned struct_wdog_conf_sz;
924d874057dimextern unsigned struct_wdog_mode_sz;
925d874057dimextern unsigned struct_ipmi_recv_sz;
926d874057dimextern unsigned struct_ipmi_req_sz;
927d874057dimextern unsigned struct_ipmi_cmdspec_sz;
928d874057dimextern unsigned struct_wfq_conf_sz;
929d874057dimextern unsigned struct_wfq_getqid_sz;
930d874057dimextern unsigned struct_wfq_getstats_sz;
931d874057dimextern unsigned struct_wfq_interface_sz;
932d874057dimextern unsigned struct_wfq_setweight_sz;
933d874057dimextern unsigned struct_winsize_sz;
934d874057dimextern unsigned struct_wscons_event_sz;
935d874057dimextern unsigned struct_wsdisplay_addscreendata_sz;
936d874057dimextern unsigned struct_wsdisplay_char_sz;
937d874057dimextern unsigned struct_wsdisplay_cmap_sz;
938d874057dimextern unsigned struct_wsdisplay_curpos_sz;
939d874057dimextern unsigned struct_wsdisplay_cursor_sz;
940d874057dimextern unsigned struct_wsdisplay_delscreendata_sz;
941d874057dimextern unsigned struct_wsdisplay_fbinfo_sz;
942d874057dimextern unsigned struct_wsdisplay_font_sz;
943d874057dimextern unsigned struct_wsdisplay_kbddata_sz;
944d874057dimextern unsigned struct_wsdisplay_msgattrs_sz;
945d874057dimextern unsigned struct_wsdisplay_param_sz;
946d874057dimextern unsigned struct_wsdisplay_scroll_data_sz;
947d874057dimextern unsigned struct_wsdisplay_usefontdata_sz;
948d874057dimextern unsigned struct_wsdisplayio_blit_sz;
949d874057dimextern unsigned struct_wsdisplayio_bus_id_sz;
950d874057dimextern unsigned struct_wsdisplayio_edid_info_sz;
951d874057dimextern unsigned struct_wsdisplayio_fbinfo_sz;
952d874057dimextern unsigned struct_wskbd_bell_data_sz;
953d874057dimextern unsigned struct_wskbd_keyrepeat_data_sz;
954d874057dimextern unsigned struct_wskbd_map_data_sz;
955d874057dimextern unsigned struct_wskbd_scroll_data_sz;
956d874057dimextern unsigned struct_wsmouse_calibcoords_sz;
957d874057dimextern unsigned struct_wsmouse_id_sz;
958d874057dimextern unsigned struct_wsmouse_repeat_sz;
959d874057dimextern unsigned struct_wsmux_device_list_sz;
960d874057dimextern unsigned struct_wsmux_device_sz;
961d874057dimextern unsigned struct_xd_iocmd_sz;
962d874057dim
963d874057dimextern unsigned struct_scsireq_sz;
964d874057dimextern unsigned struct_tone_sz;
965d874057dimextern unsigned union_twe_statrequest_sz;
966d874057dimextern unsigned struct_usb_device_descriptor_sz;
967d874057dimextern unsigned struct_vt_mode_sz;
968d874057dimextern unsigned struct__old_mixer_info_sz;
969d874057dimextern unsigned struct__agp_allocate_sz;
970d874057dimextern unsigned struct__agp_bind_sz;
971d874057dimextern unsigned struct__agp_info_sz;
972d874057dimextern unsigned struct__agp_setup_sz;
973d874057dimextern unsigned struct__agp_unbind_sz;
974d874057dimextern unsigned struct_atareq_sz;
975d874057dimextern unsigned struct_cpustate_sz;
976d874057dimextern unsigned struct_dmx_caps_sz;
977d874057dimextern unsigned enum_dmx_source_sz;
978d874057dimextern unsigned union_dvd_authinfo_sz;
979d874057dimextern unsigned union_dvd_struct_sz;
980d874057dimextern unsigned enum_v4l2_priority_sz;
981d874057dimextern unsigned struct_envsys_basic_info_sz;
982d874057dimextern unsigned struct_envsys_tre_data_sz;
983d874057dimextern unsigned enum_fe_sec_mini_cmd_sz;
984d874057dimextern unsigned enum_fe_sec_tone_mode_sz;
985d874057dimextern unsigned enum_fe_sec_voltage_sz;
986d874057dimextern unsigned enum_fe_status_sz;
987d874057dimextern unsigned struct_gdt_ctrt_sz;
988d874057dimextern unsigned struct_gdt_event_sz;
989d874057dimextern unsigned struct_gdt_osv_sz;
990d874057dimextern unsigned struct_gdt_rescan_sz;
991d874057dimextern unsigned struct_gdt_statist_sz;
992d874057dimextern unsigned struct_gdt_ucmd_sz;
993d874057dimextern unsigned struct_iscsi_conn_status_parameters_sz;
994d874057dimextern unsigned struct_iscsi_get_version_parameters_sz;
995d874057dimextern unsigned struct_iscsi_iocommand_parameters_sz;
996d874057dimextern unsigned struct_iscsi_login_parameters_sz;
997d874057dimextern unsigned struct_iscsi_logout_parameters_sz;
998d874057dimextern unsigned struct_iscsi_register_event_parameters_sz;
999d874057dimextern unsigned struct_iscsi_remove_parameters_sz;
1000d874057dimextern unsigned struct_iscsi_send_targets_parameters_sz;
1001d874057dimextern unsigned struct_iscsi_set_node_name_parameters_sz;
1002d874057dimextern unsigned struct_iscsi_wait_event_parameters_sz;
1003d874057dimextern unsigned struct_isp_stats_sz;
1004d874057dimextern unsigned struct_lsenable_sz;
1005d874057dimextern unsigned struct_lsdisable_sz;
1006d874057dimextern unsigned struct_audio_format_query_sz;
1007d874057dimextern unsigned struct_mixer_ctrl_sz;
1008d874057dimextern unsigned struct_mixer_devinfo_sz;
1009d874057dimextern unsigned struct_mpu_command_rec_sz;
1010d874057dimextern unsigned struct_rndstat_sz;
1011d874057dimextern unsigned struct_rndstat_name_sz;
1012d874057dimextern unsigned struct_rndctl_sz;
1013d874057dimextern unsigned struct_rnddata_sz;
1014d874057dimextern unsigned struct_rndpoolstat_sz;
1015d874057dimextern unsigned struct_rndstat_est_sz;
1016d874057dimextern unsigned struct_rndstat_est_name_sz;
1017d874057dimextern unsigned struct_pps_params_sz;
1018d874057dimextern unsigned struct_pps_info_sz;
1019d874057dimextern unsigned struct_mixer_info_sz;
1020d874057dimextern unsigned struct_RF_SparetWait_sz;
1021d874057dimextern unsigned struct_RF_ComponentLabel_sz;
1022d874057dimextern unsigned struct_RF_SingleComponent_sz;
1023d874057dimextern unsigned struct_RF_ProgressInfo_sz;
1024d874057dimextern unsigned struct_nvlist_ref_sz;
1025d874057dimextern unsigned struct_StringList_sz;
1026d874057dim
1027d874057dim
1028d874057dim// A special value to mark ioctls that are not present on the target platform,
1029d874057dim// when it can not be determined without including any system headers.
1030d874057dimextern const unsigned IOCTL_NOT_PRESENT;
1031d874057dim
1032d874057dim
1033d874057dimextern unsigned IOCTL_AFM_ADDFMAP;
1034d874057dimextern unsigned IOCTL_AFM_DELFMAP;
1035d874057dimextern unsigned IOCTL_AFM_CLEANFMAP;
1036d874057dimextern unsigned IOCTL_AFM_GETFMAP;
1037d874057dimextern unsigned IOCTL_ALTQGTYPE;
1038d874057dimextern unsigned IOCTL_ALTQTBRSET;
1039d874057dimextern unsigned IOCTL_ALTQTBRGET;
1040d874057dimextern unsigned IOCTL_BLUE_IF_ATTACH;
1041d874057dimextern unsigned IOCTL_BLUE_IF_DETACH;
1042d874057dimextern unsigned IOCTL_BLUE_ENABLE;
1043d874057dimextern unsigned IOCTL_BLUE_DISABLE;
1044d874057dimextern unsigned IOCTL_BLUE_CONFIG;
1045d874057dimextern unsigned IOCTL_BLUE_GETSTATS;
1046d874057dimextern unsigned IOCTL_CBQ_IF_ATTACH;
1047d874057dimextern unsigned IOCTL_CBQ_IF_DETACH;
1048d874057dimextern unsigned IOCTL_CBQ_ENABLE;
1049d874057dimextern unsigned IOCTL_CBQ_DISABLE;
1050d874057dimextern unsigned IOCTL_CBQ_CLEAR_HIERARCHY;
1051d874057dimextern unsigned IOCTL_CBQ_ADD_CLASS;
1052d874057dimextern unsigned IOCTL_CBQ_DEL_CLASS;
1053d874057dimextern unsigned IOCTL_CBQ_MODIFY_CLASS;
1054d874057dimextern unsigned IOCTL_CBQ_ADD_FILTER;
1055d874057dimextern unsigned IOCTL_CBQ_DEL_FILTER;
1056d874057dimextern unsigned IOCTL_CBQ_GETSTATS;
1057d874057dimextern unsigned IOCTL_CDNR_IF_ATTACH;
1058d874057dimextern unsigned IOCTL_CDNR_IF_DETACH;
1059d874057dimextern unsigned IOCTL_CDNR_ENABLE;
1060d874057dimextern unsigned IOCTL_CDNR_DISABLE;
1061d874057dimextern unsigned IOCTL_CDNR_ADD_FILTER;
1062d874057dimextern unsigned IOCTL_CDNR_DEL_FILTER;
1063d874057dimextern unsigned IOCTL_CDNR_GETSTATS;
1064d874057dimextern unsigned IOCTL_CDNR_ADD_ELEM;
1065d874057dimextern unsigned IOCTL_CDNR_DEL_ELEM;
1066d874057dimextern unsigned IOCTL_CDNR_ADD_TBM;
1067d874057dimextern unsigned IOCTL_CDNR_MOD_TBM;
1068d874057dimextern unsigned IOCTL_CDNR_TBM_STATS;
1069d874057dimextern unsigned IOCTL_CDNR_ADD_TCM;
1070d874057dimextern unsigned IOCTL_CDNR_MOD_TCM;
1071d874057dimextern unsigned IOCTL_CDNR_TCM_STATS;
1072d874057dimextern unsigned IOCTL_CDNR_ADD_TSW;
1073d874057dimextern unsigned IOCTL_CDNR_MOD_TSW;
1074d874057dimextern unsigned IOCTL_FIFOQ_IF_ATTACH;
1075d874057dimextern unsigned IOCTL_FIFOQ_IF_DETACH;
1076d874057dimextern unsigned IOCTL_FIFOQ_ENABLE;
1077d874057dimextern unsigned IOCTL_FIFOQ_DISABLE;
1078d874057dimextern unsigned IOCTL_FIFOQ_CONFIG;
1079d874057dimextern unsigned IOCTL_FIFOQ_GETSTATS;
1080d874057dimextern unsigned IOCTL_HFSC_IF_ATTACH;
1081d874057dimextern unsigned IOCTL_HFSC_IF_DETACH;
1082d874057dimextern unsigned IOCTL_HFSC_ENABLE;
1083d874057dimextern unsigned IOCTL_HFSC_DISABLE;
1084d874057dimextern unsigned IOCTL_HFSC_CLEAR_HIERARCHY;
1085d874057dimextern unsigned IOCTL_HFSC_ADD_CLASS;
1086d874057dimextern unsigned IOCTL_HFSC_DEL_CLASS;
1087d874057dimextern unsigned IOCTL_HFSC_MOD_CLASS;
1088d874057dimextern unsigned IOCTL_HFSC_ADD_FILTER;
1089d874057dimextern unsigned IOCTL_HFSC_DEL_FILTER;
1090d874057dimextern unsigned IOCTL_HFSC_GETSTATS;
1091d874057dimextern unsigned IOCTL_JOBS_IF_ATTACH;
1092d874057dimextern unsigned IOCTL_JOBS_IF_DETACH;
1093d874057dimextern unsigned IOCTL_JOBS_ENABLE;
1094d874057dimextern unsigned IOCTL_JOBS_DISABLE;
1095d874057dimextern unsigned IOCTL_JOBS_CLEAR;
1096d874057dimextern unsigned IOCTL_JOBS_ADD_CLASS;
1097d874057dimextern unsigned IOCTL_JOBS_DEL_CLASS;
1098d874057dimextern unsigned IOCTL_JOBS_MOD_CLASS;
1099d874057dimextern unsigned IOCTL_JOBS_ADD_FILTER;
1100d874057dimextern unsigned IOCTL_JOBS_DEL_FILTER;
1101d874057dimextern unsigned IOCTL_JOBS_GETSTATS;
1102d874057dimextern unsigned IOCTL_PRIQ_IF_ATTACH;
1103d874057dimextern unsigned IOCTL_PRIQ_IF_DETACH;
1104d874057dimextern unsigned IOCTL_PRIQ_ENABLE;
1105d874057dimextern unsigned IOCTL_PRIQ_DISABLE;
1106d874057dimextern unsigned IOCTL_PRIQ_CLEAR;
1107d874057dimextern unsigned IOCTL_PRIQ_ADD_CLASS;
1108d874057dimextern unsigned IOCTL_PRIQ_DEL_CLASS;
1109d874057dimextern unsigned IOCTL_PRIQ_MOD_CLASS;
1110d874057dimextern unsigned IOCTL_PRIQ_ADD_FILTER;
1111d874057dimextern unsigned IOCTL_PRIQ_DEL_FILTER;
1112d874057dimextern unsigned IOCTL_PRIQ_GETSTATS;
1113d874057dimextern unsigned IOCTL_RED_IF_ATTACH;
1114d874057dimextern unsigned IOCTL_RED_IF_DETACH;
1115d874057dimextern unsigned IOCTL_RED_ENABLE;
1116d874057dimextern unsigned IOCTL_RED_DISABLE;
1117d874057dimextern unsigned IOCTL_RED_CONFIG;
1118d874057dimextern unsigned IOCTL_RED_GETSTATS;
1119d874057dimextern unsigned IOCTL_RED_SETDEFAULTS;
1120d874057dimextern unsigned IOCTL_RIO_IF_ATTACH;
1121d874057dimextern unsigned IOCTL_RIO_IF_DETACH;
1122d874057dimextern unsigned IOCTL_RIO_ENABLE;
1123d874057dimextern unsigned IOCTL_RIO_DISABLE;
1124d874057dimextern unsigned IOCTL_RIO_CONFIG;
1125d874057dimextern unsigned IOCTL_RIO_GETSTATS;
1126d874057dimextern unsigned IOCTL_RIO_SETDEFAULTS;
1127d874057dimextern unsigned IOCTL_WFQ_IF_ATTACH;
1128d874057dimextern unsigned IOCTL_WFQ_IF_DETACH;
1129d874057dimextern unsigned IOCTL_WFQ_ENABLE;
1130d874057dimextern unsigned IOCTL_WFQ_DISABLE;
1131d874057dimextern unsigned IOCTL_WFQ_CONFIG;
1132d874057dimextern unsigned IOCTL_WFQ_GET_STATS;
1133d874057dimextern unsigned IOCTL_WFQ_GET_QID;
1134d874057dimextern unsigned IOCTL_WFQ_SET_WEIGHT;
1135d874057dimextern unsigned IOCTL_CRIOGET;
1136d874057dimextern unsigned IOCTL_CIOCFSESSION;
1137d874057dimextern unsigned IOCTL_CIOCKEY;
1138d874057dimextern unsigned IOCTL_CIOCNFKEYM;
1139d874057dimextern unsigned IOCTL_CIOCNFSESSION;
1140d874057dimextern unsigned IOCTL_CIOCNCRYPTRETM;
1141d874057dimextern unsigned IOCTL_CIOCNCRYPTRET;
1142d874057dimextern unsigned IOCTL_CIOCGSESSION;
1143d874057dimextern unsigned IOCTL_CIOCNGSESSION;
1144d874057dimextern unsigned IOCTL_CIOCCRYPT;
1145d874057dimextern unsigned IOCTL_CIOCNCRYPTM;
1146d874057dimextern unsigned IOCTL_CIOCASYMFEAT;
1147d874057dimextern unsigned IOCTL_APM_IOC_REJECT;
1148d874057dimextern unsigned IOCTL_APM_IOC_STANDBY;
1149d874057dimextern unsigned IOCTL_APM_IOC_SUSPEND;
1150d874057dimextern unsigned IOCTL_OAPM_IOC_GETPOWER;
1151d874057dimextern unsigned IOCTL_APM_IOC_GETPOWER;
1152d874057dimextern unsigned IOCTL_APM_IOC_NEXTEVENT;
1153d874057dimextern unsigned IOCTL_APM_IOC_DEV_CTL;
1154d874057dimextern unsigned IOCTL_NETBSD_DM_IOCTL;
1155d874057dimextern unsigned IOCTL_DMIO_SETFUNC;
1156d874057dimextern unsigned IOCTL_DMX_START;
1157d874057dimextern unsigned IOCTL_DMX_STOP;
1158d874057dimextern unsigned IOCTL_DMX_SET_FILTER;
1159d874057dimextern unsigned IOCTL_DMX_SET_PES_FILTER;
1160d874057dimextern unsigned IOCTL_DMX_SET_BUFFER_SIZE;
1161d874057dimextern unsigned IOCTL_DMX_GET_STC;
1162d874057dimextern unsigned IOCTL_DMX_ADD_PID;
1163d874057dimextern unsigned IOCTL_DMX_REMOVE_PID;
1164d874057dimextern unsigned IOCTL_DMX_GET_CAPS;
1165d874057dimextern unsigned IOCTL_DMX_SET_SOURCE;
1166d874057dimextern unsigned IOCTL_FE_READ_STATUS;
1167d874057dimextern unsigned IOCTL_FE_READ_BER;
1168d874057dimextern unsigned IOCTL_FE_READ_SNR;
1169d874057dimextern unsigned IOCTL_FE_READ_SIGNAL_STRENGTH;
1170d874057dimextern unsigned IOCTL_FE_READ_UNCORRECTED_BLOCKS;
1171d874057dimextern unsigned IOCTL_FE_SET_FRONTEND;
1172d874057dimextern unsigned IOCTL_FE_GET_FRONTEND;
1173d874057dimextern unsigned IOCTL_FE_GET_EVENT;
1174d874057dimextern unsigned IOCTL_FE_GET_INFO;
1175d874057dimextern unsigned IOCTL_FE_DISEQC_RESET_OVERLOAD;
1176d874057dimextern unsigned IOCTL_FE_DISEQC_SEND_MASTER_CMD;
1177d874057dimextern unsigned IOCTL_FE_DISEQC_RECV_SLAVE_REPLY;
1178d874057dimextern unsigned IOCTL_FE_DISEQC_SEND_BURST;
1179d874057dimextern unsigned IOCTL_FE_SET_TONE;
1180d874057dimextern unsigned IOCTL_FE_SET_VOLTAGE;
1181d874057dimextern unsigned IOCTL_FE_ENABLE_HIGH_LNB_VOLTAGE;
1182d874057dimextern unsigned IOCTL_FE_SET_FRONTEND_TUNE_MODE;
1183d874057dimextern unsigned IOCTL_FE_DISHNETWORK_SEND_LEGACY_CMD;
1184d874057dimextern unsigned IOCTL_FILEMON_SET_FD;
1185d874057dimextern unsigned IOCTL_FILEMON_SET_PID;
1186d874057dimextern unsigned IOCTL_HDAUDIO_FGRP_INFO;
1187d874057dimextern unsigned IOCTL_HDAUDIO_FGRP_GETCONFIG;
1188d874057dimextern unsigned IOCTL_HDAUDIO_FGRP_SETCONFIG;
1189d874057dimextern unsigned IOCTL_HDAUDIO_FGRP_WIDGET_INFO;
1190d874057dimextern unsigned IOCTL_HDAUDIO_FGRP_CODEC_INFO;
1191d874057dimextern unsigned IOCTL_HDAUDIO_AFG_WIDGET_INFO;
1192d874057dimextern unsigned IOCTL_HDAUDIO_AFG_CODEC_INFO;
1193d874057dimextern unsigned IOCTL_CEC_GET_PHYS_ADDR;
1194d874057dimextern unsigned IOCTL_CEC_GET_LOG_ADDRS;
1195d874057dimextern unsigned IOCTL_CEC_SET_LOG_ADDRS;
1196d874057dimextern unsigned IOCTL_CEC_GET_VENDOR_ID;
1197d874057dimextern unsigned IOCTL_HPCFBIO_GCONF;
1198d874057dimextern unsigned IOCTL_HPCFBIO_SCONF;
1199d874057dimextern unsigned IOCTL_HPCFBIO_GDSPCONF;
1200d874057dimextern unsigned IOCTL_HPCFBIO_SDSPCONF;
1201d874057dimextern unsigned IOCTL_HPCFBIO_GOP;
1202d874057dimextern unsigned IOCTL_HPCFBIO_SOP;
1203d874057dimextern unsigned IOCTL_IOPIOCPT;
1204d874057dimextern unsigned IOCTL_IOPIOCGLCT;
1205d874057dimextern unsigned IOCTL_IOPIOCGSTATUS;
1206d874057dimextern unsigned IOCTL_IOPIOCRECONFIG;
1207d874057dimextern unsigned IOCTL_IOPIOCGTIDMAP;
1208d874057dimextern unsigned IOCTL_SIOCGATHSTATS;
1209d874057dimextern unsigned IOCTL_SIOCGATHDIAG;
1210d874057dimextern unsigned IOCTL_METEORCAPTUR;
1211d874057dimextern unsigned IOCTL_METEORCAPFRM;
1212d874057dimextern unsigned IOCTL_METEORSETGEO;
1213d874057dimextern unsigned IOCTL_METEORGETGEO;
1214d874057dimextern unsigned IOCTL_METEORSTATUS;
1215d874057dimextern unsigned IOCTL_METEORSHUE;
1216d874057dimextern unsigned IOCTL_METEORGHUE;
1217d874057dimextern unsigned IOCTL_METEORSFMT;
1218d874057dimextern unsigned IOCTL_METEORGFMT;
1219d874057dimextern unsigned IOCTL_METEORSINPUT;
1220d874057dimextern unsigned IOCTL_METEORGINPUT;
1221d874057dimextern unsigned IOCTL_METEORSCHCV;
1222d874057dimextern unsigned IOCTL_METEORGCHCV;
1223d874057dimextern unsigned IOCTL_METEORSCOUNT;
1224d874057dimextern unsigned IOCTL_METEORGCOUNT;
1225d874057dimextern unsigned IOCTL_METEORSFPS;
1226d874057dimextern unsigned IOCTL_METEORGFPS;
1227d874057dimextern unsigned IOCTL_METEORSSIGNAL;
1228d874057dimextern unsigned IOCTL_METEORGSIGNAL;
1229d874057dimextern unsigned IOCTL_METEORSVIDEO;
1230d874057dimextern unsigned IOCTL_METEORGVIDEO;
1231d874057dimextern unsigned IOCTL_METEORSBRIG;
1232d874057dimextern unsigned IOCTL_METEORGBRIG;
1233d874057dimextern unsigned IOCTL_METEORSCSAT;
1234d874057dimextern unsigned IOCTL_METEORGCSAT;
1235d874057dimextern unsigned IOCTL_METEORSCONT;
1236d874057dimextern unsigned IOCTL_METEORGCONT;
1237d874057dimextern unsigned IOCTL_METEORSHWS;
1238d874057dimextern unsigned IOCTL_METEORGHWS;
1239d874057dimextern unsigned IOCTL_METEORSVWS;
1240d874057dimextern unsigned IOCTL_METEORGVWS;
1241d874057dimextern unsigned IOCTL_METEORSTS;
1242d874057dimextern unsigned IOCTL_METEORGTS;
1243d874057dimextern unsigned IOCTL_TVTUNER_SETCHNL;
1244d874057dimextern unsigned IOCTL_TVTUNER_GETCHNL;
1245d874057dimextern unsigned IOCTL_TVTUNER_SETTYPE;
1246d874057dimextern unsigned IOCTL_TVTUNER_GETTYPE;
1247d874057dimextern unsigned IOCTL_TVTUNER_GETSTATUS;
1248d874057dimextern unsigned IOCTL_TVTUNER_SETFREQ;
1249d874057dimextern unsigned IOCTL_TVTUNER_GETFREQ;
1250d874057dimextern unsigned IOCTL_TVTUNER_SETAFC;
1251d874057dimextern unsigned IOCTL_TVTUNER_GETAFC;
1252d874057dimextern unsigned IOCTL_RADIO_SETMODE;
1253d874057dimextern unsigned IOCTL_RADIO_GETMODE;
1254d874057dimextern unsigned IOCTL_RADIO_SETFREQ;
1255d874057dimextern unsigned IOCTL_RADIO_GETFREQ;
1256d874057dimextern unsigned IOCTL_METEORSACTPIXFMT;
1257d874057dimextern unsigned IOCTL_METEORGACTPIXFMT;
1258d874057dimextern unsigned IOCTL_METEORGSUPPIXFMT;
1259d874057dimextern unsigned IOCTL_TVTUNER_GETCHNLSET;
1260d874057dimextern unsigned IOCTL_REMOTE_GETKEY;
1261d874057dimextern unsigned IOCTL_GDT_IOCTL_GENERAL;
1262d874057dimextern unsigned IOCTL_GDT_IOCTL_DRVERS;
1263d874057dimextern unsigned IOCTL_GDT_IOCTL_CTRTYPE;
1264d874057dimextern unsigned IOCTL_GDT_IOCTL_OSVERS;
1265d874057dimextern unsigned IOCTL_GDT_IOCTL_CTRCNT;
1266d874057dimextern unsigned IOCTL_GDT_IOCTL_EVENT;
1267d874057dimextern unsigned IOCTL_GDT_IOCTL_STATIST;
1268d874057dimextern unsigned IOCTL_GDT_IOCTL_RESCAN;
1269d874057dimextern unsigned IOCTL_ISP_SDBLEV;
1270d874057dimextern unsigned IOCTL_ISP_RESETHBA;
1271d874057dimextern unsigned IOCTL_ISP_RESCAN;
1272d874057dimextern unsigned IOCTL_ISP_SETROLE;
1273d874057dimextern unsigned IOCTL_ISP_GETROLE;
1274d874057dimextern unsigned IOCTL_ISP_GET_STATS;
1275d874057dimextern unsigned IOCTL_ISP_CLR_STATS;
1276d874057dimextern unsigned IOCTL_ISP_FC_LIP;
1277d874057dimextern unsigned IOCTL_ISP_FC_GETDINFO;
1278d874057dimextern unsigned IOCTL_ISP_GET_FW_CRASH_DUMP;
1279d874057dimextern unsigned IOCTL_ISP_FORCE_CRASH_DUMP;
1280d874057dimextern unsigned IOCTL_ISP_FC_GETHINFO;
1281d874057dimextern unsigned IOCTL_ISP_TSK_MGMT;
1282d874057dimextern unsigned IOCTL_ISP_FC_GETDLIST;
1283d874057dimextern unsigned IOCTL_MLXD_STATUS;
1284d874057dimextern unsigned IOCTL_MLXD_CHECKASYNC;
1285d874057dimextern unsigned IOCTL_MLXD_DETACH;
1286d874057dimextern unsigned IOCTL_MLX_RESCAN_DRIVES;
1287d874057dimextern unsigned IOCTL_MLX_PAUSE_CHANNEL;
1288d874057dimextern unsigned IOCTL_MLX_COMMAND;
1289d874057dimextern unsigned IOCTL_MLX_REBUILDASYNC;
1290d874057dimextern unsigned IOCTL_MLX_REBUILDSTAT;
1291d874057dimextern unsigned IOCTL_MLX_GET_SYSDRIVE;
1292d874057dimextern unsigned IOCTL_MLX_GET_CINFO;
1293d874057dimextern unsigned IOCTL_NVME_PASSTHROUGH_CMD;
1294d874057dimextern unsigned IOCTL_FWCFGIO_SET_INDEX;
1295d874057dimextern unsigned IOCTL_IRDA_RESET_PARAMS;
1296d874057dimextern unsigned IOCTL_IRDA_SET_PARAMS;
1297d874057dimextern unsigned IOCTL_IRDA_GET_SPEEDMASK;
1298d874057dimextern unsigned IOCTL_IRDA_GET_TURNAROUNDMASK;
1299d874057dimextern unsigned IOCTL_IRFRAMETTY_GET_DEVICE;
1300d874057dimextern unsigned IOCTL_IRFRAMETTY_GET_DONGLE;
1301d874057dimextern unsigned IOCTL_IRFRAMETTY_SET_DONGLE;
1302d874057dimextern unsigned IOCTL_ISV_CMD;
1303d874057dimextern unsigned IOCTL_WTQICMD;
1304d874057dimextern unsigned IOCTL_ISCSI_GET_VERSION;
1305d874057dimextern unsigned IOCTL_ISCSI_LOGIN;
1306d874057dimextern unsigned IOCTL_ISCSI_LOGOUT;
1307d874057dimextern unsigned IOCTL_ISCSI_ADD_CONNECTION;
1308d874057dimextern unsigned IOCTL_ISCSI_RESTORE_CONNECTION;
1309d874057dimextern unsigned IOCTL_ISCSI_REMOVE_CONNECTION;
1310d874057dimextern unsigned IOCTL_ISCSI_CONNECTION_STATUS;
1311d874057dimextern unsigned IOCTL_ISCSI_SEND_TARGETS;
1312d874057dimextern unsigned IOCTL_ISCSI_SET_NODE_NAME;
1313d874057dimextern unsigned IOCTL_ISCSI_IO_COMMAND;
1314d874057dimextern unsigned IOCTL_ISCSI_REGISTER_EVENT;
1315d874057dimextern unsigned IOCTL_ISCSI_DEREGISTER_EVENT;
1316d874057dimextern unsigned IOCTL_ISCSI_WAIT_EVENT;
1317d874057dimextern unsigned IOCTL_ISCSI_POLL_EVENT;
1318d874057dimextern unsigned IOCTL_OFIOCGET;
1319d874057dimextern unsigned IOCTL_OFIOCSET;
1320d874057dimextern unsigned IOCTL_OFIOCNEXTPROP;
1321d874057dimextern unsigned IOCTL_OFIOCGETOPTNODE;
1322d874057dimextern unsigned IOCTL_OFIOCGETNEXT;
1323d874057dimextern unsigned IOCTL_OFIOCGETCHILD;
1324d874057dimextern unsigned IOCTL_OFIOCFINDDEVICE;
1325d874057dimextern unsigned IOCTL_AMR_IO_VERSION;
1326d874057dimextern unsigned IOCTL_AMR_IO_COMMAND;
1327d874057dimextern unsigned IOCTL_MLYIO_COMMAND;
1328d874057dimextern unsigned IOCTL_MLYIO_HEALTH;
1329d874057dimextern unsigned IOCTL_PCI_IOC_CFGREAD;
1330d874057dimextern unsigned IOCTL_PCI_IOC_CFGWRITE;
1331d874057dimextern unsigned IOCTL_PCI_IOC_BDF_CFGREAD;
1332d874057dimextern unsigned IOCTL_PCI_IOC_BDF_CFGWRITE;
1333d874057dimextern unsigned IOCTL_PCI_IOC_BUSINFO;
1334d874057dimextern unsigned IOCTL_PCI_IOC_DRVNAME;
1335d874057dimextern unsigned IOCTL_PCI_IOC_DRVNAMEONBUS;
1336d874057dimextern unsigned IOCTL_TWEIO_COMMAND;
1337d874057dimextern unsigned IOCTL_TWEIO_STATS;
1338d874057dimextern unsigned IOCTL_TWEIO_AEN_POLL;
1339d874057dimextern unsigned IOCTL_TWEIO_AEN_WAIT;
1340d874057dimextern unsigned IOCTL_TWEIO_SET_PARAM;
1341d874057dimextern unsigned IOCTL_TWEIO_GET_PARAM;
1342d874057dimextern unsigned IOCTL_TWEIO_RESET;
1343d874057dimextern unsigned IOCTL_TWEIO_ADD_UNIT;
1344d874057dimextern unsigned IOCTL_TWEIO_DEL_UNIT;
1345d874057dimextern unsigned IOCTL_SIOCSCNWDOMAIN;
1346d874057dimextern unsigned IOCTL_SIOCGCNWDOMAIN;
1347d874057dimextern unsigned IOCTL_SIOCSCNWKEY;
1348d874057dimextern unsigned IOCTL_SIOCGCNWSTATUS;
1349d874057dimextern unsigned IOCTL_SIOCGCNWSTATS;
1350d874057dimextern unsigned IOCTL_SIOCGCNWTRAIL;
1351d874057dimextern unsigned IOCTL_SIOCGRAYSIGLEV;
1352d874057dimextern unsigned IOCTL_RAIDFRAME_SHUTDOWN;
1353d874057dimextern unsigned IOCTL_RAIDFRAME_TUR;
1354d874057dimextern unsigned IOCTL_RAIDFRAME_FAIL_DISK;
1355d874057dimextern unsigned IOCTL_RAIDFRAME_CHECK_RECON_STATUS;
1356d874057dimextern unsigned IOCTL_RAIDFRAME_REWRITEPARITY;
1357d874057dimextern unsigned IOCTL_RAIDFRAME_COPYBACK;
1358d874057dimextern unsigned IOCTL_RAIDFRAME_SPARET_WAIT;
1359d874057dimextern unsigned IOCTL_RAIDFRAME_SEND_SPARET;
1360d874057dimextern unsigned IOCTL_RAIDFRAME_ABORT_SPARET_WAIT;
1361d874057dimextern unsigned IOCTL_RAIDFRAME_START_ATRACE;
1362d874057dimextern unsigned IOCTL_RAIDFRAME_STOP_ATRACE;
1363d874057dimextern unsigned IOCTL_RAIDFRAME_GET_SIZE;
1364d874057dimextern unsigned IOCTL_RAIDFRAME_RESET_ACCTOTALS;
1365d874057dimextern unsigned IOCTL_RAIDFRAME_KEEP_ACCTOTALS;
1366d874057dimextern unsigned IOCTL_RAIDFRAME_GET_COMPONENT_LABEL;
1367d874057dimextern unsigned IOCTL_RAIDFRAME_SET_COMPONENT_LABEL;
1368d874057dimextern unsigned IOCTL_RAIDFRAME_INIT_LABELS;
1369d874057dimextern unsigned IOCTL_RAIDFRAME_ADD_HOT_SPARE;
1370d874057dimextern unsigned IOCTL_RAIDFRAME_REMOVE_HOT_SPARE;
1371d874057dimextern unsigned IOCTL_RAIDFRAME_REBUILD_IN_PLACE;
1372d874057dimextern unsigned IOCTL_RAIDFRAME_CHECK_PARITY;
1373d874057dimextern unsigned IOCTL_RAIDFRAME_CHECK_PARITYREWRITE_STATUS;
1374d874057dimextern unsigned IOCTL_RAIDFRAME_CHECK_COPYBACK_STATUS;
1375d874057dimextern unsigned IOCTL_RAIDFRAME_SET_AUTOCONFIG;
1376d874057dimextern unsigned IOCTL_RAIDFRAME_SET_ROOT;
1377d874057dimextern unsigned IOCTL_RAIDFRAME_DELETE_COMPONENT;
1378d874057dimextern unsigned IOCTL_RAIDFRAME_INCORPORATE_HOT_SPARE;
1379d874057dimextern unsigned IOCTL_RAIDFRAME_CHECK_RECON_STATUS_EXT;
1380d874057dimextern unsigned IOCTL_RAIDFRAME_CHECK_PARITYREWRITE_STATUS_EXT;
1381d874057dimextern unsigned IOCTL_RAIDFRAME_CHECK_COPYBACK_STATUS_EXT;
1382d874057dimextern unsigned IOCTL_RAIDFRAME_CONFIGURE;
1383d874057dimextern unsigned IOCTL_RAIDFRAME_GET_INFO;
1384d874057dimextern unsigned IOCTL_RAIDFRAME_PARITYMAP_STATUS;
1385d874057dimextern unsigned IOCTL_RAIDFRAME_PARITYMAP_GET_DISABLE;
1386d874057dimextern unsigned IOCTL_RAIDFRAME_PARITYMAP_SET_DISABLE;
1387d874057dimextern unsigned IOCTL_RAIDFRAME_PARITYMAP_SET_PARAMS;
1388d874057dimextern unsigned IOCTL_RAIDFRAME_SET_LAST_UNIT;
1389d874057dimextern unsigned IOCTL_MBPPIOCSPARAM;
1390d874057dimextern unsigned IOCTL_MBPPIOCGPARAM;
1391d874057dimextern unsigned IOCTL_MBPPIOCGSTAT;
1392d874057dimextern unsigned IOCTL_SESIOC_GETNOBJ;
1393d874057dimextern unsigned IOCTL_SESIOC_GETOBJMAP;
1394d874057dimextern unsigned IOCTL_SESIOC_GETENCSTAT;
1395d874057dimextern unsigned IOCTL_SESIOC_SETENCSTAT;
1396d874057dimextern unsigned IOCTL_SESIOC_GETOBJSTAT;
1397d874057dimextern unsigned IOCTL_SESIOC_SETOBJSTAT;
1398d874057dimextern unsigned IOCTL_SESIOC_GETTEXT;
1399d874057dimextern unsigned IOCTL_SESIOC_INIT;
1400d874057dimextern unsigned IOCTL_SUN_DKIOCGGEOM;
1401d874057dimextern unsigned IOCTL_SUN_DKIOCINFO;
1402d874057dimextern unsigned IOCTL_SUN_DKIOCGPART;
1403d874057dimextern unsigned IOCTL_FBIOGTYPE;
1404d874057dimextern unsigned IOCTL_FBIOPUTCMAP;
1405d874057dimextern unsigned IOCTL_FBIOGETCMAP;
1406d874057dimextern unsigned IOCTL_FBIOGATTR;
1407d874057dimextern unsigned IOCTL_FBIOSVIDEO;
1408d874057dimextern unsigned IOCTL_FBIOGVIDEO;
1409d874057dimextern unsigned IOCTL_FBIOSCURSOR;
1410d874057dimextern unsigned IOCTL_FBIOGCURSOR;
1411d874057dimextern unsigned IOCTL_FBIOSCURPOS;
1412d874057dimextern unsigned IOCTL_FBIOGCURPOS;
1413d874057dimextern unsigned IOCTL_FBIOGCURMAX;
1414d874057dimextern unsigned IOCTL_KIOCTRANS;
1415d874057dimextern unsigned IOCTL_KIOCSETKEY;
1416d874057dimextern unsigned IOCTL_KIOCGETKEY;
1417d874057dimextern unsigned IOCTL_KIOCGTRANS;
1418d874057dimextern unsigned IOCTL_KIOCCMD;
1419d874057dimextern unsigned IOCTL_KIOCTYPE;
1420d874057dimextern unsigned IOCTL_KIOCSDIRECT;
1421d874057dimextern unsigned IOCTL_KIOCSKEY;
1422d874057dimextern unsigned IOCTL_KIOCGKEY;
1423d874057dimextern unsigned IOCTL_KIOCSLED;
1424d874057dimextern unsigned IOCTL_KIOCGLED;
1425d874057dimextern unsigned IOCTL_KIOCLAYOUT;
1426d874057dimextern unsigned IOCTL_VUIDSFORMAT;
1427d874057dimextern unsigned IOCTL_VUIDGFORMAT;
1428d874057dimextern unsigned IOCTL_STICIO_GXINFO;
1429d874057dimextern unsigned IOCTL_STICIO_RESET;
1430d874057dimextern unsigned IOCTL_STICIO_STARTQ;
1431d874057dimextern unsigned IOCTL_STICIO_STOPQ;
1432d874057dimextern unsigned IOCTL_UKYOPON_IDENTIFY;
1433d874057dimextern unsigned IOCTL_URIO_SEND_COMMAND;
1434d874057dimextern unsigned IOCTL_URIO_RECV_COMMAND;
1435d874057dimextern unsigned IOCTL_USB_REQUEST;
1436d874057dimextern unsigned IOCTL_USB_SETDEBUG;
1437d874057dimextern unsigned IOCTL_USB_DISCOVER;
1438d874057dimextern unsigned IOCTL_USB_DEVICEINFO;
1439d874057dimextern unsigned IOCTL_USB_DEVICEINFO_OLD;
1440d874057dimextern unsigned IOCTL_USB_DEVICESTATS;
1441d874057dimextern unsigned IOCTL_USB_GET_REPORT_DESC;
1442d874057dimextern unsigned IOCTL_USB_SET_IMMED;
1443d874057dimextern unsigned IOCTL_USB_GET_REPORT;
1444d874057dimextern unsigned IOCTL_USB_SET_REPORT;
1445d874057dimextern unsigned IOCTL_USB_GET_REPORT_ID;
1446d874057dimextern unsigned IOCTL_USB_GET_CONFIG;
1447d874057dimextern unsigned IOCTL_USB_SET_CONFIG;
1448d874057dimextern unsigned IOCTL_USB_GET_ALTINTERFACE;
1449d874057dimextern unsigned IOCTL_USB_SET_ALTINTERFACE;
1450d874057dimextern unsigned IOCTL_USB_GET_NO_ALT;
1451d874057dimextern unsigned IOCTL_USB_GET_DEVICE_DESC;
1452d874057dimextern unsigned IOCTL_USB_GET_CONFIG_DESC;
1453d874057dimextern unsigned IOCTL_USB_GET_INTERFACE_DESC;
1454d874057dimextern unsigned IOCTL_USB_GET_ENDPOINT_DESC;
1455d874057dimextern unsigned IOCTL_USB_GET_FULL_DESC;
1456d874057dimextern unsigned IOCTL_USB_GET_STRING_DESC;
1457d874057dimextern unsigned IOCTL_USB_DO_REQUEST;
1458d874057dimextern unsigned IOCTL_USB_GET_DEVICEINFO;
1459d874057dimextern unsigned IOCTL_USB_GET_DEVICEINFO_OLD;
1460d874057dimextern unsigned IOCTL_USB_SET_SHORT_XFER;
1461d874057dimextern unsigned IOCTL_USB_SET_TIMEOUT;
1462d874057dimextern unsigned IOCTL_USB_SET_BULK_RA;
1463d874057dimextern unsigned IOCTL_USB_SET_BULK_WB;
1464d874057dimextern unsigned IOCTL_USB_SET_BULK_RA_OPT;
1465d874057dimextern unsigned IOCTL_USB_SET_BULK_WB_OPT;
1466d874057dimextern unsigned IOCTL_USB_GET_CM_OVER_DATA;
1467d874057dimextern unsigned IOCTL_USB_SET_CM_OVER_DATA;
1468d874057dimextern unsigned IOCTL_UTOPPYIOTURBO;
1469d874057dimextern unsigned IOCTL_UTOPPYIOCANCEL;
1470d874057dimextern unsigned IOCTL_UTOPPYIOREBOOT;
1471d874057dimextern unsigned IOCTL_UTOPPYIOSTATS;
1472d874057dimextern unsigned IOCTL_UTOPPYIORENAME;
1473d874057dimextern unsigned IOCTL_UTOPPYIOMKDIR;
1474d874057dimextern unsigned IOCTL_UTOPPYIODELETE;
1475d874057dimextern unsigned IOCTL_UTOPPYIOREADDIR;
1476d874057dimextern unsigned IOCTL_UTOPPYIOREADFILE;
1477d874057dimextern unsigned IOCTL_UTOPPYIOWRITEFILE;
1478d874057dimextern unsigned IOCTL_DIOSXDCMD;
1479d874057dimextern unsigned IOCTL_VT_OPENQRY;
1480d874057dimextern unsigned IOCTL_VT_SETMODE;
1481d874057dimextern unsigned IOCTL_VT_GETMODE;
1482d874057dimextern unsigned IOCTL_VT_RELDISP;
1483d874057dimextern unsigned IOCTL_VT_ACTIVATE;
1484d874057dimextern unsigned IOCTL_VT_WAITACTIVE;
1485d874057dimextern unsigned IOCTL_VT_GETACTIVE;
1486d874057dimextern unsigned IOCTL_VT_GETSTATE;
1487d874057dimextern unsigned IOCTL_KDGETKBENT;
1488d874057dimextern unsigned IOCTL_KDGKBMODE;
1489d874057dimextern unsigned IOCTL_KDSKBMODE;
1490d874057dimextern unsigned IOCTL_KDMKTONE;
1491d874057dimextern unsigned IOCTL_KDSETMODE;
1492d874057dimextern unsigned IOCTL_KDENABIO;
1493d874057dimextern unsigned IOCTL_KDDISABIO;
1494d874057dimextern unsigned IOCTL_KDGKBTYPE;
1495d874057dimextern unsigned IOCTL_KDGETLED;
1496d874057dimextern unsigned IOCTL_KDSETLED;
1497d874057dimextern unsigned IOCTL_KDSETRAD;
1498d874057dimextern unsigned IOCTL_VGAPCVTID;
1499d874057dimextern unsigned IOCTL_CONS_GETVERS;
1500d874057dimextern unsigned IOCTL_WSKBDIO_GTYPE;
1501d874057dimextern unsigned IOCTL_WSKBDIO_BELL;
1502d874057dimextern unsigned IOCTL_WSKBDIO_COMPLEXBELL;
1503d874057dimextern unsigned IOCTL_WSKBDIO_SETBELL;
1504d874057dimextern unsigned IOCTL_WSKBDIO_GETBELL;
1505d874057dimextern unsigned IOCTL_WSKBDIO_SETDEFAULTBELL;
1506d874057dimextern unsigned IOCTL_WSKBDIO_GETDEFAULTBELL;
1507d874057dimextern unsigned IOCTL_WSKBDIO_SETKEYREPEAT;
1508d874057dimextern unsigned IOCTL_WSKBDIO_GETKEYREPEAT;
1509d874057dimextern unsigned IOCTL_WSKBDIO_SETDEFAULTKEYREPEAT;
1510d874057dimextern unsigned IOCTL_WSKBDIO_GETDEFAULTKEYREPEAT;
1511d874057dimextern unsigned IOCTL_WSKBDIO_SETLEDS;
1512d874057dimextern unsigned IOCTL_WSKBDIO_GETLEDS;
1513d874057dimextern unsigned IOCTL_WSKBDIO_GETMAP;
1514d874057dimextern unsigned IOCTL_WSKBDIO_SETMAP;
1515d874057dimextern unsigned IOCTL_WSKBDIO_GETENCODING;
1516d874057dimextern unsigned IOCTL_WSKBDIO_SETENCODING;
1517d874057dimextern unsigned IOCTL_WSKBDIO_SETMODE;
1518d874057dimextern unsigned IOCTL_WSKBDIO_GETMODE;
1519d874057dimextern unsigned IOCTL_WSKBDIO_SETKEYCLICK;
1520d874057dimextern unsigned IOCTL_WSKBDIO_GETKEYCLICK;
1521d874057dimextern unsigned IOCTL_WSKBDIO_GETSCROLL;
1522d874057dimextern unsigned IOCTL_WSKBDIO_SETSCROLL;
1523d874057dimextern unsigned IOCTL_WSKBDIO_SETVERSION;
1524d874057dimextern unsigned IOCTL_WSMOUSEIO_GTYPE;
1525d874057dimextern unsigned IOCTL_WSMOUSEIO_SRES;
1526d874057dimextern unsigned IOCTL_WSMOUSEIO_SSCALE;
1527d874057dimextern unsigned IOCTL_WSMOUSEIO_SRATE;
1528d874057dimextern unsigned IOCTL_WSMOUSEIO_SCALIBCOORDS;
1529d874057dimextern unsigned IOCTL_WSMOUSEIO_GCALIBCOORDS;
1530d874057dimextern unsigned IOCTL_WSMOUSEIO_GETID;
1531d874057dimextern unsigned IOCTL_WSMOUSEIO_GETREPEAT;
1532d874057dimextern unsigned IOCTL_WSMOUSEIO_SETREPEAT;
1533d874057dimextern unsigned IOCTL_WSMOUSEIO_SETVERSION;
1534d874057dimextern unsigned IOCTL_WSDISPLAYIO_GTYPE;
1535d874057dimextern unsigned IOCTL_WSDISPLAYIO_GINFO;
1536d874057dimextern unsigned IOCTL_WSDISPLAYIO_GETCMAP;
1537d874057dimextern unsigned IOCTL_WSDISPLAYIO_PUTCMAP;
1538d874057dimextern unsigned IOCTL_WSDISPLAYIO_GVIDEO;
1539d874057dimextern unsigned IOCTL_WSDISPLAYIO_SVIDEO;
1540d874057dimextern unsigned IOCTL_WSDISPLAYIO_GCURPOS;
1541d874057dimextern unsigned IOCTL_WSDISPLAYIO_SCURPOS;
1542d874057dimextern unsigned IOCTL_WSDISPLAYIO_GCURMAX;
1543d874057dimextern unsigned IOCTL_WSDISPLAYIO_GCURSOR;
1544d874057dimextern unsigned IOCTL_WSDISPLAYIO_SCURSOR;
1545d874057dimextern unsigned IOCTL_WSDISPLAYIO_GMODE;
1546d874057dimextern unsigned IOCTL_WSDISPLAYIO_SMODE;
1547d874057dimextern unsigned IOCTL_WSDISPLAYIO_LDFONT;
1548d874057dimextern unsigned IOCTL_WSDISPLAYIO_ADDSCREEN;
1549d874057dimextern unsigned IOCTL_WSDISPLAYIO_DELSCREEN;
1550d874057dimextern unsigned IOCTL_WSDISPLAYIO_SFONT;
1551d874057dimextern unsigned IOCTL__O_WSDISPLAYIO_SETKEYBOARD;
1552d874057dimextern unsigned IOCTL_WSDISPLAYIO_GETPARAM;
1553d874057dimextern unsigned IOCTL_WSDISPLAYIO_SETPARAM;
1554d874057dimextern unsigned IOCTL_WSDISPLAYIO_GETACTIVESCREEN;
1555d874057dimextern unsigned IOCTL_WSDISPLAYIO_GETWSCHAR;
1556d874057dimextern unsigned IOCTL_WSDISPLAYIO_PUTWSCHAR;
1557d874057dimextern unsigned IOCTL_WSDISPLAYIO_DGSCROLL;
1558d874057dimextern unsigned IOCTL_WSDISPLAYIO_DSSCROLL;
1559d874057dimextern unsigned IOCTL_WSDISPLAYIO_GMSGATTRS;
1560d874057dimextern unsigned IOCTL_WSDISPLAYIO_SMSGATTRS;
1561d874057dimextern unsigned IOCTL_WSDISPLAYIO_GBORDER;
1562d874057dimextern unsigned IOCTL_WSDISPLAYIO_SBORDER;
1563d874057dimextern unsigned IOCTL_WSDISPLAYIO_SSPLASH;
1564d874057dimextern unsigned IOCTL_WSDISPLAYIO_SPROGRESS;
1565d874057dimextern unsigned IOCTL_WSDISPLAYIO_LINEBYTES;
1566d874057dimextern unsigned IOCTL_WSDISPLAYIO_SETVERSION;
1567d874057dimextern unsigned IOCTL_WSMUXIO_ADD_DEVICE;
1568d874057dimextern unsigned IOCTL_WSMUXIO_REMOVE_DEVICE;
1569d874057dimextern unsigned IOCTL_WSMUXIO_LIST_DEVICES;
1570d874057dimextern unsigned IOCTL_WSMUXIO_INJECTEVENT;
1571d874057dimextern unsigned IOCTL_WSDISPLAYIO_GET_BUSID;
1572d874057dimextern unsigned IOCTL_WSDISPLAYIO_GET_EDID;
1573d874057dimextern unsigned IOCTL_WSDISPLAYIO_SET_POLLING;
1574d874057dimextern unsigned IOCTL_WSDISPLAYIO_GET_FBINFO;
1575d874057dimextern unsigned IOCTL_WSDISPLAYIO_DOBLIT;
1576d874057dimextern unsigned IOCTL_WSDISPLAYIO_WAITBLIT;
1577d874057dimextern unsigned IOCTL_BIOCLOCATE;
1578d874057dimextern unsigned IOCTL_BIOCINQ;
1579d874057dimextern unsigned IOCTL_BIOCDISK_NOVOL;
1580d874057dimextern unsigned IOCTL_BIOCDISK;
1581d874057dimextern unsigned IOCTL_BIOCVOL;
1582d874057dimextern unsigned IOCTL_BIOCALARM;
1583d874057dimextern unsigned IOCTL_BIOCBLINK;
1584d874057dimextern unsigned IOCTL_BIOCSETSTATE;
1585d874057dimextern unsigned IOCTL_BIOCVOLOPS;
1586d874057dimextern unsigned IOCTL_MD_GETCONF;
1587d874057dimextern unsigned IOCTL_MD_SETCONF;
1588d874057dimextern unsigned IOCTL_CCDIOCSET;
1589d874057dimextern unsigned IOCTL_CCDIOCCLR;
1590d874057dimextern unsigned IOCTL_CGDIOCSET;
1591d874057dimextern unsigned IOCTL_CGDIOCCLR;
1592d874057dimextern unsigned IOCTL_CGDIOCGET;
1593d874057dimextern unsigned IOCTL_FSSIOCSET;
1594d874057dimextern unsigned IOCTL_FSSIOCGET;
1595d874057dimextern unsigned IOCTL_FSSIOCCLR;
1596d874057dimextern unsigned IOCTL_FSSIOFSET;
1597d874057dimextern unsigned IOCTL_FSSIOFGET;
1598d874057dimextern unsigned IOCTL_BTDEV_ATTACH;
1599d874057dimextern unsigned IOCTL_BTDEV_DETACH;
1600d874057dimextern unsigned IOCTL_BTSCO_GETINFO;
1601d874057dimextern unsigned IOCTL_KTTCP_IO_SEND;
1602d874057dimextern unsigned IOCTL_KTTCP_IO_RECV;
1603d874057dimextern unsigned IOCTL_IOC_LOCKSTAT_GVERSION;
1604d874057dimextern unsigned IOCTL_IOC_LOCKSTAT_ENABLE;
1605d874057dimextern unsigned IOCTL_IOC_LOCKSTAT_DISABLE;
1606d874057dimextern unsigned IOCTL_VNDIOCSET;
1607d874057dimextern unsigned IOCTL_VNDIOCCLR;
1608d874057dimextern unsigned IOCTL_VNDIOCGET;
1609d874057dimextern unsigned IOCTL_SPKRTONE;
1610d874057dimextern unsigned IOCTL_SPKRTUNE;
1611d874057dimextern unsigned IOCTL_SPKRGETVOL;
1612d874057dimextern unsigned IOCTL_SPKRSETVOL;
1613d874057dim#if defined(__x86_64__)
1614d874057dimextern unsigned IOCTL_NVMM_IOC_CAPABILITY;
1615d874057dimextern unsigned IOCTL_NVMM_IOC_MACHINE_CREATE;
1616d874057dimextern unsigned IOCTL_NVMM_IOC_MACHINE_DESTROY;
1617d874057dimextern unsigned IOCTL_NVMM_IOC_MACHINE_CONFIGURE;
1618d874057dimextern unsigned IOCTL_NVMM_IOC_VCPU_CREATE;
1619d874057dimextern unsigned IOCTL_NVMM_IOC_VCPU_DESTROY;
1620332da66dimextern unsigned IOCTL_NVMM_IOC_VCPU_CONFIGURE;
1621d874057dimextern unsigned IOCTL_NVMM_IOC_VCPU_SETSTATE;
1622d874057dimextern unsigned IOCTL_NVMM_IOC_VCPU_GETSTATE;
1623d874057dimextern unsigned IOCTL_NVMM_IOC_VCPU_INJECT;
1624d874057dimextern unsigned IOCTL_NVMM_IOC_VCPU_RUN;
1625d874057dimextern unsigned IOCTL_NVMM_IOC_GPA_MAP;
1626d874057dimextern unsigned IOCTL_NVMM_IOC_GPA_UNMAP;
1627d874057dimextern unsigned IOCTL_NVMM_IOC_HVA_MAP;
1628d874057dimextern unsigned IOCTL_NVMM_IOC_HVA_UNMAP;
1629d874057dimextern unsigned IOCTL_NVMM_IOC_CTL;
1630d874057dim#endif
1631d874057dimextern unsigned IOCTL_AUTOFSREQUEST;
1632d874057dimextern unsigned IOCTL_AUTOFSDONE;
1633d874057dimextern unsigned IOCTL_BIOCGBLEN;
1634d874057dimextern unsigned IOCTL_BIOCSBLEN;
1635d874057dimextern unsigned IOCTL_BIOCSETF;
1636d874057dimextern unsigned IOCTL_BIOCFLUSH;
1637d874057dimextern unsigned IOCTL_BIOCPROMISC;
1638d874057dimextern unsigned IOCTL_BIOCGDLT;
1639d874057dimextern unsigned IOCTL_BIOCGETIF;
1640d874057dimextern unsigned IOCTL_BIOCSETIF;
1641d874057dimextern unsigned IOCTL_BIOCGSTATS;
1642d874057dimextern unsigned IOCTL_BIOCGSTATSOLD;
1643d874057dimextern unsigned IOCTL_BIOCIMMEDIATE;
1644d874057dimextern unsigned IOCTL_BIOCVERSION;
1645d874057dimextern unsigned IOCTL_BIOCSTCPF;
1646d874057dimextern unsigned IOCTL_BIOCSUDPF;
1647d874057dimextern unsigned IOCTL_BIOCGHDRCMPLT;
1648d874057dimextern unsigned IOCTL_BIOCSHDRCMPLT;
1649d874057dimextern unsigned IOCTL_BIOCSDLT;
1650d874057dimextern unsigned IOCTL_BIOCGDLTLIST;
1651d874057dimextern unsigned IOCTL_BIOCGDIRECTION;
1652d874057dimextern unsigned IOCTL_BIOCSDIRECTION;
1653d874057dimextern unsigned IOCTL_BIOCSRTIMEOUT;
1654d874057dimextern unsigned IOCTL_BIOCGRTIMEOUT;
1655d874057dimextern unsigned IOCTL_BIOCGFEEDBACK;
1656d874057dimextern unsigned IOCTL_BIOCSFEEDBACK;
1657d874057dimextern unsigned IOCTL_GRESADDRS;
1658d874057dimextern unsigned IOCTL_GRESADDRD;
1659d874057dimextern unsigned IOCTL_GREGADDRS;
1660d874057dimextern unsigned IOCTL_GREGADDRD;
1661d874057dimextern unsigned IOCTL_GRESPROTO;
1662d874057dimextern unsigned IOCTL_GREGPROTO;
1663d874057dimextern unsigned IOCTL_GRESSOCK;
1664d874057dimextern unsigned IOCTL_GREDSOCK;
1665d874057dimextern unsigned IOCTL_PPPIOCGRAWIN;
1666d874057dimextern unsigned IOCTL_PPPIOCGFLAGS;
1667d874057dimextern unsigned IOCTL_PPPIOCSFLAGS;
1668d874057dimextern unsigned IOCTL_PPPIOCGASYNCMAP;
1669d874057dimextern unsigned IOCTL_PPPIOCSASYNCMAP;
1670d874057dimextern unsigned IOCTL_PPPIOCGUNIT;
1671d874057dimextern unsigned IOCTL_PPPIOCGRASYNCMAP;
1672d874057dimextern unsigned IOCTL_PPPIOCSRASYNCMAP;
1673d874057dimextern unsigned IOCTL_PPPIOCGMRU;
1674d874057dimextern unsigned IOCTL_PPPIOCSMRU;
1675d874057dimextern unsigned IOCTL_PPPIOCSMAXCID;
1676d874057dimextern unsigned IOCTL_PPPIOCGXASYNCMAP;
1677d874057dimextern unsigned IOCTL_PPPIOCSXASYNCMAP;
1678d874057dimextern unsigned IOCTL_PPPIOCXFERUNIT;
1679d874057dimextern unsigned IOCTL_PPPIOCSCOMPRESS;
1680d874057dimextern unsigned IOCTL_PPPIOCGNPMODE;
1681d874057dimextern unsigned IOCTL_PPPIOCSNPMODE;
1682d874057dimextern unsigned IOCTL_PPPIOCGIDLE;
1683d874057dimextern unsigned IOCTL_PPPIOCGMTU;
1684d874057dimextern unsigned IOCTL_PPPIOCSMTU;
1685d874057dimextern unsigned IOCTL_SIOCGPPPSTATS;
1686d874057dimextern unsigned IOCTL_SIOCGPPPCSTATS;
1687d874057dimextern unsigned IOCTL_IOC_NPF_VERSION;
1688d874057dimextern unsigned IOCTL_IOC_NPF_SWITCH;
1689d874057dimextern unsigned IOCTL_IOC_NPF_LOAD;
1690d874057dimextern unsigned IOCTL_IOC_NPF_TABLE;
1691d874057dimextern unsigned IOCTL_IOC_NPF_STATS;
1692d874057dimextern unsigned IOCTL_IOC_NPF_SAVE;
1693d874057dimextern unsigned IOCTL_IOC_NPF_RULE;
1694d874057dimextern unsigned IOCTL_IOC_NPF_CONN_LOOKUP;
1695332da66dimextern unsigned IOCTL_IOC_NPF_TABLE_REPLACE;
1696d874057dimextern unsigned IOCTL_PPPOESETPARMS;
1697d874057dimextern unsigned IOCTL_PPPOEGETPARMS;
1698d874057dimextern unsigned IOCTL_PPPOEGETSESSION;
1699d874057dimextern unsigned IOCTL_SPPPGETAUTHCFG;
1700d874057dimextern unsigned IOCTL_SPPPSETAUTHCFG;
1701d874057dimextern unsigned IOCTL_SPPPGETLCPCFG;
1702d874057dimextern unsigned IOCTL_SPPPSETLCPCFG;
1703d874057dimextern unsigned IOCTL_SPPPGETSTATUS;
1704d874057dimextern unsigned IOCTL_SPPPGETSTATUSNCP;
1705d874057dimextern unsigned IOCTL_SPPPGETIDLETO;
1706d874057dimextern unsigned IOCTL_SPPPSETIDLETO;
1707d874057dimextern unsigned IOCTL_SPPPGETAUTHFAILURES;
1708d874057dimextern unsigned IOCTL_SPPPSETAUTHFAILURE;
1709d874057dimextern unsigned IOCTL_SPPPSETDNSOPTS;
1710d874057dimextern unsigned IOCTL_SPPPGETDNSOPTS;
1711d874057dimextern unsigned IOCTL_SPPPGETDNSADDRS;
1712d874057dimextern unsigned IOCTL_SPPPSETKEEPALIVE;
1713d874057dimextern unsigned IOCTL_SPPPGETKEEPALIVE;
1714d874057dimextern unsigned IOCTL_SRT_GETNRT;
1715d874057dimextern unsigned IOCTL_SRT_GETRT;
1716d874057dimextern unsigned IOCTL_SRT_SETRT;
1717d874057dimextern unsigned IOCTL_SRT_DELRT;
1718d874057dimextern unsigned IOCTL_SRT_SFLAGS;
1719d874057dimextern unsigned IOCTL_SRT_GFLAGS;
1720d874057dimextern unsigned IOCTL_SRT_SGFLAGS;
1721d874057dimextern unsigned IOCTL_SRT_DEBUG;
1722d874057dimextern unsigned IOCTL_TAPGIFNAME;
1723d874057dimextern unsigned IOCTL_TUNSDEBUG;
1724d874057dimextern unsigned IOCTL_TUNGDEBUG;
1725d874057dimextern unsigned IOCTL_TUNSIFMODE;
1726d874057dimextern unsigned IOCTL_TUNSLMODE;
1727d874057dimextern unsigned IOCTL_TUNSIFHEAD;
1728d874057dimextern unsigned IOCTL_TUNGIFHEAD;
1729d874057dimextern unsigned IOCTL_DIOCSTART;
1730d874057dimextern unsigned IOCTL_DIOCSTOP;
1731d874057dimextern unsigned IOCTL_DIOCADDRULE;
1732d874057dimextern unsigned IOCTL_DIOCGETRULES;
1733d874057dimextern unsigned IOCTL_DIOCGETRULE;
1734d874057dimextern unsigned IOCTL_DIOCSETLCK;
1735d874057dimextern unsigned IOCTL_DIOCCLRSTATES;
1736d874057dimextern unsigned IOCTL_DIOCGETSTATE;
1737d874057dimextern unsigned IOCTL_DIOCSETSTATUSIF;
1738d874057dimextern unsigned IOCTL_DIOCGETSTATUS;
1739d874057dimextern unsigned IOCTL_DIOCCLRSTATUS;
1740d874057dimextern unsigned IOCTL_DIOCNATLOOK;
1741d874057dimextern unsigned IOCTL_DIOCSETDEBUG;
1742d874057dimextern unsigned IOCTL_DIOCGETSTATES;
1743d874057dimextern unsigned IOCTL_DIOCCHANGERULE;
1744d874057dimextern unsigned IOCTL_DIOCSETTIMEOUT;
1745d874057dimextern unsigned IOCTL_DIOCGETTIMEOUT;
1746d874057dimextern unsigned IOCTL_DIOCADDSTATE;
1747d874057dimextern unsigned IOCTL_DIOCCLRRULECTRS;
1748d874057dimextern unsigned IOCTL_DIOCGETLIMIT;
1749d874057dimextern unsigned IOCTL_DIOCSETLIMIT;
1750d874057dimextern unsigned IOCTL_DIOCKILLSTATES;
1751d874057dimextern unsigned IOCTL_DIOCSTARTALTQ;
1752d874057dimextern unsigned IOCTL_DIOCSTOPALTQ;
1753d874057dimextern unsigned IOCTL_DIOCADDALTQ;
1754d874057dimextern unsigned IOCTL_DIOCGETALTQS;
1755d874057dimextern unsigned IOCTL_DIOCGETALTQ;
1756d874057dimextern unsigned IOCTL_DIOCCHANGEALTQ;
1757d874057dimextern unsigned IOCTL_DIOCGETQSTATS;
1758d874057dimextern unsigned IOCTL_DIOCBEGINADDRS;
1759d874057dimextern unsigned IOCTL_DIOCADDADDR;
1760d874057dimextern unsigned IOCTL_DIOCGETADDRS;
1761d874057dimextern unsigned IOCTL_DIOCGETADDR;
1762d874057dimextern unsigned IOCTL_DIOCCHANGEADDR;
1763d874057dimextern unsigned IOCTL_DIOCADDSTATES;
1764d874057dimextern unsigned IOCTL_DIOCGETRULESETS;
1765d874057dimextern unsigned IOCTL_DIOCGETRULESET;
1766d874057dimextern unsigned IOCTL_DIOCRCLRTABLES;
1767d874057dimextern unsigned IOCTL_DIOCRADDTABLES;
1768d874057dimextern unsigned IOCTL_DIOCRDELTABLES;
1769d874057dimextern unsigned IOCTL_DIOCRGETTABLES;
1770d874057dimextern unsigned IOCTL_DIOCRGETTSTATS;
1771d874057dimextern unsigned IOCTL_DIOCRCLRTSTATS;
1772d874057dimextern unsigned IOCTL_DIOCRCLRADDRS;
1773d874057dimextern unsigned IOCTL_DIOCRADDADDRS;
1774d874057dimextern unsigned IOCTL_DIOCRDELADDRS;
1775d874057dimextern unsigned IOCTL_DIOCRSETADDRS;
1776d874057dimextern unsigned IOCTL_DIOCRGETADDRS;
1777d874057dimextern unsigned IOCTL_DIOCRGETASTATS;
1778d874057dimextern unsigned IOCTL_DIOCRCLRASTATS;
1779d874057dimextern unsigned IOCTL_DIOCRTSTADDRS;
1780d874057dimextern unsigned IOCTL_DIOCRSETTFLAGS;
1781d874057dimextern unsigned IOCTL_DIOCRINADEFINE;
1782d874057dimextern unsigned IOCTL_DIOCOSFPFLUSH;
1783d874057dimextern unsigned IOCTL_DIOCOSFPADD;
1784d874057dimextern unsigned IOCTL_DIOCOSFPGET;
1785d874057dimextern unsigned IOCTL_DIOCXBEGIN;
1786d874057dimextern unsigned IOCTL_DIOCXCOMMIT;
1787d874057dimextern unsigned IOCTL_DIOCXROLLBACK;
1788d874057dimextern unsigned IOCTL_DIOCGETSRCNODES;
1789d874057dimextern unsigned IOCTL_DIOCCLRSRCNODES;
1790d874057dimextern unsigned IOCTL_DIOCSETHOSTID;
1791d874057dimextern unsigned IOCTL_DIOCIGETIFACES;
1792d874057dimextern unsigned IOCTL_DIOCSETIFFLAG;
1793d874057dimextern unsigned IOCTL_DIOCCLRIFFLAG;
1794d874057dimextern unsigned IOCTL_DIOCKILLSRCNODES;
1795d874057dimextern unsigned IOCTL_SLIOCGUNIT;
1796d874057dimextern unsigned IOCTL_SIOCGBTINFO;
1797d874057dimextern unsigned IOCTL_SIOCGBTINFOA;
1798d874057dimextern unsigned IOCTL_SIOCNBTINFO;
1799d874057dimextern unsigned IOCTL_SIOCSBTFLAGS;
1800d874057dimextern unsigned IOCTL_SIOCSBTPOLICY;
1801d874057dimextern unsigned IOCTL_SIOCSBTPTYPE;
1802d874057dimextern unsigned IOCTL_SIOCGBTSTATS;
1803d874057dimextern unsigned IOCTL_SIOCZBTSTATS;
1804d874057dimextern unsigned IOCTL_SIOCBTDUMP;
1805d874057dimextern unsigned IOCTL_SIOCSBTSCOMTU;
1806d874057dimextern unsigned IOCTL_SIOCGBTFEAT;
1807d874057dimextern unsigned IOCTL_SIOCADNAT;
1808d874057dimextern unsigned IOCTL_SIOCRMNAT;
1809d874057dimextern unsigned IOCTL_SIOCGNATS;
1810d874057dimextern unsigned IOCTL_SIOCGNATL;
1811d874057dimextern unsigned IOCTL_SIOCPURGENAT;
1812d874057dimextern unsigned IOCTL_SIOCCONNECTX;
1813d874057dimextern unsigned IOCTL_SIOCCONNECTXDEL;
1814d874057dimextern unsigned IOCTL_SIOCSIFINFO_FLAGS;
1815d874057dimextern unsigned IOCTL_SIOCAADDRCTL_POLICY;
1816d874057dimextern unsigned IOCTL_SIOCDADDRCTL_POLICY;
1817d874057dimextern unsigned IOCTL_SMBIOC_OPENSESSION;
1818d874057dimextern unsigned IOCTL_SMBIOC_OPENSHARE;
1819d874057dimextern unsigned IOCTL_SMBIOC_REQUEST;
1820d874057dimextern unsigned IOCTL_SMBIOC_SETFLAGS;
1821d874057dimextern unsigned IOCTL_SMBIOC_LOOKUP;
1822d874057dimextern unsigned IOCTL_SMBIOC_READ;
1823d874057dimextern unsigned IOCTL_SMBIOC_WRITE;
1824d874057dimextern unsigned IOCTL_AGPIOC_INFO;
1825d874057dimextern unsigned IOCTL_AGPIOC_ACQUIRE;
1826d874057dimextern unsigned IOCTL_AGPIOC_RELEASE;
1827d874057dimextern unsigned IOCTL_AGPIOC_SETUP;
1828d874057dimextern unsigned IOCTL_AGPIOC_ALLOCATE;
1829d874057dimextern unsigned IOCTL_AGPIOC_DEALLOCATE;
1830d874057dimextern unsigned IOCTL_AGPIOC_BIND;
1831d874057dimextern unsigned IOCTL_AGPIOC_UNBIND;
1832d874057dimextern unsigned IOCTL_AUDIO_GETINFO;
1833d874057dimextern unsigned IOCTL_AUDIO_SETINFO;
1834d874057dimextern unsigned IOCTL_AUDIO_DRAIN;
1835d874057dimextern unsigned IOCTL_AUDIO_FLUSH;
1836d874057dimextern unsigned IOCTL_AUDIO_WSEEK;
1837d874057dimextern unsigned IOCTL_AUDIO_RERROR;
1838d874057dimextern unsigned IOCTL_AUDIO_GETDEV;
1839d874057dimextern unsigned IOCTL_AUDIO_GETENC;
1840d874057dimextern unsigned IOCTL_AUDIO_GETFD;
1841d874057dimextern unsigned IOCTL_AUDIO_SETFD;
1842d874057dimextern unsigned IOCTL_AUDIO_PERROR;
1843d874057dimextern unsigned IOCTL_AUDIO_GETIOFFS;
1844d874057dimextern unsigned IOCTL_AUDIO_GETOOFFS;
1845d874057dimextern unsigned IOCTL_AUDIO_GETPROPS;
1846d874057dimextern unsigned IOCTL_AUDIO_GETBUFINFO;
1847d874057dimextern unsigned IOCTL_AUDIO_SETCHAN;
1848d874057dimextern unsigned IOCTL_AUDIO_GETCHAN;
1849d874057dimextern unsigned IOCTL_AUDIO_QUERYFORMAT;
1850d874057dimextern unsigned IOCTL_AUDIO_GETFORMAT;
1851d874057dimextern unsigned IOCTL_AUDIO_SETFORMAT;
1852d874057dimextern unsigned IOCTL_AUDIO_MIXER_READ;
1853d874057dimextern unsigned IOCTL_AUDIO_MIXER_WRITE;
1854d874057dimextern unsigned IOCTL_AUDIO_MIXER_DEVINFO;
1855d874057dimextern unsigned IOCTL_ATAIOCCOMMAND;
1856d874057dimextern unsigned IOCTL_ATABUSIOSCAN;
1857d874057dimextern unsigned IOCTL_ATABUSIORESET;
1858d874057dimextern unsigned IOCTL_ATABUSIODETACH;
1859d874057dimextern unsigned IOCTL_CDIOCPLAYTRACKS;
1860d874057dimextern unsigned IOCTL_CDIOCPLAYBLOCKS;
1861d874057dimextern unsigned IOCTL_CDIOCREADSUBCHANNEL;
1862d874057dimextern unsigned IOCTL_CDIOREADTOCHEADER;
1863d874057dimextern unsigned IOCTL_CDIOREADTOCENTRIES;
1864d874057dimextern unsigned IOCTL_CDIOREADMSADDR;
1865d874057dimextern unsigned IOCTL_CDIOCSETPATCH;
1866d874057dimextern unsigned IOCTL_CDIOCGETVOL;
1867d874057dimextern unsigned IOCTL_CDIOCSETVOL;
1868d874057dimextern unsigned IOCTL_CDIOCSETMONO;
1869d874057dimextern unsigned IOCTL_CDIOCSETSTEREO;
1870d874057dimextern unsigned IOCTL_CDIOCSETMUTE;
1871d874057dimextern unsigned IOCTL_CDIOCSETLEFT;
1872d874057dimextern unsigned IOCTL_CDIOCSETRIGHT;
1873d874057dimextern unsigned IOCTL_CDIOCSETDEBUG;
1874d874057dimextern unsigned IOCTL_CDIOCCLRDEBUG;
1875d874057dimextern unsigned IOCTL_CDIOCPAUSE;
1876d874057dimextern unsigned IOCTL_CDIOCRESUME;
1877d874057dimextern unsigned IOCTL_CDIOCRESET;
1878d874057dimextern unsigned IOCTL_CDIOCSTART;
1879d874057dimextern unsigned IOCTL_CDIOCSTOP;
1880d874057dimextern unsigned IOCTL_CDIOCEJECT;
1881d874057dimextern unsigned IOCTL_CDIOCALLOW;
1882d874057dimextern unsigned IOCTL_CDIOCPREVENT;
1883d874057dimextern unsigned IOCTL_CDIOCCLOSE;
1884d874057dimextern unsigned IOCTL_CDIOCPLAYMSF;
1885d874057dimextern unsigned IOCTL_CDIOCLOADUNLOAD;
1886d874057dimextern unsigned IOCTL_CHIOMOVE;
1887d874057dimextern unsigned IOCTL_CHIOEXCHANGE;
1888d874057dimextern unsigned IOCTL_CHIOPOSITION;
1889d874057dimextern unsigned IOCTL_CHIOGPICKER;
1890d874057dimextern unsigned IOCTL_CHIOSPICKER;
1891d874057dimextern unsigned IOCTL_CHIOGPARAMS;
1892d874057dimextern unsigned IOCTL_CHIOIELEM;
1893d874057dimextern unsigned IOCTL_OCHIOGSTATUS;
1894d874057dimextern unsigned IOCTL_CHIOGSTATUS;
1895d874057dimextern unsigned IOCTL_CHIOSVOLTAG;
1896d874057dimextern unsigned IOCTL_CLOCKCTL_SETTIMEOFDAY;
1897d874057dimextern unsigned IOCTL_CLOCKCTL_ADJTIME;
1898d874057dimextern unsigned IOCTL_CLOCKCTL_CLOCK_SETTIME;
1899d874057dimextern unsigned IOCTL_CLOCKCTL_NTP_ADJTIME;
1900d874057dimextern unsigned IOCTL_IOC_CPU_SETSTATE;
1901d874057dimextern unsigned IOCTL_IOC_CPU_GETSTATE;
1902d874057dimextern unsigned IOCTL_IOC_CPU_GETCOUNT;
1903d874057dimextern unsigned IOCTL_IOC_CPU_MAPID;
1904d874057dimextern unsigned IOCTL_IOC_CPU_UCODE_GET_VERSION;
1905d874057dimextern unsigned IOCTL_IOC_CPU_UCODE_APPLY;
1906d874057dimextern unsigned IOCTL_DIOCGDINFO;
1907d874057dimextern unsigned IOCTL_DIOCSDINFO;
1908d874057dimextern unsigned IOCTL_DIOCWDINFO;
1909d874057dimextern unsigned IOCTL_DIOCRFORMAT;
1910d874057dimextern unsigned IOCTL_DIOCWFORMAT;
1911d874057dimextern unsigned IOCTL_DIOCSSTEP;
1912d874057dimextern unsigned IOCTL_DIOCSRETRIES;
1913d874057dimextern unsigned IOCTL_DIOCKLABEL;
1914d874057dimextern unsigned IOCTL_DIOCWLABEL;
1915d874057dimextern unsigned IOCTL_DIOCSBAD;
1916d874057dimextern unsigned IOCTL_DIOCEJECT;
1917d874057dimextern unsigned IOCTL_ODIOCEJECT;
1918d874057dimextern unsigned IOCTL_DIOCLOCK;
1919d874057dimextern unsigned IOCTL_DIOCGDEFLABEL;
1920d874057dimextern unsigned IOCTL_DIOCCLRLABEL;
1921d874057dimextern unsigned IOCTL_DIOCGCACHE;
1922d874057dimextern unsigned IOCTL_DIOCSCACHE;
1923d874057dimextern unsigned IOCTL_DIOCCACHESYNC;
1924d874057dimextern unsigned IOCTL_DIOCBSLIST;
1925d874057dimextern unsigned IOCTL_DIOCBSFLUSH;
1926d874057dimextern unsigned IOCTL_DIOCAWEDGE;
1927d874057dimextern unsigned IOCTL_DIOCGWEDGEINFO;
1928d874057dimextern unsigned IOCTL_DIOCDWEDGE;
1929d874057dimextern unsigned IOCTL_DIOCLWEDGES;
1930d874057dimextern unsigned IOCTL_DIOCGSTRATEGY;
1931d874057dimextern unsigned IOCTL_DIOCSSTRATEGY;
1932d874057dimextern unsigned IOCTL_DIOCGDISKINFO;
1933d874057dimextern unsigned IOCTL_DIOCTUR;
1934d874057dimextern unsigned IOCTL_DIOCMWEDGES;
1935d874057dimextern unsigned IOCTL_DIOCGSECTORSIZE;
1936d874057dimextern unsigned IOCTL_DIOCGMEDIASIZE;
1937d874057dimextern unsigned IOCTL_DIOCRMWEDGES;
1938d874057dimextern unsigned IOCTL_DRVDETACHDEV;
1939d874057dimextern unsigned IOCTL_DRVRESCANBUS;
1940d874057dimextern unsigned IOCTL_DRVCTLCOMMAND;
1941d874057dimextern unsigned IOCTL_DRVRESUMEDEV;
1942d874057dimextern unsigned IOCTL_DRVLISTDEV;
1943d874057dimextern unsigned IOCTL_DRVGETEVENT;
1944d874057dimextern unsigned IOCTL_DRVSUSPENDDEV;
1945d874057dimextern unsigned IOCTL_DVD_READ_STRUCT;
1946d874057dimextern unsigned IOCTL_DVD_WRITE_STRUCT;
1947d874057dimextern unsigned IOCTL_DVD_AUTH;
1948d874057dimextern unsigned IOCTL_ENVSYS_GETDICTIONARY;
1949d874057dimextern unsigned IOCTL_ENVSYS_SETDICTIONARY;
1950d874057dimextern unsigned IOCTL_ENVSYS_REMOVEPROPS;
1951d874057dimextern unsigned IOCTL_ENVSYS_GTREDATA;
1952d874057dimextern unsigned IOCTL_ENVSYS_GTREINFO;
1953d874057dimextern unsigned IOCTL_KFILTER_BYFILTER;
1954d874057dimextern unsigned IOCTL_KFILTER_BYNAME;
1955d874057dimextern unsigned IOCTL_FDIOCGETOPTS;
1956d874057dimextern unsigned IOCTL_FDIOCSETOPTS;
1957d874057dimextern unsigned IOCTL_FDIOCSETFORMAT;
1958d874057dimextern unsigned IOCTL_FDIOCGETFORMAT;
1959d874057dimextern unsigned IOCTL_FDIOCFORMAT_TRACK;
1960d874057dimextern unsigned IOCTL_FIOCLEX;
1961d874057dimextern unsigned IOCTL_FIONCLEX;
1962d874057dimextern unsigned IOCTL_FIOSEEKDATA;
1963d874057dimextern unsigned IOCTL_FIOSEEKHOLE;
1964d874057dimextern unsigned IOCTL_FIONREAD;
1965d874057dimextern unsigned IOCTL_FIONBIO;
1966d874057dimextern unsigned IOCTL_FIOASYNC;
1967d874057dimextern unsigned IOCTL_FIOSETOWN;
1968d874057dimextern unsigned IOCTL_FIOGETOWN;
1969d874057dimextern unsigned IOCTL_OFIOGETBMAP;
1970d874057dimextern unsigned IOCTL_FIOGETBMAP;
1971d874057dimextern unsigned IOCTL_FIONWRITE;
1972d874057dimextern unsigned IOCTL_FIONSPACE;
1973d874057dimextern unsigned IOCTL_GPIOINFO;
1974d874057dimextern unsigned IOCTL_GPIOSET;
1975d874057dimextern unsigned IOCTL_GPIOUNSET;
1976d874057dimextern unsigned IOCTL_GPIOREAD;
1977d874057dimextern unsigned IOCTL_GPIOWRITE;
1978d874057dimextern unsigned IOCTL_GPIOTOGGLE;
1979d874057dimextern unsigned IOCTL_GPIOATTACH;
1980d874057dimextern unsigned IOCTL_PTIOCNETBSD;
1981d874057dimextern unsigned IOCTL_PTIOCSUNOS;
1982d874057dimextern unsigned IOCTL_PTIOCLINUX;
1983d874057dimextern unsigned IOCTL_PTIOCFREEBSD;
1984d874057dimextern unsigned IOCTL_PTIOCULTRIX;
1985d874057dimextern unsigned IOCTL_TIOCHPCL;
1986d874057dimextern unsigned IOCTL_TIOCGETP;
1987d874057dimextern unsigned IOCTL_TIOCSETP;
1988d874057dimextern unsigned IOCTL_TIOCSETN;
1989d874057dimextern unsigned IOCTL_TIOCSETC;
1990d874057dimextern unsigned IOCTL_TIOCGETC;
1991d874057dimextern unsigned IOCTL_TIOCLBIS;
1992d874057dimextern unsigned IOCTL_TIOCLBIC;
1993d874057dimextern unsigned IOCTL_TIOCLSET;
1994d874057dimextern unsigned IOCTL_TIOCLGET;
1995d874057dimextern unsigned IOCTL_TIOCSLTC;
1996d874057dimextern unsigned IOCTL_TIOCGLTC;
1997d874057dimextern unsigned IOCTL_OTIOCCONS;
1998d874057dimextern unsigned IOCTL_JOY_SETTIMEOUT;
1999d874057dimextern unsigned IOCTL_JOY_GETTIMEOUT;
2000d874057dimextern unsigned IOCTL_JOY_SET_X_OFFSET;
2001d874057dimextern unsigned IOCTL_JOY_SET_Y_OFFSET;
2002d874057dimextern unsigned IOCTL_JOY_GET_X_OFFSET;
2003d874057dimextern unsigned IOCTL_JOY_GET_Y_OFFSET;
2004d874057dimextern unsigned IOCTL_OKIOCGSYMBOL;
2005d874057dimextern unsigned IOCTL_OKIOCGVALUE;
2006d874057dimextern unsigned IOCTL_KIOCGSIZE;
2007d874057dimextern unsigned IOCTL_KIOCGVALUE;
2008d874057dimextern unsigned IOCTL_KIOCGSYMBOL;
2009d874057dimextern unsigned IOCTL_LUAINFO;
2010d874057dimextern unsigned IOCTL_LUACREATE;
2011d874057dimextern unsigned IOCTL_LUADESTROY;
2012d874057dimextern unsigned IOCTL_LUAREQUIRE;
2013d874057dimextern unsigned IOCTL_LUALOAD;
2014d874057dimextern unsigned IOCTL_MIDI_PRETIME;
2015d874057dimextern unsigned IOCTL_MIDI_MPUMODE;
2016d874057dimextern unsigned IOCTL_MIDI_MPUCMD;
2017d874057dimextern unsigned IOCTL_SEQUENCER_RESET;
2018d874057dimextern unsigned IOCTL_SEQUENCER_SYNC;
2019d874057dimextern unsigned IOCTL_SEQUENCER_INFO;
2020d874057dimextern unsigned IOCTL_SEQUENCER_CTRLRATE;
2021d874057dimextern unsigned IOCTL_SEQUENCER_GETOUTCOUNT;
2022d874057dimextern unsigned IOCTL_SEQUENCER_GETINCOUNT;
2023d874057dimextern unsigned IOCTL_SEQUENCER_RESETSAMPLES;
2024d874057dimextern unsigned IOCTL_SEQUENCER_NRSYNTHS;
2025d874057dimextern unsigned IOCTL_SEQUENCER_NRMIDIS;
2026d874057dimextern unsigned IOCTL_SEQUENCER_THRESHOLD;
2027d874057dimextern unsigned IOCTL_SEQUENCER_MEMAVL;
2028d874057dimextern unsigned IOCTL_SEQUENCER_PANIC;
2029d874057dimextern unsigned IOCTL_SEQUENCER_OUTOFBAND;
2030d874057dimextern unsigned IOCTL_SEQUENCER_GETTIME;
2031d874057dimextern unsigned IOCTL_SEQUENCER_TMR_TIMEBASE;
2032d874057dimextern unsigned IOCTL_SEQUENCER_TMR_START;
2033d874057dimextern unsigned IOCTL_SEQUENCER_TMR_STOP;
2034d874057dimextern unsigned IOCTL_SEQUENCER_TMR_CONTINUE;
2035d874057dimextern unsigned IOCTL_SEQUENCER_TMR_TEMPO;
2036d874057dimextern unsigned IOCTL_SEQUENCER_TMR_SOURCE;
2037d874057dimextern unsigned IOCTL_SEQUENCER_TMR_METRONOME;
2038d874057dimextern unsigned IOCTL_SEQUENCER_TMR_SELECT;
2039d874057dimextern unsigned IOCTL_SPI_IOCTL_CONFIGURE;
2040d874057dimextern unsigned IOCTL_SPI_IOCTL_TRANSFER;
2041d874057dimextern unsigned IOCTL_MTIOCTOP;
2042d874057dimextern unsigned IOCTL_MTIOCGET;
2043d874057dimextern unsigned IOCTL_MTIOCIEOT;
2044d874057dimextern unsigned IOCTL_MTIOCEEOT;
2045d874057dimextern unsigned IOCTL_MTIOCRDSPOS;
2046d874057dimextern unsigned IOCTL_MTIOCRDHPOS;
2047d874057dimextern unsigned IOCTL_MTIOCSLOCATE;
2048d874057dimextern unsigned IOCTL_MTIOCHLOCATE;
2049d874057dimextern unsigned IOCTL_POWER_EVENT_RECVDICT;
2050d874057dimextern unsigned IOCTL_POWER_IOC_GET_TYPE;
2051d874057dimextern unsigned IOCTL_RIOCGINFO;
2052d874057dimextern unsigned IOCTL_RIOCSINFO;
2053d874057dimextern unsigned IOCTL_RIOCSSRCH;
2054d874057dimextern unsigned IOCTL_RNDGETENTCNT;
2055d874057dimextern unsigned IOCTL_RNDGETSRCNUM;
2056d874057dimextern unsigned IOCTL_RNDGETSRCNAME;
2057d874057dimextern unsigned IOCTL_RNDCTL;
2058d874057dimextern unsigned IOCTL_RNDADDDATA;
2059d874057dimextern unsigned IOCTL_RNDGETPOOLSTAT;
2060d874057dimextern unsigned IOCTL_RNDGETESTNUM;
2061d874057dimextern unsigned IOCTL_RNDGETESTNAME;
2062d874057dimextern unsigned IOCTL_SCIOCGET;
2063d874057dimextern unsigned IOCTL_SCIOCSET;
2064d874057dimextern unsigned IOCTL_SCIOCRESTART;
2065d874057dimextern unsigned IOCTL_SCIOC_USE_ADF;
2066d874057dimextern unsigned IOCTL_SCIOCCOMMAND;
2067d874057dimextern unsigned IOCTL_SCIOCDEBUG;
2068d874057dimextern unsigned IOCTL_SCIOCIDENTIFY;
2069d874057dimextern unsigned IOCTL_OSCIOCIDENTIFY;
2070d874057dimextern unsigned IOCTL_SCIOCDECONFIG;
2071d874057dimextern unsigned IOCTL_SCIOCRECONFIG;
2072d874057dimextern unsigned IOCTL_SCIOCRESET;
2073d874057dimextern unsigned IOCTL_SCBUSIOSCAN;
2074d874057dimextern unsigned IOCTL_SCBUSIORESET;
2075d874057dimextern unsigned IOCTL_SCBUSIODETACH;
2076d874057dimextern unsigned IOCTL_SCBUSACCEL;
2077d874057dimextern unsigned IOCTL_SCBUSIOLLSCAN;
2078d874057dimextern unsigned IOCTL_SIOCSHIWAT;
2079d874057dimextern unsigned IOCTL_SIOCGHIWAT;
2080d874057dimextern unsigned IOCTL_SIOCSLOWAT;
2081d874057dimextern unsigned IOCTL_SIOCGLOWAT;
2082d874057dimextern unsigned IOCTL_SIOCATMARK;
2083d874057dimextern unsigned IOCTL_SIOCSPGRP;
2084d874057dimextern unsigned IOCTL_SIOCGPGRP;
2085d874057dimextern unsigned IOCTL_SIOCPEELOFF;
2086d874057dimextern unsigned IOCTL_SIOCADDRT;
2087d874057dimextern unsigned IOCTL_SIOCDELRT;
2088d874057dimextern unsigned IOCTL_SIOCSIFADDR;
2089d874057dimextern unsigned IOCTL_SIOCGIFADDR;
2090d874057dimextern unsigned IOCTL_SIOCSIFDSTADDR;
2091d874057dimextern unsigned IOCTL_SIOCGIFDSTADDR;
2092d874057dimextern unsigned IOCTL_SIOCSIFFLAGS;
2093d874057dimextern unsigned IOCTL_SIOCGIFFLAGS;
2094d874057dimextern unsigned IOCTL_SIOCGIFBRDADDR;
2095d874057dimextern unsigned IOCTL_SIOCSIFBRDADDR;
2096d874057dimextern unsigned IOCTL_SIOCGIFCONF;
2097d874057dimextern unsigned IOCTL_SIOCGIFNETMASK;
2098d874057dimextern unsigned IOCTL_SIOCSIFNETMASK;
2099d874057dimextern unsigned IOCTL_SIOCGIFMETRIC;
2100d874057dimextern unsigned IOCTL_SIOCSIFMETRIC;
2101d874057dimextern unsigned IOCTL_SIOCDIFADDR;
2102d874057dimextern unsigned IOCTL_SIOCAIFADDR;
2103d874057dimextern unsigned IOCTL_SIOCGIFALIAS;
2104d874057dimextern unsigned IOCTL_SIOCGIFAFLAG_IN;
2105d874057dimextern unsigned IOCTL_SIOCALIFADDR;
2106d874057dimextern unsigned IOCTL_SIOCGLIFADDR;
2107d874057dimextern unsigned IOCTL_SIOCDLIFADDR;
2108d874057dimextern unsigned IOCTL_SIOCSIFADDRPREF;
2109d874057dimextern unsigned IOCTL_SIOCGIFADDRPREF;
2110d874057dimextern unsigned IOCTL_SIOCADDMULTI;
2111d874057dimextern unsigned IOCTL_SIOCDELMULTI;
2112d874057dimextern unsigned IOCTL_SIOCGETVIFCNT;
2113d874057dimextern unsigned IOCTL_SIOCGETSGCNT;
2114d874057dimextern unsigned IOCTL_SIOCSIFMEDIA;
2115d874057dimextern unsigned IOCTL_SIOCGIFMEDIA;
2116d874057dimextern unsigned IOCTL_SIOCSIFGENERIC;
2117d874057dimextern unsigned IOCTL_SIOCGIFGENERIC;
2118d874057dimextern unsigned IOCTL_SIOCSIFPHYADDR;
2119d874057dimextern unsigned IOCTL_SIOCGIFPSRCADDR;
2120d874057dimextern unsigned IOCTL_SIOCGIFPDSTADDR;
2121d874057dimextern unsigned IOCTL_SIOCDIFPHYADDR;
2122d874057dimextern unsigned IOCTL_SIOCSLIFPHYADDR;
2123d874057dimextern unsigned IOCTL_SIOCGLIFPHYADDR;
2124d874057dimextern unsigned IOCTL_SIOCSIFMTU;
2125d874057dimextern unsigned IOCTL_SIOCGIFMTU;
2126d874057dimextern unsigned IOCTL_SIOCSDRVSPEC;
2127d874057dimextern unsigned IOCTL_SIOCGDRVSPEC;
2128d874057dimextern unsigned IOCTL_SIOCIFCREATE;
2129d874057dimextern unsigned IOCTL_SIOCIFDESTROY;
2130d874057dimextern unsigned IOCTL_SIOCIFGCLONERS;
2131d874057dimextern unsigned IOCTL_SIOCGIFDLT;
2132d874057dimextern unsigned IOCTL_SIOCGIFCAP;
2133d874057dimextern unsigned IOCTL_SIOCSIFCAP;
2134d874057dimextern unsigned IOCTL_SIOCSVH;
2135d874057dimextern unsigned IOCTL_SIOCGVH;
2136d874057dimextern unsigned IOCTL_SIOCINITIFADDR;
2137d874057dimextern unsigned IOCTL_SIOCGIFDATA;
2138d874057dimextern unsigned IOCTL_SIOCZIFDATA;
2139d874057dimextern unsigned IOCTL_SIOCGLINKSTR;
2140d874057dimextern unsigned IOCTL_SIOCSLINKSTR;
2141d874057dimextern unsigned IOCTL_SIOCGETHERCAP;
2142d874057dimextern unsigned IOCTL_SIOCGIFINDEX;
2143d874057dimextern unsigned IOCTL_SIOCSETHERCAP;
2144d874057dimextern unsigned IOCTL_SIOCSIFDESCR;
2145d874057dimextern unsigned IOCTL_SIOCGIFDESCR;
2146d874057dimextern unsigned IOCTL_SIOCGUMBINFO;
2147d874057dimextern unsigned IOCTL_SIOCSUMBPARAM;
2148d874057dimextern unsigned IOCTL_SIOCGUMBPARAM;
2149d874057dimextern unsigned IOCTL_SIOCSETPFSYNC;
2150d874057dimextern unsigned IOCTL_SIOCGETPFSYNC;
2151d874057dimextern unsigned IOCTL_PPS_IOC_CREATE;
2152d874057dimextern unsigned IOCTL_PPS_IOC_DESTROY;
2153d874057dimextern unsigned IOCTL_PPS_IOC_SETPARAMS;
2154d874057dimextern unsigned IOCTL_PPS_IOC_GETPARAMS;
2155d874057dimextern unsigned IOCTL_PPS_IOC_GETCAP;
2156d874057dimextern unsigned IOCTL_PPS_IOC_FETCH;
2157d874057dimextern unsigned IOCTL_PPS_IOC_KCBIND;
2158d874057dimextern unsigned IOCTL_TIOCEXCL;
2159d874057dimextern unsigned IOCTL_TIOCNXCL;
2160d874057dimextern unsigned IOCTL_TIOCFLUSH;
2161d874057dimextern unsigned IOCTL_TIOCGETA;
2162d874057dimextern unsigned IOCTL_TIOCSETA;
2163d874057dimextern unsigned IOCTL_TIOCSETAW;
2164d874057dimextern unsigned IOCTL_TIOCSETAF;
2165d874057dimextern unsigned IOCTL_TIOCGETD;
2166d874057dimextern unsigned IOCTL_TIOCSETD;
2167d874057dimextern unsigned IOCTL_TIOCGLINED;
2168d874057dimextern unsigned IOCTL_TIOCSLINED;
2169d874057dimextern unsigned IOCTL_TIOCSBRK;
2170d874057dimextern unsigned IOCTL_TIOCCBRK;
2171d874057dimextern unsigned IOCTL_TIOCSDTR;
2172d874057dimextern unsigned IOCTL_TIOCCDTR;
2173d874057dimextern unsigned IOCTL_TIOCGPGRP;
2174d874057dimextern unsigned IOCTL_TIOCSPGRP;
2175d874057dimextern unsigned IOCTL_TIOCOUTQ;
2176d874057dimextern unsigned IOCTL_TIOCSTI;
2177d874057dimextern unsigned IOCTL_TIOCNOTTY;
2178d874057dimextern unsigned IOCTL_TIOCPKT;
2179d874057dimextern unsigned IOCTL_TIOCSTOP;
2180d874057dimextern unsigned IOCTL_TIOCSTART;
2181d874057dimextern unsigned IOCTL_TIOCMSET;
2182d874057dimextern unsigned IOCTL_TIOCMBIS;
2183d874057dimextern unsigned IOCTL_TIOCMBIC;
2184d874057dimextern unsigned IOCTL_TIOCMGET;
2185d874057dimextern unsigned IOCTL_TIOCREMOTE;
2186d874057dimextern unsigned IOCTL_TIOCGWINSZ;
2187d874057dimextern unsigned IOCTL_TIOCSWINSZ;
2188d874057dimextern unsigned IOCTL_TIOCUCNTL;
2189d874057dimextern unsigned IOCTL_TIOCSTAT;
2190d874057dimextern unsigned IOCTL_TIOCGSID;
2191d874057dimextern unsigned IOCTL_TIOCCONS;
2192d874057dimextern unsigned IOCTL_TIOCSCTTY;
2193d874057dimextern unsigned IOCTL_TIOCEXT;
2194d874057dimextern unsigned IOCTL_TIOCSIG;
2195d874057dimextern unsigned IOCTL_TIOCDRAIN;
2196d874057dimextern unsigned IOCTL_TIOCGFLAGS;
2197d874057dimextern unsigned IOCTL_TIOCSFLAGS;
2198d874057dimextern unsigned IOCTL_TIOCDCDTIMESTAMP;
2199d874057dimextern unsigned IOCTL_TIOCRCVFRAME;
2200d874057dimextern unsigned IOCTL_TIOCXMTFRAME;
2201d874057dimextern unsigned IOCTL_TIOCPTMGET;
2202d874057dimextern unsigned IOCTL_TIOCGRANTPT;
2203d874057dimextern unsigned IOCTL_TIOCPTSNAME;
2204d874057dimextern unsigned IOCTL_TIOCSQSIZE;
2205d874057dimextern unsigned IOCTL_TIOCGQSIZE;
2206d874057dimextern unsigned IOCTL_VERIEXEC_LOAD;
2207d874057dimextern unsigned IOCTL_VERIEXEC_TABLESIZE;
2208d874057dimextern unsigned IOCTL_VERIEXEC_DELETE;
2209d874057dimextern unsigned IOCTL_VERIEXEC_QUERY;
2210d874057dimextern unsigned IOCTL_VERIEXEC_DUMP;
2211d874057dimextern unsigned IOCTL_VERIEXEC_FLUSH;
2212d874057dimextern unsigned IOCTL_VIDIOC_QUERYCAP;
2213d874057dimextern unsigned IOCTL_VIDIOC_RESERVED;
2214d874057dimextern unsigned IOCTL_VIDIOC_ENUM_FMT;
2215d874057dimextern unsigned IOCTL_VIDIOC_G_FMT;
2216d874057dimextern unsigned IOCTL_VIDIOC_S_FMT;
2217d874057dimextern unsigned IOCTL_VIDIOC_REQBUFS;
2218d874057dimextern unsigned IOCTL_VIDIOC_QUERYBUF;
2219d874057dimextern unsigned IOCTL_VIDIOC_G_FBUF;
2220d874057dimextern unsigned IOCTL_VIDIOC_S_FBUF;
2221d874057dimextern unsigned IOCTL_VIDIOC_OVERLAY;
2222d874057dimextern unsigned IOCTL_VIDIOC_QBUF;
2223d874057dimextern unsigned IOCTL_VIDIOC_DQBUF;
2224d874057dimextern unsigned IOCTL_VIDIOC_STREAMON;
2225d874057dimextern unsigned IOCTL_VIDIOC_STREAMOFF;
2226d874057dimextern unsigned IOCTL_VIDIOC_G_PARM;
2227d874057dimextern unsigned IOCTL_VIDIOC_S_PARM;
2228d874057dimextern unsigned IOCTL_VIDIOC_G_STD;
2229d874057dimextern unsigned IOCTL_VIDIOC_S_STD;
2230d874057dimextern unsigned IOCTL_VIDIOC_ENUMSTD;
2231d874057dimextern unsigned IOCTL_VIDIOC_ENUMINPUT;
2232d874057dimextern unsigned IOCTL_VIDIOC_G_CTRL;
2233d874057dimextern unsigned IOCTL_VIDIOC_S_CTRL;
2234d874057dimextern unsigned IOCTL_VIDIOC_G_TUNER;
2235d874057dimextern unsigned IOCTL_VIDIOC_S_TUNER;
2236d874057dimextern unsigned IOCTL_VIDIOC_G_AUDIO;
2237d874057dimextern unsigned IOCTL_VIDIOC_S_AUDIO;
2238d874057dimextern unsigned IOCTL_VIDIOC_QUERYCTRL;
2239d874057dimextern unsigned IOCTL_VIDIOC_QUERYMENU;
2240d874057dimextern unsigned IOCTL_VIDIOC_G_INPUT;
2241d874057dimextern unsigned IOCTL_VIDIOC_S_INPUT;
2242d874057dimextern unsigned IOCTL_VIDIOC_G_OUTPUT;
2243d874057dimextern unsigned IOCTL_VIDIOC_S_OUTPUT;
2244d874057dimextern unsigned IOCTL_VIDIOC_ENUMOUTPUT;
2245d874057dimextern unsigned IOCTL_VIDIOC_G_AUDOUT;
2246d874057dimextern unsigned IOCTL_VIDIOC_S_AUDOUT;
2247d874057dimextern unsigned IOCTL_VIDIOC_G_MODULATOR;
2248d874057dimextern unsigned IOCTL_VIDIOC_S_MODULATOR;
2249d874057dimextern unsigned IOCTL_VIDIOC_G_FREQUENCY;
2250d874057dimextern unsigned IOCTL_VIDIOC_S_FREQUENCY;
2251d874057dimextern unsigned IOCTL_VIDIOC_CROPCAP;
2252d874057dimextern unsigned IOCTL_VIDIOC_G_CROP;
2253d874057dimextern unsigned IOCTL_VIDIOC_S_CROP;
2254d874057dimextern unsigned IOCTL_VIDIOC_G_JPEGCOMP;
2255d874057dimextern unsigned IOCTL_VIDIOC_S_JPEGCOMP;
2256d874057dimextern unsigned IOCTL_VIDIOC_QUERYSTD;
2257d874057dimextern unsigned IOCTL_VIDIOC_TRY_FMT;
2258d874057dimextern unsigned IOCTL_VIDIOC_ENUMAUDIO;
2259d874057dimextern unsigned IOCTL_VIDIOC_ENUMAUDOUT;
2260d874057dimextern unsigned IOCTL_VIDIOC_G_PRIORITY;
2261d874057dimextern unsigned IOCTL_VIDIOC_S_PRIORITY;
2262d874057dimextern unsigned IOCTL_VIDIOC_ENUM_FRAMESIZES;
2263d874057dimextern unsigned IOCTL_VIDIOC_ENUM_FRAMEINTERVALS;
2264d874057dimextern unsigned IOCTL_WDOGIOC_GMODE;
2265d874057dimextern unsigned IOCTL_WDOGIOC_SMODE;
2266d874057dimextern unsigned IOCTL_WDOGIOC_WHICH;
2267d874057dimextern unsigned IOCTL_WDOGIOC_TICKLE;
2268d874057dimextern unsigned IOCTL_WDOGIOC_GTICKLER;
2269d874057dimextern unsigned IOCTL_WDOGIOC_GWDOGS;
2270d874057dimextern unsigned IOCTL_KCOV_IOC_SETBUFSIZE;
2271d874057dimextern unsigned IOCTL_KCOV_IOC_ENABLE;
2272d874057dimextern unsigned IOCTL_KCOV_IOC_DISABLE;
2273d874057dimextern unsigned IOCTL_IPMICTL_RECEIVE_MSG_TRUNC;
2274d874057dimextern unsigned IOCTL_IPMICTL_RECEIVE_MSG;
2275d874057dimextern unsigned IOCTL_IPMICTL_SEND_COMMAND;
2276d874057dimextern unsigned IOCTL_IPMICTL_REGISTER_FOR_CMD;
2277d874057dimextern unsigned IOCTL_IPMICTL_UNREGISTER_FOR_CMD;
2278d874057dimextern unsigned IOCTL_IPMICTL_SET_GETS_EVENTS_CMD;
2279d874057dimextern unsigned IOCTL_IPMICTL_SET_MY_ADDRESS_CMD;
2280d874057dimextern unsigned IOCTL_IPMICTL_GET_MY_ADDRESS_CMD;
2281d874057dimextern unsigned IOCTL_IPMICTL_SET_MY_LUN_CMD;
2282d874057dimextern unsigned IOCTL_IPMICTL_GET_MY_LUN_CMD;
2283d874057dimextern unsigned IOCTL_SNDCTL_DSP_RESET;
2284d874057dimextern unsigned IOCTL_SNDCTL_DSP_SYNC;
2285d874057dimextern unsigned IOCTL_SNDCTL_DSP_SPEED;
2286d874057dimextern unsigned IOCTL_SOUND_PCM_READ_RATE;
2287d874057dimextern unsigned IOCTL_SNDCTL_DSP_STEREO;
2288d874057dimextern unsigned IOCTL_SNDCTL_DSP_GETBLKSIZE;
2289d874057dimextern unsigned IOCTL_SNDCTL_DSP_SETFMT;
2290d874057dimextern unsigned IOCTL_SOUND_PCM_READ_BITS;
2291d874057dimextern unsigned IOCTL_SNDCTL_DSP_CHANNELS;
2292d874057dimextern unsigned IOCTL_SOUND_PCM_READ_CHANNELS;
2293d874057dimextern unsigned IOCTL_SOUND_PCM_WRITE_FILTER;
2294d874057dimextern unsigned IOCTL_SOUND_PCM_READ_FILTER;
2295d874057dimextern unsigned IOCTL_SNDCTL_DSP_POST;
2296d874057dimextern unsigned IOCTL_SNDCTL_DSP_SUBDIVIDE;
2297d874057dimextern unsigned IOCTL_SNDCTL_DSP_SETFRAGMENT;
2298d874057dimextern unsigned IOCTL_SNDCTL_DSP_GETFMTS;
2299d874057dimextern unsigned IOCTL_SNDCTL_DSP_GETOSPACE;
2300d874057dimextern unsigned IOCTL_SNDCTL_DSP_GETISPACE;
2301d874057dimextern unsigned IOCTL_SNDCTL_DSP_NONBLOCK;
2302d874057dimextern unsigned IOCTL_SNDCTL_DSP_GETCAPS;
2303d874057dimextern unsigned IOCTL_SNDCTL_DSP_GETTRIGGER;
2304d874057dimextern unsigned IOCTL_SNDCTL_DSP_SETTRIGGER;
2305d874057dimextern unsigned IOCTL_SNDCTL_DSP_GETIPTR;
2306d874057dimextern unsigned IOCTL_SNDCTL_DSP_GETOPTR;
2307d874057dimextern unsigned IOCTL_SNDCTL_DSP_MAPINBUF;
2308d874057dimextern unsigned IOCTL_SNDCTL_DSP_MAPOUTBUF;
2309d874057dimextern unsigned IOCTL_SNDCTL_DSP_SETSYNCRO;
2310d874057dimextern unsigned IOCTL_SNDCTL_DSP_SETDUPLEX;
2311d874057dimextern unsigned IOCTL_SNDCTL_DSP_PROFILE;
2312d874057dimextern unsigned IOCTL_SNDCTL_DSP_GETODELAY;
2313d874057dimextern unsigned IOCTL_SOUND_MIXER_INFO;
2314d874057dimextern unsigned IOCTL_SOUND_OLD_MIXER_INFO;
2315d874057dimextern unsigned IOCTL_OSS_GETVERSION;
2316d874057dimextern unsigned IOCTL_SNDCTL_SYSINFO;
2317d874057dimextern unsigned IOCTL_SNDCTL_AUDIOINFO;
2318d874057dimextern unsigned IOCTL_SNDCTL_ENGINEINFO;
2319d874057dimextern unsigned IOCTL_SNDCTL_DSP_GETPLAYVOL;
2320d874057dimextern unsigned IOCTL_SNDCTL_DSP_SETPLAYVOL;
2321d874057dimextern unsigned IOCTL_SNDCTL_DSP_GETRECVOL;
2322d874057dimextern unsigned IOCTL_SNDCTL_DSP_SETRECVOL;
2323d874057dimextern unsigned IOCTL_SNDCTL_DSP_SKIP;
2324d874057dimextern unsigned IOCTL_SNDCTL_DSP_SILENCE;
2325d874057dim
2326d874057dimextern const int si_SEGV_MAPERR;
2327d874057dimextern const int si_SEGV_ACCERR;
2328d874057dim
2329d874057dimextern const unsigned SHA1_CTX_sz;
2330d874057dimextern const unsigned SHA1_return_length;
2331d874057dim
2332d874057dimextern const unsigned MD4_CTX_sz;
2333d874057dimextern const unsigned MD4_return_length;
2334d874057dim
2335d874057dimextern const unsigned RMD160_CTX_sz;
2336d874057dimextern const unsigned RMD160_return_length;
2337d874057dim
2338d874057dimextern const unsigned MD5_CTX_sz;
2339d874057dimextern const unsigned MD5_return_length;
2340d874057dim
2341d874057dimextern const unsigned fpos_t_sz;
2342d874057dim
2343d874057dimextern const unsigned MD2_CTX_sz;
2344d874057dimextern const unsigned MD2_return_length;
2345d874057dim
2346d874057dim#define SHA2_EXTERN(LEN)                          \
2347d874057dim  extern const unsigned SHA##LEN##_CTX_sz;        \
2348d874057dim  extern const unsigned SHA##LEN##_return_length; \
2349d874057dim  extern const unsigned SHA##LEN##_block_length;  \
2350d874057dim  extern const unsigned SHA##LEN##_digest_length
2351d874057dim
2352d874057dimSHA2_EXTERN(224);
2353d874057dimSHA2_EXTERN(256);
2354d874057dimSHA2_EXTERN(384);
2355d874057dimSHA2_EXTERN(512);
2356d874057dim
2357d874057dim#undef SHA2_EXTERN
2358d874057dim
2359d874057dimextern const int unvis_valid;
2360d874057dimextern const int unvis_validpush;
2361d874057dim
2362d874057dimstruct __sanitizer_cdbr {
2363d874057dim  void (*unmap)(void *, void *, uptr);
2364d874057dim  void *cookie;
2365d874057dim  u8 *mmap_base;
2366d874057dim  uptr mmap_size;
2367d874057dim
2368d874057dim  u8 *hash_base;
2369d874057dim  u8 *offset_base;
2370d874057dim  u8 *data_base;
2371d874057dim
2372d874057dim  u32 data_size;
2373d874057dim  u32 entries;
2374d874057dim  u32 entries_index;
2375d874057dim  u32 seed;
2376d874057dim
2377d874057dim  u8 offset_size;
2378d874057dim  u8 index_size;
2379d874057dim
2380d874057dim  u32 entries_m;
2381d874057dim  u32 entries_index_m;
2382d874057dim  u8 entries_s1, entries_s2;
2383d874057dim  u8 entries_index_s1, entries_index_s2;
2384d874057dim};
2385d874057dim
2386d874057dimstruct __sanitizer_cdbw {
2387d874057dim  uptr data_counter;
2388d874057dim  uptr data_allocated;
2389d874057dim  uptr data_size;
2390d874057dim  uptr *data_len;
2391d874057dim  void **data_ptr;
2392d874057dim  uptr hash_size;
2393d874057dim  void *hash;
2394d874057dim  uptr key_counter;
2395d874057dim};
2396d874057dim}  // namespace __sanitizer
2397d874057dim
2398d874057dim#define CHECK_TYPE_SIZE(TYPE) \
2399d874057dim  COMPILER_CHECK(sizeof(__sanitizer_##TYPE) == sizeof(TYPE))
2400d874057dim
2401d874057dim#define CHECK_SIZE_AND_OFFSET(CLASS, MEMBER)                      \
2402d874057dim  COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *)NULL)->MEMBER) == \
2403d874057dim                 sizeof(((CLASS *)NULL)->MEMBER));                \
2404d874057dim  COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) ==         \
2405d874057dim                 offsetof(CLASS, MEMBER))
2406d874057dim
2407d874057dim// For sigaction, which is a function and struct at the same time,
2408d874057dim// and thus requires explicit "struct" in sizeof() expression.
2409d874057dim#define CHECK_STRUCT_SIZE_AND_OFFSET(CLASS, MEMBER)                      \
2410d874057dim  COMPILER_CHECK(sizeof(((struct __sanitizer_##CLASS *)NULL)->MEMBER) == \
2411d874057dim                 sizeof(((struct CLASS *)NULL)->MEMBER));                \
2412d874057dim  COMPILER_CHECK(offsetof(struct __sanitizer_##CLASS, MEMBER) ==         \
2413d874057dim                 offsetof(struct CLASS, MEMBER))
2414d874057dim
2415d874057dim#define SIGACTION_SYMNAME __sigaction14
2416d874057dim
2417332da66dim// Compat with 9.0
2418332da66dimextern unsigned struct_statvfs90_sz;
2419332da66dim
2420d874057dim#endif  // SANITIZER_NETBSD
2421d874057dim
2422d874057dim#endif
2423