Defined in 8 files as a prototype:
Defined in 1 files as a member:
Defined in 2 files as a macro:
Defined in 10 files as a function:
- contrib/binutils/libiberty/ffs.c, line 14 (as a function)
- lib/libc/arm/string/ffs.S, line 47 (as a function)
- lib/libc/i386/string/ffs.S, line 45 (as a function)
- lib/libc/string/ffs.c, line 44 (as a function)
- sys/arm/include/cpufunc.h, line 365 (as a function)
- sys/arm64/include/cpufunc.h, line 44 (as a function)
- sys/i386/include/cpufunc.h, line 216 (as a function)
- sys/libkern/arm/ffs.S, line 49 (as a function)
- sys/libkern/ffs.c, line 41 (as a function)
- usr.sbin/makefs/makefs.c, line 78 (as a function)
Referenced in 140 files:
- bin/pax/options.c, line 1289
- contrib/binutils/bfd/elflink.c, line 4134
- contrib/binutils/gas/config/tc-alpha.c, 2 times
- contrib/binutils/gas/config/tc-arm.c, 2 times
- contrib/binutils/gas/config/tc-score.c, line 6503
- contrib/binutils/gas/dwarf2dbg.c, 3 times
- contrib/bmake/targ.c, line 393
- contrib/jemalloc/include/jemalloc/internal/bit_util.h, 3 times
- contrib/jemalloc/include/jemalloc/jemalloc.h, 3 times
- contrib/libedit/tty.c, line 1269
- contrib/libpcap/optimize.c, 2 times
- contrib/netbsd-tests/fs/common/h_fsmacros.h, 5 times
- contrib/netbsd-tests/fs/ffs/t_mount.c, 2 times
- contrib/netbsd-tests/include/sys/t_bitops.c, 7 times
- contrib/ofed/libmlx4/mlx4.c, line 183
- contrib/ofed/libmlx4/srq.c, line 179
- lib/libc/arm/string/ffs.S, line 83
- lib/libc/i386/string/ffs.S, line 54
- lib/libc/locale/xlocale.c, line 356
- lib/libc/mips/string/ffs.S, 2 times
- lib/libifconfig/libifconfig_inet.c, line 52
- lib/libifconfig/libifconfig_inet6.c, line 53
- lib/libpmc/libpmc.c, line 1620
- sbin/dump/main.c, 2 times
- stand/kshim/bsd_kernel.h, line 133
- stand/libsa/dosfs.c, line 512
- sys/arm/allwinner/a10_dmac.c, line 187
- sys/arm/arm/pmap-v6.c, 3 times
- sys/arm/broadcom/bcm2835/bcm2835_gpio.c, line 919
- sys/arm/broadcom/bcm2835/bcm2835_intr.c, 3 times
- sys/arm/broadcom/bcm2835/bcm2838_pci.c, line 398
- sys/arm/include/runq.h, line 41
- sys/arm/mv/ic.c, 3 times
- sys/arm/mv/mpic.c, 3 times
- sys/arm/nvidia/as3722_regulators.c, 3 times
- sys/arm/nvidia/tegra124/tegra124_clk_pll.c, line 446
- sys/arm/nvidia/tegra_pcie.c, line 567
- sys/cam/ctl/ctl_error.c, 2 times
- sys/cam/scsi/scsi_enc.c, line 771
- sys/cam/scsi/scsi_sa.c, 2 times
- sys/compat/linuxkpi/common/include/linux/bitops.h, line 69
- sys/contrib/ck/include/ck_cc.h, line 122
- sys/contrib/ena-com/ena_plat.h, line 406
- sys/contrib/zstd/lib/freebsd/zstd_kfreebsd.c, line 72
- sys/dev/acpica/acpi_hpet.c, line 665
- sys/dev/agp/agp_amd.c, line 329
- sys/dev/agp/agp_ati.c, line 308
- sys/dev/agp/agp_sis.c, line 220
- sys/dev/ahci/ahci.c, 3 times
- sys/dev/aic7xxx/aic79xx.c, line 10170
- sys/dev/aic7xxx/aic7xxx.c, line 7673
- sys/dev/ath/ath_rate/sample/sample.c, line 1377
- sys/dev/bnxt/bnxt_sysctl.c, line 960
- sys/dev/cfi/cfi_core.c, line 670
- sys/dev/cxgbe/iw_cxgbe/mem.c, line 491
- sys/dev/cxgbe/t4_main.c, 2 times
- sys/dev/cxgbe/t4_netmap.c, line 775
- sys/dev/cxgbe/t4_sge.c, line 5810
- sys/dev/cxgbe/t4_vf.c, line 652
- sys/dev/esp/ncr53c9x.c, line 1679
- sys/dev/gpio/pl061.c, line 431
- sys/dev/hyperv/netvsc/hn_rndis.c, line 499
- sys/dev/iwm/if_iwm.c, line 4398
- sys/dev/ixl/ixl_pf_iov.c, 2 times
- sys/dev/le/am7990.c, 2 times
- sys/dev/le/am79900.c, 2 times
- sys/dev/mlx4/mlx4_core/mlx4_fw.c, line 1522
- sys/dev/mlx4/mlx4_core/mlx4_mr.c, line 1058
- sys/dev/mlx5/mlx5_core/mlx5_cmd.c, line 1198
- sys/dev/mn/if_mn.c, line 474
- sys/dev/mthca/mthca_allocator.c, line 85
- sys/dev/mthca/mthca_cmd.c, line 678
- sys/dev/mthca/mthca_cq.c, line 831
- sys/dev/mthca/mthca_eq.c, line 535
- sys/dev/mthca/mthca_profile.c, 5 times
- sys/dev/mthca/mthca_provider.c, line 938
- sys/dev/mvs/mvs.c, 3 times
- sys/dev/pci/pci.c, line 2624
- sys/dev/qat/qat.c, line 1135
- sys/dev/sdhci/fsl_sdhci.c, line 599
- sys/dev/sound/pci/hda/hdaa.c, 2 times
- sys/dev/sound/pcm/mixer.c, line 363
- sys/dev/sume/if_sume.c, line 247
- sys/dev/usb/controller/dwc_otg.c, line 2706
- sys/dev/usb/controller/saf1761_otg.c, 3 times
- sys/dev/virtio/network/if_vtnet.c, line 3524
- sys/dev/vt/hw/efifb/efifb.c, 3 times
- sys/fs/cd9660/cd9660_vfsops.c, line 369
- sys/fs/ext2fs/ext2_alloc.c, 3 times
- sys/fs/msdosfs/msdosfs_fat.c, 4 times
- sys/fs/msdosfs/msdosfs_vfsops.c, 2 times
- sys/fs/udf/udf_vfsops.c, line 417
- sys/geom/cache/g_cache.c, line 496
- sys/geom/part/g_part.c, 2 times
- sys/geom/raid/md_ddf.c, line 2780
- sys/geom/raid/md_nvidia.c, line 1450
- sys/geom/raid/md_promise.c, line 1764
- sys/i386/i386/k6_mem.c, 2 times
- sys/i386/include/cpufunc.h, line 232
- sys/i386/include/runq.h, line 41
- sys/i386/pci/pci_pir.c, line 521
- sys/isa/isa_common.c, line 268
- sys/isa/pnp.c, 2 times
- sys/kern/kern_sig.c, line 665
- sys/kern/subr_blist.c, line 218
- sys/libkern/arm/ffs.S, line 86
- sys/mips/include/runq.h, line 50
- sys/mips/mips/mp_machdep.c, line 131
- sys/mips/mips/support.S, 2 times
- sys/mips/nlm/dev/net/ucore/ucore.h, 2 times
- sys/net/netisr.c, line 963
- sys/net/route/route_ddb.c, line 155
- sys/netpfil/ipfw/dn_sched_prio.c, line 126
- sys/netpfil/ipfw/dn_sched_qfq.c, 2 times
- sys/netpfil/ipfw/nat64/nat64lsn.c, line 1102
- sys/netpfil/ipfw/test/main.c, line 673
- sys/powerpc/aim/mmu_oea.c, line 1753
- sys/powerpc/aim/mmu_oea64.c, line 2480
- sys/powerpc/mpc85xx/fsl_sata.c, 2 times
- sys/powerpc/powerpc/mp_machdep.c, line 310
- sys/riscv/riscv/mp_machdep.c, line 334
- sys/security/mac/mac_framework.c, line 537
- sys/ufs/ffs/ffs_alloc.c, 2 times
- sys/ufs/ffs/ffs_softdep.c, line 2543
- sys/ufs/ffs/ffs_vfsops.c, line 2660
- sys/vm/vm_phys.c, line 722
- sys/x86/iommu/intel_qi.c, line 297
- sys/x86/x86/local_apic.c, 2 times
- sys/x86/x86/mptable.c, line 993
- tools/tools/cxgbtool/cxgbtool.c, line 1316
- usr.sbin/bhyve/pci_e82545.c, line 375
- usr.sbin/bhyve/pci_emul.c, line 785
- usr.sbin/makefs/ffs/ufs_bmap.c, line 79
- usr.sbin/makefs/makefs.h, line 187
- usr.sbin/makefs/msdos/msdosfs_fat.c, 4 times
- usr.sbin/makefs/msdos/msdosfs_vfsops.c, 2 times
- usr.sbin/mfiutil/mfi_config.c, line 527
- usr.sbin/mptutil/mpt_config.c, line 863
- usr.sbin/mptutil/mpt_show.c, line 376
- usr.sbin/pciconf/cap.c, line 992