Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 233 files:
-
arch/arc/kernel/troubleshoot.c,
line 70
-
arch/powerpc/platforms/cell/spufs/coredump.c,
line 80
-
arch/um/drivers/mconsole_kern.c,
line 174
-
arch/x86/kernel/cpu/sgx/encl.c,
line 757
-
arch/x86/kernel/cpu/sgx/ioctl.c,
line 134
-
block/bdev.c,
3 times
-
block/genhd.c,
line 392
-
block/ioctl.c,
line 642
-
drivers/accel/habanalabs/common/hldio.c,
8 times
-
drivers/accel/habanalabs/common/memory.c,
line 1846
-
drivers/android/binder.c,
3 times
-
drivers/android/tests/binder_alloc_kunit.c,
line 544
-
drivers/block/drbd/drbd_nl.c,
2 times
-
drivers/block/loop.c,
6 times
-
drivers/block/rnbd/rnbd-srv.c,
2 times
-
drivers/block/xen-blkback/xenbus.c,
line 475
-
drivers/block/zloop.c,
6 times
-
drivers/char/misc_minor_kunit.c,
line 176
-
drivers/char/tpm/tpm_vtpm_proxy.c,
line 649
-
drivers/dma-buf/dma-buf.c,
5 times
-
drivers/dma-buf/sw_sync.c,
line 379
-
drivers/dma-buf/sync_file.c,
6 times
-
drivers/dma-buf/udmabuf.c,
line 417
-
drivers/gpio/gpiolib-cdev.c,
2 times
-
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c,
3 times
-
drivers/gpu/drm/amd/amdkfd/kfd_debug.c,
2 times
-
drivers/gpu/drm/amd/amdkfd/kfd_process.c,
line 1207
-
drivers/gpu/drm/drm_atomic_uapi.c,
line 1580
-
drivers/gpu/drm/drm_gem.c,
line 1138
-
drivers/gpu/drm/i915/gem/i915_gem_context.c,
line 2182
-
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c,
line 3503
-
drivers/gpu/drm/i915/gem/i915_gem_mman.c,
line 1024
-
drivers/gpu/drm/i915/gem/i915_gem_shmem.c,
line 485
-
drivers/gpu/drm/i915/gem/i915_gem_ttm.c,
2 times
-
drivers/gpu/drm/i915/gem/selftests/huge_pages.c,
6 times
-
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c,
6 times
-
drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c,
line 215
-
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c,
line 1308
-
drivers/gpu/drm/i915/gt/intel_context.c,
line 31
-
drivers/gpu/drm/i915/gt/intel_engine_cs.c,
line 1549
-
drivers/gpu/drm/i915/gt/shmem_utils.c,
line 29
-
drivers/gpu/drm/i915/gt/st_shmem_utils.c,
line 52
-
drivers/gpu/drm/i915/selftests/i915_gem.c,
2 times
-
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c,
line 1227
-
drivers/gpu/drm/i915/selftests/i915_request.c,
line 1863
-
drivers/gpu/drm/i915/selftests/igt_mmap.c,
line 62
-
drivers/gpu/drm/i915/selftests/intel_memory_region.c,
line 987
-
drivers/gpu/drm/msm/msm_gem_submit.c,
line 821
-
drivers/gpu/drm/msm/msm_gem_vma.c,
line 1599
-
drivers/gpu/drm/ttm/ttm_backup.c,
line 188
-
drivers/gpu/drm/ttm/ttm_tt.c,
3 times
-
drivers/gpu/drm/virtio/virtgpu_submit.c,
line 350
-
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c,
line 4273
-
drivers/gpu/drm/xe/xe_svm.c,
line 2104
-
drivers/hv/mshv_vtl_main.c,
line 510
-
drivers/infiniband/core/rdma_core.c,
3 times
-
drivers/iommu/iommufd/io_pagetable.c,
line 520
-
drivers/iommu/iommufd/main.c,
2 times
-
drivers/iommu/iommufd/pages.c,
line 1669
-
drivers/iommu/iommufd/selftest.c,
7 times
-
drivers/md/bcache/super.c,
5 times
-
drivers/md/dm.c,
line 792
-
drivers/md/md-bitmap.c,
2 times
-
drivers/md/md.c,
5 times
-
drivers/misc/ntsync.c,
4 times
-
drivers/net/ppp/ppp_generic.c,
line 1356
-
drivers/nvme/target/io-cmd-bdev.c,
line 69
-
drivers/nvme/target/io-cmd-file.c,
2 times
-
drivers/nvme/target/tcp.c,
2 times
-
drivers/s390/block/dasd_genhd.c,
line 213
-
drivers/target/target_core_alua.c,
line 879
-
drivers/target/target_core_iblock.c,
2 times
-
drivers/target/target_core_pr.c,
line 1988
-
drivers/target/target_core_pscsi.c,
2 times
-
drivers/tty/tty_io.c,
3 times
-
drivers/usb/gadget/function/storage_common.c,
2 times
-
drivers/vdpa/vdpa_user/iova_domain.c,
5 times
-
drivers/vdpa/vdpa_user/vduse_dev.c,
4 times
-
drivers/vfio/container.c,
line 528
-
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c,
4 times
-
drivers/vfio/pci/mlx5/cmd.c,
2 times
-
drivers/vfio/pci/mlx5/main.c,
6 times
-
drivers/vfio/pci/pds/lm.c,
2 times
-
drivers/vfio/pci/qat/main.c,
4 times
-
drivers/vfio/pci/vfio_pci_core.c,
2 times
-
drivers/vfio/pci/vfio_pci_dmabuf.c,
2 times
-
drivers/vfio/pci/virtio/migrate.c,
5 times
-
drivers/vfio/pci/xe/main.c,
4 times
-
drivers/vfio/vfio_main.c,
line 926
-
drivers/vhost/net.c,
line 1524
-
drivers/vhost/vdpa.c,
2 times
-
drivers/vhost/vhost.c,
2 times
-
drivers/virt/nitro_enclaves/ne_misc_dev.c,
2 times
-
drivers/xen/gntdev-dmabuf.c,
line 313
-
fs/aio.c,
2 times
-
fs/autofs/dev-ioctl.c,
4 times
-
fs/autofs/inode.c,
3 times
-
fs/autofs/waitq.c,
2 times
-
fs/backing-file.c,
3 times
-
fs/binfmt_elf.c,
2 times
-
fs/binfmt_elf_fdpic.c,
2 times
-
fs/binfmt_misc.c,
2 times
-
fs/binfmt_misc_bpf.c,
line 110
-
fs/bpf_fs_kfuncs.c,
line 62
-
fs/btrfs/send.c,
line 8276
-
fs/cachefiles/interface.c,
2 times
-
fs/cachefiles/io.c,
2 times
-
fs/cachefiles/namei.c,
3 times
-
fs/cachefiles/ondemand.c,
4 times
-
fs/coda/file.c,
3 times
-
fs/coda/inode.c,
2 times
-
fs/coredump.c,
6 times
-
fs/ecryptfs/file.c,
line 330
-
fs/ecryptfs/main.c,
line 152
-
fs/erofs/ishare.c,
line 117
-
fs/erofs/super.c,
3 times
-
fs/eventfd.c,
line 331
-
fs/eventpoll.c,
3 times
-
fs/exec.c,
4 times
-
fs/exportfs/expfs.c,
line 339
-
fs/file.c,
5 times
-
fs/file_table.c,
2 times
-
fs/fsopen.c,
line 483
-
fs/fuse/backing.c,
2 times
-
fs/fuse/inode.c,
line 850
-
fs/fuse/passthrough.c,
line 193
-
fs/gfs2/glock.c,
3 times
-
fs/kernel_read_file.c,
2 times
-
fs/lockd/svcsubs.c,
2 times
-
fs/namei.c,
3 times
-
fs/namespace.c,
line 5974
-
fs/nfs/blocklayout/dev.c,
2 times
-
fs/nfs/nfs4file.c,
line 391
-
fs/nfsd/lockd.c,
line 91
-
fs/nfsd/nfs4proc.c,
2 times
-
fs/nfsd/nfs4recover.c,
line 471
-
fs/nfsd/vfs.c,
line 943
-
fs/notify/dnotify/dnotify.c,
line 396
-
fs/notify/fanotify/fanotify_user.c,
2 times
-
fs/ocfs2/cluster/heartbeat.c,
2 times
-
fs/open.c,
3 times
-
fs/overlayfs/copy_up.c,
4 times
-
fs/overlayfs/dir.c,
line 1401
-
fs/overlayfs/file.c,
4 times
-
fs/overlayfs/inode.c,
line 637
-
fs/overlayfs/readdir.c,
4 times
-
fs/overlayfs/super.c,
line 707
-
fs/overlayfs/util.c,
line 1365
-
fs/pipe.c,
5 times
-
fs/proc/base.c,
line 1770
-
fs/proc/fd.c,
4 times
-
fs/proc/root.c,
line 122
-
fs/proc/task_mmu.c,
2 times
-
fs/pstore/blk.c,
2 times
-
fs/select.c,
line 133
-
fs/smb/server/smb2pdu.c,
line 3792
-
fs/smb/server/vfs.c,
line 1153
-
fs/smb/server/vfs_cache.c,
line 511
-
fs/xfs/scrub/xfile.c,
line 99
-
fs/xfs/xfs_buf_mem.c,
2 times
-
include/linux/file.h,
4 times
-
include/linux/net.h,
line 312
-
init/do_mounts_rd.c,
3 times
-
init/initramfs.c,
2 times
-
init/initramfs_test.c,
2 times
-
init/main.c,
line 1640
-
io_uring/bpf-ops.c,
line 199
-
io_uring/cancel.c,
line 353
-
io_uring/filetable.c,
line 122
-
io_uring/io_uring.c,
3 times
-
io_uring/io_uring.h,
line 389
-
io_uring/msg_ring.c,
line 64
-
io_uring/openclose.c,
2 times
-
io_uring/register.c,
line 1047
-
io_uring/rsrc.c,
6 times
-
io_uring/splice.c,
2 times
-
io_uring/tctx.c,
5 times
-
io_uring/zcrx.c,
2 times
-
ipc/shm.c,
7 times
-
kernel/acct.c,
line 221
-
kernel/audit.c,
line 2433
-
kernel/audit_watch.c,
line 553
-
kernel/bpf/arraymap.c,
2 times
-
kernel/bpf/stackmap.c,
3 times
-
kernel/bpf/syscall.c,
4 times
-
kernel/bpf/task_iter.c,
3 times
-
kernel/events/core.c,
line 14782
-
kernel/fork.c,
4 times
-
kernel/kcmp.c,
2 times
-
kernel/liveupdate/luo_core.c,
2 times
-
kernel/liveupdate/luo_file.c,
3 times
-
kernel/liveupdate/luo_session.c,
line 307
-
kernel/pid.c,
line 904
-
kernel/power/swap.c,
line 1625
-
kernel/seccomp.c,
2 times
-
kernel/signal.c,
line 1219
-
kernel/taskstats.c,
line 167
-
kernel/time/posix-clock.c,
2 times
-
lib/test_lockup.c,
line 609
-
mm/filemap.c,
line 3711
-
mm/khugepaged.c,
line 2849
-
mm/madvise.c,
2 times
-
mm/memfd.c,
line 478
-
mm/memfd_luo.c,
line 574
-
mm/memory.c,
line 3875
-
mm/mmap.c,
4 times
-
mm/msync.c,
line 97
-
mm/nommu.c,
6 times
-
mm/shmem.c,
2 times
-
mm/userfaultfd.c,
line 519
-
mm/util.c,
line 333
-
mm/vma.c,
5 times
-
net/9p/trans_fd.c,
4 times
-
net/bluetooth/bnep/core.c,
line 552
-
net/bluetooth/hidp/core.c,
2 times
-
net/core/scm.c,
3 times
-
net/core/sock.c,
line 1949
-
net/handshake/handshake-test.c,
8 times
-
net/handshake/netlink.c,
2 times
-
net/handshake/request.c,
3 times
-
net/kcm/kcmsock.c,
2 times
-
net/sctp/socket.c,
4 times
-
net/socket.c,
3 times
-
samples/vfio-mdev/mtty.c,
3 times
-
security/apparmor/file.c,
line 751
-
security/apparmor/task.c,
line 346
-
security/integrity/ima/ima_crypto.c,
line 284
-
security/keys/big_key.c,
3 times
-
security/landlock/domain.c,
line 45
-
security/tomoyo/util.c,
line 979
-
tools/testing/vma/include/dup.h,
line 1600
-
virt/kvm/guest_memfd.c,
2 times
-
virt/kvm/vfio.c,
2 times
Smatch caller information: