Defined in 2 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 447 files:
- arch/alpha/kernel/osf_sys.c, 3 times
- arch/alpha/kernel/traps.c, line 965
- arch/alpha/mm/fault.c, 4 times
- arch/arc/kernel/process.c, line 94
- arch/arc/kernel/troubleshoot.c, line 115
- arch/arc/mm/fault.c, line 156
- arch/arm/kernel/swp_emulate.c, line 105
- arch/arm/lib/uaccess_with_memcpy.c, 4 times
- arch/arm/mm/fault.c, line 330
- arch/arm64/kernel/traps.c, line 391
- arch/arm64/mm/fault.c, 2 times
- arch/csky/mm/fault.c, 3 times
- arch/hexagon/mm/vm_fault.c, 3 times
- arch/ia64/mm/fault.c, 3 times
- arch/m68k/kernel/sys_m68k.c, 4 times
- arch/m68k/mm/fault.c, 3 times
- arch/microblaze/mm/fault.c, 4 times
- arch/mips/kernel/traps.c, line 763
- arch/mips/mm/fault.c, 4 times
- arch/nds32/mm/fault.c, 4 times
- arch/nios2/mm/fault.c, 4 times
- arch/openrisc/mm/fault.c, 4 times
- arch/parisc/kernel/traps.c, 2 times
- arch/parisc/mm/fault.c, 3 times
- arch/powerpc/kvm/book3s_64_mmu_hv.c, line 605
- arch/powerpc/kvm/book3s_hv.c, 2 times
- arch/powerpc/kvm/e500_mmu_host.c, line 444
- arch/powerpc/mm/book3s64/iommu_api.c, line 117
- arch/powerpc/mm/copro_fault.c, line 85
- arch/powerpc/mm/fault.c, 4 times
- arch/powerpc/oprofile/cell/spu_task_sync.c, 2 times
- arch/powerpc/platforms/cell/spufs/file.c, line 339
- arch/riscv/mm/fault.c, 4 times
- arch/s390/kernel/sysinfo.c, line 362
- arch/s390/kvm/gaccess.c, line 1202
- arch/s390/kvm/interrupt.c, line 2771
- arch/s390/kvm/kvm-s390.c, 4 times
- arch/s390/kvm/priv.c, 8 times
- arch/s390/mm/fault.c, line 540
- arch/s390/mm/gmap.c, 5 times
- arch/s390/pci/pci_mmio.c, line 31
- arch/sh/kernel/sys_sh.c, 2 times
- arch/sh/mm/fault.c, 6 times
- arch/sparc/kernel/sys_sparc_32.c, 2 times
- arch/sparc/kernel/sys_sparc_64.c, 2 times
- arch/sparc/mm/fault_32.c, 7 times
- arch/sparc/mm/fault_64.c, 4 times
- arch/um/kernel/trap.c, 2 times
- arch/unicore32/mm/fault.c, line 269
- arch/x86/kernel/ldt.c, line 445
- arch/x86/kvm/paging_tmpl.h, 3 times
- arch/x86/mm/debug_pagetables.c, 2 times
- arch/x86/mm/fault.c, 2 times
- arch/xtensa/mm/fault.c, 4 times
- block/genhd.c, 2 times
- crypto/af_alg.c, line 53
- crypto/algapi.c, 2 times
- crypto/api.c, line 210
- crypto/asymmetric_keys/asymmetric_type.c, line 393
- crypto/crypto_user_base.c, 3 times
- crypto/proc.c, line 33
- drivers/acpi/cppc_acpi.c, 2 times
- drivers/acpi/glue.c, line 81
- drivers/android/binder_alloc.c, 3 times
- drivers/base/core.c, line 98
- drivers/block/rbd.c, 10 times
- drivers/block/zram/zram_drv.c, 20 times
- drivers/char/apm-emulation.c, 4 times
- drivers/char/tpm/tpm-chip.c, 2 times
- drivers/cpufreq/cpufreq.c, 2 times
- drivers/crypto/qat/qat_common/adf_cfg.c, line 358
- drivers/firewire/core-cdev.c, line 452
- drivers/firewire/core-device.c, 7 times
- drivers/gnss/core.c, line 167
- drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c, line 157
- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c, line 851
- drivers/gpu/drm/amd/amdkfd/kfd_events.c, line 928
- drivers/gpu/drm/amd/amdkfd/kfd_topology.c, 10 times
- drivers/gpu/drm/gma500/mmu.c, 6 times
- drivers/gpu/drm/gma500/psb_drv.c, 2 times
- drivers/gpu/drm/i915/gem/i915_gem_userptr.c, line 506
- drivers/gpu/drm/nouveau/nouveau_svm.c, 7 times
- drivers/gpu/drm/radeon/radeon_cs.c, 6 times
- drivers/gpu/drm/radeon/radeon_device.c, line 1885
- drivers/gpu/drm/radeon/radeon_display.c, 2 times
- drivers/gpu/drm/radeon/radeon_fence.c, 5 times
- drivers/gpu/drm/radeon/radeon_gem.c, 9 times
- drivers/gpu/drm/radeon/radeon_object.c, line 265
- drivers/gpu/drm/radeon/radeon_ttm.c, line 899
- drivers/gpu/drm/ttm/ttm_bo_vm.c, 2 times
- drivers/gpu/drm/vmwgfx/vmwgfx_irq.c, line 233
- drivers/i2c/i2c-core-base.c, line 1204
- drivers/i3c/master.c, line 91
- drivers/infiniband/core/device.c, 28 times
- drivers/infiniband/core/netlink.c, 2 times
- drivers/infiniband/core/nldev.c, 2 times
- drivers/infiniband/core/rdma_core.c, 6 times
- drivers/infiniband/core/roce_gid_mgmt.c, line 500
- drivers/infiniband/core/umem.c, 2 times
- drivers/infiniband/core/umem_odp.c, 7 times
- drivers/infiniband/core/uverbs_main.c, 3 times
- drivers/infiniband/hw/mlx4/mr.c, line 398
- drivers/infiniband/hw/mlx5/odp.c, 3 times
- drivers/infiniband/hw/qib/qib_user_pages.c, 2 times
- drivers/infiniband/hw/usnic/usnic_uiom.c, line 190
- drivers/infiniband/sw/siw/siw_mem.c, line 444
- drivers/infiniband/sw/siw/siw_qp.c, line 117
- drivers/infiniband/sw/siw/siw_qp_tx.c, 2 times
- drivers/infiniband/sw/siw/siw_verbs.c, 6 times
- drivers/infiniband/ulp/ipoib/ipoib_ib.c, line 1172
- drivers/infiniband/ulp/ipoib/ipoib_main.c, 4 times
- drivers/input/misc/yealink.c, 4 times
- drivers/iommu/amd_iommu_v2.c, line 502
- drivers/iommu/intel-iommu.c, 2 times
- drivers/iommu/intel-svm.c, line 613
- drivers/iommu/intel_irq_remapping.c, 3 times
- drivers/leds/led-triggers.c, 7 times
- drivers/leds/leds-bd2802.c, 2 times
- drivers/lightnvm/core.c, line 496
- drivers/md/bcache/btree.h, line 240
- drivers/md/bcache/writeback.c, line 207
- drivers/md/dm-cache-metadata.c, 2 times
- drivers/md/dm-cache-target.c, line 1145
- drivers/md/dm-clone-metadata.c, 2 times
- drivers/md/dm-crypt.c, 3 times
- drivers/md/dm-ioctl.c, 2 times
- drivers/md/dm-path-selector.c, 2 times
- drivers/md/dm-snap.c, 20 times
- drivers/md/dm-target.c, 3 times
- drivers/md/dm-thin-metadata.c, 18 times
- drivers/md/dm-thin.c, line 185
- drivers/md/dm-verity-verify-sig.c, line 61
- drivers/md/dm-zoned-metadata.c, line 247
- drivers/media/dvb-core/dvbdev.c, 2 times
- drivers/media/v4l2-core/videobuf-core.c, line 624
- drivers/media/v4l2-core/videobuf-dma-contig.c, line 204
- drivers/media/v4l2-core/videobuf-dma-sg.c, line 205
- drivers/misc/cxl/cxllib.c, line 221
- drivers/misc/cxl/fault.c, line 339
- drivers/misc/mei/bus.c, line 1075
- drivers/misc/mei/client.c, 3 times
- drivers/misc/mei/debugfs.c, line 52
- drivers/misc/sgi-gru/grufault.c, 3 times
- drivers/misc/sgi-gru/grukservices.c, 3 times
- drivers/misc/vmw_balloon.c, 3 times
- drivers/mtd/ubi/eba.c, 5 times
- drivers/mtd/ubi/fastmap-wl.c, 2 times
- drivers/mtd/ubi/wl.c, 13 times
- drivers/net/ethernet/mellanox/mlx4/cmd.c, line 797
- drivers/net/ethernet/mellanox/mlx5/core/fs_core.c, line 308
- drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c, 2 times
- drivers/net/ethernet/sfc/ef10.c, 10 times
- drivers/net/ethernet/sfc/efx.c, line 1031
- drivers/net/ethernet/sfc/efx.h, line 319
- drivers/net/ethernet/sfc/falcon/efx.c, 3 times
- drivers/net/ethernet/sfc/falcon/efx.h, line 268
- drivers/net/ethernet/sfc/farch.c, 3 times
- drivers/net/ppp/ppp_generic.c, line 637
- drivers/net/wireless/ath/wil6210/main.c, 2 times
- drivers/net/wireless/intersil/prism54/isl_ioctl.c, line 819
- drivers/net/wireless/intersil/prism54/oid_mgt.c, 2 times
- drivers/nvdimm/security.c, 3 times
- drivers/nvme/host/core.c, 12 times
- drivers/nvme/host/fabrics.c, 2 times
- drivers/nvme/host/multipath.c, 2 times
- drivers/nvme/target/admin-cmd.c, line 275
- drivers/nvme/target/core.c, 5 times
- drivers/nvme/target/discovery.c, 2 times
- drivers/oprofile/buffer_sync.c, 3 times
- drivers/pci/bus.c, line 410
- drivers/pci/hotplug/cpci_hotplug_core.c, 6 times
- drivers/pci/hotplug/pciehp_core.c, line 174
- drivers/pci/hotplug/pciehp_hpc.c, 2 times
- drivers/pci/pcie/aspm.c, 8 times
- drivers/pci/pcie/bw_notification.c, line 80
- drivers/pci/pcie/pme.c, 4 times
- drivers/pci/search.c, 2 times
- drivers/pci/setup-bus.c, line 2167
- drivers/pci/slot.c, 2 times
- drivers/pcmcia/cs.c, 2 times
- drivers/platform/chrome/cros_ec_ishtp.c, 2 times
- drivers/rapidio/rio_cm.c, 10 times
- drivers/s390/block/dcssblk.c, 3 times
- drivers/scsi/cxlflash/main.c, line 3579
- drivers/scsi/cxlflash/superpipe.c, 5 times
- drivers/scsi/cxlflash/vlun.c, line 452
- drivers/scsi/ufs/ufshcd.c, 3 times
- drivers/staging/android/ion/ion.c, 2 times
- drivers/staging/comedi/comedi_fops.c, 6 times
- drivers/staging/comedi/kcomedilib/kcomedilib_main.c, 3 times
- drivers/staging/comedi/proc.c, line 43
- drivers/staging/exfat/exfat_super.c, line 3260
- drivers/staging/greybus/audio_manager.c, 3 times
- drivers/staging/kpc2000/kpc_dma/fileops.c, line 81
- drivers/staging/speakup/spk_ttyio.c, line 136
- drivers/tee/optee/call.c, line 560
- drivers/tty/n_tty.c, 7 times
- drivers/tty/tty_io.c, 2 times
- drivers/tty/tty_ioctl.c, 7 times
- drivers/tty/tty_ldisc.c, line 606
- drivers/usb/core/file.c, line 50
- drivers/usb/core/hcd-pci.c, 2 times
- drivers/usb/core/hub.c, line 2972
- drivers/usb/gadget/function/f_mass_storage.c, 2 times
- drivers/usb/gadget/function/storage_common.c, 3 times
- drivers/usb/misc/usblcd.c, 3 times
- drivers/vfio/mdev/mdev_core.c, 3 times
- drivers/vfio/vfio.c, line 1051
- drivers/vfio/vfio_iommu_type1.c, 2 times
- drivers/video/fbdev/matrox/matroxfb_base.c, 8 times
- drivers/video/fbdev/matrox/matroxfb_crtc2.c, 2 times
- drivers/video/fbdev/omap2/omapfb/omapfb.h, line 193
- drivers/xen/gntdev.c, line 753
- drivers/xen/xenbus/xenbus_xs.c, 2 times
- fs/9p/fid.c, 2 times
- fs/afs/dir.c, 2 times
- fs/afs/dir_silly.c, 3 times
- fs/btrfs/backref.c, 3 times
- fs/btrfs/block-group.c, 3 times
- fs/btrfs/ctree.c, line 2649
- fs/btrfs/dev-replace.c, 5 times
- fs/btrfs/disk-io.c, 2 times
- fs/btrfs/extent-tree.c, 4 times
- fs/btrfs/inode-map.c, 2 times
- fs/btrfs/inode.c, 5 times
- fs/btrfs/ioctl.c, 4 times
- fs/btrfs/reada.c, 5 times
- fs/btrfs/scrub.c, 2 times
- fs/btrfs/send.c, 4 times
- fs/btrfs/space-info.c, 2 times
- fs/btrfs/sysfs.c, line 386
- fs/btrfs/volumes.c, 4 times
- fs/cachefiles/interface.c, line 391
- fs/ceph/addr.c, line 1848
- fs/ceph/caps.c, 5 times
- fs/ceph/inode.c, line 2177
- fs/ceph/io.c, 4 times
- fs/ceph/ioctl.c, 2 times
- fs/ceph/mds_client.c, 4 times
- fs/ceph/quota.c, 6 times
- fs/ceph/xattr.c, 4 times
- fs/cifs/connect.c, line 3175
- fs/cifs/file.c, 7 times
- fs/configfs/file.c, 7 times
- fs/coredump.c, line 300
- fs/crypto/keyring.c, 2 times
- fs/crypto/keysetup.c, 2 times
- fs/crypto/keysetup_v1.c, 2 times
- fs/dcache.c, line 2975
- fs/dlm/dir.c, 4 times
- fs/dlm/lock.c, 2 times
- fs/dlm/recover.c, 7 times
- fs/exec.c, 2 times
- fs/ext2/file.c, line 105
- fs/ext2/xattr.c, 2 times
- fs/ext4/extents.c, 6 times
- fs/ext4/file.c, 3 times
- fs/ext4/ialloc.c, line 1048
- fs/ext4/inline.c, 18 times
- fs/ext4/inode.c, 6 times
- fs/ext4/ioctl.c, line 500
- fs/ext4/migrate.c, line 506
- fs/ext4/super.c, line 3148
- fs/ext4/xattr.c, 3 times
- fs/f2fs/checkpoint.c, line 1187
- fs/f2fs/data.c, 5 times
- fs/f2fs/f2fs.h, 2 times
- fs/f2fs/file.c, 4 times
- fs/f2fs/gc.c, line 497
- fs/f2fs/namei.c, line 188
- fs/f2fs/node.c, 14 times
- fs/f2fs/segment.c, 6 times
- fs/f2fs/super.c, 6 times
- fs/f2fs/sysfs.c, line 344
- fs/f2fs/xattr.c, 2 times
- fs/fat/inode.c, line 327
- fs/fs-writeback.c, 3 times
- fs/fscache/cache.c, 2 times
- fs/fscache/cookie.c, 5 times
- fs/fuse/dev.c, 5 times
- fs/gfs2/bmap.c, line 932
- fs/gfs2/log.c, line 330
- fs/gfs2/trans.c, line 114
- fs/io_uring.c, line 3469
- fs/jffs2/wbuf.c, line 1013
- fs/jffs2/xattr.c, 4 times
- fs/jfs/jfs_incore.h, line 102
- fs/jfs/xattr.c, 2 times
- fs/lockd/clntproc.c, 4 times
- fs/namespace.c, 4 times
- fs/nfs/io.c, 4 times
- fs/nfs/nfs4proc.c, 4 times
- fs/nilfs2/bmap.c, 4 times
- fs/nilfs2/cpfile.c, 4 times
- fs/nilfs2/inode.c, 4 times
- fs/nilfs2/ioctl.c, 9 times
- fs/nilfs2/segment.c, 4 times
- fs/nilfs2/sufile.c, 3 times
- fs/nilfs2/super.c, 3 times
- fs/nilfs2/sysfs.c, 19 times
- fs/nilfs2/the_nilfs.c, 2 times
- fs/nilfs2/the_nilfs.h, line 303
- fs/ntfs/aops.c, 10 times
- fs/ntfs/attrib.c, 2 times
- fs/ntfs/compress.c, 4 times
- fs/ntfs/file.c, 6 times
- fs/ntfs/mft.c, 2 times
- fs/ntfs/super.c, 4 times
- fs/ocfs2/acl.c, 3 times
- fs/ocfs2/aops.c, 5 times
- fs/ocfs2/cluster/heartbeat.c, line 1482
- fs/ocfs2/dlm/dlmdomain.c, line 2283
- fs/ocfs2/extent_map.c, 3 times
- fs/ocfs2/file.c, line 2152
- fs/ocfs2/journal.c, 2 times
- fs/ocfs2/quota_global.c, 2 times
- fs/ocfs2/quota_local.c, line 677
- fs/ocfs2/refcounttree.c, line 522
- fs/ocfs2/xattr.c, 4 times
- fs/orangefs/file.c, line 338
- fs/orangefs/xattr.c, 2 times
- fs/overlayfs/super.c, line 277
- fs/proc/base.c, 5 times
- fs/proc/kcore.c, line 541
- fs/proc/nommu.c, line 96
- fs/proc/task_mmu.c, 5 times
- fs/proc/task_nommu.c, 5 times
- fs/quota/dquot.c, 3 times
- fs/quota/quota_v1.c, line 182
- fs/quota/quota_v2.c, 4 times
- fs/reiserfs/super.c, line 112
- fs/reiserfs/xattr.c, line 744
- fs/super.c, 8 times
- fs/sync.c, line 172
- fs/ubifs/auth.c, line 376
- fs/ubifs/budget.c, 2 times
- fs/ubifs/journal.c, 4 times
- fs/udf/inode.c, line 2377
- fs/udf/symlink.c, 2 times
- fs/userfaultfd.c, 2 times
- fs/xfs/mrlock.h, line 67
- fs/xfs/xfs_inode.c, 2 times
- fs/xfs/xfs_log_cil.c, line 1043
- fs/xfs/xfs_super.c, line 883
- include/linux/fs.h, 3 times
- include/linux/rmap.h, line 135
- include/linux/rwsem.h, 2 times
- ipc/msg.c, line 487
- ipc/sem.c, line 1318
- ipc/shm.c, 3 times
- ipc/util.c, line 840
- kernel/acct.c, line 548
- kernel/bpf/offload.c, 17 times
- kernel/bpf/stackmap.c, line 332
- kernel/events/core.c, line 9259
- kernel/events/uprobes.c, 5 times
- kernel/exit.c, 2 times
- kernel/futex.c, line 753
- kernel/locking/locktorture.c, line 559
- kernel/locking/rwsem.c, 2 times
- kernel/notifier.c, line 321
- kernel/sched/autogroup.c, line 255
- kernel/sched/fair.c, line 2612
- kernel/sys.c, 8 times
- kernel/taskstats.c, line 140
- kernel/time/posix-clock.c, 3 times
- kernel/trace/trace.c, line 700
- kernel/trace/trace_output.c, 2 times
- kernel/umh.c, 3 times
- kernel/utsname.c, line 72
- kernel/utsname_sysctl.c, line 50
- lib/digsig.c, line 179
- lib/locking-selftest.c, line 238
- lib/test_vmalloc.c, line 433
- mm/filemap.c, 4 times
- mm/frame_vector.c, line 105
- mm/gup.c, 4 times
- mm/hmm.c, 2 times
- mm/khugepaged.c, 7 times
- mm/ksm.c, 9 times
- mm/madvise.c, 3 times
- mm/memcontrol.c, 3 times
- mm/memory.c, 2 times
- mm/mempolicy.c, 4 times
- mm/migrate.c, 2 times
- mm/mincore.c, line 288
- mm/mmap.c, 2 times
- mm/mremap.c, line 723
- mm/msync.c, 2 times
- mm/nommu.c, line 1732
- mm/oom_kill.c, line 602
- mm/process_vm_access.c, line 112
- mm/rmap.c, line 530
- mm/shmem.c, line 2032
- mm/swapfile.c, line 2083
- mm/userfaultfd.c, 5 times
- mm/vmscan.c, 2 times
- net/bluetooth/bnep/core.c, 3 times
- net/bluetooth/cmtp/core.c, 3 times
- net/bluetooth/hidp/core.c, 2 times
- net/ceph/debugfs.c, 2 times
- net/ceph/osd_client.c, 16 times
- net/core/fib_notifier.c, line 62
- net/core/net_namespace.c, 2 times
- net/dns_resolver/dns_query.c, line 164
- net/ipv4/tcp.c, line 1822
- net/netfilter/nf_conntrack_core.c, line 2148
- net/netlink/genetlink.c, 4 times
- net/nfc/nci/uart.c, line 442
- net/openvswitch/datapath.c, line 2430
- net/rds/ib_rdma.c, line 526
- net/rds/transport.c, 3 times
- net/rxrpc/output.c, line 419
- net/sched/cls_api.c, 8 times
- net/tls/tls_device.c, 7 times
- net/wireless/wext-core.c, line 356
- net/xdp/xdp_umem.c, line 296
- security/integrity/evm/evm_crypto.c, line 370
- security/keys/dh.c, line 51
- security/keys/encrypted-keys/encrypted.c, 4 times
- security/keys/key.c, 3 times
- security/keys/keyctl.c, line 856
- security/keys/persistent.c, line 93
- security/keys/process_keys.c, line 738
- security/keys/request_key.c, line 291
- security/keys/request_key_auth.c, 2 times
- security/selinux/include/xfrm.h, line 53
- sound/core/control.c, 8 times
- sound/core/control_compat.c, 5 times
- sound/core/oss/mixer_oss.c, 18 times
- sound/core/pcm_native.c, line 1189
- sound/core/seq/seq_clientmgr.c, 4 times
- sound/core/seq/seq_ports.c, line 635
- sound/core/seq/seq_virmidi.c, line 93
- sound/pci/emu10k1/emufx.c, 2 times
- sound/soc/intel/atom/sst-atom-controls.c, 2 times
- sound/usb/midi.c, 2 times
- tools/perf/util/dsos.c, line 142
- tools/perf/util/env.c, 2 times
- tools/perf/util/header.c, 2 times
- tools/perf/util/machine.c, 3 times
- tools/perf/util/map.c, 4 times
- tools/perf/util/symbol.c, line 1813
- tools/perf/util/thread.c, 3 times
- virt/kvm/arm/mmu.c, 4 times
- virt/kvm/async_pf.c, line 81
- virt/kvm/kvm_main.c, 2 times