Defined in 1 files as a prototype:
Defined in 1 files as a member:
Defined in 7 files as a function:
Referenced in 305 files:
- stand/userboot/test/test.c, line 399
- stand/userboot/userboot/copy.c, line 46
- sys/amd64/amd64/copyout.c, line 184
- sys/amd64/amd64/machdep.c, 2 times
- sys/amd64/amd64/mem.c, line 219
- sys/amd64/amd64/ptrace_machdep.c, 7 times
- sys/amd64/amd64/sys_machdep.c, 7 times
- sys/amd64/amd64/uio_machdep.c, line 100
- sys/amd64/amd64/vm_machdep.c, line 433
- 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 441
- sys/amd64/linux/linux_machdep.c, 3 times
- sys/amd64/linux/linux_ptrace.c, 4 times
- sys/amd64/linux/linux_sysvec.c, 5 times
- sys/amd64/linux32/linux32_machdep.c, 8 times
- sys/amd64/linux32/linux32_sysvec.c, 6 times
- sys/amd64/vmm/vmm_dev.c, 2 times
- 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 49
- sys/arm/arm/uio_machdep.c, line 97
- sys/arm/broadcom/bcm2835/bcm2835_vcio.c, line 84
- sys/arm64/arm64/copyinout.S, line 69
- sys/arm64/arm64/freebsd32_machdep.c, 4 times
- sys/arm64/arm64/machdep.c, line 691
- sys/arm64/arm64/uio_machdep.c, line 98
- sys/arm64/cloudabi32/cloudabi32_sysvec.c, 2 times
- sys/arm64/linux/linux.h, line 292
- sys/arm64/linux/linux_sysvec.c, 4 times
- sys/cam/cam_periph.c, line 1107
- sys/cam/ctl/ctl.c, 7 times
- sys/cam/ctl/ctl_frontend_ioctl.c, line 436
- 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 610
- 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 2397
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_errlog.c, 2 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c, 2 times
- sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap_impl.h, line 187
- sys/cddl/dev/dtrace/dtrace_ioctl.c, 9 times
- sys/cddl/dev/dtrace/powerpc/dtrace_isa.c, 2 times
- sys/compat/cloudabi/cloudabi_fd.c, line 412
- sys/compat/cloudabi/cloudabi_file.c, 2 times
- sys/compat/cloudabi/cloudabi_sock.c, line 128
- 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, 3 times
- sys/compat/freebsd32/freebsd32_misc.c, 63 times
- sys/compat/linux/linux_emul.c, line 336
- 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 80
- sys/compat/linux/linux_ioctl.c, 37 times
- sys/compat/linux/linux_ipc.c, 12 times
- sys/compat/linux/linux_misc.c, 22 times
- sys/compat/linux/linux_signal.c, 6 times
- sys/compat/linux/linux_socket.c, 18 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 270
- sys/compat/linuxkpi/common/src/linux_compat.c, line 858
- sys/contrib/ipfilter/netinet/ip_compat.h, line 133
- sys/contrib/vchiq/interface/compat/vchi_bsd.h, line 51
- sys/contrib/zlib/test/minigzip.c, 6 times
- sys/contrib/zstd/zlibWrapper/examples/minigzip.c, 6 times
- 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 279
- sys/dev/ath/ath_rate/sample/sample.c, 4 times
- sys/dev/ath/if_ath_btcoex.c, line 475
- sys/dev/ath/if_ath_ioctl.c, 3 times
- sys/dev/ath/if_ath_lna_div.c, line 205
- sys/dev/ath/if_ath_spectral.c, line 289
- sys/dev/bnxt/if_bnxt.c, 28 times
- sys/dev/bxe/bxe.c, 3 times
- sys/dev/cfi/cfi_dev.c, line 288
- sys/dev/ciss/ciss.c, line 2692
- sys/dev/cxgb/cxgb_main.c, 5 times
- sys/dev/cxgbe/t4_main.c, 4 times
- sys/dev/cxgbe/t4_vf.c, line 826
- sys/dev/drm2/drmP.h, 2 times
- sys/dev/drm2/drm_os_freebsd.h, line 332
- sys/dev/efidev/efidev.c, 2 times
- sys/dev/fb/vesa.c, 4 times
- sys/dev/fb/vga.c, 4 times
- sys/dev/firewire/fwdev.c, line 810
- 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 350
- sys/dev/ipmi/ipmi.c, 3 times
- sys/dev/ips/ips_ioctl.c, line 133
- 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 5184
- sys/dev/ixl/ixl_pf_main.c, line 3742
- sys/dev/kbd/kbd.c, line 875
- sys/dev/md/md.c, 2 times
- sys/dev/mfi/mfi.c, 6 times
- sys/dev/mlx/mlx.c, line 2119
- sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c, line 2090
- sys/dev/mlx5/mlx5_core/mlx5_fwdump.c, line 222
- sys/dev/mlx5/mlx5_en/mlx5_en_main.c, line 3430
- sys/dev/mly/mly.c, 3 times
- sys/dev/mmc/mmcsd.c, line 1057
- 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/mxge/if_mxge.c, line 4352
- sys/dev/nand/nand_cdev.c, 2 times
- sys/dev/nand/nand_geom.c, line 287
- sys/dev/nand/nandsim.c, 3 times
- sys/dev/netmap/netmap.c, 4 times
- sys/dev/oce/oce_if.c, 2 times
- sys/dev/ocs_fc/ocs_ioctl.c, line 257
- 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/pci/pci_iov.c, line 936
- sys/dev/pci/pci_user.c, 7 times
- sys/dev/pms/freebsd/driver/ini/src/agtiapi.c, line 661
- sys/dev/qlnx/qlnxe/qlnx_ioctl.c, 7 times
- sys/dev/qlnx/qlnxe/qlnx_os.c, line 2889
- sys/dev/qlxgbe/ql_ioctl.c, 4 times
- sys/dev/qlxge/qls_ioctl.c, line 110
- sys/dev/sbni/if_sbni.c, line 1156
- sys/dev/sfxge/sfxge.c, 3 times
- sys/dev/sfxge/sfxge_mcdi.c, line 274
- 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 1149
- sys/dev/tdfx/tdfx_pci.c, 8 times
- sys/dev/ti/if_ti.c, 4 times
- sys/dev/twa/tw_osl_freebsd.c, line 1116
- sys/dev/twe/twe.c, 2 times
- sys/dev/tws/tws_user.c, line 197
- sys/dev/usb/input/uhid.c, 2 times
- sys/dev/usb/input/uhid_snes.c, 2 times
- sys/dev/usb/net/if_usie.c, line 1322
- sys/dev/usb/usb_busdma.c, line 333
- sys/dev/usb/usb_dev.c, 6 times
- sys/dev/usb/usb_generic.c, 9 times
- sys/dev/usb/usb_request.c, line 508
- sys/dev/xen/privcmd/privcmd.c, line 357
- sys/fs/cuse/cuse.c, line 815
- sys/fs/devfs/devfs_vnops.c, line 831
- sys/fs/nandfs/nandfs_cpfile.c, line 677
- sys/fs/nandfs/nandfs_dat.c, 2 times
- sys/fs/nandfs/nandfs_sufile.c, line 487
- sys/fs/nfs/nfs_commonport.c, 2 times
- sys/fs/nfs/nfs_commonsubs.c, line 615
- sys/fs/nfsclient/nfs_clport.c, line 1253
- sys/fs/nfsserver/nfs_nfsdport.c, 2 times
- sys/geom/gate/g_gate.c, line 843
- sys/geom/geom_ctl.c, 2 times
- sys/geom/geom_dev.c, line 730
- sys/i386/cloudabi32/cloudabi32_sysvec.c, 2 times
- sys/i386/i386/machdep.c, 4 times
- sys/i386/i386/mem.c, line 211
- sys/i386/i386/ptrace_machdep.c, 5 times
- sys/i386/i386/sys_machdep.c, 5 times
- sys/i386/i386/uio_machdep.c, line 97
- sys/i386/i386/vm86.c, 2 times
- sys/i386/linux/linux.h, line 584
- sys/i386/linux/linux_machdep.c, 6 times
- sys/i386/linux/linux_ptrace.c, 6 times
- sys/i386/linux/linux_sysvec.c, 7 times
- sys/kern/imgact_elf.c, 4 times
- sys/kern/imgact_gzip.c, 2 times
- sys/kern/kern_context.c, 2 times
- sys/kern/kern_cpuset.c, 4 times
- sys/kern/kern_descrip.c, 6 times
- sys/kern/kern_environment.c, 2 times
- sys/kern/kern_event.c, 2 times
- 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 195
- sys/kern/kern_module.c, 8 times
- sys/kern/kern_ntptime.c, 3 times
- sys/kern/kern_procctl.c, 5 times
- sys/kern/kern_prot.c, 8 times
- sys/kern/kern_rctl.c, line 1573
- sys/kern/kern_resource.c, 5 times
- sys/kern/kern_sendfile.c, line 1011
- 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 197
- sys/kern/kern_xxx.c, 3 times
- sys/kern/p1003_1b.c, 2 times
- sys/kern/subr_mchain.c, line 498
- sys/kern/subr_prof.c, line 517
- 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 476
- 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 299
- 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 2242
- sys/kern/vfs_mount.c, line 753
- sys/kern/vfs_syscalls.c, 28 times
- sys/kgssapi/gsstest.c, 2 times
- sys/mips/mips/freebsd32_machdep.c, 4 times
- sys/mips/mips/pm_machdep.c, line 165
- sys/mips/mips/support.S, 2 times
- sys/mips/mips/sys_machdep.c, line 80
- sys/mips/mips/uio_machdep.c, line 114
- sys/net/altq/altq_cbq.c, line 436
- sys/net/altq/altq_codel.c, line 173
- sys/net/altq/altq_fairq.c, line 249
- sys/net/altq/altq_hfsc.c, line 295
- sys/net/altq/altq_priq.c, line 196
- sys/net/bpf.c, line 2812
- sys/net/if.c, 4 times
- sys/net/if_bridge.c, 4 times
- sys/net/if_clone.c, line 515
- sys/net/if_gif.c, line 633
- sys/net/if_gre.c, 3 times
- sys/net/if_ipsec.c, line 735
- sys/net/if_lagg.c, line 1204
- sys/net/if_media.c, line 323
- sys/net/if_spppsubr.c, line 5104
- sys/net/if_tuntap.c, line 1113
- sys/net/if_vlan.c, 2 times
- sys/net/if_vxlan.c, line 2230
- sys/net/iflib.c, line 4200
- sys/net/pfil.c, 3 times
- 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 1833
- sys/netinet/ip_carp.c, 2 times
- sys/netinet/sctp_syscalls.c, 4 times
- sys/netinet/tcp_log_buf.c, 2 times
- sys/netinet6/in6_mcast.c, line 1806
- sys/netpfil/ipfw/ip_fw_sockopt.c, line 3569
- sys/netpfil/pf/if_pfsync.c, line 1371
- 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 299
- sys/powerpc/powerpc/ptrace_machdep.c, 2 times
- sys/powerpc/powerpc/trap.c, 2 times
- sys/powerpc/powerpc/uio_machdep.c, line 104
- sys/riscv/riscv/copyinout.S, line 127
- sys/riscv/riscv/machdep.c, line 603
- sys/riscv/riscv/uio_machdep.c, line 98
- sys/security/audit/audit_syscalls.c, 4 times
- sys/security/mac/mac_net.c, line 440
- sys/security/mac/mac_socket.c, 2 times
- sys/security/mac/mac_syscalls.c, 4 times
- sys/sparc64/sparc64/machdep.c, line 679
- sys/sparc64/sparc64/rwindow.c, line 102
- sys/sparc64/sparc64/support.S, line 380
- sys/sparc64/sparc64/uio_machdep.c, line 110
- sys/ufs/ffs/ffs_suspend.c, line 157
- sys/ufs/ufs/ufs_quota.c, 3 times
- usr.sbin/bhyveload/bhyveload.c, line 612