Loading...
Documented in 1 files:
Defined in 2 files as a function:
- include/linux/refcount.h, line 134 (as a function)
- tools/include/linux/refcount.h, line 58 (as a function)
Referenced in 356 files:
- arch/arm64/mm/context.c, line 304
- arch/s390/mm/gmap.c, 2 times
- arch/sparc/kernel/mdesc.c, line 158
- arch/x86/kernel/cpu/mce/amd.c, line 1216
- arch/x86/kernel/ioport.c, 2 times
- arch/x86/kvm/mmu/tdp_mmu.c, line 297
- block/bfq-cgroup.c, line 531
- block/blk-cgroup.c, line 1260
- block/blk-core.c, line 425
- crypto/api.c, line 136
- crypto/cryptd.c, 3 times
- drivers/android/binder.c, line 6530
- drivers/android/binderfs.c, 2 times
- drivers/base/core.c, line 851
- drivers/block/nbd.c, 5 times
- drivers/block/rnbd/rnbd-clt.c, 2 times
- drivers/char/mspec.c, line 206
- drivers/connector/cn_queue.c, line 34
- drivers/crypto/caam/qi.c, line 467
- drivers/crypto/cavium/nitrox/nitrox_main.c, line 241
- drivers/dma/mediatek/mtk-cqdma.c, 2 times
- drivers/dma/mediatek/mtk-hsdma.c, 2 times
- drivers/firewire/core-topology.c, line 115
- drivers/firmware/arm_scmi/driver.c, 2 times
- drivers/firmware/arm_scmi/notify.c, 2 times
- drivers/firmware/arm_scmi/virtio.c, 3 times
- drivers/gpu/drm/exynos/exynos_drm_g2d.c, line 465
- drivers/gpu/drm/i915/i915_vma_resource.c, line 267
- drivers/gpu/drm/i915/intel_wakeref.c, 2 times
- drivers/gpu/drm/i915/selftests/lib_sw_fence.c, line 117
- drivers/gpu/drm/msm/msm_fb.c, line 233
- drivers/gpu/drm/msm/msm_gpu.c, line 992
- drivers/gpu/drm/nouveau/nvkm/core/memory.c, line 93
- drivers/gpu/drm/omapdrm/omap_gem.c, line 817
- drivers/gpu/drm/vc4/vc4_bo.c, 3 times
- drivers/gpu/drm/vc4/vc4_perfmon.c, line 179
- drivers/gpu/host1x/context.c, line 143
- drivers/hwtracing/coresight/coresight-tmc-etr.c, line 909
- drivers/infiniband/core/cm.c, line 829
- drivers/infiniband/core/cma.c, 2 times
- drivers/infiniband/core/iwcm.c, line 259
- drivers/infiniband/core/mad.c, line 399
- drivers/infiniband/core/mad_rmpp.c, line 299
- drivers/infiniband/core/multicast.c, 2 times
- drivers/infiniband/core/ucma.c, line 219
- drivers/infiniband/hw/cxgb4/cq.c, line 1089
- drivers/infiniband/hw/cxgb4/qp.c, line 2209
- drivers/infiniband/hw/hns/hns_roce_cq.c, line 420
- drivers/infiniband/hw/hns/hns_roce_db.c, line 30
- drivers/infiniband/hw/hns/hns_roce_hem.c, 2 times
- drivers/infiniband/hw/hns/hns_roce_qp.c, line 1129
- drivers/infiniband/hw/hns/hns_roce_srq.c, line 429
- drivers/infiniband/hw/irdma/cm.c, 4 times
- drivers/infiniband/hw/irdma/utils.c, line 456
- drivers/infiniband/hw/irdma/verbs.c, 2 times
- drivers/infiniband/hw/mlx5/mlx5_ib.h, line 1554
- drivers/infiniband/hw/mlx5/odp.c, line 442
- drivers/infiniband/hw/mlx5/qpc.c, line 169
- drivers/infiniband/hw/mlx5/srq_cmd.c, line 650
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c, line 178
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c, line 245
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c, line 138
- drivers/infiniband/ulp/ipoib/ipoib_main.c, line 1386
- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c, line 2101
- drivers/iommu/iommufd/main.c, line 43
- drivers/iommu/sun50i-iommu.c, line 687
- drivers/irqchip/irq-gic-v3.c, 2 times
- drivers/md/bcache/super.c, line 1285
- drivers/md/dm-cache-metadata.c, line 770
- drivers/md/dm-ps-io-affinity.c, line 64
- drivers/md/dm-table.c, line 380
- drivers/md/dm-thin.c, line 4274
- drivers/md/dm-zoned-target.c, 2 times
- drivers/md/dm.c, line 747
- drivers/media/common/videobuf2/videobuf2-dma-contig.c, line 270
- drivers/media/common/videobuf2/videobuf2-vmalloc.c, line 60
- drivers/media/pci/cx88/cx88-cards.c, line 3707
- drivers/media/platform/renesas/vsp1/vsp1_dl.c, line 339
- drivers/media/rc/imon.c, line 2437
- drivers/misc/sgi-gru/grumain.c, line 326
- drivers/net/dsa/mv88e6xxx/chip.c, 2 times
- drivers/net/dsa/ocelot/felix_vsc9959.c, 2 times
- drivers/net/dsa/qca/qca8k-8xxx.c, line 1684
- drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c, 2 times
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c, line 6841
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c, line 75
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c, 2 times
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c, line 704
- drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c, line 1556
- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c, line 519
- drivers/net/ethernet/freescale/enetc/enetc_qos.c, 5 times
- drivers/net/ethernet/marvell/prestera/prestera_acl.c, 3 times
- drivers/net/ethernet/marvell/prestera/prestera_counter.c, line 177
- drivers/net/ethernet/marvell/prestera/prestera_router_hw.c, 2 times
- drivers/net/ethernet/marvell/prestera/prestera_span.c, line 34
- drivers/net/ethernet/marvell/prestera/prestera_switchdev.c, line 572
- drivers/net/ethernet/mediatek/mtk_eth_soc.c, line 3248
- drivers/net/ethernet/mellanox/mlx4/cq.c, line 413
- drivers/net/ethernet/mellanox/mlx4/qp.c, line 431
- drivers/net/ethernet/mellanox/mlx4/srq.c, line 206
- drivers/net/ethernet/mellanox/mlx5/core/cmd.c, line 135
- drivers/net/ethernet/mellanox/mlx5/core/cq.c, line 113
- drivers/net/ethernet/mellanox/mlx5/core/en/mapping.c, line 216
- drivers/net/ethernet/mellanox/mlx5/core/en/mod_hdr.c, line 112
- drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c, line 387
- drivers/net/ethernet/mellanox/mlx5/core/en/rss.c, line 293
- drivers/net/ethernet/mellanox/mlx5/core/en/tc/ct_fs_smfs.c, line 162
- drivers/net/ethernet/mellanox/mlx5/core/en/tc/int_port.c, line 207
- drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c, 3 times
- drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c, 3 times
- drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_rx.c, line 357
- drivers/net/ethernet/mellanox/mlx5/core/en_tc.c, 2 times
- drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c, line 155
- drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c, line 585
- drivers/net/ethernet/mellanox/mlx5/core/eswitch.c, line 1654
- drivers/net/ethernet/mellanox/mlx5/core/fs_core.c, line 355
- drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c, 2 times
- drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c, line 1006
- drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c, 2 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum.c, 4 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c, 2 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c, line 446
- drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c, 5 times
- drivers/net/ethernet/microchip/lan966x/lan966x_mdb.c, line 193
- drivers/net/ethernet/mscc/ocelot.c, 2 times
- drivers/net/ethernet/mscc/ocelot_vcap.c, line 923
- drivers/net/hamradio/6pack.c, line 570
- drivers/net/hamradio/mkiss.c, line 710
- drivers/net/macsec.c, 3 times
- drivers/net/phy/phy_device.c, line 1697
- drivers/net/ppp/ppp_async.c, line 184
- drivers/net/ppp/ppp_generic.c, line 3359
- drivers/net/ppp/ppp_synctty.c, line 182
- drivers/net/wireless/intersil/hostap/hostap_hw.c, 2 times
- drivers/net/wireless/intersil/orinoco/orinoco_usb.c, line 361
- drivers/pci/controller/pci-hyperv.c, line 2421
- drivers/perf/alibaba_uncore_drw_pmu.c, line 423
- drivers/perf/arm_dmc620_pmu.c, line 416
- drivers/s390/char/vmur.c, line 117
- drivers/s390/net/lcs.c, line 780
- drivers/s390/net/qeth_core_main.c, line 944
- drivers/s390/net/qeth_l2_main.c, 2 times
- drivers/scsi/libfc/fc_fcp.c, line 141
- drivers/scsi/libiscsi.c, 2 times
- drivers/staging/vme_user/vme_user.c, line 471
- drivers/tee/tee_shm.c, 2 times
- drivers/usb/gadget/function/f_fs.c, line 1776
- drivers/usb/gadget/legacy/inode.c, 2 times
- drivers/vfio/group.c, line 483
- drivers/vfio/vfio_main.c, line 283
- drivers/vhost/net.c, line 916
- drivers/video/fbdev/core/fbmem.c, line 1551
- drivers/xen/gntdev.c, 2 times
- fs/afs/addr_list.c, line 44
- fs/afs/cell.c, line 161
- fs/afs/dir.c, line 286
- fs/afs/main.c, line 111
- fs/afs/proc.c, line 501
- fs/afs/security.c, line 226
- fs/afs/server.c, line 231
- fs/afs/server_list.c, line 44
- fs/afs/vl_list.c, 2 times
- fs/aio.c, line 1069
- fs/btrfs/block-group.c, 2 times
- fs/btrfs/delayed-ref.c, 2 times
- fs/btrfs/disk-io.c, 2 times
- fs/btrfs/extent-io-tree.c, line 152
- fs/btrfs/extent_map.c, line 54
- fs/btrfs/ordered-data.c, line 219
- fs/btrfs/raid56.c, line 963
- fs/btrfs/scrub.c, 5 times
- fs/btrfs/tests/extent-map-tests.c, line 31
- fs/btrfs/transaction.c, 2 times
- fs/btrfs/volumes.c, line 5938
- fs/cachefiles/daemon.c, line 114
- fs/cachefiles/interface.c, line 34
- fs/ceph/mds_client.c, line 849
- fs/coda/file.c, line 194
- fs/crypto/keyring.c, 2 times
- fs/crypto/keysetup_v1.c, line 236
- fs/debugfs/file.c, line 97
- fs/erofs/fscache.c, 3 times
- fs/exec.c, line 1198
- fs/ext4/page-io.c, line 284
- fs/f2fs/acl.c, line 304
- fs/f2fs/compress.c, line 1628
- fs/fscache/cache.c, line 37
- fs/fscache/cookie.c, line 359
- fs/fscache/volume.c, line 231
- fs/fsopen.c, line 103
- fs/fuse/dax.c, line 1269
- fs/fuse/dev.c, line 48
- fs/fuse/file.c, line 77
- fs/fuse/inode.c, line 836
- fs/lockd/clntproc.c, 2 times
- fs/lockd/host.c, line 155
- fs/lockd/mon.c, line 283
- fs/lockd/svclock.c, line 379
- fs/mnt_idmapping.c, line 240
- fs/namespace.c, line 3444
- fs/netfs/objects.c, 2 times
- fs/nfs/cache_lib.c, line 102
- fs/nfs/client.c, line 164
- fs/nfs/inode.c, line 931
- fs/nfs/nfs4state.c, 2 times
- fs/nfs/pnfs.c, 2 times
- fs/nfs/pnfs_nfs.c, 2 times
- fs/nfsd/filecache.c, 2 times
- fs/nfsd/nfs4proc.c, 2 times
- fs/nfsd/nfs4state.c, 4 times
- fs/notify/group.c, line 126
- fs/notify/mark.c, line 877
- fs/overlayfs/file.c, 2 times
- fs/posix_acl.c, 2 times
- fs/proc/generic.c, line 445
- fs/userfaultfd.c, 2 times
- fs/xfs/xfs_attr_item.c, line 105
- include/linux/kref.h, line 31
- include/linux/ref_tracker.h, 2 times
- include/net/netlabel.h, line 284
- include/net/request_sock.h, line 112
- io_uring/notif.c, line 84
- io_uring/sqpoll.c, line 154
- io_uring/tctx.c, line 30
- ipc/namespace.c, line 69
- ipc/sem.c, line 1860
- ipc/util.c, line 285
- kernel/audit_tree.c, line 99
- kernel/audit_watch.c, line 169
- kernel/bpf/bpf_struct_ops.c, 2 times
- kernel/bpf/btf.c, 3 times
- kernel/bpf/cpumask.c, line 65
- kernel/bpf/dispatcher.c, line 63
- kernel/cgroup/cgroup.c, line 1240
- kernel/cgroup/namespace.c, line 35
- kernel/events/core.c, line 4679
- kernel/events/ring_buffer.c, 2 times
- kernel/events/uprobes.c, line 690
- kernel/fork.c, 5 times
- kernel/futex/pi.c, 2 times
- kernel/kcov.c, line 516
- kernel/pid.c, line 260
- kernel/pid_namespace.c, line 107
- kernel/sched/core.c, line 2815
- kernel/sched/core_sched.c, line 17
- kernel/sched/fair.c, line 2706
- kernel/seccomp.c, 2 times
- kernel/trace/trace.c, line 8366
- kernel/user_namespace.c, line 132
- kernel/utsname.c, line 36
- lib/refcount.c, line 15
- mm/memcontrol.c, line 5401
- net/9p/client.c, 3 times
- net/atm/common.c, line 160
- net/atm/lec.c, line 1544
- net/atm/mpoa_caches.c, 2 times
- net/atm/resources.c, line 111
- net/ax25/ax25_dev.c, line 61
- net/ax25/ax25_uid.c, line 107
- net/bluetooth/rfcomm/core.c, line 314
- net/bridge/br_vlan.c, 2 times
- net/ceph/pagelist.c, line 23
- net/ceph/snapshot.c, line 39
- net/core/dev.c, 2 times
- net/core/dst.c, line 201
- net/core/fib_rules.c, 2 times
- net/core/filter.c, line 1469
- net/core/neighbour.c, 3 times
- net/core/netpoll.c, 3 times
- net/core/skbuff.c, 7 times
- net/core/skmsg.c, line 738
- net/core/sock.c, 4 times
- net/devlink/core.c, line 227
- net/devlink/leftover.c, 2 times
- net/ipv4/cipso_ipv4.c, line 418
- net/ipv4/fib_semantics.c, 2 times
- net/ipv4/inet_connection_sock.c, 4 times
- net/ipv4/inet_timewait_sock.c, 2 times
- net/ipv4/inetpeer.c, line 217
- net/ipv4/metrics.c, line 83
- net/ipv4/nexthop.c, line 2664
- net/ipv4/syncookies.c, line 210
- net/ipv4/tcp_fastopen.c, line 279
- net/ipv4/tcp_ipv4.c, line 3214
- net/ipv6/anycast.c, line 276
- net/ipv6/calipso.c, line 362
- net/ipv6/exthdrs.c, 2 times
- net/ipv6/ipv6_sockglue.c, line 712
- net/ipv6/xfrm6_tunnel.c, line 153
- net/l2tp/l2tp_core.c, 2 times
- net/lapb/lapb_iface.c, line 134
- net/llc/llc_core.c, line 44
- net/mctp/device.c, line 355
- net/mctp/route.c, 2 times
- net/mctp/test/route-test.c, line 31
- net/mptcp/token_test.c, 2 times
- net/netfilter/ipvs/ip_vs_conn.c, line 989
- net/netfilter/nf_conntrack_core.c, 4 times
- net/netfilter/nf_conntrack_expect.c, line 307
- net/netfilter/nf_conntrack_helper.c, line 389
- net/netfilter/nfnetlink_acct.c, line 136
- net/netfilter/nfnetlink_cttimeout.c, line 172
- net/netfilter/nfnetlink_log.c, line 187
- net/netfilter/xt_hashlimit.c, line 319
- net/netrom/nr_route.c, 3 times
- net/packet/af_packet.c, 2 times
- net/rds/ib.c, line 147
- net/rds/message.c, line 298
- net/rds/recv.c, 2 times
- net/rxrpc/call_object.c, line 167
- net/rxrpc/conn_client.c, 2 times
- net/rxrpc/conn_service.c, line 129
- net/rxrpc/local_object.c, line 106
- net/rxrpc/peer_object.c, line 217
- net/rxrpc/txbuf.c, line 28
- net/sched/act_api.c, line 743
- net/sched/act_ct.c, line 299
- net/sched/cls_api.c, 2 times
- net/sched/cls_flower.c, 2 times
- net/sched/sch_generic.c, line 975
- net/sched/sch_taprio.c, line 1356
- net/sctp/auth.c, 2 times
- net/sctp/chunk.c, line 37
- net/sctp/sm_make_chunk.c, line 1399
- net/sctp/transport.c, line 85
- net/smc/smc_core.c, 2 times
- net/smc/smc_ism.c, line 113
- net/smc/smc_pnet.c, line 762
- net/sunrpc/auth.c, line 600
- net/sunrpc/auth_gss/auth_gss.c, 3 times
- net/tipc/crypto.c, 3 times
- net/unix/af_unix.c, 2 times
- net/x25/x25_link.c, line 285
- net/x25/x25_route.c, line 50
- net/xdp/xsk_buff_pool.c, 2 times
- net/xfrm/xfrm_policy.c, line 401
- net/xfrm/xfrm_state.c, line 663
- security/keys/key.c, 2 times
- security/landlock/object.c, line 31
- security/landlock/ruleset.c, 2 times
- sound/core/pcm_native.c, line 82
- sound/virtio/virtio_ctl_msg.c, line 104
- tools/lib/perf/cpumap.c, line 19
- tools/lib/perf/evlist.c, line 485
- tools/lib/perf/mmap.c, 2 times
- tools/lib/perf/threadmap.c, line 57
- tools/perf/util/block-info.c, line 64
- tools/perf/util/cgroup.c, 2 times
- tools/perf/util/comm.c, line 55
- tools/perf/util/dso.c, line 1306
- tools/perf/util/map.c, 2 times
- tools/perf/util/maps.c, line 23
- tools/perf/util/namespaces.c, 2 times
- tools/perf/util/symbol.c, line 2692
- tools/perf/util/thread.c, line 68
- virt/kvm/kvm_main.c, line 1168