Defined in 4 files as a macro:
Referenced in 289 files:
- arch/alpha/include/asm/page.h, line 21
- arch/alpha/kernel/pci_iommu.c, line 458
- arch/alpha/mm/init.c, line 46
- arch/arc/include/asm/pgalloc.h, line 94
- arch/arc/kernel/perf_event.c, 3 times
- arch/hexagon/include/asm/pgalloc.h, line 25
- arch/ia64/include/asm/page.h, line 88
- arch/ia64/include/asm/pgalloc.h, 3 times
- arch/ia64/kernel/uncached.c, line 98
- arch/m68k/include/asm/motorola_pgalloc.h, 2 times
- arch/m68k/include/asm/page_no.h, line 17
- arch/microblaze/include/asm/pgalloc.h, line 31
- arch/microblaze/mm/pgtable.c, line 238
- arch/mips/mm/init.c, line 72
- arch/openrisc/kernel/dma.c, line 93
- arch/parisc/kernel/pci-dma.c, line 410
- arch/powerpc/include/asm/pgalloc.h, line 21
- arch/powerpc/kernel/fadump.c, line 681
- arch/powerpc/kvm/book3s_64_mmu_hv.c, line 89
- arch/powerpc/kvm/book3s_64_vio.c, line 201
- arch/powerpc/kvm/book3s_pr.c, line 1740
- arch/powerpc/kvm/booke.c, line 2153
- arch/powerpc/kvm/e500.c, line 466
- arch/powerpc/kvm/e500mc.c, line 329
- arch/powerpc/mm/book3s64/pgtable.c, line 292
- arch/powerpc/mm/kasan/kasan_init_32.c, line 76
- arch/powerpc/perf/imc-pmu.c, 3 times
- arch/powerpc/platforms/powernv/opal-core.c, line 323
- arch/powerpc/platforms/ps3/system-bus.c, line 516
- arch/riscv/include/asm/pgalloc.h, line 67
- arch/s390/include/asm/page.h, line 70
- arch/s390/kvm/kvm-s390.c, line 2658
- arch/s390/kvm/vsie.c, line 1239
- arch/s390/mm/init.c, line 71
- arch/s390/pci/pci_dma.c, line 407
- arch/sh/kernel/dma-coherent.c, line 18
- arch/sh/mm/pgtable.c, line 5
- arch/sparc/kernel/ioport.c, line 328
- arch/sparc/kernel/irq_64.c, 2 times
- arch/sparc/kernel/pci_sun4v.c, line 761
- arch/sparc/mm/init_64.c, 3 times
- arch/sparc/mm/io-unit.c, line 227
- arch/sparc/mm/iommu.c, line 321
- arch/x86/events/intel/ds.c, line 324
- arch/x86/events/intel/pt.c, line 618
- arch/x86/hyperv/hv_init.c, line 85
- arch/x86/include/asm/page.h, line 38
- arch/x86/include/asm/pgalloc.h, line 92
- arch/x86/kernel/amd_gart_64.c, 2 times
- arch/x86/kernel/espfix_64.c, line 52
- arch/x86/kernel/machine_kexec_32.c, line 73
- arch/x86/kvm/svm.c, 2 times
- arch/x86/kvm/vmx/vmx.c, 2 times
- arch/x86/kvm/x86.c, line 9364
- arch/x86/mm/init.c, line 100
- arch/x86/mm/pti.c, 3 times
- arch/x86/platform/efi/efi_64.c, line 217
- arch/x86/um/ldt.c, 3 times
- arch/x86/xen/mmu_pv.c, line 1499
- arch/xtensa/include/asm/pgalloc.h, line 28
- arch/xtensa/kernel/pci-dma.c, line 159
- block/bfq-cgroup.c, line 1388
- block/bfq-iosched.c, line 5141
- block/blk-core.c, line 482
- block/blk-ioc.c, 2 times
- block/blk-mq.c, line 2183
- block/blk-zoned.c, line 345
- block/kyber-iosched.c, line 379
- drivers/android/binder_alloc.c, line 250
- drivers/base/devres.c, 2 times
- drivers/block/brd.c, line 101
- drivers/block/drbd/drbd_bitmap.c, line 400
- drivers/block/null_blk_zoned.c, line 28
- drivers/block/pktcdvd.c, line 537
- drivers/block/skd_main.c, 3 times
- drivers/block/zram/zcomp.c, line 58
- drivers/char/agp/generic.c, 2 times
- drivers/char/agp/intel-gtt.c, line 299
- drivers/char/tpm/xen-tpmfront.c, line 258
- drivers/char/xillybus/xillybus_core.c, line 361
- drivers/dma/ioat/prep.c, line 83
- drivers/firewire/core-iso.c, line 41
- drivers/firmware/efi/capsule-loader.c, 2 times
- drivers/firmware/stratix10-svc.c, line 993
- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c, line 626
- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c, 2 times
- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c, line 866
- drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c, line 309
- drivers/gpu/drm/amd/amdkfd/kfd_process.c, line 1132
- drivers/gpu/drm/drm_gem.c, line 709
- drivers/gpu/drm/exynos/exynos_drm_gem.c, line 59
- drivers/gpu/drm/gma500/psb_drv.c, line 306
- drivers/gpu/drm/i915/gem/selftests/huge_pages.c, line 93
- drivers/gpu/drm/i915/gvt/gtt.c, line 828
- drivers/gpu/drm/i915/gvt/opregion.c, line 230
- drivers/gpu/drm/i915/i915_gem_gtt.c, line 639
- drivers/gpu/drm/lima/lima_vm.c, 2 times
- drivers/gpu/drm/msm/msm_gpummu.c, line 106
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c, line 64
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c, line 201
- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c, line 155
- drivers/gpu/drm/panfrost/panfrost_drv.c, 2 times
- drivers/gpu/drm/panfrost/panfrost_mmu.c, 2 times
- drivers/gpu/drm/radeon/radeon_cs.c, line 97
- drivers/gpu/drm/radeon/radeon_device.c, line 784
- drivers/gpu/drm/tegra/drm.c, line 1137
- drivers/gpu/drm/tilcdc/tilcdc_crtc.c, line 991
- drivers/gpu/drm/ttm/ttm_bo.c, line 1655
- drivers/gpu/drm/ttm/ttm_page_alloc.c, 2 times
- drivers/gpu/drm/ttm/ttm_page_alloc_dma.c, line 867
- drivers/gpu/drm/ttm/ttm_tt.c, 3 times
- drivers/gpu/drm/v3d/v3d_drv.c, line 297
- drivers/gpu/drm/v3d/v3d_gem.c, 2 times
- drivers/gpu/drm/vc4/vc4_gem.c, line 749
- drivers/gpu/drm/virtio/virtgpu_ioctl.c, line 167
- drivers/gpu/drm/vmwgfx/vmwgfx_validation.c, line 121
- drivers/hv/channel.c, 2 times
- drivers/hv/connection.c, 3 times
- drivers/hwtracing/coresight/coresight-tmc-etr.c, line 219
- drivers/hwtracing/intel_th/msu.c, line 922
- drivers/infiniband/core/uverbs_main.c, line 911
- drivers/infiniband/hw/efa/efa_verbs.c, line 161
- drivers/infiniband/hw/mlx5/mr.c, line 954
- drivers/infiniband/hw/mthca/mthca_memfree.c, line 115
- drivers/input/misc/xen-kbdfront.c, line 219
- drivers/input/touchscreen/cyttsp4_core.c, 4 times
- drivers/iommu/amd_iommu.c, line 2723
- drivers/iommu/amd_iommu_init.c, 10 times
- drivers/iommu/arm-smmu-v3.c, 4 times
- drivers/iommu/dma-iommu.c, line 1006
- drivers/iommu/dmar.c, line 1471
- drivers/iommu/exynos-iommu.c, line 757
- drivers/iommu/fsl_pamu.c, line 1084
- drivers/iommu/intel-iommu.c, line 519
- drivers/iommu/intel-pasid.c, line 156
- drivers/iommu/intel-svm.c, line 46
- drivers/iommu/intel_irq_remapping.c, line 543
- drivers/iommu/io-pgtable-arm-v7s.c, line 244
- drivers/iommu/io-pgtable-arm.c, line 241
- drivers/iommu/tegra-smmu.c, 2 times
- drivers/irqchip/irq-gic-v3-its.c, 4 times
- drivers/md/bcache/super.c, line 1728
- drivers/md/dm-integrity.c, 3 times
- drivers/md/md-bitmap.c, 3 times
- drivers/md/raid5-ppl.c, line 1056
- drivers/media/common/videobuf2/videobuf2-dma-sg.c, 2 times
- drivers/media/pci/cobalt/cobalt-alsa-pcm.c, line 533
- drivers/media/platform/rockchip/rga/rga.c, 2 times
- drivers/media/v4l2-core/v4l2-ctrls.c, line 2140
- drivers/media/v4l2-core/v4l2-subdev.c, line 756
- drivers/misc/cxl/native.c, line 245
- drivers/misc/habanalabs/command_buffer.c, line 74
- drivers/misc/habanalabs/device.c, line 298
- drivers/misc/habanalabs/goya/goya.c, line 692
- drivers/misc/habanalabs/hw_queue.c, line 431
- drivers/misc/habanalabs/irq.c, line 225
- drivers/misc/habanalabs/mmu.c, line 424
- drivers/misc/mic/host/mic_boot.c, line 140
- drivers/misc/mic/scif/scif_rma.c, 2 times
- drivers/misc/mic/scif/scif_rma.h, line 418
- drivers/misc/mic/vop/vop_main.c, line 342
- drivers/misc/mic/vop/vop_vringh.c, line 302
- drivers/misc/ocxl/link.c, line 349
- drivers/misc/sgi-xp/xpc_uv.c, line 246
- drivers/misc/vmw_balloon.c, line 1328
- drivers/net/dsa/lantiq_gswip.c, line 1808
- drivers/net/ethernet/apm/xgene/xgene_enet_main.c, 3 times
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c, line 2715
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c, line 3615
- drivers/net/ethernet/ibm/ibmvnic.c, line 2756
- drivers/net/ethernet/intel/ice/ice_controlq.c, 4 times
- drivers/net/ethernet/mellanox/mlx4/mr.c, line 118
- drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c, line 135
- drivers/net/ethernet/sgi/ioc3-eth.c, line 1256
- drivers/nvme/host/tcp.c, 2 times
- drivers/nvme/target/tcp.c, 4 times
- drivers/s390/cio/css.c, line 1090
- drivers/scsi/cxlflash/main.c, line 1016
- drivers/scsi/megaraid/megaraid_sas_fusion.c, 3 times
- drivers/scsi/pmcraid.c, line 3234
- drivers/scsi/qedi/qedi_main.c, line 236
- drivers/scsi/sg.c, line 1873
- drivers/scsi/st.c, line 3924
- drivers/sh/maple/maple.c, line 742
- drivers/staging/android/ion/ion_system_heap.c, 2 times
- drivers/staging/media/ipu3/ipu3-dmamap.c, line 47
- drivers/staging/mt7621-dma/mtk-hsdma.c, line 552
- drivers/target/iscsi/cxgbit/cxgbit_target.c, line 397
- drivers/target/target_core_transport.c, line 2479
- drivers/tee/optee/shm_pool.c, line 21
- drivers/thunderbolt/nhi.c, line 527
- drivers/tty/hvc/hvc_xen.c, line 443
- drivers/vfio/vfio_iommu_type1.c, line 1277
- drivers/video/fbdev/fsl-diu-fb.c, 2 times
- drivers/video/fbdev/pxafb.c, 2 times
- drivers/video/fbdev/ssd1307fb.c, line 680
- drivers/video/fbdev/xen-fbfront.c, line 420
- drivers/virtio/virtio_ring.c, 5 times
- drivers/xen/events/events_base.c, line 1714
- drivers/xen/gntalloc.c, line 140
- drivers/xen/privcmd-buf.c, line 148
- drivers/xen/pvcalls-front.c, 2 times
- fs/aio.c, line 502
- fs/ceph/file.c, line 144
- fs/ceph/mdsmap.c, 2 times
- fs/ecryptfs/crypto.c, line 1140
- fs/exec.c, line 306
- fs/ext4/super.c, line 223
- fs/f2fs/f2fs.h, 2 times
- fs/fuse/cuse.c, line 434
- fs/gfs2/dir.c, line 1993
- fs/gfs2/quota.c, line 1359
- fs/io_uring.c, line 3273
- fs/jfs/jfs_logmgr.c, line 1823
- fs/proc/vmcore.c, 2 times
- fs/xfs/kmem.h, line 50
- fs/xfs/xfs_buf.c, line 355
- include/asm-generic/pgalloc.h, line 7
- include/linux/device.h, 2 times
- include/linux/dmapool.h, line 55
- include/linux/f2fs_fs.h, line 52
- include/linux/mm.h, 4 times
- include/linux/ptr_ring.h, line 470
- include/linux/slab.h, 5 times
- include/linux/thread_info.h, line 46
- include/rdma/uverbs_ioctl.h, line 887
- include/sound/pcm.h, 2 times
- include/trace/events/mmflags.h, line 40
- kernel/bpf/core.c, 4 times
- kernel/bpf/cpumap.c, line 264
- kernel/bpf/local_storage.c, 4 times
- kernel/bpf/syscall.c, line 141
- kernel/cpu.c, line 1310
- kernel/crash_core.c, line 388
- kernel/dma/direct.c, line 97
- kernel/dma/virt.c, line 16
- kernel/events/ring_buffer.c, 2 times
- kernel/kexec_core.c, 2 times
- kernel/profile.c, 2 times
- kernel/sched/core.c, line 6942
- kernel/trace/ftrace.c, line 2978
- kernel/trace/trace_events.c, line 41
- lib/bitmap.c, line 1180
- lib/cpumask.c, 2 times
- lib/generic-radix-tree.c, line 83
- lib/scatterlist.c, line 507
- lib/test_kasan.c, 3 times
- lib/test_meminit.c, line 199
- lib/test_vmalloc.c, 3 times
- mm/backing-dev.c, line 874
- mm/dmapool.c, 2 times
- mm/huge_memory.c, line 87
- mm/mempool.c, line 382
- mm/nommu.c, 2 times
- mm/page_alloc.c, 2 times
- mm/page_ext.c, line 207
- mm/percpu.c, line 511
- mm/slab.c, 2 times
- mm/slab.h, 2 times
- mm/slob.c, 3 times
- mm/slub.c, line 2450
- mm/swap_cgroup.c, line 48
- mm/vmalloc.c, 5 times
- net/9p/trans_xen.c, line 344
- net/core/drop_monitor.c, 2 times
- net/core/dst_cache.c, line 143
- net/core/neighbour.c, line 451
- net/core/pktgen.c, line 2647
- net/core/sock.c, 2 times
- net/ipv4/fib_semantics.c, line 1213
- net/netfilter/nf_conntrack_core.c, line 2253
- net/netfilter/x_tables.c, line 949
- net/openvswitch/flow_table.c, line 79
- net/packet/af_packet.c, line 4220
- net/sched/sch_choke.c, line 380
- net/smc/smc_core.c, line 749
- net/xdp/xsk_queue.c, line 44
- net/xfrm/xfrm_hash.c, line 26
- net/xfrm/xfrm_state.c, line 615
- samples/vfio-mdev/mbochs.c, line 707
- security/selinux/ss/status.c, line 49
- sound/soc/meson/axg-card.c, 2 times
- sound/usb/usx2y/usb_stream.c, 2 times
- tools/testing/radix-tree/linux.c, line 85
- tools/testing/radix-tree/linux/slab.h, line 17
- tools/virtio/ringtest/ptr_ring.c, 3 times
- virt/kvm/arm/mmu.c, 4 times
- virt/kvm/coalesced_mmio.c, line 116
- virt/kvm/kvm_main.c, line 341