Loading...
Documented in 1 files:
Defined in 7 files as a macro:
- arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi, line 287 (as a macro)
- arch/arm/boot/dts/ti/Makefile, line 324 (as a macro)
- arch/microblaze/mm/pgtable.c, line 188 (as a macro)
- drivers/acpi/acpica/nsutils.c, line 296 (as a macro)
- fs/exfat/file.c, line 270 (as a macro)
- net/core/netpoll.c, line 226 (as a macro)
- tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c, line 21 (as a macro)
Defined in 3 files as a function:
- include/linux/log2.h, line 45 (as a function)
- scripts/dtc/dtc.c, line 26 (as a function)
- tools/include/linux/log2.h, line 38 (as a function)
Referenced in 298 files:
- arch/arc/mm/cache.c, line 1080
- arch/arm/mm/cache-uniphier.c, 2 times
- arch/ia64/mm/hugetlbpage.c, line 171
- arch/mips/net/bpf_jit_comp.c, 2 times
- arch/powerpc/kvm/book3s.c, line 950
- arch/powerpc/kvm/book3s_hv.c, line 3031
- arch/powerpc/kvm/e500_mmu.c, 2 times
- arch/powerpc/kvm/e500_mmu_host.c, 2 times
- arch/powerpc/mm/hugetlbpage.c, line 516
- arch/powerpc/mm/init-common.c, line 134
- arch/powerpc/net/bpf_jit_comp32.c, 6 times
- arch/powerpc/platforms/4xx/pci.c, 3 times
- arch/powerpc/platforms/powernv/pci-ioda-tce.c, line 306
- arch/powerpc/platforms/powernv/pci-ioda.c, line 1492
- arch/powerpc/sysdev/fsl_rmu.c, 3 times
- arch/riscv/kernel/cpufeature.c, 2 times
- arch/s390/kernel/irq.c, line 295
- arch/s390/pci/pci.c, line 1016
- arch/sparc/mm/srmmu.c, line 207
- arch/um/kernel/um_arch.c, 2 times
- arch/x86/include/asm/div64.h, line 26
- arch/x86/kernel/hw_breakpoint.c, line 397
- arch/x86/kvm/kvm_cache_regs.h, 2 times
- arch/x86/kvm/lapic.c, line 355
- arch/x86/kvm/svm/avic.c, line 565
- arch/x86/kvm/x86.c, line 12980
- arch/xtensa/kernel/hw_breakpoint.c, line 75
- block/bdev.c, line 141
- block/blk-crypto.c, line 347
- block/blk-zoned.c, line 557
- crypto/cbc.c, line 187
- drivers/accel/habanalabs/common/command_submission.c, line 1354
- drivers/accel/habanalabs/common/device.c, line 52
- drivers/accel/habanalabs/common/memory.c, 7 times
- drivers/accel/habanalabs/common/mmu/mmu.c, line 497
- drivers/accel/habanalabs/goya/goya.c, line 5112
- drivers/acpi/acpica/nsutils.c, line 315
- drivers/ata/libata-core.c, 2 times
- drivers/base/memory.c, 2 times
- drivers/base/regmap/regmap.c, line 772
- drivers/base/swnode.c, line 172
- drivers/block/null_blk/main.c, line 2048
- drivers/block/null_blk/zoned.c, line 68
- drivers/block/rbd.c, line 6281
- drivers/block/virtio_blk.c, line 802
- drivers/bus/mvebu-mbus.c, 2 times
- drivers/clk/clk-divider.c, line 177
- drivers/clk/ti/divider.c, line 133
- drivers/clocksource/timer-cadence-ttc.c, line 253
- drivers/crypto/talitos.c, line 3366
- drivers/cxl/acpi.c, 2 times
- drivers/cxl/core/region.c, 3 times
- drivers/cxl/cxl.h, 3 times
- drivers/dma/qcom/hidma_mgmt.c, 2 times
- drivers/dma/ste_dma40.c, 2 times
- drivers/dma/stm32-mdma.c, 2 times
- drivers/gpio/gpio-mmio.c, line 608
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, 2 times
- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c, line 515
- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c, 2 times
- drivers/gpu/drm/drm_atomic_uapi.c, line 570
- drivers/gpu/drm/drm_blend.c, line 287
- drivers/gpu/drm/drm_buddy.c, 2 times
- drivers/gpu/drm/drm_gem_vram_helper.c, line 504
- drivers/gpu/drm/drm_mm.c, 2 times
- drivers/gpu/drm/drm_modes.c, line 2249
- drivers/gpu/drm/drm_property.c, line 75
- drivers/gpu/drm/drm_suballoc.c, line 66
- drivers/gpu/drm/i915/display/intel_bw.c, line 144
- drivers/gpu/drm/i915/display/intel_cdclk.c, 2 times
- drivers/gpu/drm/i915/display/intel_display.c, line 3586
- drivers/gpu/drm/i915/display/intel_fb_pin.c, line 129
- drivers/gpu/drm/i915/display/intel_hdmi.c, line 2252
- drivers/gpu/drm/i915/display/intel_modeset_setup.c, line 244
- drivers/gpu/drm/i915/display/skl_universal_plane.c, line 1583
- drivers/gpu/drm/i915/display/skl_watermark.c, line 428
- drivers/gpu/drm/i915/gem/i915_gem_create.c, line 28
- drivers/gpu/drm/i915/gem/i915_gem_tiling.c, line 145
- drivers/gpu/drm/i915/gem/selftests/huge_pages.c, 2 times
- drivers/gpu/drm/i915/gt/intel_engine_cs.c, line 1030
- drivers/gpu/drm/i915/gt/intel_execlists_submission.c, line 4004
- drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c, line 127
- drivers/gpu/drm/i915/gt/intel_ppgtt.c, line 240
- drivers/gpu/drm/i915/gt/intel_ring.c, line 152
- drivers/gpu/drm/i915/gt/intel_ring.h, line 138
- drivers/gpu/drm/i915/gt/intel_workarounds.c, 2 times
- drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c, 2 times
- drivers/gpu/drm/i915/i915_gem_gtt.c, line 204
- drivers/gpu/drm/i915/i915_ioctl.c, line 57
- drivers/gpu/drm/i915/i915_perf.c, line 862
- drivers/gpu/drm/i915/i915_request.c, 3 times
- drivers/gpu/drm/i915/i915_vma.c, 3 times
- drivers/gpu/drm/i915/selftests/i915_syncmap.c, line 523
- drivers/gpu/drm/msm/msm_ringbuffer.c, line 64
- drivers/gpu/drm/nouveau/nouveau_gem.c, line 304
- drivers/gpu/drm/radeon/radeon_device.c, 3 times
- drivers/gpu/drm/udl/udl_modeset.c, line 198
- drivers/hwmon/adt7462.c, line 1370
- drivers/hwmon/adt7470.c, line 996
- drivers/hwtracing/intel_th/pti.c, line 128
- drivers/i2c/busses/i2c-ocores.c, line 540
- drivers/iio/adc/qcom-spmi-vadc.c, line 440
- drivers/iio/adc/qcom-vadc-common.c, 2 times
- drivers/iio/chemical/bme680_core.c, line 819
- drivers/iio/light/as73211.c, 3 times
- drivers/iio/pressure/icp10100.c, line 447
- drivers/infiniband/hw/hfi1/init.c, 2 times
- drivers/infiniband/hw/hfi1/sdma.c, line 694
- drivers/infiniband/hw/hfi1/tid_rdma.c, 2 times
- drivers/infiniband/hw/hfi1/user_exp_rcv.c, line 609
- drivers/infiniband/hw/mlx5/mr.c, line 1778
- drivers/infiniband/hw/mlx5/qp.c, line 650
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c, line 58
- drivers/infiniband/ulp/rtrs/rtrs-srv.c, line 2238
- drivers/input/keyboard/cap11xx.c, line 394
- drivers/input/keyboard/pmic8xxx-keypad.c, line 405
- drivers/input/keyboard/qt1050.c, 2 times
- drivers/iommu/amd/io_pgtable.c, 2 times
- drivers/iommu/iova.c, line 60
- drivers/irqchip/irq-gic-v3-its.c, line 3415
- drivers/mailbox/pcc.c, line 417
- drivers/md/bcache/bset.c, 2 times
- drivers/md/bcache/super.c, 2 times
- drivers/md/dm-bufio.c, 2 times
- drivers/md/dm-clone-target.c, line 1650
- drivers/md/dm-crypt.c, line 2990
- drivers/md/dm-dust.c, line 346
- drivers/md/dm-ebs-target.c, line 57
- drivers/md/dm-exception-store.c, line 166
- drivers/md/dm-integrity.c, 2 times
- drivers/md/dm-log.c, line 354
- drivers/md/dm-raid.c, 2 times
- drivers/md/dm-table.c, line 1646
- drivers/md/dm-unstripe.c, line 90
- drivers/md/md-bitmap.c, 3 times
- drivers/md/raid0.c, 2 times
- drivers/md/raid10.c, line 4006
- drivers/md/raid5.c, 3 times
- drivers/media/rc/img-ir/img-ir-nec.c, line 69
- drivers/media/rc/img-ir/img-ir-sony.c, line 75
- drivers/memstick/host/tifm_ms.c, line 267
- drivers/misc/eeprom/at24.c, line 653
- drivers/misc/mei/dma-ring.c, line 27
- drivers/mmc/core/core.c, 2 times
- drivers/mmc/host/bcm2835.c, line 1168
- drivers/mmc/host/meson-gx-mmc.c, line 671
- drivers/mmc/host/mmci.c, 2 times
- drivers/mmc/host/tifm_sd.c, line 636
- drivers/mtd/mtdcore.c, 2 times
- drivers/mtd/nand/raw/meson_nand.c, line 1259
- drivers/mtd/sm_ftl.c, 2 times
- drivers/mtd/spi-nor/core.c, line 2155
- drivers/mtd/spi-nor/otp.c, line 490
- drivers/mtd/ubi/build.c, 2 times
- drivers/net/ethernet/aquantia/atlantic/aq_main.c, line 392
- drivers/net/ethernet/brocade/bna/bnad_ethtool.c, 2 times
- drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c, 2 times
- drivers/net/ethernet/faraday/ftgmac100.c, 2 times
- drivers/net/ethernet/freescale/gianfar_ethtool.c, 2 times
- drivers/net/ethernet/fungible/funeth/funeth_ethtool.c, 2 times
- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c, line 530
- drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c, 4 times
- drivers/net/ethernet/intel/i40e/i40e_main.c, 5 times
- drivers/net/ethernet/intel/ice/ice_flow.c, 4 times
- drivers/net/ethernet/intel/ice/ice_main.c, line 8001
- drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c, line 1382
- drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c, line 1377
- drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c, line 725
- drivers/net/ethernet/mellanox/mlx4/en_ethtool.c, line 1311
- drivers/net/ethernet/mellanox/mlx4/main.c, line 224
- drivers/net/ethernet/mellanox/mlx4/mr.c, line 918
- drivers/net/ethernet/mellanox/mlx5/core/devlink.c, 2 times
- drivers/net/ethernet/mellanox/mlx5/core/en/params.c, line 65
- drivers/net/ethernet/mellanox/mlx5/core/en/xsk/pool.c, line 104
- drivers/net/ethernet/mellanox/mlxsw/spectrum.c, line 601
- drivers/net/ethernet/mellanox/mlxsw/spectrum_policer.c, line 182
- drivers/net/ethernet/microsoft/mana/gdma_main.c, 2 times
- drivers/net/ethernet/myricom/myri10ge/myri10ge.c, line 2380
- drivers/net/ethernet/netronome/nfp/abm/ctrl.c, 2 times
- drivers/net/ethernet/pensando/ionic/ionic_dev.c, 2 times
- drivers/net/ethernet/pensando/ionic/ionic_ethtool.c, 2 times
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c, line 3961
- drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c, 2 times
- drivers/net/ipa/gsi.c, 3 times
- drivers/net/ipa/reg.h, line 85
- drivers/net/wireless/ath/ath10k/htt_rx.c, line 799
- drivers/net/wireless/ath/ath10k/spectral.c, 2 times
- drivers/net/wireless/ath/ath11k/spectral.c, 2 times
- drivers/net/wireless/ath/ath5k/qcu.c, 2 times
- drivers/net/wireless/intel/iwlegacy/common.c, line 2942
- drivers/net/wireless/intel/iwlwifi/queue/tx.c, line 921
- drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c, 2 times
- drivers/nvdimm/bus.c, line 248
- drivers/nvdimm/region_devs.c, line 575
- drivers/nvme/host/core.c, 2 times
- drivers/nvme/host/zns.c, line 103
- drivers/pci/controller/dwc/pci-meson.c, line 257
- drivers/pci/pci.c, 3 times
- drivers/ptp/ptp_clockmatrix.c, line 270
- drivers/rapidio/devices/tsi721.c, 4 times
- drivers/s390/block/dasd_int.h, line 832
- drivers/scsi/bfa/bfad.c, line 769
- drivers/scsi/bnx2i/bnx2i_hwi.c, 2 times
- drivers/scsi/bnx2i/bnx2i_init.c, line 474
- drivers/scsi/bnx2i/bnx2i_sysfs.c, line 77
- drivers/scsi/libiscsi.c, line 2845
- drivers/scsi/libiscsi_tcp.c, line 1226
- drivers/scsi/scsi_debug.c, line 4981
- drivers/scsi/sd_zbc.c, 2 times
- drivers/soc/aspeed/aspeed-lpc-ctrl.c, line 271
- drivers/soc/fsl/qbman/bman_ccsr.c, line 111
- drivers/soc/fsl/qbman/qman_ccsr.c, line 353
- drivers/usb/gadget/udc/udc-xilinx.c, line 839
- drivers/vfio/vfio_main.c, line 1126
- drivers/virtio/virtio_mem.c, line 2557
- drivers/virtio/virtio_ring.c, line 1101
- fs/binfmt_elf.c, line 447
- fs/btrfs/disk-io.c, 3 times
- fs/btrfs/tree-checker.c, line 860
- fs/btrfs/zoned.c, line 894
- fs/exfat/super.c, line 382
- fs/ext2/super.c, line 1005
- fs/ext4/mballoc.c, line 2808
- fs/ext4/super.c, 3 times
- fs/ext4/sysfs.c, line 91
- fs/f2fs/super.c, line 3917
- fs/fat/inode.c, 2 times
- fs/hfs/btree.c, line 97
- fs/hfsplus/btree.c, line 232
- fs/jbd2/revoke.c, line 266
- fs/namespace.c, line 2535
- fs/ntfs/inode.c, line 1555
- fs/ntfs/logfile.c, line 56
- fs/ntfs3/run.c, line 378
- fs/ntfs3/super.c, 4 times
- fs/pstore/ram.c, 4 times
- fs/ubifs/super.c, 2 times
- fs/udf/super.c, line 1345
- fs/ufs/super.c, 2 times
- fs/verity/enable.c, line 334
- fs/verity/hash_algs.c, 2 times
- fs/verity/open.c, line 86
- fs/xfs/scrub/xfarray.c, line 94
- fs/xfs/xfs_file.c, line 51
- fs/xfs/xfs_super.c, line 1462
- include/asm-generic/div64.h, line 224
- include/crypto/ctr.h, line 31
- include/linux/blkdev.h, 2 times
- include/linux/generic-radix-tree.h, 2 times
- include/linux/iommu-helper.h, line 23
- include/linux/log2.h, line 230
- include/linux/mm.h, line 3797
- include/linux/random.h, 3 times
- include/linux/skbuff.h, 2 times
- io_uring/kbuf.c, line 671
- kernel/bpf/arraymap.c, 2 times
- kernel/bpf/btf.c, 2 times
- kernel/bpf/core.c, 2 times
- kernel/bpf/ringbuf.c, line 194
- kernel/bpf/verifier.c, 2 times
- kernel/dma/swiotlb.c, 2 times
- kernel/events/core.c, 2 times
- kernel/kcov.c, line 949
- kernel/workqueue.c, line 1199
- lib/hexdump.c, line 142
- lib/kfifo.c, line 71
- lib/test_hexdump.c, line 84
- mm/cma.c, line 267
- mm/hugetlb_vmemmap.h, line 36
- mm/percpu.c, line 1754
- mm/slab_common.c, 2 times
- mm/vmalloc.c, 2 times
- mm/zsmalloc.c, line 2143
- net/core/skbuff.c, line 107
- net/core/sysctl_net_core.c, line 262
- net/devlink/port.c, line 816
- net/ethtool/linkmodes.c, line 227
- net/ipv4/tcp_cdg.c, line 411
- net/netfilter/ipvs/ip_vs_ctl.c, line 1919
- net/netfilter/nft_payload.c, line 1024
- net/openvswitch/flow_table.c, 2 times
- net/sched/cls_u32.c, line 954
- net/sched/sch_sfq.c, line 641
- net/xdp/xdp_umem.c, line 173
- net/xdp/xsk.c, line 948
- scripts/dtc/dtc.c, line 210
- sound/mips/snd-n64.c, 2 times
- sound/soc/codecs/sta350.c, line 1166
- sound/soc/intel/boards/sof_sdw.c, line 1067
- sound/soc/sunxi/sun8i-codec.c, line 401
- tools/perf/arch/arm64/util/arm-spe.c, line 195
- tools/perf/arch/arm64/util/hisi-ptt.c, line 86
- tools/perf/arch/x86/util/intel-bts.c, line 210
- tools/perf/arch/x86/util/intel-pt.c, line 761
- tools/perf/util/auxtrace.c, line 165
- tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c, 2 times
- tools/perf/util/evlist.c, 3 times
- tools/testing/selftests/kvm/lib/x86_64/processor.c, line 714