Defined in 1 files as a prototype:
Defined in 1 files as a member:
Defined in 8 files as a function:
Referenced in 330 files:
- contrib/zlib/test/minigzip.c, 6 times
- stand/userboot/test/test.c, line 399
- stand/userboot/userboot/copy.c, line 46
- sys/amd64/amd64/machdep.c, 2 times
- sys/amd64/amd64/mem.c, line 217
- sys/amd64/amd64/ptrace_machdep.c, 7 times
- sys/amd64/amd64/support.S, line 271
- sys/amd64/amd64/sys_machdep.c, 7 times
- sys/amd64/amd64/uio_machdep.c, line 98
- sys/amd64/cloudabi32/cloudabi32_sysvec.c, 4 times
- sys/amd64/cloudabi64/cloudabi64_sysvec.c, 2 times
- sys/amd64/ia32/ia32_signal.c, 6 times
- sys/amd64/linux/linux.h, line 456
- sys/amd64/linux/linux_machdep.c, line 220
- sys/amd64/linux/linux_ptrace.c, 2 times
- sys/amd64/linux/linux_sysvec.c, 4 times
- sys/amd64/linux32/linux32_machdep.c, 7 times
- sys/amd64/linux32/linux32_sysvec.c, 5 times
- sys/amd64/vmm/vmm_dev.c, line 609
- sys/arm/arm/bcopyinout.S, line 561
- sys/arm/arm/bcopyinout_xscale.S, line 957
- sys/arm/arm/machdep.c, 2 times
- sys/arm/arm/ptrace_machdep.c, line 50
- sys/arm/arm/uio_machdep.c, line 95
- sys/arm/broadcom/bcm2835/bcm2835_vcio.c, line 88
- sys/arm64/arm64/copyinout.S, line 69
- sys/arm64/arm64/machdep.c, line 604
- sys/arm64/arm64/uio_machdep.c, line 98
- sys/cam/ctl/ctl.c, 7 times
- sys/cam/ctl/ctl_frontend_ioctl.c, line 237
- sys/cam/ctl/ctl_frontend_iscsi.c, 4 times
- sys/cam/scsi/scsi_cd.c, 2 times
- sys/cam/scsi/scsi_ch.c, 2 times
- sys/cam/scsi/scsi_enc.c, 6 times
- sys/cam/scsi/scsi_enc_ses.c, 6 times
- sys/cam/scsi/scsi_pass.c, 3 times
- sys/cam/scsi/scsi_sa.c, 2 times
- sys/cam/scsi/scsi_sg.c, line 611
- sys/cam/scsi/scsi_target.c, 2 times
- sys/cddl/compat/opensolaris/sys/sunddi.h, line 42
- sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c, 17 times
- sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c, line 2468
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_errlog.c, 2 times
- sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap_impl.h, line 187
- sys/cddl/dev/dtrace/dtrace_ioctl.c, 10 times
- sys/cddl/dev/dtrace/powerpc/dtrace_isa.c, 2 times
- sys/compat/cloudabi/cloudabi_fd.c, line 424
- sys/compat/cloudabi/cloudabi_file.c, 2 times
- sys/compat/cloudabi/cloudabi_sock.c, line 127
- sys/compat/cloudabi32/cloudabi32_module.c, 4 times
- sys/compat/cloudabi32/cloudabi32_poll.c, 10 times
- sys/compat/cloudabi32/cloudabi32_sock.c, 2 times
- sys/compat/cloudabi64/cloudabi64_module.c, 4 times
- sys/compat/cloudabi64/cloudabi64_poll.c, 10 times
- sys/compat/cloudabi64/cloudabi64_sock.c, 2 times
- sys/compat/freebsd32/freebsd32_ioctl.c, 7 times
- sys/compat/freebsd32/freebsd32_misc.c, 57 times
- sys/compat/linux/linux_emul.c, line 294
- sys/compat/linux/linux_event.c, 3 times
- sys/compat/linux/linux_file.c, 8 times
- sys/compat/linux/linux_fork.c, 2 times
- sys/compat/linux/linux_futex.c, 2 times
- sys/compat/linux/linux_getcwd.c, line 83
- sys/compat/linux/linux_ioctl.c, 38 times
- sys/compat/linux/linux_ipc.c, 13 times
- sys/compat/linux/linux_misc.c, 22 times
- sys/compat/linux/linux_signal.c, 6 times
- sys/compat/linux/linux_socket.c, 12 times
- sys/compat/linux/linux_stats.c, 7 times
- sys/compat/linux/linux_sysctl.c, 2 times
- sys/compat/linux/linux_time.c, 4 times
- sys/compat/linux/linux_timer.c, 3 times
- sys/compat/linux/linux_uid16.c, line 268
- sys/compat/linuxkpi/common/src/linux_compat.c, line 774
- sys/compat/svr4/svr4_fcntl.c, 2 times
- sys/compat/svr4/svr4_filio.c, 2 times
- sys/compat/svr4/svr4_ipc.c, 3 times
- sys/compat/svr4/svr4_misc.c, 14 times
- sys/compat/svr4/svr4_resource.c, 2 times
- sys/compat/svr4/svr4_signal.c, 5 times
- sys/compat/svr4/svr4_sockio.c, 2 times
- sys/compat/svr4/svr4_stat.c, 13 times
- sys/compat/svr4/svr4_stream.c, 15 times
- sys/compat/svr4/svr4_termios.c, 3 times
- sys/contrib/ipfilter/netinet/ip_compat.h, line 147
- sys/contrib/vchiq/interface/compat/vchi_bsd.h, line 51
- sys/dev/aac/aac.c, 9 times
- sys/dev/aacraid/aacraid.c, 9 times
- sys/dev/amr/amr.c, 8 times
- sys/dev/an/if_an.c, 11 times
- sys/dev/ath/ath_dfs/null/dfs_null.c, line 277
- sys/dev/ath/ath_rate/sample/sample.c, 4 times
- sys/dev/ath/if_ath_btcoex.c, line 473
- sys/dev/ath/if_ath_ioctl.c, 3 times
- sys/dev/ath/if_ath_lna_div.c, line 203
- sys/dev/ath/if_ath_spectral.c, line 282
- sys/dev/bnxt/if_bnxt.c, 28 times
- sys/dev/bxe/bxe.c, 3 times
- sys/dev/cfi/cfi_dev.c, line 286
- sys/dev/ciss/ciss.c, line 2687
- sys/dev/cxgb/cxgb_main.c, 5 times
- sys/dev/cxgbe/t4_main.c, 4 times
- sys/dev/cxgbe/t4_vf.c, line 815
- sys/dev/digi/digi.c, line 904
- sys/dev/dpt/dpt_scsi.c, 3 times
- sys/dev/drm/drmP.h, 2 times
- sys/dev/drm2/drmP.h, 2 times
- sys/dev/drm2/drm_os_freebsd.h, line 318
- sys/dev/efidev/efidev.c, 2 times
- sys/dev/en/midway.c, line 1612
- sys/dev/fatm/if_fatm.c, line 2500
- sys/dev/fb/vesa.c, 4 times
- sys/dev/fb/vga.c, 4 times
- sys/dev/firewire/fwdev.c, line 808
- sys/dev/hatm/if_hatm_ioctl.c, line 337
- sys/dev/hpt27xx/hpt27xx_osm_bsd.c, 2 times
- sys/dev/hptiop/hptiop.c, 5 times
- sys/dev/hptmv/hptproc.c, 2 times
- sys/dev/hptnr/hptnr_osm_bsd.c, 2 times
- sys/dev/hptrr/hptrr_osm_bsd.c, 2 times
- sys/dev/hwpmc/hwpmc_mod.c, 9 times
- sys/dev/if_ndis/if_ndis.c, 4 times
- sys/dev/iicbus/iic.c, line 348
- sys/dev/ipmi/ipmi.c, 3 times
- sys/dev/ips/ips_ioctl.c, line 131
- sys/dev/iscsi/iscsi.c, 3 times
- sys/dev/iscsi_initiator/iscsi.c, 2 times
- sys/dev/iwi/if_iwi.c, line 2060
- sys/dev/iwn/if_iwn.c, line 5037
- sys/dev/ixgbe/if_ix.c, line 4844
- sys/dev/ixl/ixl_pf_main.c, line 5414
- sys/dev/kbd/kbd.c, line 872
- sys/dev/mcd/mcd.c, 2 times
- sys/dev/md/md.c, line 1715
- sys/dev/mfi/mfi.c, 6 times
- sys/dev/mlx/mlx.c, line 2117
- sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c, line 2078
- sys/dev/mlx5/mlx5_core/mlx5_fwdump.c, line 216
- sys/dev/mlx5/mlx5_en/mlx5_en_main.c, line 2838
- sys/dev/mly/mly.c, 3 times
- sys/dev/mmc/mmcsd.c, line 1010
- sys/dev/mpr/mpr_user.c, 13 times
- sys/dev/mps/mps_user.c, 12 times
- sys/dev/mpt/mpt_user.c, 3 times
- sys/dev/mrsas/mrsas_ioctl.c, 2 times
- sys/dev/mwl/if_mwl.c, 2 times
- sys/dev/nand/nand_cdev.c, 2 times
- sys/dev/nand/nand_geom.c, line 285
- sys/dev/nand/nandsim.c, 3 times
- sys/dev/nxge/if_nxge.c, 11 times
- sys/dev/oce/oce_if.c, line 1872
- sys/dev/ocs_fc/ocs_ioctl.c, line 253
- sys/dev/ocs_fc/ocs_os.h, line 336
- sys/dev/ofw/openfirmio.c, 2 times
- sys/dev/ofw/openpromio.c, 3 times
- sys/dev/patm/if_patm_ioctl.c, line 390
- sys/dev/pci/pci_iov.c, line 934
- sys/dev/pci/pci_user.c, 7 times
- sys/dev/pms/freebsd/driver/ini/src/agtiapi.c, line 664
- sys/dev/qlnx/qlnxe/qlnx_ioctl.c, 7 times
- sys/dev/qlnx/qlnxe/qlnx_os.c, line 2497
- sys/dev/qlxgbe/ql_ioctl.c, 4 times
- sys/dev/qlxge/qls_ioctl.c, line 108
- sys/dev/sbni/if_sbni.c, line 1156
- sys/dev/scd/scd.c, 2 times
- sys/dev/sfxge/sfxge.c, 3 times
- sys/dev/sfxge/sfxge_mcdi.c, line 272
- sys/dev/sfxge/sfxge_nvram.c, 2 times
- sys/dev/smartpqi/smartpqi_ioctl.c, line 41
- sys/dev/smbus/smb.c, 4 times
- sys/dev/spibus/spigen.c, 2 times
- sys/dev/syscons/syscons.c, line 1120
- sys/dev/tdfx/tdfx_pci.c, 8 times
- sys/dev/ti/if_ti.c, 4 times
- sys/dev/twa/tw_osl_freebsd.c, line 1114
- sys/dev/twe/twe.c, 2 times
- sys/dev/tws/tws_user.c, line 191
- sys/dev/usb/input/uhid.c, 2 times
- sys/dev/usb/net/if_usie.c, line 1319
- sys/dev/usb/usb_busdma.c, line 331
- sys/dev/usb/usb_dev.c, 6 times
- sys/dev/usb/usb_generic.c, 9 times
- sys/dev/usb/usb_request.c, line 506
- sys/dev/vxge/vxge.c, 7 times
- sys/dev/wl/if_wl.c, 3 times
- sys/dev/xen/privcmd/privcmd.c, line 346
- sys/fs/cuse/cuse.c, line 813
- sys/fs/devfs/devfs_vnops.c, line 786
- sys/fs/nandfs/nandfs_cpfile.c, line 675
- sys/fs/nandfs/nandfs_dat.c, 2 times
- sys/fs/nandfs/nandfs_sufile.c, line 485
- sys/fs/nfs/nfs_commonport.c, 2 times
- sys/fs/nfs/nfs_commonsubs.c, line 250
- sys/fs/nfsclient/nfs_clport.c, line 1371
- sys/fs/nfsserver/nfs_nfsdport.c, 2 times
- sys/geom/gate/g_gate.c, line 841
- sys/geom/geom_ctl.c, 2 times
- sys/geom/geom_dev.c, line 598
- sys/i386/cloudabi32/cloudabi32_sysvec.c, 2 times
- sys/i386/i386/machdep.c, 4 times
- sys/i386/i386/mem.c, line 213
- sys/i386/i386/ptrace_machdep.c, 5 times
- sys/i386/i386/support.s, line 320
- sys/i386/i386/sys_machdep.c, 5 times
- sys/i386/i386/uio_machdep.c, line 95
- sys/i386/i386/vm86.c, 2 times
- sys/i386/ibcs2/ibcs2_fcntl.c, line 292
- sys/i386/ibcs2/ibcs2_ioctl.c, 4 times
- sys/i386/ibcs2/ibcs2_ipc.c, 3 times
- sys/i386/ibcs2/ibcs2_misc.c, 10 times
- sys/i386/ibcs2/ibcs2_signal.c, 3 times
- sys/i386/ibcs2/ibcs2_socksys.c, line 161
- sys/i386/ibcs2/ibcs2_stat.c, 5 times
- sys/i386/ibcs2/ibcs2_sysi86.c, line 67
- sys/i386/ibcs2/ibcs2_xenix.c, 2 times
- sys/i386/ibcs2/imgact_coff.c, line 147
- sys/i386/linux/linux.h, line 600
- sys/i386/linux/linux_machdep.c, 5 times
- sys/i386/linux/linux_ptrace.c, 6 times
- sys/i386/linux/linux_sysvec.c, 6 times
- sys/i386/svr4/svr4_machdep.c, 3 times
- sys/kern/imgact_elf.c, 3 times
- sys/kern/imgact_gzip.c, 2 times
- sys/kern/kern_context.c, 2 times
- sys/kern/kern_cpuset.c, 3 times
- sys/kern/kern_descrip.c, 5 times
- sys/kern/kern_environment.c, 2 times
- sys/kern/kern_event.c, line 925
- sys/kern/kern_exec.c, 5 times
- sys/kern/kern_exit.c, 5 times
- sys/kern/kern_ffclock.c, 2 times
- sys/kern/kern_fork.c, line 141
- sys/kern/kern_jail.c, 4 times
- sys/kern/kern_linker.c, 3 times
- sys/kern/kern_loginclass.c, line 188
- sys/kern/kern_module.c, 8 times
- sys/kern/kern_ntptime.c, 3 times
- sys/kern/kern_numa.c, line 165
- sys/kern/kern_procctl.c, 5 times
- sys/kern/kern_prot.c, 8 times
- sys/kern/kern_rctl.c, line 1571
- sys/kern/kern_resource.c, 5 times
- sys/kern/kern_sendfile.c, line 983
- sys/kern/kern_sig.c, 11 times
- sys/kern/kern_sysctl.c, 2 times
- sys/kern/kern_time.c, 11 times
- sys/kern/kern_umtx.c, 2 times
- sys/kern/kern_uuid.c, line 195
- sys/kern/kern_xxx.c, 3 times
- sys/kern/p1003_1b.c, 2 times
- sys/kern/subr_mchain.c, line 496
- sys/kern/subr_prof.c, line 524
- sys/kern/subr_uio.c, 2 times
- sys/kern/sys_capability.c, 4 times
- sys/kern/sys_generic.c, 3 times
- sys/kern/sys_pipe.c, line 479
- sys/kern/sys_procdesc.c, line 218
- sys/kern/sys_process.c, 8 times
- sys/kern/sysv_msg.c, 7 times
- sys/kern/sysv_sem.c, 5 times
- sys/kern/sysv_shm.c, 9 times
- sys/kern/tty_pts.c, line 292
- sys/kern/uipc_mqueue.c, 4 times
- sys/kern/uipc_sem.c, 2 times
- sys/kern/uipc_socket.c, 2 times
- sys/kern/uipc_syscalls.c, 13 times
- sys/kern/vfs_acl.c, 2 times
- sys/kern/vfs_cache.c, line 2154
- sys/kern/vfs_mount.c, line 737
- sys/kern/vfs_syscalls.c, 20 times
- sys/kgssapi/gsstest.c, 2 times
- sys/mips/adm5120/if_admsw.c, line 823
- sys/mips/mips/freebsd32_machdep.c, 4 times
- sys/mips/mips/pm_machdep.c, line 161
- sys/mips/mips/support.S, 2 times
- sys/mips/mips/sys_machdep.c, line 63
- sys/mips/mips/uio_machdep.c, line 112
- sys/net/altq/altq_cbq.c, 2 times
- sys/net/altq/altq_cdnr.c, line 1178
- sys/net/altq/altq_codel.c, line 174
- sys/net/altq/altq_fairq.c, line 250
- sys/net/altq/altq_hfsc.c, 2 times
- sys/net/altq/altq_priq.c, 2 times
- sys/net/bpf.c, line 2758
- sys/net/if.c, 4 times
- sys/net/if_bridge.c, 4 times
- sys/net/if_clone.c, line 514
- sys/net/if_gif.c, line 909
- sys/net/if_gre.c, 2 times
- sys/net/if_ipsec.c, line 691
- sys/net/if_lagg.c, line 1136
- sys/net/if_media.c, line 321
- sys/net/if_spppsubr.c, line 5108
- sys/net/if_tap.c, line 626
- sys/net/if_vlan.c, 2 times
- sys/net/if_vxlan.c, line 2230
- sys/net/iflib.c, line 3981
- sys/net80211/ieee80211_acl.c, 2 times
- sys/net80211/ieee80211_ioctl.c, 20 times
- sys/net80211/ieee80211_mesh.c, 4 times
- sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c, 3 times
- sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c, 4 times
- sys/netinet/in_mcast.c, line 1734
- sys/netinet/ip_carp.c, 2 times
- sys/netinet/sctp_syscalls.c, 4 times
- sys/netinet6/in6_mcast.c, line 1672
- sys/netpfil/ipfw/ip_fw_sockopt.c, line 3537
- sys/netpfil/pf/if_pfsync.c, line 1320
- sys/netpfil/pf/pf_ioctl.c, 13 times
- sys/opencrypto/cryptodev.c, 5 times
- sys/powerpc/fpu/fpu_emu.c, 3 times
- sys/powerpc/powerpc/exec_machdep.c, 3 times
- sys/powerpc/powerpc/mem.c, line 294
- sys/powerpc/powerpc/ptrace_machdep.c, line 65
- sys/powerpc/powerpc/trap.c, line 791
- sys/powerpc/powerpc/uio_machdep.c, line 102
- sys/riscv/riscv/copyinout.S, line 77
- sys/riscv/riscv/machdep.c, line 536
- sys/riscv/riscv/uio_machdep.c, line 98
- sys/security/audit/audit_syscalls.c, 4 times
- sys/security/mac/mac_net.c, line 433
- sys/security/mac/mac_socket.c, 2 times
- sys/security/mac/mac_syscalls.c, 5 times
- sys/sparc64/sparc64/machdep.c, line 677
- sys/sparc64/sparc64/rwindow.c, line 100
- sys/sparc64/sparc64/support.S, line 373
- sys/sparc64/sparc64/uio_machdep.c, line 108
- sys/ufs/ffs/ffs_suspend.c, line 155
- sys/ufs/ufs/ufs_quota.c, 3 times
- usr.sbin/bhyveload/bhyveload.c, line 580