Loading...
Documented in 1 files:
Defined in 2 files as a function:
- include/linux/refcount.h, line 265 (as a function)
- tools/include/linux/refcount.h, line 107 (as a function)
Referenced in 306 files:
- arch/s390/mm/gmap.c, 2 times
- arch/sparc/kernel/mdesc.c, line 265
- arch/x86/kernel/cpu/mce/amd.c, line 1193
- arch/x86/kernel/ioport.c, line 30
- block/bfq-cgroup.c, line 319
- block/blk-cgroup.c, line 1156
- block/blk-core.c, line 469
- crypto/cryptd.c, line 151
- drivers/android/binder.c, line 5636
- drivers/base/core.c, 2 times
- drivers/base/power/runtime.c, line 300
- drivers/block/nbd.c, 6 times
- drivers/char/mspec.c, line 93
- drivers/connector/connector.c, line 148
- drivers/crypto/caam/qi.c, line 126
- drivers/crypto/cavium/nitrox/nitrox_main.c, line 285
- drivers/dma/mediatek/mtk-cqdma.c, line 648
- drivers/dma/mediatek/mtk-hsdma.c, line 828
- drivers/firewire/core.h, line 199
- drivers/firmware/arm_scmi/driver.c, 2 times
- drivers/firmware/arm_scmi/notify.c, 4 times
- drivers/gpu/drm/exynos/exynos_drm_g2d.c, line 440
- drivers/gpu/drm/msm/msm_fb.c, line 86
- drivers/gpu/drm/msm/msm_submitqueue.c, line 26
- drivers/gpu/drm/nouveau/nvkm/core/memory.c, line 66
- drivers/gpu/drm/omapdrm/omap_gem.c, line 831
- drivers/gpu/drm/vc4/vc4_gem.c, line 209
- drivers/gpu/drm/vc4/vc4_perfmon.c, line 29
- drivers/gpu/host1x/context.c, 2 times
- drivers/hwtracing/coresight/coresight-tmc-etr.c, line 1320
- drivers/infiniband/core/cm.c, 4 times
- drivers/infiniband/core/cma.c, 2 times
- drivers/infiniband/core/iwcm.c, 2 times
- drivers/infiniband/core/mad.c, 5 times
- drivers/infiniband/core/mad_rmpp.c, 2 times
- drivers/infiniband/core/multicast.c, 4 times
- drivers/infiniband/hw/cxgb4/ev.c, 2 times
- drivers/infiniband/hw/cxgb4/qp.c, line 896
- drivers/infiniband/hw/hns/hns_roce_cq.c, line 490
- drivers/infiniband/hw/hns/hns_roce_db.c, line 47
- drivers/infiniband/hw/hns/hns_roce_hem.c, 2 times
- drivers/infiniband/hw/hns/hns_roce_qp.c, 2 times
- drivers/infiniband/hw/hns/hns_roce_srq.c, line 20
- drivers/infiniband/hw/irdma/cm.c, 13 times
- drivers/infiniband/hw/irdma/hw.c, line 2474
- drivers/infiniband/hw/irdma/utils.c, 2 times
- drivers/infiniband/hw/irdma/verbs.c, 2 times
- drivers/infiniband/hw/mlx5/odp.c, 4 times
- drivers/infiniband/hw/mlx5/qpc.c, line 25
- drivers/infiniband/hw/mlx5/srq_cmd.c, 2 times
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c, 4 times
- drivers/infiniband/ulp/ipoib/ipoib_main.c, line 1433
- drivers/iommu/iommufd/device.c, 5 times
- drivers/iommu/sun50i-iommu.c, line 787
- drivers/md/dm-cache-metadata.c, line 808
- drivers/md/dm-ps-io-affinity.c, line 93
- drivers/md/dm-table.c, line 389
- drivers/md/dm-thin.c, line 4120
- drivers/md/dm-zoned-target.c, 2 times
- drivers/md/dm.c, line 819
- drivers/media/common/videobuf2/videobuf2-dma-contig.c, line 525
- drivers/media/common/videobuf2/videobuf2-vmalloc.c, line 358
- drivers/media/pci/cx88/cx88-core.c, line 1060
- drivers/media/platform/renesas/vsp1/vsp1_dl.c, line 714
- drivers/media/rc/imon.c, line 2455
- drivers/misc/lkdtm/refcount.c, 6 times
- drivers/misc/sgi-gru/grumain.c, line 900
- drivers/net/dsa/mv88e6xxx/chip.c, line 1898
- drivers/net/dsa/ocelot/felix_vsc9959.c, 2 times
- drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c, line 99
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c, line 63
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c, line 176
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c, line 708
- drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c, line 216
- drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c, line 397
- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c, line 508
- drivers/net/ethernet/freescale/enetc/enetc_qos.c, line 1302
- drivers/net/ethernet/marvell/prestera/prestera_acl.c, 6 times
- drivers/net/ethernet/marvell/prestera/prestera_router_hw.c, 2 times
- drivers/net/ethernet/marvell/prestera/prestera_span.c, line 84
- drivers/net/ethernet/marvell/prestera/prestera_switchdev.c, line 594
- drivers/net/ethernet/mediatek/mtk_eth_soc.c, line 3251
- drivers/net/ethernet/mellanox/mlx4/cq.c, line 95
- drivers/net/ethernet/mellanox/mlx4/qp.c, line 65
- drivers/net/ethernet/mellanox/mlx4/srq.c, line 52
- drivers/net/ethernet/mellanox/mlx5/core/cmd.c, line 181
- drivers/net/ethernet/mellanox/mlx5/core/en/mod_hdr.c, line 62
- drivers/net/ethernet/mellanox/mlx5/core/en/rss.c, line 345
- drivers/net/ethernet/mellanox/mlx5/core/en/tc/int_port.c, line 116
- drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c, line 1816
- drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c, line 1161
- drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_rx.c, line 74
- drivers/net/ethernet/mellanox/mlx5/core/en_tc.c, line 984
- drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c, line 110
- drivers/net/ethernet/mellanox/mlx5/core/fs_core.c, 5 times
- drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c, line 997
- drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c, 2 times
- drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c, 2 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum.c, 2 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c, line 239
- drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c, 4 times
- drivers/net/ethernet/microchip/lan966x/lan966x_mdb.c, line 212
- drivers/net/ethernet/mscc/ocelot.c, 2 times
- drivers/net/ethernet/mscc/ocelot_vcap.c, line 908
- drivers/net/hamradio/6pack.c, line 379
- drivers/net/hamradio/mkiss.c, line 674
- drivers/net/ipa/gsi.c, line 806
- drivers/net/phy/phy_device.c, line 1703
- drivers/net/ppp/ppp_async.c, line 139
- drivers/net/ppp/ppp_generic.c, 7 times
- drivers/net/ppp/ppp_synctty.c, line 141
- drivers/net/rionet.c, line 201
- drivers/net/wireless/intersil/hostap/hostap_hw.c, 3 times
- drivers/net/wireless/intersil/orinoco/orinoco_usb.c, 4 times
- drivers/pci/controller/pci-hyperv.c, line 980
- drivers/s390/char/vmur.c, line 133
- drivers/s390/net/ctcm_fsms.c, line 1785
- drivers/s390/net/ctcm_main.c, 6 times
- drivers/s390/net/lcs.c, line 760
- drivers/s390/net/netiucv.c, 2 times
- drivers/s390/net/qeth_core.h, line 634
- drivers/scsi/libfc/fc_fcp.c, line 173
- drivers/staging/vme_user/vme_user.c, line 428
- drivers/tee/tee_shm.c, 2 times
- drivers/usb/gadget/function/f_fs.c, 2 times
- drivers/usb/gadget/legacy/inode.c, 2 times
- drivers/vfio/group.c, line 623
- drivers/video/fbdev/core/fbmem.c, line 73
- drivers/xen/gntdev.c, 3 times
- fs/afs/dir.c, line 943
- fs/afs/internal.h, 5 times
- fs/afs/write.c, line 345
- fs/btrfs/backref.c, line 1454
- fs/btrfs/block-group.c, 6 times
- fs/btrfs/delayed-ref.c, line 426
- fs/btrfs/disk-io.c, line 5170
- fs/btrfs/extent-io-tree.c, 4 times
- fs/btrfs/extent-tree.c, 4 times
- fs/btrfs/extent_io.c, 2 times
- fs/btrfs/extent_map.c, 3 times
- fs/btrfs/ordered-data.c, 9 times
- fs/btrfs/raid56.c, 3 times
- fs/btrfs/scrub.c, 5 times
- fs/btrfs/transaction.c, 9 times
- fs/btrfs/tree-log.c, line 4903
- fs/btrfs/volumes.c, line 5950
- fs/cachefiles/daemon.c, line 179
- fs/ceph/caps.c, 2 times
- fs/coda/file.c, line 103
- fs/crypto/keysetup.c, line 600
- fs/crypto/keysetup_v1.c, line 208
- fs/erofs/fscache.c, 6 times
- fs/ext4/page-io.c, line 319
- fs/f2fs/data.c, line 2322
- fs/fs_context.c, line 362
- fs/fuse/dax.c, 2 times
- fs/fuse/dev.c, line 69
- fs/fuse/file.c, line 95
- fs/fuse/inode.c, line 888
- fs/lockd/clntproc.c, 3 times
- fs/lockd/host.c, 3 times
- fs/lockd/mon.c, 2 times
- fs/lockd/svclock.c, line 339
- fs/mnt_idmapping.c, line 255
- fs/mount.h, line 121
- fs/nfs/cache_lib.c, line 90
- fs/nfs/client.c, 3 times
- fs/nfs/filelayout/filelayout.c, 3 times
- fs/nfs/nfs4client.c, 5 times
- fs/nfs/nfs4proc.c, 5 times
- fs/nfs/nfs4state.c, 5 times
- fs/nfs/pagelist.c, line 485
- fs/nfs/pnfs.c, 2 times
- fs/nfs/pnfs.h, line 448
- fs/nfs/pnfs_nfs.c, line 798
- fs/nfsd/nfs4proc.c, 3 times
- fs/nfsd/nfs4state.c, 11 times
- fs/nfsd/state.h, line 715
- fs/nilfs2/the_nilfs.h, line 294
- fs/notify/group.c, line 101
- fs/notify/mark.c, line 97
- fs/proc/internal.h, line 197
- fs/userfaultfd.c, line 173
- include/linux/atmdev.h, line 273
- include/linux/inetdevice.h, 2 times
- include/linux/ipc_namespace.h, line 138
- include/linux/key.h, line 308
- include/linux/kref.h, line 45
- include/linux/mlx5/cq.h, line 177
- include/linux/mroute_base.h, line 170
- include/linux/netdevice.h, line 4030
- include/linux/netfilter/nf_conntrack_common.h, line 42
- include/linux/pid.h, line 87
- include/linux/pid_namespace.h, line 63
- include/linux/posix_acl.h, line 47
- include/linux/skbuff.h, 3 times
- include/linux/user_namespace.h, line 154
- include/linux/utsname.h, line 35
- include/net/9p/client.h, 2 times
- include/net/addrconf.h, 3 times
- include/net/ax25.h, 3 times
- include/net/bluetooth/rfcomm.h, line 251
- include/net/fib_rules.h, line 107
- include/net/ip6_fib.h, line 329
- include/net/ip_fib.h, line 572
- include/net/ip_vs.h, line 1575
- include/net/llc.h, line 119
- include/net/neighbour.h, 3 times
- include/net/netrom.h, 2 times
- include/net/sch_generic.h, line 137
- include/net/sctp/auth.h, line 67
- include/net/sock.h, line 775
- include/net/x25.h, 2 times
- io_uring/io_uring.c, line 4078
- io_uring/sqpoll.c, line 127
- ipc/sem.c, line 2317
- kernel/audit_tree.c, line 113
- kernel/audit_watch.c, line 102
- kernel/bpf/btf.c, 2 times
- kernel/bpf/cpumask.c, line 81
- kernel/bpf/dispatcher.c, line 53
- kernel/cgroup/cgroup-internal.h, line 218
- kernel/events/core.c, line 1153
- kernel/events/uprobes.c, line 594
- kernel/exit.c, line 977
- kernel/fork.c, 2 times
- kernel/kcov.c, line 421
- kernel/sched/core.c, line 2826
- kernel/sched/core_sched.c, line 38
- kernel/seccomp.c, 2 times
- kernel/trace/trace.c, line 8292
- lib/ref_tracker.c, 2 times
- net/atm/lec.c, line 108
- net/atm/mpoa_caches.c, 9 times
- net/bridge/br_vlan.c, 2 times
- net/ceph/messenger.c, line 1845
- net/ceph/snapshot.c, line 49
- net/core/dev.c, line 2174
- net/core/net-sysfs.c, line 1879
- net/core/netpoll.c, line 660
- net/core/skbuff.c, line 2024
- net/devlink/leftover.c, 3 times
- net/ipv4/cipso_ipv4.c, 2 times
- net/ipv4/fib_semantics.c, 2 times
- net/ipv4/fib_trie.c, line 1622
- net/ipv4/inet_timewait_sock.c, line 274
- net/ipv4/tcp.c, line 4668
- net/ipv6/anycast.c, line 242
- net/ipv6/calipso.c, 2 times
- net/ipv6/syncookies.c, line 194
- net/ipv6/tcp_ipv6.c, line 804
- net/ipv6/xfrm6_tunnel.c, line 171
- net/l2tp/l2tp_core.c, 2 times
- net/lapb/lapb_iface.c, line 52
- net/mctp/device.c, line 310
- net/mctp/route.c, 5 times
- net/netfilter/ipvs/ip_vs_conn.c, 2 times
- net/netfilter/nf_conntrack_core.c, 2 times
- net/netfilter/nf_conntrack_expect.c, line 215
- net/netfilter/nf_flow_table_core.c, line 63
- net/netfilter/nfnetlink_log.c, line 122
- net/netfilter/nft_ct.c, line 254
- net/netfilter/xt_CT.c, line 27
- net/netfilter/xt_hashlimit.c, line 415
- net/netlink/af_netlink.c, 3 times
- net/rds/ib.c, 2 times
- net/rds/ib_rdma.c, 2 times
- net/rds/message.c, line 54
- net/rds/recv.c, line 74
- net/sched/act_api.c, 2 times
- net/sched/cls_api.c, 2 times
- net/sched/cls_flower.c, 2 times
- net/sched/sch_taprio.c, line 1369
- net/sctp/auth.c, line 112
- net/sctp/chunk.c, line 121
- net/sctp/sm_make_chunk.c, line 1523
- net/sctp/socket.c, line 9012
- net/smc/smc_core.c, 2 times
- net/smc/smc_ism.c, line 119
- net/smc/smc_pnet.c, line 757
- net/sunrpc/auth.c, line 558
- net/sunrpc/auth_gss/auth_gss.c, 8 times
- net/sunrpc/auth_gss/gss_rpc_upcall.c, line 164
- net/sunrpc/auth_null.c, line 24
- net/sunrpc/auth_unix.c, line 31
- net/unix/af_unix.c, line 1612
- net/xdp/xsk_buff_pool.c, 2 times
- rust/helpers.c, line 39
- security/keys/key.c, 2 times
- security/landlock/object.h, line 88
- security/landlock/ruleset.c, line 248
- security/landlock/ruleset.h, line 177
- sound/core/pcm_native.c, 2 times
- sound/virtio/virtio_ctl_msg.c, line 35
- tools/lib/perf/cpumap.c, line 47
- tools/lib/perf/mmap.c, line 66
- tools/lib/perf/threadmap.c, line 83
- tools/perf/util/block-info.c, line 49
- tools/perf/util/cgroup.c, 2 times
- tools/perf/util/dso.c, line 1351
- tools/perf/util/map.h, line 111
- tools/perf/util/maps.h, line 58
- tools/perf/util/namespaces.c, line 205
- tools/perf/util/symbol.c, line 2677
- tools/perf/util/thread.c, line 122
- virt/kvm/kvm_main.c, line 1327