Defined in 4 files as a macro:
Defined in 1 files as a function:
Referenced in 398 files:
- cddl/usr.sbin/zfsd/zfsd.cc, 3 times
- contrib/bsnmp/gensnmptree/gensnmptree.c, 7 times
- contrib/bsnmp/lib/snmpclient.c, line 1489
- contrib/bsnmp/snmpd/config.c, 3 times
- contrib/bsnmp/snmpd/trans_lsock.c, line 410
- contrib/dma/dma.c, 4 times
- contrib/dma/spool.c, 4 times
- contrib/elftoolchain/elfcopy/symbols.c, line 1198
- contrib/libevent/buffer.c, line 3345
- contrib/libevent/bufferevent_ratelim.c, 2 times
- contrib/libevent/evmap.c, 6 times
- contrib/netbsd-tests/fs/puffs/h_dtfs/dtfs_subr.c, 2 times
- contrib/netbsd-tests/kernel/t_extent.c, line 101
- contrib/ntp/sntp/libevent/buffer.c, line 3337
- contrib/ntp/sntp/libevent/bufferevent_ratelim.c, 2 times
- contrib/ntp/sntp/libevent/evmap.c, 6 times
- contrib/openbsm/libbsm/bsm_mask.c, line 146
- crypto/openssh/openbsd-compat/sys-queue.h, line 68
- lib/geom/mirror/geom_mirror.c, 4 times
- lib/geom/part/geom_part.c, 14 times
- lib/lib80211/lib80211_regdomain.c, 17 times
- lib/libc/gen/sem.c, line 252
- lib/libc/gen/sem_new.c, 2 times
- lib/libc/gen/telldir.c, 2 times
- lib/libc/iconv/citrus_hash.h, line 52
- lib/libefivar/efivar-dp-xlate.c, 11 times
- lib/libgeom/geom_util.c, 3 times
- lib/libgeom/geom_xml2tree.c, 8 times
- lib/libmemstat/memstat.c, line 136
- lib/libpmcstat/libpmcstat_image.c, line 518
- lib/libpmcstat/libpmcstat_logging.c, 2 times
- lib/libpmcstat/libpmcstat_string.c, line 110
- lib/librt/sigev_thread.c, line 252
- lib/libsecureboot/openpgp/opgp_key.c, 2 times
- lib/libsecureboot/veopen.c, 2 times
- lib/libthr/thread/thr_list.c, line 278
- lib/libthr/thread/thr_pshared.c, 3 times
- lib/libthr/thread/thr_sleepq.c, line 105
- lib/libthr/thread/thr_stack.c, 3 times
- sbin/bsdlabel/bsdlabel.c, line 368
- sbin/fdisk/fdisk.c, line 776
- sbin/fsck_ffs/gjournal.c, line 110
- sbin/fsck_ffs/suj.c, 14 times
- sbin/geom/core/geom.c, 36 times
- sbin/ggate/ggated/ggated.c, line 437
- sbin/ggate/shared/ggate.c, 3 times
- sbin/ifconfig/ifieee80211.c, 3 times
- sbin/mdconfig/mdconfig.c, line 539
- sbin/natd/natd.c, 7 times
- sbin/pfctl/pfctl_altq.c, 2 times
- sbin/pfctl/pfctl_osfp.c, 9 times
- sbin/routed/if.c, 10 times
- sbin/routed/input.c, line 101
- sbin/routed/main.c, 5 times
- sbin/routed/output.c, 2 times
- sbin/routed/parms.c, line 355
- sbin/routed/rdisc.c, 3 times
- sbin/routed/table.c, 3 times
- sbin/routed/trace.c, line 879
- stand/kshim/bsd_kernel.c, line 458
- sys/arm/allwinner/if_emac.c, line 1121
- sys/arm/arm/pmap-v6.c, 5 times
- sys/arm/arm/undefined.c, line 320
- sys/arm/ti/twl/twl_clks.c, 5 times
- sys/arm/ti/twl/twl_vreg.c, 5 times
- sys/arm64/arm64/undefined.c, line 170
- sys/arm64/coresight/coresight_cmd.c, 4 times
- sys/cam/ctl/scsi_ctl.c, 2 times
- sys/cam/scsi/scsi_cd.c, line 498
- sys/cam/scsi/scsi_da.c, line 2219
- sys/cam/scsi/scsi_pt.c, line 410
- sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c, line 680
- sys/compat/cloudabi/cloudabi_futex.c, 3 times
- sys/compat/linprocfs/linprocfs.c, 3 times
- sys/compat/linux/linux_futex.c, line 359
- sys/compat/linuxkpi/common/src/linux_compat.c, 2 times
- sys/compat/linuxkpi/common/src/linux_usb.c, 3 times
- sys/contrib/ngatm/netnatm/api/cc_conn.c, 9 times
- sys/contrib/ngatm/netnatm/api/cc_data.c, 10 times
- sys/contrib/ngatm/netnatm/api/cc_dump.c, 4 times
- sys/contrib/ngatm/netnatm/api/cc_port.c, line 538
- sys/contrib/ngatm/netnatm/api/cc_user.c, 2 times
- sys/contrib/openzfs/lib/libzutil/os/freebsd/zutil_import_os.c, 3 times
- sys/contrib/openzfs/module/os/freebsd/spl/spl_kmem.c, 2 times
- sys/contrib/openzfs/module/os/freebsd/spl/spl_zone.c, 4 times
- sys/contrib/openzfs/module/os/freebsd/zfs/vdev_geom.c, 8 times
- sys/ddb/db_command.c, 5 times
- sys/ddb/db_ps.c, line 132
- sys/ddb/db_thread.c, 2 times
- sys/dev/ae/if_ae.c, line 915
- sys/dev/age/if_age.c, line 310
- sys/dev/aic7xxx/aic79xx.c, 9 times
- sys/dev/aic7xxx/aic79xx_osm.c, line 384
- sys/dev/aic7xxx/aic7xxx.c, 4 times
- sys/dev/aic7xxx/aic7xxx_osm.c, line 399
- sys/dev/aic7xxx/aic_osm_lib.c, line 56
- sys/dev/alc/if_alc.c, line 651
- sys/dev/ale/if_ale.c, line 332
- sys/dev/altera/atse/if_atse.c, line 1025
- sys/dev/axgbe/xgbe-phy-v2.c, line 3433
- sys/dev/bce/if_bce.c, line 6204
- sys/dev/bfe/if_bfe.c, line 1746
- sys/dev/bge/if_bge.c, line 5676
- sys/dev/bhnd/bhndb/bhndb_subr.c, line 1168
- sys/dev/bhnd/nvram/bhnd_nvram_plist.c, line 370
- sys/dev/bhnd/nvram/bhnd_nvram_store.c, 3 times
- sys/dev/bhnd/nvram/bhnd_nvram_store_subr.c, 3 times
- sys/dev/bnxt/if_bnxt.c, line 1270
- sys/dev/bxe/bxe.c, line 15318
- sys/dev/cadence/if_cgem.c, line 1258
- sys/dev/cxgbe/t4_filter.c, 2 times
- sys/dev/cxgbe/tom/t4_listen.c, line 294
- sys/dev/drm2/drm_gem_names.c, 3 times
- sys/dev/drm2/drm_hashtab.c, 3 times
- sys/dev/esp/ncr53c9x.c, 2 times
- sys/dev/et/if_et.c, line 613
- sys/dev/etherswitch/arswitch/arswitch.c, line 858
- sys/dev/etherswitch/e6000sw/e6000sw.c, line 1493
- sys/dev/etherswitch/e6000sw/e6060sw.c, line 414
- sys/dev/etherswitch/infineon/adm6996fc.c, line 386
- sys/dev/etherswitch/ip17x/ip17x.c, line 355
- sys/dev/etherswitch/micrel/ksz8995ma.c, line 446
- sys/dev/etherswitch/mtkswitch/mtkswitch.c, line 384
- sys/dev/etherswitch/rtl8366/rtl8366rb.c, line 353
- sys/dev/etherswitch/ukswitch/ukswitch.c, line 311
- sys/dev/evdev/evdev.c, line 829
- sys/dev/fb/fbd.c, line 213
- sys/dev/fxp/if_fxp.c, line 2607
- sys/dev/hme/if_hme.c, 2 times
- sys/dev/hwpmc/hwpmc_mod.c, 11 times
- sys/dev/hyperv/hvsock/hv_sock.c, 4 times
- sys/dev/isp/isp_freebsd.c, line 884
- sys/dev/ixl/ixl_iw.c, 9 times
- sys/dev/jme/if_jme.c, 2 times
- sys/dev/ksyms/ksyms.c, line 419
- sys/dev/led/led.c, 2 times
- sys/dev/lge/if_lge.c, line 1406
- sys/dev/md/md.c, line 1258
- sys/dev/mgb/if_mgb.c, line 513
- sys/dev/mii/mii.c, 4 times
- sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c, line 75
- sys/dev/nfe/if_nfe.c, line 3280
- sys/dev/nge/if_nge.c, line 2241
- sys/dev/proto/proto_busdma.c, 3 times
- sys/dev/re/if_re.c, line 3816
- sys/dev/rt/if_rt.c, line 640
- sys/dev/sge/if_sge.c, line 1724
- sys/dev/sis/if_sis.c, line 2098
- sys/dev/ste/if_ste.c, line 315
- sys/dev/syscons/scterm.c, 2 times
- sys/dev/syscons/scvidctl.c, line 845
- sys/dev/usb/net/if_aue.c, line 1024
- sys/dev/usb/net/if_axe.c, line 462
- sys/dev/usb/net/if_axge.c, line 497
- sys/dev/usb/net/if_mos.c, line 544
- sys/dev/usb/net/if_muge.c, line 2019
- sys/dev/usb/net/if_rue.c, line 886
- sys/dev/usb/net/if_smsc.c, line 635
- sys/dev/usb/net/if_udav.c, line 771
- sys/dev/usb/net/if_ure.c, line 1251
- sys/dev/vge/if_vge.c, line 2185
- sys/dev/vmware/vmci/vmci_kernel_if.h, line 33
- sys/dev/vr/if_vr.c, line 2192
- sys/dev/vte/if_vte.c, line 319
- sys/dev/xen/xenstore/xenstore.c, 2 times
- sys/dev/xen/xenstore/xenstore_dev.c, 2 times
- sys/fs/devfs/devfs_dir.c, 2 times
- sys/fs/fdescfs/fdesc_vnops.c, 3 times
- sys/fs/fuse/fuse_file.c, 5 times
- sys/fs/fuse/fuse_internal.c, line 355
- sys/fs/nfsclient/nfs_clrpcops.c, 2 times
- sys/fs/nfsclient/nfs_clstate.c, 74 times
- sys/fs/nfsserver/nfs_fha_new.c, 4 times
- sys/fs/nfsserver/nfs_nfsdcache.c, 2 times
- sys/fs/nfsserver/nfs_nfsdstate.c, 55 times
- sys/fs/nullfs/null_subr.c, 2 times
- sys/fs/tmpfs/tmpfs_subr.c, 2 times
- sys/fs/tmpfs/tmpfs_vfsops.c, line 598
- sys/fs/unionfs/union_subr.c, 3 times
- sys/geom/bde/g_bde.c, line 89
- sys/geom/cache/g_cache.c, 3 times
- sys/geom/concat/g_concat.c, 4 times
- sys/geom/eli/g_eli.c, 2 times
- sys/geom/eli/g_eli_ctl.c, 2 times
- sys/geom/geom_ccd.c, 4 times
- sys/geom/geom_ctl.c, 2 times
- sys/geom/geom_dev.c, 2 times
- sys/geom/geom_disk.c, 4 times
- sys/geom/geom_dump.c, 13 times
- sys/geom/geom_slice.c, 2 times
- sys/geom/geom_subr.c, 37 times
- sys/geom/journal/g_journal.c, 6 times
- sys/geom/label/g_label.c, 2 times
- sys/geom/linux_lvm/g_linux_lvm.c, 10 times
- sys/geom/mirror/g_mirror.c, 28 times
- sys/geom/mirror/g_mirror_ctl.c, 7 times
- sys/geom/mountver/g_mountver.c, 5 times
- sys/geom/multipath/g_multipath.c, 17 times
- sys/geom/nop/g_nop.c, 4 times
- sys/geom/part/g_part.c, 17 times
- sys/geom/part/g_part_bsd.c, line 318
- sys/geom/part/g_part_bsd64.c, line 640
- sys/geom/part/g_part_ebr.c, 2 times
- sys/geom/part/g_part_gpt.c, 3 times
- sys/geom/part/g_part_ldm.c, 11 times
- sys/geom/part/g_part_mbr.c, line 543
- sys/geom/part/g_part_vtoc8.c, line 351
- sys/geom/raid/g_raid.c, 8 times
- sys/geom/raid/g_raid_ctl.c, 4 times
- sys/geom/raid/md_ddf.c, 2 times
- sys/geom/raid/md_intel.c, line 1544
- sys/geom/raid/md_jmicron.c, line 881
- sys/geom/raid/md_nvidia.c, line 878
- sys/geom/raid/md_promise.c, 2 times
- sys/geom/raid/md_sii.c, line 967
- sys/geom/raid3/g_raid3.c, 3 times
- sys/geom/raid3/g_raid3_ctl.c, line 56
- sys/geom/shsec/g_shsec.c, 4 times
- sys/geom/stripe/g_stripe.c, 4 times
- sys/geom/uzip/g_uzip.c, line 914
- sys/geom/vinum/geom_vinum.c, 2 times
- sys/geom/vinum/geom_vinum_create.c, line 130
- sys/geom/vinum/geom_vinum_drive.c, line 284
- sys/geom/vinum/geom_vinum_init.c, 7 times
- sys/geom/vinum/geom_vinum_list.c, 14 times
- sys/geom/vinum/geom_vinum_plex.c, 6 times
- sys/geom/vinum/geom_vinum_raid5.c, 8 times
- sys/geom/vinum/geom_vinum_rename.c, 3 times
- sys/geom/vinum/geom_vinum_rm.c, line 374
- sys/geom/vinum/geom_vinum_state.c, 4 times
- sys/geom/vinum/geom_vinum_subr.c, 42 times
- sys/geom/vinum/geom_vinum_volume.c, 2 times
- sys/geom/virstor/g_virstor.c, 4 times
- sys/gnu/gcov/gcov_fs.c, 3 times
- sys/kern/kern_conf.c, 4 times
- sys/kern/kern_cpuset.c, 8 times
- sys/kern/kern_exit.c, 3 times
- sys/kern/kern_hhook.c, 3 times
- sys/kern/kern_jail.c, 2 times
- sys/kern/kern_ktrace.c, line 1013
- sys/kern/kern_lockf.c, 23 times
- sys/kern/kern_loginclass.c, 2 times
- sys/kern/kern_proc.c, 17 times
- sys/kern/kern_procctl.c, 4 times
- sys/kern/kern_rctl.c, 17 times
- sys/kern/kern_resource.c, 4 times
- sys/kern/kern_rmlock.c, line 850
- sys/kern/kern_sig.c, 3 times
- sys/kern/kern_thread.c, line 1312
- sys/kern/kern_timeout.c, line 1465
- sys/kern/kern_umtx.c, line 592
- sys/kern/subr_firmware.c, 4 times
- sys/kern/subr_gtaskqueue.c, 3 times
- sys/kern/subr_lock.c, 4 times
- sys/kern/subr_rman.c, line 1032
- sys/kern/subr_rtc.c, 4 times
- sys/kern/subr_sfbuf.c, 2 times
- sys/kern/subr_sleepqueue.c, 5 times
- sys/kern/subr_taskqueue.c, 2 times
- sys/kern/subr_turnstile.c, 7 times
- sys/kern/subr_vmem.c, 7 times
- sys/kern/sysv_sem.c, 2 times
- sys/kern/tty_info.c, line 332
- sys/kern/uipc_ktls.c, 2 times
- sys/kern/uipc_mqueue.c, 6 times
- sys/kern/uipc_sem.c, 2 times
- sys/kern/uipc_shm.c, 3 times
- sys/kern/uipc_usrreq.c, 6 times
- sys/kern/vfs_hash.c, 3 times
- sys/kgssapi/gss_impl.c, 4 times
- sys/mips/atheros/ar531x/if_are.c, line 1027
- sys/mips/atheros/if_arge.c, line 1878
- sys/mips/cavium/octe/octe.c, line 337
- sys/net/altq/altq_subr.c, 8 times
- sys/net/bridgestp.c, 14 times
- sys/net/ieee8023ad_lacp.c, 3 times
- sys/net/if_bridge.c, line 1883
- sys/net/if_clone.c, 8 times
- sys/net/if_lagg.c, 2 times
- sys/net/if_media.c, 2 times
- sys/net/if_stf.c, line 390
- sys/net/if_vxlan.c, 6 times
- sys/net/iflib_clone.c, line 124
- sys/net/pfil.c, 9 times
- sys/net/raw_usrreq.c, line 90
- sys/net/vnet.c, line 464
- sys/net/vnet.h, line 267
- sys/net80211/ieee80211.c, 3 times
- sys/net80211/ieee80211_acl.c, 2 times
- sys/net80211/ieee80211_node.c, 2 times
- sys/net80211/ieee80211_scan_sta.c, 2 times
- sys/netgraph/atm/ngatmbase.c, 3 times
- sys/netgraph/atm/uni/ng_uni.c, 2 times
- sys/netgraph/bluetooth/hci/ng_hci_evnt.c, 4 times
- sys/netgraph/bluetooth/hci/ng_hci_main.c, 3 times
- sys/netgraph/bluetooth/hci/ng_hci_misc.c, 2 times
- sys/netgraph/bluetooth/hci/ng_hci_ulpi.c, 3 times
- sys/netgraph/bluetooth/l2cap/ng_l2cap_cmds.c, line 327
- sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c, line 528
- sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c, 4 times
- sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.c, 4 times
- sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c, 3 times
- sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c, 6 times
- sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c, 4 times
- sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c, 6 times
- sys/netgraph/bluetooth/socket/ng_btsocket_sco.c, 5 times
- sys/netgraph/netgraph.h, line 429
- sys/netgraph/ng_base.c, 11 times
- sys/netgraph/ng_etf.c, line 163
- sys/netgraph/ng_hub.c, line 131
- sys/netgraph/ng_ipfw.c, line 219
- sys/netgraph/ng_l2tp.c, line 712
- sys/netgraph/ng_pppoe.c, 7 times
- sys/netgraph/ng_pptpgre.c, line 1223
- sys/netgraph/ng_socket.c, 2 times
- sys/netgraph/ng_tag.c, line 618
- sys/netgraph/ng_tcpmss.c, line 369
- sys/netinet/if_ether.c, 3 times
- sys/netinet/igmp.c, 4 times
- sys/netinet/in.c, 2 times
- sys/netinet/in_var.h, line 146
- sys/netinet/ip_carp.c, 2 times
- sys/netinet/ip_icmp.c, line 789
- sys/netinet/ip_input.c, line 692
- sys/netinet/ip_mroute.c, 5 times
- sys/netinet/libalias/alias_db.c, 5 times
- sys/netinet/libalias/alias_sctp.c, 16 times
- sys/netinet/sctp_asconf.c, 14 times
- sys/netinet/sctp_auth.c, 4 times
- sys/netinet/sctp_output.c, 21 times
- sys/netinet/sctp_pcb.c, 30 times
- sys/netinet/sctp_sysctl.c, 10 times
- sys/netinet/sctp_usrreq.c, 29 times
- sys/netinet/sctputil.c, 6 times
- sys/netinet/siftr.c, line 382
- sys/netinet/tcp_lro.c, line 1283
- sys/netinet6/mld6.c, 4 times
- sys/netinet6/nd6.c, 4 times
- sys/netinet6/nd6_rtr.c, 11 times
- sys/netinet6/sctp6_usrreq.c, line 999
- sys/netipsec/key.c, 20 times
- sys/netipsec/keysock.c, line 210
- sys/netipsec/subr_ipsec.c, 2 times
- sys/netpfil/ipfw/ip_fw_nat.c, 18 times
- sys/netpfil/pf/if_pfsync.c, line 762
- sys/netpfil/pf/pf.c, 8 times
- sys/netpfil/pf/pf_ioctl.c, 9 times
- sys/nlm/nlm_advlock.c, 2 times
- sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c, 2 times
- sys/powerpc/aim/mmu_oea.c, 12 times
- sys/powerpc/aim/mmu_oea64.c, 6 times
- sys/riscv/riscv/pmap.c, line 440
- sys/rpc/rpcsec_gss/rpcsec_gss.c, line 682
- sys/rpc/rpcsec_gss/rpcsec_gss_conf.c, 2 times
- sys/rpc/svc.c, line 1412
- sys/security/audit/audit_bsm_db.c, 6 times
- sys/security/mac/mac_framework.c, 4 times
- sys/security/mac/mac_internal.h, 14 times
- sys/security/mac/mac_syscalls.c, 2 times
- sys/security/mac_veriexec/veriexec_fingerprint.c, 2 times
- sys/sys/jail.h, line 278
- sys/sys/proc.h, line 846
- sys/ufs/ffs/ffs_alloc.c, line 2476
- sys/ufs/ffs/ffs_softdep.c, 41 times
- sys/ufs/ufs/ufs_extattr.c, line 1300
- sys/ufs/ufs/ufs_quota.c, line 1201
- sys/vm/uma_core.c, 18 times
- sys/vm/uma_int.h, line 612
- sys/x86/iommu/intel_ctx.c, 2 times
- sys/x86/iommu/intel_drv.c, 4 times
- sys/x86/iommu/intel_idpgtbl.c, 2 times
- tools/regression/geom/ConfCmp/ConfCmp.c, 4 times
- tools/regression/geom/MdLoad/MdLoad.c, 2 times
- usr.bin/netstat/mroute.c, line 386
- usr.bin/netstat/unix.c, line 155
- usr.bin/sort/file.c, 2 times
- usr.bin/systat/netstat.c, line 204
- usr.bin/truss/setup.c, 4 times
- usr.sbin/bhyve/mevent.c, 2 times
- usr.sbin/bluetooth/bthidd/session.c, 2 times
- usr.sbin/bluetooth/btpand/channel.c, 2 times
- usr.sbin/boot0cfg/boot0cfg.c, line 360
- usr.sbin/bsdinstall/partedit/gpart_ops.c, 30 times
- usr.sbin/bsdinstall/partedit/part_wizard.c, 12 times
- usr.sbin/bsdinstall/partedit/partedit.c, 9 times
- usr.sbin/bsdinstall/partedit/scripted.c, 5 times
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_partition_tbl.c, 6 times
- usr.sbin/efibootmgr/efibootmgr.c, 7 times
- usr.sbin/fmtree/excludes.c, line 105
- usr.sbin/gssd/gssd.c, 2 times
- usr.sbin/inetd/inetd.c, 4 times
- usr.sbin/jail/command.c, line 830
- usr.sbin/lpr/chkprintcap/chkprintcap.c, line 245
- usr.sbin/makefs/cd9660/cd9660_eltorito.c, 2 times
- usr.sbin/pmcstat/pmcpl_callgraph.c, 7 times
- usr.sbin/pmcstat/pmcpl_gprof.c, 6 times
- usr.sbin/pmcstat/pmcstat_log.c, 4 times
- usr.sbin/rpc.lockd/lockd_lock.c, 6 times