BITS_PER_LONG
Defined as a preprocessor macro in:
Referenced (in 376 files total) in:
- arch/arc/kernel/unwind.c, 2 times
- arch/arm64/kvm/trng.c, line 36
- arch/hexagon/include/asm/bitops.h, 2 times
- arch/hexagon/kernel/smp.c, 2 times
- arch/loongarch/include/asm/bootinfo.h, line 27
- arch/loongarch/kernel/paravirt.c, 3 times
- arch/loongarch/kvm/exit.c, 4 times
- arch/loongarch/mm/maccess.c, line 9
- arch/m68k/mm/mcfmmu.c, line 28
- arch/microblaze/mm/mmu_context.c, line 29
- arch/mips/include/asm/bitops.h, 15 times
- arch/mips/include/asm/div64.h, line 14
- arch/mips/include/asm/mipsregs.h, 2 times
- arch/mips/kernel/vpe.c, line 43
- arch/mips/kvm/vz.c, 2 times
- arch/mips/lib/bitops.c, 6 times
- arch/mips/mm/maccess.c, line 9
- arch/mips/mm/tlbex.c, line 2518
- arch/parisc/include/asm/checksum.h, line 121
- arch/parisc/include/asm/dma.h, line 26
- arch/parisc/include/asm/hash.h, line 49
- arch/parisc/include/asm/irq.h, line 26
- arch/parisc/include/asm/pgtable.h, 3 times
- arch/parisc/kernel/irq.c, line 349
- arch/parisc/kernel/pci-dma.c, 2 times
- arch/parisc/kernel/time.c, 3 times
- arch/parisc/lib/memset.c, line 5
- arch/parisc/mm/init.c, line 556
- arch/parisc/net/bpf_jit_comp64.c, 2 times
- arch/powerpc/include/asm/bitops.h, line 46
- arch/powerpc/include/asm/book3s/64/mmu-hash.h, line 669
- arch/powerpc/include/asm/cpu_has_feature.h, line 19
- arch/powerpc/include/asm/paca.h, line 155
- arch/powerpc/include/asm/ppc_asm.h, line 17
- arch/powerpc/kernel/smp.c, line 301
- arch/powerpc/kexec/core.c, line 210
- arch/powerpc/kvm/book3s_xics.h, line 64
- arch/powerpc/mm/book3s32/mmu_context.c, line 49
- arch/powerpc/mm/nohash/mmu_context.c, line 79
- arch/riscv/include/asm/arch_hweight.h, 4 times
- arch/riscv/include/asm/bitops.h, 8 times
- arch/riscv/include/asm/vector.h, line 151
- arch/riscv/kernel/sbi.c, 4 times
- arch/riscv/kvm/aia.c, 9 times
- arch/riscv/kvm/aia_imsic.c, 3 times
- arch/riscv/kvm/vcpu_onereg.c, 4 times
- arch/riscv/kvm/vcpu_pmu.c, line 175
- arch/riscv/kvm/vcpu_sbi.c, 4 times
- arch/riscv/kvm/vcpu_sbi_v01.c, line 56
- arch/s390/boot/als.c, 3 times
- arch/s390/include/asm/airq.h, 2 times
- arch/s390/include/asm/bitops.h, 16 times
- arch/s390/include/asm/irqflags.h, line 12
- arch/s390/include/asm/word-at-a-time.h, line 28
- arch/s390/kernel/ptrace.c, 5 times
- arch/s390/kvm/interrupt.c, 2 times
- arch/s390/lib/find.c, 16 times
- arch/sh/include/asm/bitops-op32.h, line 13
- arch/sparc/include/asm/pgtable_32.h, 2 times
- arch/sparc/include/asm/pgtable_64.h, 2 times
- arch/sparc/kernel/iommu-common.c, line 117
- arch/x86/events/probe.c, line 25
- arch/x86/include/asm/bitops.h, 5 times
- arch/x86/include/asm/kvm_host.h, line 865
- arch/x86/include/asm/nospec-branch.h, 3 times
- arch/x86/include/asm/percpu.h, 2 times
- arch/x86/include/asm/xen/page.h, 2 times
- arch/x86/kernel/apic/apic.c, line 1425
- arch/x86/kernel/cpu/mtrr/cleanup.c, line 250
- arch/x86/kernel/kvm.c, 3 times
- arch/x86/kernel/process.c, line 73
- arch/x86/kernel/unwind_frame.c, 2 times
- arch/x86/kernel/unwind_orc.c, 2 times
- arch/x86/kvm/irq_comm.c, 3 times
- arch/x86/kvm/lapic.c, line 853
- arch/x86/kvm/mmu/mmu.c, line 3628
- arch/x86/kvm/mmu/tdp_mmu.c, line 1573
- arch/x86/kvm/vmx/nested.c, 4 times
- block/blk-iocost.c, 2 times
- crypto/fcrypt.c, line 304
- crypto/lrw.c, line 61
- fs/9p/v9fs_vfs.h, line 47
- fs/bcachefs/btree_iter.h, 4 times
- fs/bcachefs/buckets.h, line 61
- fs/bcachefs/util.h, 2 times
- fs/btrfs/btrfs_inode.h, 4 times
- fs/btrfs/extent_io.c, line 2947
- fs/btrfs/fs.h, line 185
- fs/btrfs/messages.c, line 259
- fs/btrfs/messages.h, line 209
- fs/btrfs/qgroup.c, line 2013
- fs/btrfs/raid56.c, line 998
- fs/btrfs/scrub.c, line 1616
- fs/btrfs/subpage.c, line 855
- fs/btrfs/ulist.h, line 62
- fs/btrfs/volumes.c, 2 times
- fs/btrfs/volumes.h, 3 times
- fs/ceph/mds_client.c, line 568
- fs/erofs/decompressor.c, line 71
- fs/erofs/internal.h, 2 times
- fs/exfat/balloc.c, 8 times
- fs/ext4/dir.c, line 329
- fs/ext4/ext4.h, 2 times
- fs/ext4/fast_commit.c, 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, 18 times
- fs/fuse/dir.c, 4 times
- fs/fuse/ioctl.c, 2 times
- fs/hugetlbfs/inode.c, line 94
- fs/locks.c, 3 times
- fs/namei.c, 2 times
- fs/nfs/dir.c, line 467
- fs/nfs/nfs4session.h, line 38
- fs/nilfs2/alloc.c, line 39
- fs/nilfs2/bmap.h, 2 times
- fs/ntfs3/bitmap.c, 9 times
- fs/ntfs3/super.c, line 1068
- fs/ocfs2/cluster/masklog.h, 2 times
- fs/ocfs2/ocfs2.h, 2 times
- fs/ocfs2/super.c, line 579
- fs/orangefs/orangefs-bufmap.c, line 161
- fs/overlayfs/super.c, line 1343
- fs/pidfs.c, line 241
- fs/proc/task_mmu.c, 3 times
- fs/read_write.c, line 1125
- fs/reiserfs/bitmap.c, 2 times
- fs/reiserfs/reiserfs.h, line 1927
- fs/select.c, 5 times
- fs/smb/server/vfs_cache.h, line 122
- fs/stat.c, 2 times
- fs/xfs/xfs_handle.c, line 261
- fs/xfs/xfs_trans_priv.h, line 146
- fs/open.c, line 218
- include/acpi/platform/aclinux.h, line 107
- include/asm-generic/bitops/__ffs.h, line 17
- include/asm-generic/bitops/__fls.h, 7 times
- include/asm-generic/bitops/fls64.h, 3 times
- include/asm-generic/bitops/generic-non-atomic.h, 2 times
- include/asm-generic/bitops/le.h, line 14
- include/asm-generic/bitops/sched.h, 3 times
- include/asm-generic/bitsperlong.h, 4 times
- include/asm-generic/div64.h, 2 times
- include/asm-generic/getorder.h, 2 times
- include/asm-generic/local64.h, line 20
- include/drm/drm_vma_manager.h, line 36
- include/linux/assoc_array.h, line 17
- include/linux/assoc_array_priv.h, line 22
- include/linux/bitmap.h, 14 times
- include/linux/bitops.h, 4 times
- include/linux/bits.h, 2 times
- include/linux/btree-type.h, line 37
- include/linux/btree.h, line 211
- include/linux/count_zeros.h, 3 times
- include/linux/cpufreq.h, 2 times
- include/linux/cpumask.h, 7 times
- include/linux/dynamic_queue_limits.h, 3 times
- include/linux/efi.h, 14 times
- include/linux/etherdevice.h, 3 times
- include/linux/fcntl.h, line 28
- include/linux/fdtable.h, line 24
- include/linux/filelock.h, 2 times
- include/linux/filter.h, line 621
- include/linux/folio_queue.h, line 37
- include/linux/fs.h, 7 times
- include/linux/generic-radix-tree.h, line 57
- include/linux/gfp.h, line 100
- include/linux/hash.h, 4 times
- include/linux/hmm.h, 4 times
- include/linux/hugetlb.h, line 742
- include/linux/i3c/master.h, line 357
- include/linux/jiffies.h, 2 times
- include/linux/joystick.h, 3 times
- include/linux/kallsyms.h, line 21
- include/linux/ktime.h, line 126
- include/linux/kvm_host.h, line 623
- include/linux/math.h, 2 times
- include/linux/math64.h, 2 times
- include/linux/mlx4/doorbell.h, line 44
- include/linux/mlx5/doorbell.h, line 52
- include/linux/mm.h, 2 times
- include/linux/mm_types_task.h, 2 times
- include/linux/mmzone.h, line 406
- include/linux/mod_devicetable.h, 10 times
- include/linux/mpi.h, 2 times
- include/linux/mtd/map.h, 11 times
- include/linux/netfilter.h, 2 times
- include/linux/nodemask.h, line 315
- include/linux/nospec.h, line 37
- include/linux/page-flags-layout.h, 4 times
- include/linux/page_counter.h, line 44
- include/linux/percpu.h, line 73
- include/linux/raid/pq.h, line 29
- include/linux/random.h, line 46
- include/linux/sbitmap.h, line 360
- include/linux/shrinker.h, line 10
- include/linux/signal.h, line 410
- include/linux/skbuff.h, 2 times
- include/linux/string.h, 2 times
- include/linux/syscalls.h, 2 times
- include/linux/trace_events.h, line 30
- include/linux/u64_stats_sync.h, 2 times
- include/linux/wordpart.h, line 54
- include/linux/workqueue.h, line 71
- include/linux/xarray.h, 3 times
- include/linux/xxhash.h, line 126
- include/net/addrconf.h, 4 times
- include/net/flow.h, 3 times
- include/net/ip.h, line 314
- include/net/ipv6.h, 10 times
- include/net/netfilter/nf_flow_table.h, line 39
- include/net/netfilter/nf_tables.h, line 1602
- include/net/netfilter/nf_tables_offload.h, line 56
- include/net/sctp/constants.h, line 250
- include/net/snmp.h, line 158
- include/net/sock.h, 3 times
- include/net/udp.h, 2 times
- include/trace/events/napi.h, line 60
- include/trace/stages/stage3_trace_output.h, line 84
- include/trace/stages/stage5_get_offsets.h, 3 times
- include/xen/grant_table.h, 2 times
- io_uring/io-wq.c, line 71
- ipc/sem.c, line 2014
- ipc/shm.c, 2 times
- kernel/bpf/bloom_filter.c, 2 times
- kernel/bpf/hashtab.c, line 1001
- kernel/bpf/helpers.c, line 2880
- kernel/bpf/verifier.c, 4 times
- kernel/cpu.c, 2 times
- kernel/debug/kdb/kdb_private.h, 2 times
- kernel/gcov/gcov.h, line 32
- kernel/kcsan/encoding.h, 3 times
- kernel/locking/rwsem.c, line 120
- kernel/module/internal.h, 2 times
- kernel/module/sysfs.c, line 33
- kernel/power/snapshot.c, 2 times
- kernel/printk/printk_ringbuffer.h, line 126
- kernel/profile.c, 2 times
- kernel/rcu/rcu.h, line 423
- kernel/sched/clock.c, line 327
- kernel/sched/fair.c, 2 times
- kernel/sched/sched.h, line 1055
- kernel/sched/wait_bit.c, line 14
- kernel/time/hrtimer.c, line 302
- kernel/time/itimer.c, line 281
- kernel/time/jiffies.c, line 47
- kernel/time/sched_clock.c, line 244
- kernel/time/time.c, 2 times
- kernel/time/timekeeping.c, line 2531
- kernel/trace/pid_list.h, line 51
- kernel/trace/trace_events_user.c, 2 times
- kernel/trace/trace_output.c, line 127
- kernel/trace/trace_probe.h, 2 times
- kernel/sys.c, line 1647
- lib/bitmap.c, 40 times
- lib/btree.c, line 61
- lib/crypto/mpi/mpicoder.c, 2 times
- lib/dynamic_queue_limits.c, 5 times
- lib/find_bit.c, 11 times
- lib/flex_proportions.c, line 124
- lib/genalloc.c, 6 times
- lib/hweight.c, 2 times
- lib/idr.c, line 579
- lib/lz4/lz4defs.h, line 191
- lib/math/div64.c, line 29
- lib/math/int_sqrt.c, line 43
- lib/math/prime_numbers.c, 4 times
- lib/memweight.c, 2 times
- lib/overflow_kunit.c, 11 times
- lib/percpu-refcount.c, line 37
- lib/radix-tree.c, 10 times
- lib/sbitmap.c, 2 times
- lib/siphash.c, 6 times
- lib/siphash_kunit.c, line 55
- lib/string.c, line 830
- lib/test_bitmap.c, 24 times
- lib/test_bitops.c, line 69
- lib/test_ida.c, 5 times
- lib/test_printf.c, line 212
- lib/test_scanf.c, line 472
- lib/test_vmalloc.c, line 119
- lib/test_xarray.c, 4 times
- lib/ubsan.c, line 114
- lib/usercopy_kunit.c, line 25
- lib/vsprintf.c, 4 times
- lib/xarray.c, 4 times
- mm/compaction.c, line 1443
- mm/kasan/kasan_test_c.c, 4 times
- mm/kasan/report.c, 2 times
- mm/mempolicy.c, 5 times
- mm/mempool.c, 2 times
- mm/mm_init.c, 2 times
- mm/page-writeback.c, line 1493
- mm/page_alloc.c, 4 times
- mm/percpu.c, line 289
- mm/slab_common.c, line 387
- mm/sparse-vmemmap.c, line 119
- mm/swapfile.c, 5 times
- mm/vmalloc.c, 4 times
- mm/workingset.c, 4 times
- mm/zsmalloc.c, 2 times
- net/bridge/br_private.h, line 35
- net/ceph/osdmap.c, line 584
- net/core/net-sysfs.c, 2 times
- net/core/sock.c, line 3572
- net/dsa/dsa.c, line 31
- net/ethtool/bitset.c, line 685
- net/ethtool/features.c, 2 times
- net/ethtool/ioctl.c, line 3424
- net/ipv4/af_inet.c, line 1676
- net/ipv4/fib_trie.c, 2 times
- net/ipv4/udp.c, 2 times
- net/ipv6/addrconf_core.c, 7 times
- net/mac80211/ieee80211_i.h, line 728
- net/mpls/internal.h, line 32
- net/netfilter/ipvs/ip_vs_conn.c, line 1486
- net/netfilter/nf_conntrack_core.c, line 2636
- net/netfilter/nf_conntrack_proto_dccp.c, line 449
- net/netfilter/nft_set_pipapo.c, 3 times
- net/netfilter/nft_set_pipapo.h, 6 times
- net/netfilter/nft_set_pipapo_avx2.c, 12 times
- net/netlabel/netlabel_kapi.c, 5 times
- net/netlink/af_netlink.c, line 1023
- net/netlink/genetlink.c, 6 times
- net/openvswitch/flow.h, line 167
- net/rds/threads.c, line 272
- net/sched/cls_flow.c, line 64
- net/sched/cls_flower.c, line 88
- net/sctp/tsnmap.c, line 350
- net/sunrpc/auth_gss/svcauth_gss.c, line 364
- net/unix/af_unix.c, line 3321
- scripts/kallsyms.c, line 360
- scripts/mod/file2alias.c, 6 times
- security/selinux/hooks.c, line 3922
- security/selinux/ss/ebitmap.h, line 30
- security/tomoyo/common.h, line 688
- security/ccsecurity/internal.h, line 1247
- sound/core/oss/pcm_oss.c, line 584
- sound/pci/ctxfi/cthw20k1.c, line 1897
- sound/pci/ctxfi/cthw20k2.c, line 2022
- sound/pci/hda/hda_intel.c, line 1850
- sound/pci/lx6464es/lx_core.h, line 212
- tools/include/asm-generic/bitops/__fls.h, 7 times
- tools/include/asm-generic/bitops/fls64.h, 3 times
- tools/include/asm-generic/bitops/non-atomic.h, line 112
- tools/include/asm-generic/bitsperlong.h, 4 times
- tools/include/linux/bitmap.h, 3 times
- tools/include/linux/bitops.h, 2 times
- tools/include/linux/bits.h, 2 times
- tools/include/linux/hash.h, 4 times
- tools/lib/bitmap.c, 11 times
- tools/lib/find_bit.c, 5 times
- tools/lib/hweight.c, 2 times
- tools/perf/ui/browsers/hists.c, line 2468
- tools/perf/ui/browsers/map.c, line 117
- tools/perf/ui/hist.c, line 783
- tools/perf/util/annotate.c, 3 times
- tools/perf/util/auxtrace.c, line 387
- tools/perf/util/auxtrace.h, 2 times
- tools/perf/util/hist.c, 6 times
- tools/perf/util/intel-pt-decoder/intel-pt-decoder.c, line 1032
- tools/perf/util/scripting-engines/trace-event-python.c, 4 times
- tools/perf/util/session.c, line 1984
- tools/perf/util/sort.c, 4 times
- tools/perf/util/vdso.c, 5 times
- tools/testing/radix-tree/test.c, line 50
- tools/testing/selftests/iommu/iommufd_utils.h, 2 times
- tools/testing/selftests/kvm/dirty_log_test.c, line 45
- tools/testing/selftests/kvm/x86_64/hwcr_msr_test.c, line 41
- tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h, line 17
- tools/testing/selftests/powerpc/primitives/linux/wordpart.h, line 54
- tools/testing/selftests/user_events/abi_test.c, line 283
- virt/kvm/dirty_ring.c, 2 times
- virt/kvm/kvm_main.c, 5 times
kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.