Loading...
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- fs/file_table.c, line 499 (as a function)
- tools/testing/vma/vma_internal.h, line 633 (as a function)
Referenced in 210 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 133
- block/bdev.c, 3 times
- block/genhd.c, line 372
- block/ioctl.c, line 547
- drivers/accel/habanalabs/common/memory.c, line 1844
- drivers/android/binder.c, 3 times
- drivers/block/drbd/drbd_nl.c, 2 times
- drivers/block/loop.c, 4 times
- drivers/block/pktcdvd.c, 4 times
- drivers/block/rnbd/rnbd-srv.c, 2 times
- drivers/block/xen-blkback/xenbus.c, line 476
- drivers/char/tpm/tpm_vtpm_proxy.c, line 647
- drivers/dma-buf/dma-buf.c, 5 times
- drivers/dma-buf/sw_sync.c, line 391
- drivers/dma-buf/sync_file.c, 6 times
- drivers/dma-buf/udmabuf.c, line 447
- drivers/gpio/gpiolib-cdev.c, 4 times
- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c, 3 times
- drivers/gpu/drm/amd/amdkfd/kfd_debug.c, line 678
- drivers/gpu/drm/amd/amdkfd/kfd_process.c, line 1068
- drivers/gpu/drm/drm_atomic_uapi.c, line 1336
- drivers/gpu/drm/drm_gem.c, line 979
- drivers/gpu/drm/i915/gem/i915_gem_context.c, line 2183
- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c, line 3517
- drivers/gpu/drm/i915/gem/i915_gem_mman.c, line 1022
- drivers/gpu/drm/i915/gem/i915_gem_shmem.c, line 524
- 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/gt/intel_context.c, line 31
- drivers/gpu/drm/i915/gt/intel_engine_cs.c, line 1552
- drivers/gpu/drm/i915/gt/shmem_utils.c, line 28
- 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 1220
- drivers/gpu/drm/i915/selftests/i915_request.c, line 1864
- drivers/gpu/drm/i915/selftests/igt_mmap.c, line 50
- drivers/gpu/drm/i915/selftests/intel_memory_region.c, line 995
- drivers/gpu/drm/ttm/ttm_tt.c, 3 times
- drivers/gpu/drm/virtio/virtgpu_submit.c, line 348
- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c, line 4264
- drivers/infiniband/core/rdma_core.c, 3 times
- drivers/iommu/iommufd/fault.c, line 440
- drivers/iommu/iommufd/ioas.c, line 246
- drivers/iommu/iommufd/main.c, 2 times
- drivers/iommu/iommufd/pages.c, line 1377
- drivers/iommu/iommufd/selftest.c, 7 times
- drivers/md/bcache/super.c, 5 times
- drivers/md/dm.c, line 785
- drivers/md/md-bitmap.c, 2 times
- drivers/md/md.c, 5 times
- drivers/misc/ntsync.c, line 104
- drivers/net/ppp/ppp_generic.c, line 1362
- drivers/nvme/host/tcp.c, 2 times
- drivers/nvme/target/io-cmd-bdev.c, line 54
- drivers/nvme/target/io-cmd-file.c, 2 times
- drivers/nvme/target/tcp.c, 2 times
- drivers/s390/block/dasd_genhd.c, line 186
- drivers/scsi/cxlflash/superpipe.c, 2 times
- drivers/target/target_core_alua.c, line 870
- drivers/target/target_core_iblock.c, 2 times
- drivers/target/target_core_pr.c, line 1984
- 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, 2 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/virtio/migrate.c, 5 times
- drivers/vfio/vfio_main.c, line 881
- drivers/vhost/net.c, line 1451
- 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 314
- 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/bpf_fs_kfuncs.c, line 57
- fs/btrfs/dev-replace.c, line 336
- fs/btrfs/ioctl.c, 2 times
- fs/btrfs/send.c, line 8439
- fs/btrfs/volumes.c, 8 times
- fs/cachefiles/interface.c, 2 times
- fs/cachefiles/io.c, 2 times
- fs/cachefiles/namei.c, 4 times
- fs/cachefiles/ondemand.c, 4 times
- fs/coda/file.c, 3 times
- fs/coda/inode.c, 2 times
- fs/coredump.c, 3 times
- fs/ecryptfs/file.c, line 331
- fs/ecryptfs/main.c, line 150
- fs/erofs/super.c, 3 times
- fs/eventfd.c, line 331
- fs/eventpoll.c, line 1063
- fs/exec.c, 6 times
- fs/exportfs/expfs.c, line 340
- fs/file.c, 5 times
- fs/file_table.c, line 538
- fs/fsopen.c, line 487
- fs/fuse/inode.c, line 1927
- fs/fuse/passthrough.c, 3 times
- fs/gfs2/glock.c, 3 times
- fs/kernel_read_file.c, 2 times
- fs/namei.c, 2 times
- fs/namespace.c, line 4213
- fs/nfs/blocklayout/dev.c, 2 times
- fs/nfs/nfs4file.c, line 403
- fs/nfsd/lockd.c, line 72
- fs/nfsd/nfs4proc.c, 2 times
- fs/nfsd/nfs4recover.c, line 565
- fs/nfsd/vfs.c, line 900
- fs/notify/dnotify/dnotify.c, line 396
- fs/notify/fanotify/fanotify_user.c, 2 times
- fs/nsfs.c, line 268
- fs/ocfs2/cluster/heartbeat.c, 2 times
- fs/open.c, 4 times
- fs/overlayfs/copy_up.c, 4 times
- fs/overlayfs/dir.c, line 1350
- fs/overlayfs/file.c, 4 times
- fs/overlayfs/inode.c, line 635
- fs/overlayfs/readdir.c, 4 times
- fs/overlayfs/super.c, line 679
- fs/overlayfs/util.c, line 1390
- fs/pipe.c, 5 times
- fs/proc/base.c, line 1790
- fs/proc/fd.c, 4 times
- fs/pstore/blk.c, 2 times
- fs/select.c, line 133
- fs/smb/server/smb2pdu.c, line 3292
- fs/smb/server/vfs.c, line 1207
- fs/smb/server/vfs_cache.c, line 331
- fs/xfs/scrub/xfile.c, line 98
- fs/xfs/xfs_buf_mem.c, 2 times
- include/linux/file.h, 3 times
- include/linux/net.h, line 266
- include/net/scm.h, line 162
- init/do_mounts_rd.c, 3 times
- init/initramfs.c, 2 times
- init/main.c, line 1544
- io_uring/cancel.c, line 341
- io_uring/filetable.c, line 118
- io_uring/io_uring.c, 2 times
- io_uring/io_uring.h, line 234
- io_uring/msg_ring.c, line 65
- io_uring/register.c, 2 times
- io_uring/rsrc.c, 6 times
- io_uring/splice.c, 2 times
- io_uring/tctx.c, 5 times
- ipc/shm.c, 7 times
- kernel/audit.c, line 2221
- kernel/audit_watch.c, line 541
- kernel/bpf/arraymap.c, 2 times
- kernel/bpf/bpf_iter.c, line 665
- kernel/bpf/syscall.c, 4 times
- kernel/bpf/task_iter.c, 2 times
- kernel/bpf/token.c, line 209
- kernel/events/core.c, line 13593
- kernel/fork.c, 4 times
- kernel/kcmp.c, 2 times
- kernel/pid.c, line 722
- kernel/power/swap.c, line 1621
- kernel/seccomp.c, 2 times
- kernel/signal.c, line 1227
- kernel/taskstats.c, line 167
- kernel/time/posix-clock.c, 2 times
- kernel/usermode_driver.c, 9 times
- lib/test_lockup.c, line 609
- mm/filemap.c, line 3449
- mm/khugepaged.c, 2 times
- mm/madvise.c, 2 times
- mm/memory.c, line 3237
- mm/mmap.c, 4 times
- mm/msync.c, line 97
- mm/nommu.c, 6 times
- mm/shmem.c, 2 times
- mm/util.c, line 330
- mm/vma.c, 4 times
- net/9p/trans_fd.c, 4 times
- net/bluetooth/bnep/core.c, line 533
- net/bluetooth/cmtp/core.c, line 319
- net/bluetooth/hidp/core.c, 2 times
- net/core/scm.c, 2 times
- net/core/sock.c, line 1878
- net/handshake/handshake-test.c, 6 times
- net/kcm/kcmsock.c, 3 times
- net/sctp/socket.c, 4 times
- net/socket.c, 3 times
- samples/vfio-mdev/mtty.c, 3 times
- security/apparmor/file.c, line 691
- security/integrity/ima/ima_crypto.c, line 571
- security/keys/big_key.c, 3 times
- security/tomoyo/util.c, line 979
- virt/kvm/guest_memfd.c, 4 times
- virt/kvm/vfio.c, 3 times