Defined in 2 files as a macro:
Defined in 1 files as a function:
Documented in 2 files:
Referenced in 290 files:
- arch/alpha/kernel/setup.c, line 1329
- arch/arc/plat-eznps/mtm.c, line 38
- arch/arm/mach-davinci/sram.c, line 62
- arch/arm/mach-mmp/sram.c, line 94
- arch/arm/mm/cache-l2x0.c, line 1018
- arch/arm/mm/nommu.c, line 265
- arch/arm64/include/asm/cpufeature.h, line 24
- arch/arm64/include/asm/pgtable.h, line 594
- arch/mips/bcm63xx/cs.c, 2 times
- arch/mips/lib/dump_tlb.c, line 80
- arch/mips/mm/tlbex.c, 27 times
- arch/mips/net/bpf_jit.c, line 111
- arch/mn10300/mm/misalignment.c, line 355
- arch/nios2/kernel/cpuinfo.c, line 107
- arch/powerpc/include/asm/cpufeature.h, line 28
- arch/powerpc/kernel/setup-common.c, line 423
- arch/powerpc/kernel/sysfs.c, line 105
- arch/powerpc/kvm/book3s_hv_rm_mmu.c, line 108
- arch/powerpc/kvm/e500_mmu.c, line 770
- arch/powerpc/platforms/powernv/eeh-powernv.c, line 209
- arch/powerpc/platforms/powernv/opal-dump.c, line 422
- arch/powerpc/platforms/powernv/opal-elog.c, line 299
- arch/powerpc/platforms/powernv/opal.c, line 293
- arch/powerpc/platforms/powernv/pci-ioda.c, 2 times
- arch/powerpc/platforms/powernv/pci.c, line 689
- arch/powerpc/sysdev/fsl_pci.c, 5 times
- arch/powerpc/sysdev/fsl_rio.c, 2 times
- arch/powerpc/sysdev/ppc4xx_pci.c, 7 times
- arch/s390/include/asm/cpufeature.h, line 25
- arch/s390/mm/hugetlbpage.c, 2 times
- arch/s390/mm/pageattr.c, line 337
- arch/sh/kernel/cpu/init.c, line 203
- arch/sparc/kernel/mdesc.c, line 843
- arch/sparc/mm/init_64.c, 2 times
- arch/x86/include/asm/div64.h, line 27
- arch/x86/include/asm/pgtable.h, line 909
- arch/x86/kernel/cpu/mcheck/mce-genpool.c, line 122
- arch/x86/kvm/emulate.c, line 188
- block/blk-integrity.c, line 415
- block/blk-mq.c, 2 times
- block/genhd.c, 4 times
- drivers/base/regmap/regmap.c, line 668
- drivers/char/agp/hp-agp.c, 2 times
- drivers/char/agp/i460-agp.c, line 154
- drivers/char/agp/parisc-agp.c, line 97
- drivers/char/random.c, line 369
- drivers/clk/sunxi-ng/ccu_mp.c, line 128
- drivers/clk/sunxi-ng/ccu_nkmp.c, line 154
- drivers/clk/tegra/clk-pll.c, line 513
- drivers/clocksource/timer-atmel-pit.c, line 220
- drivers/dma/cppi41.c, 2 times
- drivers/dma/nbpfaxi.c, line 456
- drivers/dma/sh/rcar-dmac.c, 2 times
- drivers/firmware/efi/libstub/random.c, line 104
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, 2 times
- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c, line 1075
- drivers/gpu/drm/amd/amdkfd/kfd_events.c, line 76
- drivers/gpu/drm/arm/malidp_planes.c, line 214
- drivers/gpu/drm/drm_bufs.c, line 101
- drivers/gpu/drm/i915/i915_gem_internal.c, line 76
- drivers/gpu/drm/msm/adreno/adreno_gpu.c, 2 times
- drivers/gpu/drm/msm/adreno/adreno_gpu.h, 2 times
- drivers/gpu/drm/nouveau/dispnv04/arb.c, 2 times
- drivers/gpu/drm/radeon/radeon_device.c, line 1209
- drivers/gpu/ipu-v3/ipu-image-convert.c, 4 times
- drivers/hwmon/adt7462.c, line 1409
- drivers/hwmon/adt7470.c, line 962
- drivers/hwtracing/stm/core.c, 2 times
- drivers/i2c/busses/i2c-ocores.c, line 351
- drivers/ide/ide-tape.c, 17 times
- drivers/iio/imu/adis16400_core.c, line 167
- drivers/iio/industrialio-trigger.c, line 223
- drivers/iio/pressure/bmp280-core.c, 10 times
- drivers/infiniband/core/umem.c, line 328
- drivers/infiniband/hw/cxgb3/cxio_hal.c, 3 times
- drivers/infiniband/hw/cxgb3/iwch_provider.c, 5 times
- drivers/infiniband/hw/cxgb3/iwch_qp.c, line 166
- drivers/infiniband/hw/cxgb4/qp.c, 2 times
- drivers/infiniband/hw/hfi1/chip.c, 5 times
- drivers/infiniband/hw/hfi1/driver.c, line 272
- drivers/infiniband/hw/hfi1/pio.c, 2 times
- drivers/infiniband/hw/hfi1/sdma.c, 3 times
- drivers/infiniband/hw/hfi1/user_exp_rcv.c, line 874
- drivers/infiniband/hw/hfi1/verbs.c, line 1526
- drivers/infiniband/hw/hns/hns_roce_cq.c, line 222
- drivers/infiniband/hw/hns/hns_roce_eq.c, 2 times
- drivers/infiniband/hw/hns/hns_roce_hw_v1.c, 12 times
- drivers/infiniband/hw/hns/hns_roce_mr.c, line 436
- drivers/infiniband/hw/hns/hns_roce_qp.c, 4 times
- drivers/infiniband/hw/mlx4/cq.c, line 150
- drivers/infiniband/hw/mlx4/mr.c, 2 times
- drivers/infiniband/hw/mlx4/qp.c, 10 times
- drivers/infiniband/hw/mlx4/srq.c, 2 times
- drivers/infiniband/hw/mlx5/cq.c, 3 times
- drivers/infiniband/hw/mlx5/mem.c, 6 times
- drivers/infiniband/hw/mlx5/mr.c, line 756
- drivers/infiniband/hw/mlx5/qp.c, 9 times
- drivers/infiniband/hw/mlx5/srq.c, 2 times
- drivers/infiniband/hw/mthca/mthca_main.c, 3 times
- drivers/infiniband/hw/mthca/mthca_provider.c, 2 times
- drivers/infiniband/hw/mthca/mthca_qp.c, 2 times
- drivers/infiniband/hw/mthca/mthca_srq.c, 2 times
- drivers/infiniband/hw/nes/nes_verbs.c, line 3226
- drivers/infiniband/hw/ocrdma/ocrdma_hw.c, 6 times
- drivers/infiniband/hw/ocrdma/ocrdma_verbs.c, line 916
- drivers/infiniband/hw/qedr/verbs.c, 5 times
- drivers/infiniband/hw/qib/qib_iba6120.c, line 3286
- drivers/infiniband/hw/qib/qib_iba7220.c, line 4092
- drivers/infiniband/hw/qib/qib_iba7322.c, line 6631
- drivers/infiniband/hw/qib/qib_init.c, line 214
- drivers/infiniband/hw/qib/qib_verbs.c, line 1431
- drivers/infiniband/sw/rdmavt/mr.c, line 394
- drivers/infiniband/sw/rdmavt/qp.c, 2 times
- drivers/infiniband/sw/rxe/rxe_mr.c, 3 times
- drivers/infiniband/sw/rxe/rxe_verbs.c, line 1174
- drivers/infiniband/ulp/iser/iser_initiator.c, line 398
- drivers/infiniband/ulp/srp/ib_srp.c, 2 times
- drivers/input/keyboard/cap11xx.c, line 400
- drivers/input/misc/pm8941-pwrkey.c, line 215
- drivers/input/misc/pmic8xxx-pwrkey.c, line 390
- drivers/input/touchscreen/imx6ul_tsc.c, line 487
- drivers/iommu/arm-smmu-v3.c, 2 times
- drivers/iommu/fsl_pamu.c, line 1141
- drivers/iommu/fsl_pamu_domain.c, 4 times
- drivers/iommu/intel-iommu.c, 2 times
- drivers/iommu/intel-svm.c, line 172
- drivers/iommu/intel_irq_remapping.c, line 116
- drivers/iommu/io-pgtable-arm.c, 5 times
- drivers/irqchip/irq-gic-v3-its.c, 7 times
- drivers/lightnvm/rrpc.c, 2 times
- drivers/md/bcache/btree.c, 4 times
- drivers/md/bcache/super.c, 6 times
- drivers/md/dm-crypt.c, 2 times
- drivers/media/pci/tw5864/tw5864-h264.c, 4 times
- drivers/media/platform/ti-vpe/vpe.c, line 1642
- drivers/memstick/host/tifm_ms.c, line 294
- drivers/misc/eeprom/at24.c, line 114
- drivers/misc/genwqe/card_base.c, 2 times
- drivers/misc/mic/scif/scif_rma.c, line 845
- drivers/misc/sram.c, 2 times
- drivers/mmc/core/core.c, 3 times
- drivers/mmc/host/meson-gx-mmc.c, 6 times
- drivers/mmc/host/mxs-mmc.c, line 399
- drivers/mmc/host/sdhci.h, line 275
- drivers/mmc/host/sh_mobile_sdhi.c, line 231
- drivers/mmc/host/tifm_sd.c, line 699
- drivers/mtd/nand/brcmnand/brcmnand.c, 2 times
- drivers/mtd/spi-nor/cadence-quadspi.c, line 703
- drivers/mtd/spi-nor/spi-nor.c, 3 times
- drivers/net/ethernet/broadcom/bnx2x/bnx2x.h, line 2089
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c, 4 times
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c, line 1000
- drivers/net/ethernet/broadcom/bnxt/bnxt.c, line 3436
- drivers/net/ethernet/cavium/thunder/nicvf_main.c, line 363
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c, line 2804
- drivers/net/ethernet/chelsio/cxgb4/sge.c, 2 times
- drivers/net/ethernet/chelsio/cxgb4/t4_hw.c, line 698
- drivers/net/ethernet/chelsio/cxgb4vf/sge.c, 2 times
- drivers/net/ethernet/freescale/fman/fman_muram.c, line 75
- drivers/net/ethernet/mellanox/mlx4/cq.c, 2 times
- drivers/net/ethernet/mellanox/mlx4/en_clock.c, line 253
- drivers/net/ethernet/mellanox/mlx4/en_resources.c, 5 times
- drivers/net/ethernet/mellanox/mlx4/en_rx.c, line 1371
- drivers/net/ethernet/mellanox/mlx4/eq.c, line 1045
- drivers/net/ethernet/mellanox/mlx4/fw.c, 3 times
- drivers/net/ethernet/mellanox/mlx4/main.c, 4 times
- drivers/net/ethernet/mellanox/mlx4/mlx4_en.h, line 221
- drivers/net/ethernet/mellanox/mlx4/mr.c, line 930
- drivers/net/ethernet/mellanox/mlx4/profile.c, 3 times
- drivers/net/ethernet/mellanox/mlx4/srq.c, line 188
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c, 3 times
- drivers/net/ethernet/mellanox/mlx5/core/eq.c, line 382
- drivers/net/ethernet/mellanox/mlx5/core/fs_core.c, line 823
- drivers/net/ethernet/mellanox/mlxsw/pci.c, 2 times
- drivers/net/ethernet/netronome/nfp/nfp_net_common.c, 2 times
- drivers/net/ethernet/qlogic/qed/qed_cxt.c, 4 times
- drivers/net/ethernet/qlogic/qed/qed_dev.c, 2 times
- drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c, line 531
- drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c, line 424
- drivers/net/ethernet/sun/niu.c, line 3290
- drivers/net/ethernet/ti/davinci_cpdma.c, line 222
- drivers/net/wireless/ath/ath10k/spectral.c, line 463
- drivers/net/wireless/ath/ath10k/swap.c, line 130
- drivers/net/wireless/ath/ath5k/phy.c, line 317
- drivers/net/wireless/ath/carl9170/fw.c, line 276
- drivers/net/wireless/marvell/mwl8k.c, 4 times
- drivers/ntb/ntb_transport.c, line 1128
- drivers/nvdimm/pfn_devs.c, line 394
- drivers/nvdimm/region_devs.c, line 100
- drivers/of/device.c, 2 times
- drivers/pci/host/pcie-iproc.c, line 868
- drivers/pci/msi.c, line 579
- drivers/powercap/intel_rapl.c, line 1068
- drivers/rtc/rtc-m41t80.c, line 423
- drivers/rtc/rtc-rv8803.c, line 224
- drivers/rtc/rtc-rx4581.c, line 161
- drivers/rtc/rtc-rx8581.c, line 153
- drivers/s390/char/sclp_cmd.c, line 183
- drivers/s390/cio/qdio_main.c, line 421
- drivers/scsi/bnx2fc/bnx2fc.h, 2 times
- drivers/scsi/csiostor/csio_hw_t5.c, line 60
- drivers/scsi/csiostor/csio_wr.c, line 1320
- drivers/scsi/isci/host.c, line 1136
- drivers/scsi/isci/isci.h, line 97
- drivers/scsi/isci/request.c, line 294
- drivers/scsi/libfc/fc_exch.c, line 2689
- drivers/scsi/sd.c, 4 times
- drivers/scsi/sd.h, 2 times
- drivers/scsi/sd_zbc.c, line 548
- drivers/soc/fsl/qbman/bman.c, line 249
- drivers/soc/fsl/qbman/bman_ccsr.c, line 102
- drivers/soc/fsl/qbman/qman.c, 3 times
- drivers/soc/fsl/qbman/qman_ccsr.c, line 343
- drivers/soc/ti/knav_qmss_queue.c, line 985
- drivers/spi/spi-sirf.c, line 1094
- drivers/spi/spi-sun4i.c, 2 times
- drivers/spi/spi-sun6i.c, 2 times
- drivers/staging/comedi/drivers/mite.c, 2 times
- drivers/staging/fwserial/fwserial.h, 2 times
- drivers/target/target_core_device.c, line 841
- drivers/target/target_core_file.c, 2 times
- drivers/target/target_core_iblock.c, line 801
- drivers/target/target_core_transport.c, 2 times
- drivers/tty/hvc/hvc_opal.c, line 221
- drivers/tty/serial/rp2.c, line 62
- drivers/tty/serial/sirfsoc_uart.h, 2 times
- drivers/usb/core/urb.c, line 538
- drivers/usb/gadget/udc/dummy_hcd.c, line 1994
- drivers/usb/host/xhci.h, line 1336
- drivers/usb/mtu3/mtu3_core.c, line 302
- drivers/video/fbdev/i740fb.c, line 352
- drivers/video/fbdev/sh_mobile_meram.c, line 686
- drivers/watchdog/octeon-wdt-main.c, line 147
- fs/btrfs/disk-io.c, 3 times
- fs/btrfs/sysfs.c, line 631
- fs/cachefiles/bind.c, line 161
- fs/ext2/super.c, 2 times
- fs/ext4/inode.c, line 1115
- fs/ext4/super.c, 2 times
- fs/fuse/dir.c, line 874
- fs/fuse/inode.c, line 187
- fs/hfsplus/wrapper.c, line 237
- fs/nfsd/nfscache.c, line 166
- fs/orangefs/orangefs-bufmap.c, line 243
- fs/proc/array.c, line 138
- fs/proc/task_mmu.c, 34 times
- fs/qnx6/inode.c, line 434
- include/asm-generic/div64.h, 4 times
- include/asm-generic/getorder.h, line 54
- include/linux/assoc_array_priv.h, 2 times
- include/linux/average.h, 3 times
- include/linux/backing-dev-defs.h, line 42
- include/linux/blockgroup_lock.h, line 13
- include/linux/hashtable.h, line 27
- include/linux/log2.h, 4 times
- include/linux/sched.h, line 228
- include/linux/slab.h, line 178
- include/linux/usb/composite.h, line 56
- include/net/sock.h, line 1317
- include/rxrpc/packet.h, line 33
- include/scsi/scsi_cmnd.h, 2 times
- kernel/bounds.c, line 21
- kernel/bpf/verifier.c, 2 times
- kernel/events/ring_buffer.c, 3 times
- kernel/sched/fair.c, line 173
- kernel/time/timekeeping.c, 3 times
- kernel/trace/blktrace.c, line 197
- kernel/trace/trace_events_hist.c, 2 times
- lib/flex_proportions.c, line 169
- lib/sbitmap.c, line 28
- mm/bootmem.c, line 208
- mm/ksm.c, 2 times
- mm/page-writeback.c, 4 times
- mm/page_alloc.c, 2 times
- mm/slub.c, line 3566
- mm/vmpressure.c, line 71
- net/ipv4/fib_trie.c, 2 times
- net/ipv4/tcp_timer.c, line 167
- net/ipv4/udp.c, line 2680
- net/mac80211/tdls.c, 2 times
- net/netfilter/ipvs/ip_vs_sync.c, line 406
- net/sched/sch_fq.c, 2 times
- sound/pci/hda/hda_proc.c, 8 times
- sound/soc/codecs/sta350.c, line 1182
- sound/soc/fsl/fsl_dma.h, line 42
- sound/usb/mixer.c, 2 times
- tools/include/linux/hashtable.h, line 28
- tools/include/linux/log2.h, 2 times
- tools/testing/selftests/vm/thuge-gen.c, 2 times
- virt/kvm/arm/vgic/vgic-mmio.h, line 61