ilog2
Defined as a function in:
Defined as a preprocessor macro in:
Referenced (in 186 files total) in:
- arch/alpha/kernel/setup.c, line 1170
- arch/arm/include/asm/cpufeature.h, 2 times
- arch/arm/mach-davinci/sram.c, line 58
- arch/arm/mm/cache-l2x0.c, line 1009
- arch/arm/mm/pmsa-v7.c, 3 times
- arch/arm64/kvm/vgic/vgic-mmio.h, line 59
- arch/csky/mm/asid.c, line 173
- arch/loongarch/include/asm/cpufeature.h, line 17
- arch/loongarch/include/asm/thread_info.h, line 61
- arch/loongarch/kernel/dma.c, line 18
- arch/loongarch/kernel/traps.c, line 439
- arch/loongarch/lib/dump_tlb.c, line 38
- arch/mips/bcm63xx/cs.c, 2 times
- arch/mips/include/asm/cpufeature.h, line 15
- arch/mips/kvm/entry.c, line 315
- arch/mips/lib/dump_tlb.c, line 73
- arch/mips/mm/tlbex.c, 27 times
- arch/mips/net/bpf_jit_comp.c, 2 times
- arch/nios2/kernel/cpuinfo.c, line 102
- arch/powerpc/include/asm/bitops.h, line 267
- arch/powerpc/include/asm/cpufeature.h, 2 times
- arch/powerpc/kernel/setup-common.c, line 401
- arch/powerpc/kernel/sysfs.c, line 254
- arch/powerpc/kvm/e500_mmu.c, line 763
- arch/powerpc/net/bpf_jit_comp32.c, 10 times
- arch/powerpc/platforms/44x/pci.c, 7 times
- arch/powerpc/platforms/powernv/eeh-powernv.c, line 181
- arch/powerpc/platforms/powernv/opal-dump.c, line 441
- arch/powerpc/platforms/powernv/opal-elog.c, line 320
- arch/powerpc/platforms/powernv/opal.c, line 409
- arch/powerpc/platforms/powernv/pci-ioda-tce.c, 4 times
- arch/powerpc/platforms/powernv/pci-ioda.c, 3 times
- arch/powerpc/platforms/powernv/vas-window.c, line 438
- arch/powerpc/platforms/pseries/rtas-work-area.c, line 136
- arch/powerpc/sysdev/fsl_pci.c, 5 times
- arch/powerpc/sysdev/fsl_rio.c, 2 times
- arch/riscv/kernel/module.c, line 753
- arch/riscv/mm/init.c, 4 times
- arch/s390/kernel/nmi.c, 2 times
- arch/s390/mm/hugetlbpage.c, 2 times
- arch/s390/mm/pageattr.c, line 435
- arch/sh/kernel/cpu/init.c, line 200
- arch/sparc/kernel/mdesc.c, line 1087
- arch/sparc/mm/init_64.c, 3 times
- arch/um/kernel/skas/mmu.c, 3 times
- arch/x86/include/asm/div64.h, line 28
- arch/x86/include/asm/pgtable.h, line 1549
- block/blk-crypto-profile.c, line 122
- block/blk-crypto.c, line 353
- block/blk-mq-debugfs.c, line 182
- block/blk-mq.c, line 3781
- block/blk-settings.c, line 133
- block/blk-throttle.c, 3 times
- block/blk-zoned.c, 2 times
- block/disk-events.c, 4 times
- block/kyber-iosched.c, line 484
- fs/bcachefs/alloc_foreground.c, line 1225
- fs/bcachefs/bset.c, line 1565
- fs/bcachefs/btree_cache.c, line 185
- fs/bcachefs/btree_io.c, line 466
- fs/bcachefs/btree_types.h, line 583
- fs/bcachefs/buckets_waiting_for_journal.c, line 109
- fs/bcachefs/ec.c, 3 times
- fs/bcachefs/fs.c, line 2190
- fs/bcachefs/io_write.c, line 56
- fs/bcachefs/opts.c, line 674
- fs/bcachefs/sb-members.c, line 442
- fs/bcachefs/super.c, 2 times
- fs/btrfs/compression.c, 2 times
- fs/btrfs/disk-io.c, 5 times
- fs/btrfs/sysfs.c, line 1682
- fs/btrfs/tests/btrfs-tests.c, line 143
- fs/btrfs/volumes.h, 3 times
- fs/btrfs/zoned.c, 5 times
- fs/cachefiles/cache.c, line 96
- fs/cachefiles/key.c, line 27
- fs/erofs/decompressor_zstd.c, line 89
- fs/erofs/super.c, line 333
- fs/erofs/zmap.c, line 126
- fs/ext2/super.c, 2 times
- fs/ext4/inode.c, line 1040
- fs/ext4/super.c, 2 times
- fs/fuse/dir.c, line 1166
- fs/fuse/inode.c, line 262
- fs/hfsplus/wrapper.c, line 239
- fs/jfs/jfs_mount.c, line 366
- fs/nfsd/nfscache.c, line 186
- fs/nilfs2/the_nilfs.c, 2 times
- fs/notify/fanotify/fanotify.h, line 251
- fs/orangefs/orangefs-bufmap.c, line 227
- fs/overlayfs/super.c, 2 times
- fs/proc/array.c, line 144
- fs/proc/task_mmu.c, 43 times
- fs/qnx6/inode.c, line 431
- fs/quota/dquot.c, line 3024
- fs/smb/client/compress.c, 3 times
- fs/smb/server/vfs_cache.c, line 233
- fs/verity/enable.c, line 200
- fs/verity/open.c, line 97
- fs/xfs/scrub/xfarray.c, 2 times
- fs/xfs/xfs_linux.h, line 207
- fs/zonefs/super.c, line 1272
- include/asm-generic/div64.h, 4 times
- include/asm-generic/getorder.h, line 38
- include/linux/assoc_array_priv.h, 2 times
- include/linux/average.h, line 57
- include/linux/backing-dev-defs.h, line 39
- include/linux/blkdev.h, line 692
- include/linux/blockgroup_lock.h, line 14
- include/linux/clocksource.h, line 310
- include/linux/generic-radix-tree.h, 2 times
- include/linux/hashtable.h, line 28
- include/linux/huge_mm.h, line 138
- include/linux/kernfs.h, line 63
- include/linux/log2.h, 6 times
- include/linux/mm.h, line 1736
- include/linux/pagemap.h, line 743
- include/linux/pci.h, line 1393
- include/linux/sbitmap.h, line 360
- include/linux/slab.h, 2 times
- include/linux/t10-pi.h, 2 times
- include/linux/usb/composite.h, line 55
- include/net/tcp.h, line 1447
- include/scsi/scsi_cmnd.h, 3 times
- io_uring/io_uring.c, line 293
- ipc/util.c, line 473
- kernel/bpf/arraymap.c, 2 times
- kernel/bpf/bpf_local_storage.c, line 783
- kernel/events/ring_buffer.c, 3 times
- kernel/irq/timings.c, line 443
- kernel/printk/printk.c, 2 times
- kernel/rcu/tasks.h, line 295
- kernel/sched/fair.c, 2 times
- kernel/smp.c, line 253
- kernel/time/timer_migration.c, 2 times
- kernel/time/timekeeping.c, 3 times
- kernel/trace/blktrace.c, line 209
- kernel/trace/trace_events_hist.c, 2 times
- kernel/workqueue.c, line 1308
- lib/errseq.c, line 37
- lib/flex_proportions.c, line 89
- lib/generic-radix-tree.c, 3 times
- lib/idr.c, 2 times
- lib/math/div64.c, 2 times
- lib/rhashtable.c, 5 times
- mm/hugetlb.c, 2 times
- mm/ksm.c, 2 times
- mm/memblock.c, 5 times
- mm/mm_init.c, 2 times
- mm/page-writeback.c, 4 times
- mm/page_alloc.c, line 6616
- mm/readahead.c, line 479
- mm/slub.c, line 6024
- mm/vmalloc.c, line 121
- mm/vmpressure.c, line 68
- net/ethtool/tunnels.c, 4 times
- net/ipv4/fib_semantics.c, line 1284
- net/ipv4/fib_trie.c, line 307
- net/ipv4/tcp_output.c, line 246
- net/ipv4/tcp_timer.c, line 192
- net/ipv4/udp_tunnel_nic.c, line 633
- net/ipv4/udp.c, 2 times
- net/mac80211/cfg.c, line 1179
- net/mac80211/tdls.c, 2 times
- net/mptcp/protocol.c, line 474
- net/netfilter/ipvs/ip_vs_sync.c, line 409
- net/netfilter/nft_set_pipapo.h, line 262
- net/rxrpc/protocol.h, line 29
- net/sched/sch_fq.c, 2 times
- net/smc/smc_core.c, 2 times
- net/xdp/xskmap.c, line 128
- sound/pci/hda/hda_proc.c, 8 times
- sound/soc/codecs/sta350.c, line 1166
- sound/soc/fsl/fsl_dma.h, line 39
- sound/soc/fsl/fsl_xcvr.c, line 291
- tools/include/linux/hashtable.h, line 25
- tools/include/linux/log2.h, 3 times
- tools/objtool/check.c, line 398
- tools/objtool/elf.c, line 77
- tools/testing/cxl/test/cxl.c, line 1344
- tools/testing/nvdimm/test/ndtest.c, line 932
- tools/testing/nvdimm/test/nfit.c, line 3285
- tools/testing/selftests/kvm/lib/aarch64/gic_v3.c, line 416
- tools/testing/selftests/kvm/lib/aarch64/gic_v3_its.c, line 207
- tools/testing/selftests/kvm/lib/x86_64/processor.c, line 811
- tools/testing/selftests/mm/thuge-gen.c, 3 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.