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