Defined in 13 files as a macro:
- arch/avr32/include/asm/types.h, line 17 (as a macro)
- arch/frv/include/asm/types.h, line 20 (as a macro)
- arch/m32r/include/asm/types.h, line 10 (as a macro)
- arch/mn10300/include/asm/types.h, line 20 (as a macro)
- arch/xtensa/include/asm/types.h, line 20 (as a macro)
- include/asm-generic/bitsperlong.h, line 8 (as a macro)
- include/asm-generic/bitsperlong.h, line 10 (as a macro)
- include/linux/raid/pq.h, line 41 (as a macro)
- scripts/mod/file2alias.c, line 20 (as a macro)
- scripts/mod/file2alias.c, line 23 (as a macro)
- tools/include/asm-generic/bitsperlong.h, line 7 (as a macro)
- tools/include/asm-generic/bitsperlong.h, line 9 (as a macro)
- tools/include/linux/bitops.h, line 13 (as a macro)
Referenced in 433 files:
- arch/arc/kernel/unwind.c, 2 times
- arch/avr32/include/asm/bitops.h, 12 times
- arch/blackfin/mach-common/smp.c, 2 times
- arch/hexagon/include/asm/bitops.h, line 182
- arch/hexagon/kernel/smp.c, 2 times
- arch/ia64/hp/common/sba_iommu.c, 12 times
- arch/ia64/mm/tlb.c, line 75
- arch/ia64/sn/kernel/setup.c, line 762
- arch/m68k/mm/mcfmmu.c, line 27
- arch/microblaze/mm/mmu_context.c, line 34
- arch/mips/include/asm/bitops.h, line 469
- arch/mips/include/asm/div64.h, line 14
- arch/mips/include/asm/mipsregs.h, 3 times
- arch/mips/kernel/vpe.c, line 43
- arch/mips/mm/tlbex.c, line 2505
- arch/mn10300/mm/tlb-smp.c, line 121
- arch/parisc/include/asm/bitops.h, line 26
- arch/parisc/include/asm/checksum.h, line 130
- arch/parisc/include/asm/dma.h, line 23
- arch/parisc/include/asm/hash.h, line 48
- arch/parisc/include/asm/irq.h, line 25
- arch/parisc/include/asm/pgtable.h, 3 times
- arch/parisc/include/asm/signal.h, line 8
- arch/parisc/kernel/irq.c, line 376
- arch/parisc/kernel/pci-dma.c, 2 times
- arch/parisc/kernel/time.c, 2 times
- arch/parisc/lib/memset.c, line 24
- arch/parisc/mm/init.c, 3 times
- arch/powerpc/include/asm/bitops.h, 3 times
- arch/powerpc/include/asm/cpu_has_feature.h, line 18
- arch/powerpc/include/asm/ppc_asm.h, line 15
- arch/powerpc/kernel/machine_kexec.c, line 227
- arch/powerpc/kernel/smp.c, line 249
- arch/powerpc/kvm/book3s_xics.h, line 63
- arch/powerpc/kvm/bookehv_interrupts.S, line 40
- arch/powerpc/mm/mmu_context_hash32.c, line 62
- arch/powerpc/mm/mmu_context_nohash.c, line 66
- arch/powerpc/net/bpf_jit32.h, line 36
- arch/s390/include/asm/airq.h, 2 times
- arch/s390/include/asm/bitops.h, 22 times
- arch/s390/include/asm/irqflags.h, line 11
- arch/s390/include/asm/sysinfo.h, line 155
- arch/s390/kernel/als.c, 3 times
- arch/s390/kernel/ptrace.c, 6 times
- arch/s390/kvm/interrupt.c, line 2216
- arch/s390/lib/find.c, 16 times
- arch/sh/include/asm/bitops-op32.h, 2 times
- arch/sh/kernel/cpu/sh4/sq.c, 2 times
- arch/sparc/include/asm/pgtable_32.h, 2 times
- arch/sparc/include/asm/pgtable_64.h, 2 times
- arch/tile/include/asm/bitops_64.h, 12 times
- arch/tile/include/asm/page.h, line 134
- arch/x86/include/asm/bitops.h, 3 times
- arch/x86/include/asm/percpu.h, 3 times
- arch/x86/include/asm/xen/page.h, 2 times
- arch/x86/kernel/apic/apic_flat_64.c, 2 times
- arch/x86/kernel/cpu/mtrr/cleanup.c, line 263
- arch/x86/kvm/irq_comm.c, 3 times
- block/blk-settings.c, line 200
- block/blk-tag.c, 4 times
- crypto/fcrypt.c, line 307
- crypto/lrw.c, line 61
- drivers/acpi/nfit/core.c, line 1425
- drivers/atm/fore200e.h, line 589
- drivers/atm/lanai.c, line 1437
- drivers/auxdisplay/img-ascii-lcd.c, 2 times
- drivers/block/drbd/drbd_bitmap.c, 12 times
- drivers/block/drbd/drbd_int.h, 6 times
- drivers/block/drbd/drbd_main.c, 2 times
- drivers/block/drbd/drbd_receiver.c, line 4571
- drivers/block/null_blk.c, 2 times
- drivers/block/ps3disk.c, line 419
- drivers/block/xen-blkfront.c, line 438
- drivers/char/agp/i460-agp.c, 2 times
- drivers/char/hpet.c, line 57
- drivers/dma/ioat/dma.c, line 110
- drivers/dma/sh/shdma-base.c, line 1048
- drivers/dma/ste_dma40.c, 4 times
- drivers/gpio/gpio-mmio.c, 3 times
- drivers/gpio/gpio-pxa.c, line 451
- drivers/gpio/gpiolib.c, line 2578
- drivers/gpu/drm/amd/amdgpu/amdgpu.h, line 992
- drivers/gpu/drm/drm_bufs.c, 2 times
- drivers/gpu/drm/drm_gem.c, line 81
- drivers/gpu/drm/i915/i915_drv.h, 2 times
- drivers/gpu/drm/i915/intel_fbdev.c, line 361
- drivers/gpu/drm/omapdrm/tcm-sita.c, 3 times
- drivers/gpu/host1x/channel.c, line 32
- drivers/gpu/host1x/hw/intr_hw.c, 2 times
- drivers/infiniband/core/cache.c, line 758
- drivers/infiniband/core/cma.c, line 4240
- drivers/infiniband/hw/hfi1/verbs.c, 3 times
- drivers/infiniband/hw/hns/hns_roce_alloc.c, 2 times
- drivers/infiniband/hw/hns/hns_roce_device.h, line 637
- drivers/infiniband/hw/mlx4/qp.c, line 482
- drivers/infiniband/hw/mlx5/mem.c, 3 times
- drivers/infiniband/hw/mthca/mthca_doorbell.h, line 43
- drivers/infiniband/hw/mthca/mthca_profile.c, line 274
- drivers/infiniband/hw/qib/qib_iba7322.c, 11 times
- drivers/infiniband/hw/qib/qib_tx.c, 2 times
- drivers/input/keyboard/bcm-keypad.c, line 118
- drivers/input/keyboard/st-keyscan.c, line 53
- drivers/iommu/amd_iommu.c, line 2518
- drivers/iommu/intel-iommu.c, line 709
- drivers/iommu/io-pgtable-arm-v7s.c, 4 times
- drivers/iommu/io-pgtable-arm.c, 4 times
- drivers/irqchip/irq-armada-370-xp.c, line 413
- drivers/irqchip/irq-mmp.c, line 157
- drivers/irqchip/irq-mvebu-pic.c, line 99
- drivers/irqchip/irq-stm32-exti.c, line 35
- drivers/isdn/hardware/eicon/platform.h, 2 times
- drivers/lightnvm/rrpc.c, line 1309
- drivers/lightnvm/sysblk.c, 3 times
- drivers/md/bcache/request.c, line 351
- drivers/md/bcache/util.h, 2 times
- drivers/md/dm-cache-policy-internal.h, line 117
- drivers/md/dm-era-target.c, line 65
- drivers/md/dm-exception-store.h, line 138
- drivers/md/dm-io.c, line 22
- drivers/md/dm-stats.c, 2 times
- drivers/media/media-entity.c, 2 times
- drivers/misc/sgi-xp/xpc_sn2.c, 5 times
- drivers/mtd/chips/cfi_util.c, 2 times
- drivers/mtd/mtdoops.c, line 354
- drivers/mtd/nand/nand_base.c, line 1360
- drivers/mtd/tests/mtd_nandecctest.c, line 41
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c, line 35
- drivers/net/ethernet/broadcom/tg3.c, line 7659
- drivers/net/ethernet/cavium/liquidio/octeon_main.h, 2 times
- drivers/net/ethernet/chelsio/cxgb4/sge.c, 2 times
- drivers/net/ethernet/chelsio/cxgb4vf/sge.c, line 2079
- drivers/net/ethernet/intel/igb/igb.h, line 213
- drivers/net/ethernet/intel/igb/igb_main.c, 2 times
- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c, 2 times
- drivers/net/ethernet/sfc/bitfield.h, 3 times
- drivers/net/ethernet/sfc/ef10.c, line 1619
- drivers/net/ethernet/sfc/falcon/bitfield.h, 3 times
- drivers/net/ethernet/sfc/falcon/io.h, line 65
- drivers/net/ethernet/sfc/falcon/selftest.c, line 183
- drivers/net/ethernet/sfc/io.h, line 65
- drivers/net/ethernet/sfc/selftest.c, line 183
- drivers/net/ethernet/tehuti/tehuti.h, 3 times
- drivers/net/ethernet/ti/davinci_cpdma.h, line 18
- drivers/net/hippi/rrunner.c, 2 times
- drivers/net/hippi/rrunner.h, 8 times
- drivers/net/hyperv/netvsc.c, 3 times
- drivers/net/irda/donauboe.c, line 1592
- drivers/net/wireless/ath/ath10k/debug.c, line 406
- drivers/net/wireless/ath/ath10k/mac.c, 3 times
- drivers/net/wireless/ath/carl9170/main.c, 2 times
- drivers/net/wireless/intel/iwlwifi/dvm/rs.c, line 2836
- drivers/net/wireless/intel/iwlwifi/dvm/rxon.c, line 949
- drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c, line 588
- drivers/net/wireless/intel/iwlwifi/mvm/rs.c, 5 times
- drivers/net/wireless/intel/iwlwifi/pcie/trans.c, line 1978
- drivers/net/wireless/mediatek/mt7601u/main.c, 9 times
- drivers/net/wireless/mediatek/mt7601u/mt7601u.h, line 164
- drivers/nvdimm/core.c, line 327
- drivers/nvdimm/dimm_devs.c, line 304
- drivers/nvdimm/label.c, line 459
- drivers/parisc/ccio-dma.c, line 439
- drivers/parisc/sba_iommu.c, 8 times
- drivers/pci/hotplug/ibmphp_res.c, line 2087
- drivers/pinctrl/pinctrl-at91-pio4.c, line 285
- drivers/pinctrl/pinctrl-at91.c, line 1604
- drivers/pinctrl/pinctrl-oxnas.c, line 1066
- drivers/pinctrl/pinctrl-pic32.c, 2 times
- drivers/pinctrl/pinctrl-st.c, line 1378
- drivers/pinctrl/sirf/pinctrl-sirf.c, 2 times
- drivers/pinctrl/uniphier/pinctrl-uniphier.h, line 67
- drivers/ps3/ps3-vuart.c, 2 times
- drivers/reset/reset-socfpga.c, 7 times
- drivers/reset/reset-stm32.c, 4 times
- drivers/reset/reset-sunxi.c, 4 times
- drivers/reset/reset-zynq.c, 7 times
- drivers/rtc/rtc-sirfsoc.c, 4 times
- drivers/scsi/arcmsr/arcmsr.h, line 751
- drivers/scsi/cxlflash/vlun.c, 10 times
- drivers/scsi/cxlflash/vlun.h, line 22
- drivers/scsi/dpt_i2o.c, 2 times
- drivers/scsi/hpsa.c, 10 times
- drivers/scsi/ips.h, line 102
- drivers/scsi/lpfc/lpfc_disc.h, line 72
- drivers/scsi/lpfc/lpfc_init.c, 2 times
- drivers/scsi/lpfc/lpfc_mem.c, 2 times
- drivers/scsi/lpfc/lpfc_sli.c, 12 times
- drivers/scsi/megaraid.h, 4 times
- drivers/scsi/megaraid/megaraid_mm.h, 4 times
- drivers/scsi/megaraid/megaraid_sas_base.c, line 5006
- drivers/scsi/mvumi.c, 2 times
- drivers/scsi/ncr53c8xx.c, line 868
- drivers/scsi/qedi/qedi.h, line 311
- drivers/scsi/qla1280.c, 2 times
- drivers/scsi/qla2xxx/qla_target.h, line 830
- drivers/scsi/qla4xxx/ql4_def.h, line 785
- drivers/scsi/scsi_debug.c, line 217
- drivers/scsi/scsi_logging.c, line 21
- drivers/scsi/smartpqi/smartpqi_init.c, 5 times
- drivers/scsi/sr.c, line 102
- drivers/soc/fsl/qbman/qman.c, 2 times
- drivers/staging/lustre/include/linux/libcfs/libcfs_prim.h, line 42
- drivers/staging/lustre/include/linux/lnet/lib-lnet.h, line 46
- drivers/staging/lustre/lnet/libcfs/linux/linux-cpu.c, line 709
- drivers/staging/lustre/lustre/include/lustre_lib.h, line 62
- drivers/staging/lustre/lustre/llite/lcommon_cl.c, line 277
- drivers/staging/lustre/lustre/llite/llite_internal.h, line 631
- drivers/staging/lustre/lustre/lov/lov_internal.h, 2 times
- drivers/staging/lustre/lustre/mdc/mdc_internal.h, line 138
- drivers/staging/lustre/lustre/obdclass/lu_object.c, line 894
- drivers/staging/lustre/lustre/ptlrpc/client.c, line 3149
- drivers/tty/serial/sc16is7xx.c, line 418
- drivers/tty/tty_ldsem.c, line 60
- drivers/usb/dwc2/core.h, line 982
- drivers/usb/dwc2/hcd.h, line 217
- drivers/video/fbdev/amifb.c, 58 times
- drivers/video/fbdev/atafb.c, 2 times
- drivers/video/fbdev/core/cfbcopyarea.c, 2 times
- drivers/video/fbdev/core/cfbfillrect.c, 2 times
- drivers/video/fbdev/core/fb_draw.h, 5 times
- drivers/video/fbdev/core/fbsysfs.c, line 41
- drivers/video/fbdev/core/syscopyarea.c, line 321
- drivers/video/fbdev/core/sysfillrect.c, line 247
- drivers/video/fbdev/via/viafbdev.c, 2 times
- drivers/xen/events/events_2l.c, 2 times
- drivers/xen/events/events_fifo.c, line 72
- drivers/xen/grant-table.c, 2 times
- drivers/xen/time.c, line 27
- fs/btrfs/btrfs_inode.h, line 213
- fs/btrfs/raid56.c, line 984
- fs/btrfs/scrub.c, line 2822
- fs/btrfs/ulist.h, line 66
- fs/btrfs/volumes.h, 3 times
- fs/ceph/super.h, 2 times
- fs/ext4/dir.c, line 298
- fs/ext4/ext4.h, 2 times
- fs/ext4/mballoc.c, 2 times
- fs/f2fs/segment.c, 14 times
- fs/fat/fat.h, 2 times
- fs/fcntl.c, 3 times
- fs/file.c, 12 times
- fs/fuse/file.c, line 2490
- fs/gfs2/rgrp.c, line 41
- fs/jfs/super.c, line 594
- fs/locks.c, 3 times
- fs/nilfs2/alloc.c, line 48
- fs/ocfs2/cluster/masklog.h, 2 times
- fs/ocfs2/ocfs2.h, 2 times
- fs/ocfs2/super.c, line 602
- fs/open.c, line 225
- fs/orangefs/orangefs-bufmap.c, 2 times
- fs/orangefs/orangefs-kernel.h, 2 times
- fs/proc/task_mmu.c, 3 times
- fs/read_write.c, line 958
- fs/reiserfs/bitmap.c, 2 times
- fs/reiserfs/reiserfs.h, line 1928
- fs/select.c, 5 times
- fs/stat.c, 3 times
- fs/xfs/xfs_ioctl.c, line 222
- fs/xfs/xfs_super.c, 3 times
- fs/xfs/xfs_trans_priv.h, line 153
- include/acpi/platform/aclinux.h, line 130
- include/asm-generic/atomic-long.h, line 21
- include/asm-generic/bitops/__ffs.h, line 16
- include/asm-generic/bitops/__fls.h, 7 times
- include/asm-generic/bitops/fls64.h, 3 times
- include/asm-generic/bitops/le.h, line 31
- include/asm-generic/bitops/non-atomic.h, line 105
- include/asm-generic/bitops/sched.h, 3 times
- include/asm-generic/bitsperlong.h, line 17
- include/asm-generic/div64.h, 2 times
- include/asm-generic/getorder.h, 2 times
- include/asm-generic/local64.h, line 19
- include/linux/assoc_array.h, line 21
- include/linux/assoc_array_priv.h, line 26
- include/linux/bitmap.h, 4 times
- include/linux/bitops.h, 6 times
- include/linux/blkdev.h, line 828
- include/linux/btree-type.h, line 36
- include/linux/btree.h, line 210
- include/linux/count_zeros.h, 3 times
- include/linux/cpufreq.h, 2 times
- include/linux/cpumask.h, 5 times
- include/linux/efi.h, 12 times
- include/linux/etherdevice.h, 3 times
- include/linux/fcntl.h, 2 times
- include/linux/fdtable.h, line 22
- include/linux/fs.h, 10 times
- include/linux/fscache-cache.h, line 25
- include/linux/genhd.h, 4 times
- include/linux/gfp.h, line 338
- include/linux/hash.h, 4 times
- include/linux/jiffies.h, 2 times
- include/linux/joystick.h, 3 times
- include/linux/kallsyms.h, line 14
- include/linux/kernel.h, line 82
- include/linux/ktime.h, line 142
- include/linux/kvm_host.h, line 293
- include/linux/math64.h, 2 times
- include/linux/mlx4/doorbell.h, line 44
- include/linux/mlx5/doorbell.h, line 39
- include/linux/mm.h, 2 times
- include/linux/mm_types.h, 2 times
- include/linux/mod_devicetable.h, 9 times
- include/linux/mpi.h, 2 times
- include/linux/mtd/map.h, 11 times
- include/linux/nodemask.h, line 297
- include/linux/page-flags-layout.h, 2 times
- include/linux/page_counter.h, line 18
- include/linux/percpu.h, line 45
- include/linux/radix-tree.h, 2 times
- include/linux/signal.h, line 415
- include/linux/skbuff.h, 2 times
- include/linux/syscalls.h, 2 times
- include/linux/timekeeping.h, line 61
- include/linux/trace_events.h, line 25
- include/linux/tty.h, 2 times
- include/linux/u64_stats_sync.h, 12 times
- include/linux/workqueue.h, line 83
- include/net/addrconf.h, 3 times
- include/net/flow.h, 4 times
- include/net/inet_hashtables.h, line 248
- include/net/ip.h, line 210
- include/net/ipv6.h, 10 times
- include/net/netfilter/nf_tables.h, line 1164
- include/net/sctp/constants.h, line 249
- include/net/snmp.h, line 157
- include/trace/trace_events.h, line 287
- include/xen/grant_table.h, 2 times
- init/do_mounts.h, line 22
- ipc/sem.c, line 1802
- ipc/shm.c, 2 times
- kernel/compat.c, line 1127
- kernel/cpu.c, 2 times
- kernel/debug/kdb/kdb_private.h, 2 times
- kernel/gcov/gcov.h, line 30
- kernel/module.c, line 86
- kernel/power/snapshot.c, line 386
- kernel/sched/clock.c, line 238
- kernel/sched/core.c, 2 times
- kernel/sched/fair.c, line 209
- kernel/sched/wait.c, line 490
- kernel/sys.c, line 1328
- kernel/sysctl.c, line 2311
- kernel/time/hrtimer.c, line 280
- kernel/time/itimer.c, line 259
- kernel/time/jiffies.c, line 79
- kernel/time/ntp.c, line 706
- kernel/time/sched_clock.c, line 241
- kernel/time/time.c, 3 times
- kernel/trace/trace_output.c, line 125
- kernel/trace/trace_probe.c, line 496
- kernel/trace/trace_probe.h, line 213
- lib/bitmap.c, 35 times
- lib/btree.c, line 64
- lib/clz_ctz.c, 3 times
- lib/div64.c, line 25
- lib/find_bit.c, 17 times
- lib/flex_proportions.c, 2 times
- lib/genalloc.c, 6 times
- lib/hweight.c, 2 times
- lib/int_sqrt.c, line 24
- lib/iommu-common.c, line 117
- lib/memweight.c, 2 times
- lib/mpi/mpicoder.c, 2 times
- lib/percpu-refcount.c, line 34
- lib/radix-tree.c, 11 times
- lib/sbitmap.c, 2 times
- lib/string.c, line 903
- lib/strnlen_user.c, line 11
- lib/swiotlb.c, line 483
- lib/test_printf.c, line 30
- lib/ubsan.c, line 36
- lib/vsprintf.c, 4 times
- mm/bootmem.c, 10 times
- mm/kasan/report.c, 2 times
- mm/mempolicy.c, 5 times
- mm/mempool.c, 2 times
- mm/page-writeback.c, line 1330
- mm/page_alloc.c, 7 times
- mm/sparse-vmemmap.c, line 119
- mm/vmalloc.c, 2 times
- mm/workingset.c, 2 times
- mm/zsmalloc.c, 2 times
- net/ceph/osdmap.c, line 311
- net/core/dev.c, line 7556
- net/core/net-sysfs.c, line 812
- net/core/sock.c, line 801
- net/ipv4/af_inet.c, line 1541
- net/ipv4/fib_trie.c, 2 times
- net/netlabel/netlabel_kapi.c, 5 times
- net/netlink/af_netlink.c, line 511
- net/netlink/genetlink.c, 6 times
- net/openvswitch/flow.h, line 136
- net/sched/cls_flow.c, line 67
- net/sched/cls_flower.c, line 49
- net/sctp/tsnmap.c, line 365
- net/sunrpc/auth_gss/svcauth_gss.c, line 323
- net/unix/af_unix.c, line 2714
- scripts/mod/file2alias.c, 4 times
- security/selinux/hooks.c, line 3634
- security/selinux/ss/ebitmap.h, line 27
- sound/core/oss/pcm_oss.c, line 619
- sound/pci/ctxfi/cthw20k1.c, line 30
- sound/pci/ctxfi/cthw20k2.c, line 29
- sound/pci/hda/hda_intel.c, line 1644
- sound/pci/lx6464es/lx_core.h, line 230
- tools/include/asm-generic/bitops/__fls.h, 7 times
- tools/include/asm-generic/bitops/fls64.h, 3 times
- tools/include/asm-generic/bitsperlong.h, line 12
- tools/include/linux/bitmap.h, 4 times
- tools/include/linux/bitops.h, 3 times
- tools/include/linux/hash.h, 4 times
- tools/lib/bitmap.c, 4 times
- tools/lib/find_bit.c, 8 times
- tools/lib/hweight.c, 2 times
- tools/perf/ui/browsers/map.c, line 112
- tools/perf/ui/hist.c, line 652
- tools/perf/util/annotate.c, 2 times
- tools/perf/util/auxtrace.c, 2 times
- tools/perf/util/auxtrace.h, 3 times
- tools/perf/util/hist.c, 5 times
- tools/perf/util/probe-finder.c, line 290
- tools/perf/util/scripting-engines/trace-event-python.c, 2 times
- tools/perf/util/session.c, line 1740
- tools/perf/util/sort.c, 2 times
- tools/perf/util/vdso.c, 5 times
- tools/testing/radix-tree/linux/bitops.h, 3 times
- tools/testing/radix-tree/linux/bitops/__ffs.h, line 16
- tools/testing/radix-tree/linux/bitops/le.h, 2 times
- tools/testing/radix-tree/linux/bitops/non-atomic.h, 2 times
- tools/testing/radix-tree/test.c, line 47
- virt/kvm/arm/vgic/vgic-v2.c, line 33
- virt/kvm/kvm_main.c, line 1198