Defined in 6 files as a prototype:
Defined in 2 files as a macro:
Defined in 4 files as a function:
Referenced in 134 files:
- contrib/apr/file_io/unix/mktemp.c, line 118
- contrib/bsnmp/snmpd/main.c, line 1618
- contrib/expat/lib/xmlparse.c, 3 times
- contrib/libevent/arc4random.c, line 549
- contrib/libevent/evutil_rand.c, 4 times
- contrib/llvm-project/libcxx/src/random.cpp, line 77
- contrib/netbsd-tests/lib/libc/t_cdb.c, 2 times
- contrib/netcat/netcat.c, line 1194
- contrib/ntp/lib/isc/random.c, line 96
- contrib/ntp/sntp/libevent/arc4random.c, line 549
- contrib/ntp/sntp/libevent/evutil_rand.c, 4 times
- contrib/openbsm/bin/auditdistd/subr.c, line 168
- contrib/pf/pflogd/privsep.c, line 205
- contrib/pf/tftp-proxy/tftp-proxy.c, line 384
- contrib/unbound/compat/arc4random_uniform.c, line 51
- contrib/unbound/util/random.c, line 97
- crypto/openssh/openbsd-compat/arc4random.c, 3 times
- crypto/openssh/packet.c, line 2641
- crypto/openssh/regress/netcat.c, line 1132
- crypto/openssh/regress/unittests/sshbuf/test_sshbuf_fuzz.c, 2 times
- crypto/openssh/sshkey.c, line 3468
- lib/geom/concat/geom_concat.c, line 147
- lib/geom/journal/geom_journal.c, line 153
- lib/geom/mirror/geom_mirror.c, 2 times
- lib/geom/raid3/geom_raid3.c, line 169
- lib/geom/shsec/geom_shsec.c, line 157
- lib/geom/stripe/geom_stripe.c, line 175
- lib/geom/virstor/geom_virstor.c, line 362
- lib/libc/gen/arc4random_uniform.c, line 52
- lib/libpam/modules/pam_unix/pam_unix.c, line 481
- lib/libradius/radlib.c, 2 times
- lib/libtacplus/taclib.c, 2 times
- lib/libufs/cgroup.c, line 162
- sbin/dhclient/dhclient.c, 6 times
- sbin/fsirand/fsirand.c, 3 times
- sbin/ggate/ggatec/ggatec.c, line 377
- sbin/growfs/growfs.c, 3 times
- sbin/newfs/mkfs.c, line 1195
- sbin/pfctl/pfctl_optimize.c, 2 times
- sys/arm/allwinner/if_awg.c, line 1547
- sys/arm/allwinner/if_emac.c, line 208
- sys/contrib/ipfilter/netinet/ip_fil_freebsd.c, 2 times
- sys/contrib/ipfilter/netinet/ip_state.c, line 311
- sys/contrib/libsodium/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c, line 71
- sys/contrib/libsodium/test/default/cmptest.h, line 33
- sys/contrib/rdma/krping/krping.c, line 1827
- sys/dev/ae/if_ae.c, line 1071
- sys/dev/beri/virtio/network/if_vtbe.c, line 508
- sys/dev/bxe/bxe.c, line 11539
- sys/dev/cadence/if_cgem.c, line 250
- sys/dev/cxgbe/cxgbei/cxgbei.c, 2 times
- sys/dev/cxgbe/iw_cxgbe/id_table.c, 2 times
- sys/dev/cxgbe/t4_sge.c, line 6539
- sys/dev/cxgbe/tom/t4_tom.c, 2 times
- sys/dev/dwc/if_dwc.c, line 1140
- sys/dev/ffec/if_ffec.c, line 961
- sys/dev/iwi/if_iwi.c, line 2644
- sys/dev/neta/if_mvneta.c, 2 times
- sys/dev/ntb/ntb_hw/ntb_hw_intel.c, line 2409
- sys/dev/qlnx/qlnxe/qlnx_os.c, line 2385
- sys/dev/ral/rt2860.c, line 3223
- sys/dev/sk/if_sk.c, line 1400
- sys/dev/vnic/nicvf_main.c, line 327
- sys/fs/ext2fs/ext2_alloc.c, 2 times
- sys/fs/nfsclient/nfs_clport.c, line 654
- sys/fs/nfsclient/nfs_clrpcops.c, 3 times
- sys/fs/nfsclient/nfs_clvnops.c, 2 times
- sys/fs/nfsserver/nfs_nfsdstate.c, line 7131
- sys/fs/tmpfs/tmpfs_subr.c, line 116
- sys/geom/concat/g_concat.c, line 834
- sys/geom/journal/g_journal.c, 3 times
- sys/geom/mirror/g_mirror.c, line 756
- sys/geom/mirror/g_mirror_ctl.c, 2 times
- sys/geom/nop/g_nop.c, 2 times
- sys/geom/raid/md_ddf.c, 6 times
- sys/geom/raid/md_intel.c, 2 times
- sys/geom/raid/md_jmicron.c, 4 times
- sys/geom/raid/md_sii.c, 14 times
- sys/geom/shsec/g_shsec.c, line 287
- sys/geom/stripe/g_stripe.c, line 1080
- sys/kern/kern_fork.c, 2 times
- sys/kern/kern_uuid.c, 2 times
- sys/kern/subr_unit.c, line 1064
- sys/kern/uipc_mbuf.c, 3 times
- sys/kern/uipc_mbufhash.c, 2 times
- sys/kern/vfs_vnops.c, line 2503
- sys/libkern/arc4random.c, line 240
- sys/libkern/arc4random_uniform.c, line 52
- sys/net/altq/altq_red.c, line 427
- sys/net/altq/altq_rmclass.c, line 1786
- sys/net/if_bridge.c, line 2930
- sys/net/if_vxlan.c, 2 times
- sys/net/radix_mpath.c, line 273
- sys/net80211/ieee80211.c, line 353
- sys/net80211/ieee80211_freebsd.c, line 757
- sys/net80211/ieee80211_mesh.c, line 3007
- sys/netinet/in_pcb.c, line 717
- sys/netinet/ip_carp.c, 2 times
- sys/netinet/ip_reass.c, line 573
- sys/netinet/libalias/alias_db.c, 6 times
- sys/netinet/tcp_fastopen.c, line 412
- sys/netinet/tcp_hpts.c, line 1151
- sys/netinet/tcp_subr.c, line 2827
- sys/netinet/tcp_syncache.c, 2 times
- sys/netinet6/frag6.c, line 986
- sys/netinet6/in6.c, 4 times
- sys/netinet6/in6_ifattach.c, 2 times
- sys/netinet6/ip6_id.c, 7 times
- sys/netinet6/ip6_input.c, line 252
- sys/netinet6/mld6_var.h, line 142
- sys/netinet6/nd6.c, line 998
- sys/netinet6/nd6.h, line 193
- sys/netinet6/nd6_nbr.c, line 1521
- sys/netpfil/ipfw/ip_fw_dynamic.c, line 3143
- sys/netpfil/ipfw/nat64/nat64lsn.c, line 1695
- sys/netpfil/pf/pf.c, 7 times
- sys/netpfil/pf/pf_ioctl.c, 3 times
- sys/netpfil/pf/pf_lb.c, 6 times
- sys/netpfil/pf/pf_norm.c, line 1473
- sys/ufs/ffs/ffs_alloc.c, 3 times
- sys/ufs/ffs/ffs_vfsops.c, line 2096
- sys/vm/vm_map.c, line 2100
- tools/regression/gaithrstress/gaithrstress.c, line 69
- tools/tools/qrndtest/r.c, line 48
- tools/tools/sortbench/sort_bench.c, line 136
- tools/tools/vhba/faulty/vhba_faulty.c, 2 times
- tools/tools/vhba/mptest/vhba_mptest.c, line 384
- tools/tools/vhba/rptluns/vhba_rptluns.c, 2 times
- usr.bin/jot/jot.c, line 325
- usr.bin/newkey/generic.c, line 67
- usr.sbin/inetd/builtins.c, line 417
- usr.sbin/keyserv/keyserv.c, 2 times
- usr.sbin/ppp/defs.h, line 127
- usr.sbin/pw/pw_user.c, line 523