Defined in 2 files as a prototype:
Defined in 3 files as a function:
Referenced in 387 files:
-
arch/s390/kernel/sysinfo.c,
2 times
-
arch/x86/kvm/hyperv.c,
line 137
-
arch/x86/kvm/svm/sev.c,
2 times
-
arch/x86/kvm/x86.c,
2 times
-
arch/x86/mm/pat/set_memory.c,
line 2506
-
block/blk-crypto-profile.c,
2 times
-
block/blk-mq.c,
line 5209
-
block/genhd.c,
line 781
-
crypto/af_alg.c,
2 times
-
crypto/algapi.c,
11 times
-
crypto/api.c,
4 times
-
crypto/asymmetric_keys/asymmetric_type.c,
2 times
-
crypto/crypto_user.c,
2 times
-
drivers/accel/amdxdna/aie2_ctx.c,
2 times
-
drivers/accel/amdxdna/amdxdna_gem.c,
6 times
-
drivers/accel/habanalabs/common/debugfs.c,
2 times
-
drivers/accel/ivpu/ivpu_pm.c,
line 132
-
drivers/acpi/cppc_acpi.c,
6 times
-
drivers/acpi/glue.c,
2 times
-
drivers/base/devtmpfs.c,
line 81
-
drivers/block/rbd.c,
12 times
-
drivers/char/apm-emulation.c,
2 times
-
drivers/char/tpm/tpm-chip.c,
2 times
-
drivers/comedi/comedi_fops.c,
line 899
-
drivers/comedi/drivers.c,
2 times
-
drivers/cpufreq/amd-pstate-ut.c,
line 324
-
drivers/crypto/hisilicon/qm.c,
12 times
-
drivers/crypto/intel/qat/qat_common/adf_cfg.c,
4 times
-
drivers/crypto/intel/qat/qat_common/adf_sysfs.c,
line 303
-
drivers/crypto/intel/qat/qat_common/adf_sysfs_rl.c,
3 times
-
drivers/dax/bus.c,
3 times
-
drivers/gnss/core.c,
3 times
-
drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c,
line 307
-
drivers/gpu/drm/amd/amdkfd/kfd_topology.c,
6 times
-
drivers/gpu/drm/drm_gpusvm.c,
line 423
-
drivers/gpu/drm/gma500/mmu.c,
5 times
-
drivers/gpu/drm/imagination/pvr_power.c,
line 523
-
drivers/gpu/drm/panthor/panthor_heap.c,
3 times
-
drivers/gpu/drm/radeon/radeon_device.c,
line 1766
-
drivers/gpu/drm/radeon/radeon_pm.c,
2 times
-
drivers/gpu/drm/ttm/ttm_pool.c,
line 1268
-
drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c,
line 455
-
drivers/gpu/drm/xe/xe_hw_engine_group.c,
line 194
-
drivers/gpu/drm/xe/xe_pt.c,
line 1509
-
drivers/gpu/drm/xe/xe_userptr.c,
3 times
-
drivers/gpu/drm/xe/xe_validation.c,
line 63
-
drivers/gpu/drm/xe/xe_vm.c,
11 times
-
drivers/hid/hidraw.c,
4 times
-
drivers/i2c/i2c-boardinfo.c,
line 55
-
drivers/i2c/i2c-core-base.c,
line 2118
-
drivers/i3c/master.c,
line 54
-
drivers/infiniband/core/device.c,
19 times
-
drivers/infiniband/core/netlink.c,
line 125
-
drivers/infiniband/core/nldev.c,
2 times
-
drivers/infiniband/core/uverbs_main.c,
line 995
-
drivers/infiniband/core/verbs.c,
line 2134
-
drivers/infiniband/hw/erdma/erdma_cm.c,
2 times
-
drivers/infiniband/hw/erdma/erdma_qp.c,
line 16
-
drivers/infiniband/hw/erdma/erdma_verbs.c,
2 times
-
drivers/infiniband/sw/siw/siw_cm.c,
2 times
-
drivers/infiniband/sw/siw/siw_qp.c,
line 134
-
drivers/infiniband/sw/siw/siw_verbs.c,
2 times
-
drivers/iommu/intel/dmar.c,
4 times
-
drivers/iommu/intel/iommu.c,
3 times
-
drivers/iommu/intel/irq_remapping.c,
line 1002
-
drivers/iommu/iommufd/eventq.c,
2 times
-
drivers/iommu/iommufd/io_pagetable.c,
21 times
-
drivers/iommu/iommufd/ioas.c,
line 447
-
drivers/iommu/iommufd/selftest.c,
2 times
-
drivers/leds/led-class.c,
3 times
-
drivers/leds/led-triggers.c,
7 times
-
drivers/leds/leds-bd2802.c,
3 times
-
drivers/md/bcache/btree.h,
line 250
-
drivers/md/bcache/super.c,
line 1295
-
drivers/md/bcache/writeback.c,
line 749
-
drivers/md/dm-bufio.c,
3 times
-
drivers/md/dm-cache-metadata.c,
line 1006
-
drivers/md/dm-cache-target.c,
line 1034
-
drivers/md/dm-clone-metadata.c,
6 times
-
drivers/md/dm-ioctl.c,
11 times
-
drivers/md/dm-path-selector.c,
2 times
-
drivers/md/dm-snap.c,
16 times
-
drivers/md/dm-target.c,
2 times
-
drivers/md/dm-thin-metadata.c,
line 423
-
drivers/md/dm-thin.c,
line 168
-
drivers/md/dm-zoned-metadata.c,
line 894
-
drivers/media/dvb-core/dvbdev.c,
2 times
-
drivers/mfd/intel-m10-bmc-core.c,
line 21
-
drivers/misc/mei/client.c,
4 times
-
drivers/misc/vmw_balloon.c,
2 times
-
drivers/mtd/ubi/eba.c,
line 364
-
drivers/mtd/ubi/fastmap-wl.c,
3 times
-
drivers/mtd/ubi/fastmap.c,
line 889
-
drivers/mtd/ubi/wl.c,
2 times
-
drivers/net/ethernet/intel/ice/ice_dpll.c,
line 4847
-
drivers/net/ethernet/mellanox/mlx4/cmd.c,
2 times
-
drivers/net/ethernet/mellanox/mlx5/core/en/rx_res.c,
line 684
-
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c,
line 3027
-
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c,
11 times
-
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c,
line 430
-
drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c,
4 times
-
drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c,
2 times
-
drivers/net/ethernet/pensando/ionic/ionic_lif.c,
6 times
-
drivers/net/ethernet/sfc/ef10.c,
4 times
-
drivers/net/ethernet/sfc/ef100_netdev.c,
2 times
-
drivers/net/ethernet/sfc/ef100_nic.c,
2 times
-
drivers/net/ethernet/sfc/efx.c,
2 times
-
drivers/net/ethernet/sfc/efx_common.c,
line 700
-
drivers/net/ethernet/sfc/falcon/efx.c,
2 times
-
drivers/net/ethernet/sfc/mcdi_filters.c,
8 times
-
drivers/net/ethernet/sfc/siena/efx.c,
2 times
-
drivers/net/ethernet/sfc/siena/efx_common.c,
line 727
-
drivers/net/ethernet/sfc/siena/farch.c,
6 times
-
drivers/net/ethernet/sfc/siena/rx_common.c,
2 times
-
drivers/net/wireguard/cookie.c,
3 times
-
drivers/net/wireguard/netlink.c,
2 times
-
drivers/net/wireguard/noise.c,
7 times
-
drivers/net/wireless/ath/wil6210/main.c,
line 1656
-
drivers/net/wireless/ath/wil6210/wil_crash_dump.c,
line 65
-
drivers/nvme/host/fabrics.c,
2 times
-
drivers/nvme/target/auth.c,
line 50
-
drivers/nvme/target/configfs.c,
21 times
-
drivers/nvme/target/core.c,
5 times
-
drivers/nvme/target/discovery.c,
2 times
-
drivers/pci/hotplug/cpci_hotplug_core.c,
4 times
-
drivers/pci/pci-acpi.c,
2 times
-
drivers/pci/probe.c,
3 times
-
drivers/pci/remove.c,
2 times
-
drivers/pcmcia/cs.c,
3 times
-
drivers/platform/chrome/cros_ec_ishtp.c,
3 times
-
drivers/platform/surface/aggregator/controller.c,
line 970
-
drivers/platform/surface/surface_acpi_notify.c,
line 60
-
drivers/platform/surface/surface_aggregator_cdev.c,
4 times
-
drivers/platform/surface/surface_dtx.c,
4 times
-
drivers/platform/wmi/core.c,
5 times
-
drivers/platform/x86/msi-wmi-platform.c,
line 248
-
drivers/rapidio/rio_cm.c,
4 times
-
drivers/s390/block/dcssblk.c,
5 times
-
drivers/s390/crypto/vfio_ap_ops.c,
line 62
-
drivers/staging/greybus/audio_manager.c,
3 times
-
drivers/staging/greybus/raw.c,
line 242
-
drivers/tty/serial/serial_core.c,
line 1574
-
drivers/tty/tty_ioctl.c,
8 times
-
drivers/tty/tty_ldisc.c,
2 times
-
drivers/ufs/core/ufshcd.c,
4 times
-
drivers/usb/core/file.c,
2 times
-
drivers/usb/core/hcd-pci.c,
2 times
-
drivers/usb/fotg210/fotg210-hcd.c,
line 5048
-
drivers/usb/gadget/function/f_mass_storage.c,
2 times
-
drivers/usb/gadget/function/storage_common.c,
line 452
-
drivers/usb/host/ehci-hcd.c,
line 630
-
drivers/usb/isp1760/isp1760-hcd.c,
2 times
-
drivers/usb/misc/usblcd.c,
line 424
-
drivers/usb/serial/xr_serial.c,
line 874
-
drivers/vdpa/mlx5/net/mlx5_vnet.c,
10 times
-
drivers/vdpa/vdpa.c,
10 times
-
drivers/vfio/container.c,
3 times
-
drivers/vfio/mdev/mdev_core.c,
line 100
-
drivers/vfio/pci/vfio_pci_config.c,
2 times
-
drivers/vfio/pci/vfio_pci_core.c,
6 times
-
drivers/vfio/pci/vfio_pci_dmabuf.c,
3 times
-
drivers/video/fbdev/matrox/matroxfb_crtc2.c,
2 times
-
drivers/video/fbdev/matrox/matroxfb_g450.c,
2 times
-
drivers/video/fbdev/matrox/matroxfb_maven.c,
2 times
-
drivers/xen/xen-pciback/pci_stub.c,
5 times
-
drivers/xen/xenbus/xenbus_xs.c,
line 821
-
fs/9p/vfs_inode.c,
line 905
-
fs/adfs/dir.c,
line 288
-
fs/afs/cell.c,
5 times
-
fs/afs/dir.c,
8 times
-
fs/afs/dir_silly.c,
2 times
-
fs/afs/file.c,
2 times
-
fs/afs/inode.c,
line 799
-
fs/afs/server.c,
3 times
-
fs/afs/server_list.c,
3 times
-
fs/btrfs/block-group.c,
5 times
-
fs/btrfs/dev-replace.c,
9 times
-
fs/btrfs/disk-io.c,
2 times
-
fs/btrfs/file.c,
line 1572
-
fs/btrfs/free-space-cache.c,
line 1391
-
fs/btrfs/inode.c,
3 times
-
fs/btrfs/ioctl.c,
4 times
-
fs/btrfs/reflink.c,
line 677
-
fs/btrfs/scrub.c,
2 times
-
fs/btrfs/space-info.c,
line 410
-
fs/btrfs/transaction.c,
line 193
-
fs/btrfs/volumes.c,
line 2925
-
fs/btrfs/zoned.c,
line 2828
-
fs/ceph/addr.c,
line 2437
-
fs/ceph/caps.c,
line 4515
-
fs/ceph/mds_client.c,
line 4144
-
fs/ceph/snap.c,
2 times
-
fs/configfs/dir.c,
2 times
-
fs/crypto/keyring.c,
2 times
-
fs/dlm/lowcomms.c,
5 times
-
fs/dlm/recoverd.c,
2 times
-
fs/ecryptfs/keystore.c,
2 times
-
fs/erofs/decompressor_crypto.c,
2 times
-
fs/erofs/super.c,
line 528
-
fs/exfat/file.c,
line 416
-
fs/ext2/xattr.c,
line 442
-
fs/ext4/ext4.h,
line 3596
-
fs/ext4/extents.c,
7 times
-
fs/ext4/fast_commit.c,
2 times
-
fs/ext4/file.c,
line 178
-
fs/ext4/ialloc.c,
line 1552
-
fs/ext4/indirect.c,
line 736
-
fs/ext4/inline.c,
2 times
-
fs/ext4/inode.c,
7 times
-
fs/ext4/migrate.c,
3 times
-
fs/ext4/move_extent.c,
2 times
-
fs/ext4/xattr.h,
line 152
-
fs/f2fs/f2fs.h,
line 2457
-
fs/f2fs/file.c,
line 2511
-
fs/f2fs/gc.c,
line 1764
-
fs/f2fs/node.c,
2 times
-
fs/f2fs/segment.c,
13 times
-
fs/fat/file.c,
line 586
-
fs/fs-writeback.c,
line 397
-
fs/fsopen.c,
line 267
-
fs/fuse/dax.c,
4 times
-
fs/fuse/inode.c,
2 times
-
fs/gfs2/bmap.c,
5 times
-
fs/gfs2/lock_dlm.c,
line 1431
-
fs/gfs2/log.c,
4 times
-
fs/gfs2/rgrp.c,
line 689
-
fs/gfs2/super.c,
line 70
-
fs/gfs2/util.c,
line 120
-
fs/hugetlbfs/inode.c,
line 430
-
fs/jffs2/wbuf.c,
4 times
-
fs/jffs2/xattr.c,
10 times
-
fs/jfs/xattr.c,
line 678
-
fs/kernfs/dir.c,
14 times
-
fs/kernfs/inode.c,
2 times
-
fs/kernfs/mount.c,
2 times
-
fs/lockd/clntlock.c,
line 242
-
fs/namespace.c,
4 times
-
fs/netfs/fscache_cache.c,
3 times
-
fs/netfs/fscache_volume.c,
2 times
-
fs/nfs/delegation.c,
line 188
-
fs/nfs/dir.c,
line 2516
-
fs/nfs/nfs4state.c,
line 1445
-
fs/nfsd/nfs4recover.c,
line 288
-
fs/nfsd/nfs4state.c,
2 times
-
fs/nilfs2/bmap.c,
8 times
-
fs/nilfs2/cpfile.c,
5 times
-
fs/nilfs2/ioctl.c,
line 1299
-
fs/nilfs2/mdt.c,
2 times
-
fs/nilfs2/segment.c,
5 times
-
fs/nilfs2/sufile.c,
8 times
-
fs/nilfs2/super.c,
10 times
-
fs/nilfs2/sysfs.c,
line 783
-
fs/nilfs2/the_nilfs.c,
line 356
-
fs/ntfs/attrib.c,
12 times
-
fs/ntfs/compress.c,
line 1439
-
fs/ntfs/dir.c,
line 1177
-
fs/ntfs/file.c,
3 times
-
fs/ntfs/inode.c,
2 times
-
fs/ntfs/iomap.c,
3 times
-
fs/ntfs/lcnalloc.c,
2 times
-
fs/ntfs/lcnalloc.h,
line 127
-
fs/ntfs/logfile.c,
line 672
-
fs/ntfs/mft.c,
12 times
-
fs/ntfs3/attrib.c,
6 times
-
fs/ntfs3/file.c,
line 1439
-
fs/ntfs3/frecord.c,
4 times
-
fs/ntfs3/fsntfs.c,
line 540
-
fs/ntfs3/index.c,
2 times
-
fs/ntfs3/inode.c,
line 903
-
fs/ntfs3/record.c,
line 149
-
fs/ocfs2/aops.c,
3 times
-
fs/ocfs2/cluster/heartbeat.c,
4 times
-
fs/ocfs2/dir.c,
3 times
-
fs/ocfs2/dlm/dlmdomain.c,
2 times
-
fs/ocfs2/dlmglue.c,
line 2873
-
fs/ocfs2/file.c,
7 times
-
fs/ocfs2/journal.c,
line 318
-
fs/ocfs2/mmap.c,
line 141
-
fs/ocfs2/move_extents.c,
line 942
-
fs/ocfs2/quota_global.c,
4 times
-
fs/ocfs2/quota_local.c,
line 523
-
fs/ocfs2/refcounttree.c,
5 times
-
fs/ocfs2/xattr.c,
3 times
-
fs/orangefs/xattr.c,
2 times
-
fs/quota/quota.c,
line 996
-
fs/quota/quota_v1.c,
line 196
-
fs/quota/quota_v2.c,
3 times
-
fs/readdir.c,
line 56
-
fs/smb/client/dfs_cache.c,
3 times
-
fs/smb/server/connection.c,
line 172
-
fs/smb/server/mgmt/share_config.c,
2 times
-
fs/smb/server/mgmt/tree_connect.c,
3 times
-
fs/smb/server/mgmt/user_session.c,
13 times
-
fs/smb/server/oplock.c,
2 times
-
fs/smb/server/smb2pdu.c,
5 times
-
fs/smb/server/transport_ipc.c,
3 times
-
fs/smb/server/transport_rdma.c,
line 192
-
fs/smb/server/transport_tcp.c,
line 87
-
fs/smb/server/vfs_cache.c,
13 times
-
fs/super.c,
2 times
-
fs/ubifs/commit.c,
2 times
-
fs/ubifs/journal.c,
line 482
-
fs/ubifs/xattr.c,
3 times
-
fs/udf/file.c,
2 times
-
fs/udf/inode.c,
9 times
-
fs/udf/namei.c,
line 599
-
fs/xfs/xfs_log_cil.c,
line 1397
-
include/linux/cpufreq.h,
line 176
-
include/linux/fs.h,
3 times
-
include/linux/mmap_lock.h,
line 544
-
include/linux/rwsem.h,
3 times
-
include/linux/vdpa.h,
2 times
-
include/net/netfilter/nf_flow_table.h,
2 times
-
ipc/msg.c,
line 408
-
ipc/namespace.c,
line 134
-
ipc/sem.c,
line 1608
-
ipc/shm.c,
5 times
-
ipc/util.c,
2 times
-
kernel/bpf/crypto.c,
2 times
-
kernel/bpf/offload.c,
8 times
-
kernel/cgroup/cgroup.c,
line 2546
-
kernel/events/uprobes.c,
6 times
-
kernel/liveupdate/luo_file.c,
line 895
-
kernel/liveupdate/luo_session.c,
2 times
-
kernel/locking/locktorture.c,
line 786
-
kernel/locking/rwsem.c,
line 1634
-
kernel/notifier.c,
2 times
-
kernel/rcu/rcutorture.c,
line 4590
-
kernel/sched/autogroup.c,
line 260
-
kernel/sys.c,
2 times
-
kernel/taskstats.c,
3 times
-
kernel/time/posix-clock.c,
line 184
-
kernel/trace/trace.c,
line 776
-
kernel/trace/trace_events.c,
7 times
-
kernel/trace/trace_output.c,
2 times
-
kernel/trace/trace_remote.c,
2 times
-
kernel/umh.c,
2 times
-
kernel/utsname_sysctl.c,
line 62
-
lib/codetag.c,
6 times
-
lib/locking-selftest.c,
line 251
-
lib/test_context-analysis.c,
2 times
-
lib/test_lockup.c,
line 189
-
lib/test_maple_tree.c,
2 times
-
lib/test_objpool.c,
2 times
-
mm/filemap.c,
line 1038
-
mm/hugetlb.c,
3 times
-
mm/internal.h,
line 298
-
mm/nommu.c,
5 times
-
mm/shmem_quota.c,
2 times
-
mm/userfaultfd.c,
4 times
-
mm/util.c,
line 1145
-
net/bluetooth/bnep/core.c,
2 times
-
net/bluetooth/hidp/core.c,
3 times
-
net/ceph/osd_client.c,
15 times
-
net/core/dev.c,
2 times
-
net/core/dev_api.c,
line 94
-
net/core/net_namespace.c,
8 times
-
net/core/rtnetlink.c,
2 times
-
net/netfilter/ipvs/ip_vs_ctl.c,
line 793
-
net/netfilter/nf_flow_table_offload.c,
3 times
-
net/netlink/genetlink.c,
line 47
-
net/rds/ib.c,
2 times
-
net/rds/transport.c,
2 times
-
net/sched/act_ct.c,
line 389
-
net/sched/cls_api.c,
3 times
-
net/smc/af_smc.c,
3 times
-
net/smc/smc_core.c,
11 times
-
net/smc/smc_llc.c,
8 times
-
net/tls/tls_device.c,
line 1302
-
samples/hung_task/hung_task_tests.c,
line 103
-
security/keys/gc.c,
line 367
-
security/keys/key.c,
5 times
-
security/keys/keyctl.c,
4 times
-
security/keys/keyring.c,
9 times
-
security/keys/persistent.c,
line 102
-
security/keys/process_keys.c,
4 times
-
sound/core/control.c,
2 times
-
tools/include/linux/rwsem.h,
line 42
-
tools/perf/util/cgroup.c,
2 times
-
tools/perf/util/comm.c,
2 times
-
tools/perf/util/dso.c,
2 times
-
tools/perf/util/dsos.c,
5 times
-
tools/perf/util/env.c,
3 times
-
tools/perf/util/header.c,
3 times
-
tools/perf/util/maps.c,
10 times
-
tools/perf/util/thread.c,
4 times
-
tools/perf/util/threads.c,
4 times
Smatch caller information: