Loading...
Defined in 2 files as a prototype:
Defined in 3 files as a function:
- kernel/locking/rwsem.c, line 1629 (as a function)
- tools/include/linux/rwsem.h, line 36 (as a function)
- tools/perf/util/rwsem.c, line 59 (as a function)
Referenced in 395 files:
- arch/s390/kernel/sysinfo.c, 3 times
- arch/x86/kernel/ldt.c, line 662
- arch/x86/kvm/hyperv.c, line 152
- arch/x86/kvm/svm/sev.c, line 106
- arch/x86/kvm/x86.c, 2 times
- block/blk-crypto-profile.c, 2 times
- crypto/af_alg.c, 2 times
- crypto/algapi.c, 10 times
- crypto/api.c, 5 times
- crypto/asymmetric_keys/asymmetric_type.c, 2 times
- crypto/crypto_user_base.c, 2 times
- drivers/accel/habanalabs/common/debugfs.c, 2 times
- drivers/accel/ivpu/ivpu_pm.c, 2 times
- drivers/acpi/cppc_acpi.c, 8 times
- drivers/acpi/glue.c, 2 times
- drivers/block/rbd.c, 14 times
- drivers/block/zram/zram_drv.c, 9 times
- drivers/char/apm-emulation.c, 2 times
- drivers/char/tpm/tpm-chip.c, 2 times
- drivers/comedi/drivers.c, 2 times
- drivers/cpufreq/cpufreq.c, 13 times
- 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 305
- drivers/crypto/intel/qat/qat_common/adf_sysfs_rl.c, 4 times
- drivers/cxl/core/hdm.c, 5 times
- drivers/cxl/core/memdev.c, 3 times
- drivers/cxl/core/region.c, 12 times
- drivers/dax/bus.c, 19 times
- drivers/firewire/core-device.c, 4 times
- drivers/gnss/core.c, 3 times
- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c, 2 times
- drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c, line 162
- drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c, line 281
- drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c, line 314
- drivers/gpu/drm/amd/amdkfd/kfd_topology.c, 5 times
- drivers/gpu/drm/gma500/mmu.c, 5 times
- drivers/gpu/drm/imagination/pvr_power.c, 2 times
- drivers/gpu/drm/radeon/radeon_device.c, line 1780
- drivers/gpu/drm/radeon/radeon_pm.c, 3 times
- drivers/gpu/drm/ttm/ttm_pool.c, line 599
- drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c, line 466
- drivers/gpu/drm/xe/xe_exec.c, line 324
- drivers/gpu/drm/xe/xe_gt_pagefault.c, line 236
- drivers/gpu/drm/xe/xe_vm.c, 11 times
- drivers/hid/hidraw.c, 6 times
- drivers/i2c/i2c-boardinfo.c, line 90
- drivers/i2c/i2c-core-base.c, line 2064
- drivers/i3c/master.c, line 59
- drivers/infiniband/core/device.c, 18 times
- drivers/infiniband/core/netlink.c, line 127
- drivers/infiniband/core/nldev.c, 2 times
- drivers/infiniband/core/rdma_core.c, line 945
- drivers/infiniband/core/verbs.c, line 2063
- drivers/infiniband/hw/erdma/erdma_cm.c, 6 times
- drivers/infiniband/hw/erdma/erdma_qp.c, line 38
- drivers/infiniband/hw/erdma/erdma_verbs.c, 2 times
- drivers/infiniband/sw/siw/siw_cm.c, 4 times
- drivers/infiniband/sw/siw/siw_main.c, line 387
- drivers/infiniband/sw/siw/siw_qp.c, line 176
- drivers/infiniband/sw/siw/siw_verbs.c, 2 times
- drivers/infiniband/ulp/ipoib/ipoib_main.c, 2 times
- drivers/infiniband/ulp/ipoib/ipoib_vlan.c, line 283
- drivers/input/misc/yealink.c, 7 times
- drivers/iommu/intel/dmar.c, 4 times
- drivers/iommu/intel/iommu.c, 5 times
- drivers/iommu/intel/irq_remapping.c, line 1020
- drivers/iommu/iommufd/io_pagetable.c, 25 times
- drivers/iommu/iommufd/selftest.c, line 817
- drivers/leds/led-class.c, 3 times
- drivers/leds/led-triggers.c, 8 times
- drivers/leds/leds-bd2802.c, 3 times
- drivers/md/bcache/btree.h, line 260
- drivers/md/bcache/super.c, 3 times
- drivers/md/bcache/writeback.c, 3 times
- drivers/md/dm-bufio.c, 3 times
- drivers/md/dm-cache-metadata.c, 2 times
- drivers/md/dm-cache-target.c, line 1035
- drivers/md/dm-clone-metadata.c, 6 times
- drivers/md/dm-ioctl.c, 20 times
- drivers/md/dm-path-selector.c, 3 times
- drivers/md/dm-snap.c, 18 times
- drivers/md/dm-table.c, 3 times
- drivers/md/dm-target.c, 2 times
- drivers/md/dm-thin-metadata.c, line 435
- drivers/md/dm-thin.c, line 177
- drivers/md/dm-zoned-metadata.c, line 961
- drivers/media/dvb-core/dvbdev.c, 3 times
- drivers/mfd/intel-m10-bmc-core.c, line 23
- drivers/misc/mei/client.c, 5 times
- drivers/misc/sgi-gru/grukservices.c, 3 times
- drivers/misc/sgi-gru/grumain.c, line 767
- drivers/misc/vmw_balloon.c, 2 times
- drivers/mtd/ubi/eba.c, line 417
- drivers/mtd/ubi/fastmap.c, 10 times
- drivers/mtd/ubi/wl.c, 2 times
- drivers/net/dummy.c, line 185
- drivers/net/ethernet/mellanox/mlx4/cmd.c, 2 times
- drivers/net/ethernet/mellanox/mlx5/core/en/rx_res.c, line 668
- drivers/net/ethernet/mellanox/mlx5/core/eswitch.c, 3 times
- drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c, 11 times
- drivers/net/ethernet/mellanox/mlx5/core/fs_core.c, line 440
- drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c, 5 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, 3 times
- drivers/net/ethernet/sfc/efx.c, 2 times
- drivers/net/ethernet/sfc/efx_common.c, 2 times
- 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, 2 times
- drivers/net/ethernet/sfc/siena/farch.c, 6 times
- drivers/net/ethernet/sfc/siena/rx_common.c, 2 times
- drivers/net/ifb.c, line 444
- drivers/net/ppp/ppp_generic.c, line 2980
- drivers/net/wireguard/cookie.c, 3 times
- drivers/net/wireguard/netlink.c, 2 times
- drivers/net/wireguard/noise.c, 8 times
- drivers/net/wireless/ath/wil6210/main.c, 3 times
- drivers/net/wireless/ath/wil6210/pm.c, 2 times
- drivers/net/wireless/ath/wil6210/wil_crash_dump.c, 2 times
- drivers/nvme/host/core.c, 6 times
- drivers/nvme/host/fabrics.c, 2 times
- drivers/nvme/target/configfs.c, 26 times
- drivers/nvme/target/core.c, 5 times
- drivers/nvme/target/discovery.c, 2 times
- drivers/pci/hotplug/cpci_hotplug_core.c, 5 times
- drivers/pci/hotplug/pciehp_hpc.c, line 926
- 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, 4 times
- drivers/platform/surface/aggregator/controller.c, line 981
- drivers/platform/surface/surface_acpi_notify.c, line 65
- drivers/platform/surface/surface_aggregator_cdev.c, 5 times
- drivers/platform/surface/surface_dtx.c, 5 times
- drivers/platform/x86/wmi.c, 4 times
- drivers/rapidio/rio_cm.c, 6 times
- drivers/s390/block/dcssblk.c, 11 times
- drivers/s390/crypto/vfio_ap_ops.c, 2 times
- drivers/scsi/cxlflash/main.c, line 2212
- drivers/staging/greybus/audio_manager.c, 4 times
- drivers/tty/n_tty.c, 4 times
- drivers/tty/serial/8250/8250_port.c, line 2713
- drivers/tty/serial/serial_core.c, 3 times
- 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, 3 times
- drivers/usb/core/hcd-pci.c, 2 times
- drivers/usb/fotg210/fotg210-hcd.c, line 5052
- drivers/usb/gadget/function/f_mass_storage.c, 2 times
- drivers/usb/gadget/function/storage_common.c, line 463
- drivers/usb/host/ehci-hcd.c, line 649
- drivers/usb/isp1760/isp1760-hcd.c, 2 times
- drivers/usb/misc/usblcd.c, line 426
- drivers/usb/serial/xr_serial.c, line 876
- drivers/vdpa/mlx5/net/mlx5_vnet.c, 8 times
- drivers/vdpa/vdpa.c, 8 times
- drivers/vdpa/vdpa_user/vduse_dev.c, line 472
- drivers/vfio/container.c, 4 times
- drivers/vfio/mdev/mdev_core.c, line 104
- drivers/vfio/pci/vfio_pci_config.c, 5 times
- drivers/vfio/pci/vfio_pci_core.c, 9 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/video/fbdev/omap2/omapfb/omapfb-ioctl.c, line 257
- drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c, line 483
- drivers/xen/xen-pciback/pci_stub.c, 5 times
- drivers/xen/xenbus/xenbus_xs.c, 2 times
- fs/9p/vfs_inode.c, line 919
- fs/adfs/dir.c, 2 times
- 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 807
- fs/afs/server_list.c, 3 times
- fs/afs/validation.c, 2 times
- fs/bcachefs/btree_gc.c, line 1835
- fs/bcachefs/buckets.c, 2 times
- fs/bcachefs/error.c, line 65
- fs/bcachefs/fs-ioctl.c, line 437
- fs/bcachefs/fs.c, 4 times
- fs/bcachefs/journal.c, line 1102
- fs/bcachefs/snapshot.c, line 1668
- fs/bcachefs/super.c, 19 times
- fs/btrfs/block-group.c, 12 times
- fs/btrfs/dev-replace.c, 15 times
- fs/btrfs/disk-io.c, 2 times
- fs/btrfs/free-space-cache.c, 3 times
- fs/btrfs/inode.c, 2 times
- fs/btrfs/ioctl.c, 4 times
- fs/btrfs/locking.c, line 226
- fs/btrfs/reflink.c, 2 times
- fs/btrfs/scrub.c, 2 times
- fs/btrfs/space-info.c, line 325
- fs/btrfs/super.c, line 1991
- fs/btrfs/transaction.c, line 213
- fs/btrfs/volumes.c, 2 times
- fs/ceph/addr.c, 2 times
- fs/ceph/caps.c, line 4486
- fs/ceph/io.c, line 103
- fs/ceph/mds_client.c, line 3930
- fs/ceph/snap.c, 4 times
- fs/configfs/dir.c, 3 times
- fs/crypto/keyring.c, 4 times
- fs/dlm/lock.c, line 5274
- fs/dlm/lowcomms.c, 7 times
- fs/dlm/member.c, line 652
- fs/dlm/recover.c, 2 times
- fs/dlm/recoverd.c, 3 times
- fs/ecryptfs/keystore.c, 11 times
- fs/ecryptfs/main.c, line 205
- fs/erofs/super.c, line 509
- fs/exec.c, 3 times
- fs/exfat/file.c, line 362
- fs/ext2/xattr.c, 2 times
- fs/ext4/ext4.h, line 3386
- fs/ext4/extents.c, 11 times
- fs/ext4/fast_commit.c, 2 times
- fs/ext4/file.c, line 178
- fs/ext4/ialloc.c, line 1619
- fs/ext4/indirect.c, line 718
- fs/ext4/inline.c, line 1984
- fs/ext4/inode.c, 7 times
- fs/ext4/mballoc-test.c, line 136
- fs/ext4/migrate.c, 4 times
- fs/ext4/move_extent.c, 2 times
- fs/ext4/xattr.h, line 173
- fs/f2fs/f2fs.h, line 2198
- fs/f2fs/gc.c, line 1667
- fs/f2fs/node.c, 2 times
- fs/f2fs/segment.c, 14 times
- fs/fat/file.c, line 552
- fs/fs-writeback.c, line 394
- fs/fsopen.c, 2 times
- fs/fuse/dax.c, 6 times
- fs/fuse/inode.c, 2 times
- fs/gfs2/bmap.c, 6 times
- fs/gfs2/log.c, 2 times
- fs/gfs2/rgrp.c, line 692
- fs/hugetlbfs/inode.c, line 532
- fs/jffs2/wbuf.c, 5 times
- fs/jffs2/xattr.c, 11 times
- fs/jfs/jfs_incore.h, line 113
- fs/jfs/xattr.c, line 789
- fs/kernfs/dir.c, 14 times
- fs/kernfs/inode.c, 2 times
- fs/kernfs/mount.c, 2 times
- fs/lockd/clntlock.c, line 279
- fs/namespace.c, 5 times
- fs/netfs/fscache_cache.c, 4 times
- fs/netfs/fscache_volume.c, 2 times
- fs/netfs/locking.c, 4 times
- fs/nfs/dir.c, line 2426
- fs/nfs/io.c, line 94
- fs/nfs/namespace.c, line 193
- fs/nfs/nfs4state.c, line 1573
- fs/nilfs2/bmap.c, 8 times
- fs/nilfs2/cpfile.c, 5 times
- 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 785
- fs/nilfs2/the_nilfs.c, 2 times
- fs/ntfs3/attrib.c, 5 times
- fs/ntfs3/file.c, 2 times
- fs/ntfs3/frecord.c, 4 times
- fs/ntfs3/fsntfs.c, 13 times
- fs/ntfs3/index.c, 2 times
- fs/ntfs3/inode.c, line 854
- fs/ntfs3/record.c, line 154
- fs/ntfs3/run.c, line 1101
- fs/ocfs2/aops.c, 4 times
- fs/ocfs2/cluster/heartbeat.c, 3 times
- fs/ocfs2/dir.c, 2 times
- fs/ocfs2/dlm/dlmdomain.c, 2 times
- fs/ocfs2/dlmglue.c, 2 times
- fs/ocfs2/file.c, 9 times
- fs/ocfs2/inode.c, line 1192
- fs/ocfs2/journal.c, 3 times
- fs/ocfs2/mmap.c, line 146
- fs/ocfs2/move_extents.c, line 929
- fs/ocfs2/quota_global.c, 5 times
- fs/ocfs2/quota_local.c, 2 times
- fs/ocfs2/refcounttree.c, 5 times
- fs/ocfs2/xattr.c, 4 times
- fs/orangefs/xattr.c, 2 times
- fs/proc/kcore.c, line 286
- fs/quota/quota.c, 2 times
- fs/quota/quota_v1.c, line 218
- fs/quota/quota_v2.c, 3 times
- fs/reiserfs/xattr.c, line 607
- fs/smb/client/dfs_cache.c, 2 times
- fs/smb/client/file.c, 11 times
- fs/smb/client/smb2file.c, line 286
- fs/smb/server/connection.c, 2 times
- fs/smb/server/mgmt/share_config.c, 2 times
- fs/smb/server/mgmt/user_session.c, 6 times
- fs/smb/server/oplock.c, 2 times
- fs/smb/server/smb2pdu.c, line 3381
- fs/smb/server/transport_ipc.c, 2 times
- fs/smb/server/vfs_cache.c, 5 times
- fs/super.c, 2 times
- fs/ubifs/commit.c, 6 times
- fs/ubifs/debug.h, line 151
- fs/ubifs/journal.c, line 487
- fs/ubifs/xattr.c, 4 times
- fs/udf/file.c, 2 times
- fs/udf/inode.c, 9 times
- fs/udf/namei.c, 2 times
- fs/userfaultfd.c, 4 times
- fs/xfs/xfs_inode.c, 5 times
- fs/xfs/xfs_log.c, line 1470
- fs/xfs/xfs_log_cil.c, 2 times
- include/linux/fs.h, 3 times
- include/linux/mm.h, line 738
- include/linux/mmap_lock.h, line 133
- include/linux/rmap.h, line 131
- include/linux/rwsem.h, line 245
- include/linux/vdpa.h, 2 times
- include/net/netfilter/nf_flow_table.h, 3 times
- ipc/msg.c, line 473
- ipc/namespace.c, line 143
- ipc/sem.c, line 1647
- ipc/shm.c, 5 times
- ipc/util.c, 2 times
- kernel/bpf/offload.c, 9 times
- kernel/events/uprobes.c, 6 times
- kernel/locking/locktorture.c, line 748
- kernel/locking/rwsem.c, line 1634
- kernel/notifier.c, 2 times
- kernel/rcu/rcutorture.c, line 3655
- kernel/sched/autogroup.c, line 262
- kernel/sys.c, 2 times
- kernel/taskstats.c, 3 times
- kernel/time/posix-clock.c, line 208
- kernel/trace/trace.c, line 930
- kernel/trace/trace_events.c, 6 times
- kernel/trace/trace_output.c, 2 times
- kernel/umh.c, 2 times
- kernel/utsname_sysctl.c, line 64
- lib/locking-selftest.c, line 252
- lib/test_lockup.c, line 290
- lib/test_maple_tree.c, 5 times
- lib/test_objpool.c, 2 times
- lib/test_vmalloc.c, line 558
- mm/filemap.c, 2 times
- mm/hugetlb.c, 4 times
- mm/nommu.c, 9 times
- mm/rmap.c, 2 times
- mm/shmem_quota.c, 3 times
- mm/util.c, line 1151
- net/bluetooth/bnep/core.c, 3 times
- net/bluetooth/cmtp/core.c, 4 times
- net/bluetooth/hidp/core.c, 2 times
- net/ceph/osd_client.c, 15 times
- net/core/dev.c, 7 times
- net/core/net_namespace.c, 8 times
- net/core/rtnetlink.c, line 514
- net/netfilter/nf_flow_table_offload.c, 3 times
- net/netlink/genetlink.c, 2 times
- net/rds/ib.c, 2 times
- net/rds/transport.c, 2 times
- net/sched/act_ct.c, line 379
- net/sched/cls_api.c, 5 times
- net/smc/af_smc.c, 3 times
- net/smc/smc_core.c, 13 times
- net/smc/smc_llc.c, 8 times
- net/tls/tls_device.c, line 1370
- security/keys/gc.c, line 378
- security/keys/key.c, 6 times
- security/keys/keyctl.c, 4 times
- security/keys/keyring.c, 7 times
- security/keys/persistent.c, line 104
- security/keys/process_keys.c, 5 times
- sound/core/control.c, 5 times
- sound/usb/midi.c, line 1486
- tools/perf/util/cgroup.c, 2 times
- tools/perf/util/comm.c, 2 times
- tools/perf/util/dsos.c, 2 times
- tools/perf/util/env.c, 3 times
- tools/perf/util/header.c, 3 times
- tools/perf/util/machine.c, 2 times
- tools/perf/util/maps.c, 11 times
- tools/perf/util/thread.c, 4 times
- tools/perf/util/threads.c, 4 times
- tools/perf/util/vdso.c, line 366