Loading...
Documented in 1 files:
Defined in 2 files as a function:
- include/linux/refcount.h, line 145 (as a function)
- tools/include/linux/refcount.h, line 63 (as a function)
Referenced in 262 files:
- arch/arm64/mm/context.c, line 179
- arch/s390/kernel/perf_cpum_cf.c, 3 times
- arch/s390/kernel/perf_pai_crypto.c, 3 times
- arch/s390/mm/extmem.c, line 474
- arch/sparc/kernel/mdesc.c, 2 times
- arch/x86/kernel/ioport.c, line 100
- arch/x86/kvm/mmu/tdp_mmu.c, 2 times
- crypto/algapi.c, 2 times
- crypto/cryptd.c, 7 times
- crypto/crypto_user_base.c, 2 times
- crypto/crypto_user_stat.c, line 64
- crypto/proc.c, line 45
- drivers/atm/he.c, line 2394
- drivers/atm/idt77252.c, line 727
- drivers/block/nbd.c, 7 times
- drivers/block/rnbd/rnbd-clt.c, line 1695
- drivers/crypto/caam/qi.c, 2 times
- drivers/crypto/cavium/nitrox/nitrox_main.c, line 533
- drivers/crypto/chelsio/chcr_algo.c, 3 times
- drivers/crypto/marvell/octeontx/otx_cptvf_algs.c, 2 times
- drivers/dma/mediatek/mtk-cqdma.c, 2 times
- drivers/dma/mediatek/mtk-hsdma.c, line 817
- drivers/firmware/arm_scmi/notify.c, line 1169
- drivers/gpu/drm/exynos/exynos_drm_g2d.c, line 392
- drivers/gpu/drm/i915/i915_vma_resource.h, line 237
- drivers/gpu/drm/msm/adreno/a6xx_gpu.c, line 105
- drivers/gpu/drm/msm/msm_fb.c, line 45
- drivers/gpu/drm/omapdrm/omap_gem.c, 4 times
- drivers/gpu/drm/vc4/vc4_bo.c, 2 times
- drivers/gpu/drm/vc4/vc4_gem.c, 3 times
- drivers/infiniband/core/cm.c, line 1041
- drivers/infiniband/core/device.c, 6 times
- drivers/infiniband/core/ucma.c, line 577
- drivers/infiniband/hw/irdma/trace_cm.h, 3 times
- drivers/infiniband/hw/irdma/utils.c, line 522
- drivers/infiniband/hw/mlx5/mlx5_ib.h, line 1612
- drivers/infiniband/hw/mlx5/mr.c, line 1849
- drivers/infiniband/ulp/rtrs/rtrs-srv.c, line 1363
- drivers/iommu/iommufd/main.c, line 131
- drivers/md/bcache/super.c, line 1141
- drivers/media/common/videobuf2/videobuf2-dma-contig.c, line 120
- drivers/media/common/videobuf2/videobuf2-dma-sg.c, line 329
- drivers/media/common/videobuf2/videobuf2-vmalloc.c, line 167
- drivers/misc/lkdtm/refcount.c, 13 times
- drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c, line 266
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c, 2 times
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c, 2 times
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c, 2 times
- drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c, line 398
- drivers/net/ethernet/freescale/enetc/enetc_qos.c, 2 times
- drivers/net/ethernet/mediatek/mtk_eth_soc.c, line 3367
- drivers/net/ethernet/mellanox/mlx5/core/en/rss.c, line 437
- drivers/net/ethernet/mellanox/mlx5/core/en_tc.c, line 1070
- drivers/net/ethernet/mellanox/mlx5/core/eswitch.c, line 1931
- drivers/net/ethernet/mellanox/mlx5/core/fs_core.c, 2 times
- drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c, line 2184
- drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c, line 543
- drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c, line 1095
- drivers/net/ethernet/mellanox/mlxsw/spectrum.c, line 3017
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c, 3 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c, line 8849
- drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c, 6 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c, 4 times
- drivers/net/ethernet/sfc/tc.c, 3 times
- drivers/net/ethernet/sfc/tc_counters.c, line 51
- drivers/net/ethernet/sfc/tc_encap_actions.c, 2 times
- drivers/net/vxlan/vxlan_multicast.c, 2 times
- drivers/s390/char/vmur.c, line 951
- drivers/scsi/elx/efct/efct_scsi.c, line 102
- drivers/scsi/qedi/qedi_iscsi.c, line 1455
- drivers/tty/serial/sb1250-duart.c, line 698
- drivers/vfio/group.c, line 444
- drivers/video/fbdev/core/fb_info.c, line 70
- drivers/video/fbdev/smscufx.c, 2 times
- fs/afs/cmservice.c, line 219
- fs/afs/proc.c, 3 times
- fs/afs/server.c, 4 times
- fs/afs/volume.c, 2 times
- fs/afs/write.c, line 981
- fs/btrfs/block-group.c, line 4434
- fs/btrfs/delayed-inode.c, 3 times
- fs/btrfs/disk-io.c, 2 times
- fs/btrfs/extent-io-tree.c, line 49
- fs/btrfs/extent_map.c, line 244
- fs/btrfs/scrub.c, line 2862
- fs/btrfs/tests/extent-map-tests.c, 2 times
- fs/btrfs/transaction.c, 5 times
- fs/btrfs/volumes.c, line 5886
- fs/cachefiles/interface.c, line 55
- fs/cachefiles/volume.c, line 83
- fs/crypto/keyring.c, 5 times
- fs/debugfs/inode.c, line 761
- fs/exec.c, line 1189
- fs/fscache/cookie.c, 10 times
- fs/fscache/internal.h, line 71
- fs/fscache/io.c, line 122
- fs/fscache/volume.c, 5 times
- fs/fuse/dax.c, 5 times
- fs/fuse/file.c, line 364
- fs/lockd/host.c, 2 times
- fs/lockd/mon.c, 3 times
- fs/netfs/internal.h, line 49
- fs/nfs/client.c, line 1277
- fs/nfs/filelayout/filelayout.c, 3 times
- fs/nfs/flexfilelayout/flexfilelayout.c, 3 times
- fs/nfs/nfs4proc.c, 3 times
- fs/nfs/nfs4state.c, 3 times
- fs/nfs/pnfs.c, 3 times
- fs/nfs/pnfs_nfs.c, 2 times
- fs/nfsd/nfs4state.c, 2 times
- fs/nfsd/trace.h, 7 times
- fs/notify/inotify/inotify_user.c, 2 times
- fs/notify/mark.c, 2 times
- fs/proc/task_nommu.c, line 65
- include/linux/atmdev.h, line 266
- include/linux/kref.h, line 36
- include/linux/kvm_host.h, 2 times
- include/linux/refcount.h, line 152
- include/linux/skbuff.h, 3 times
- include/net/net_namespace.h, line 291
- include/net/netfilter/nf_tables.h, line 601
- include/net/request_sock.h, line 128
- include/net/sock.h, 5 times
- include/trace/events/btrfs.h, 2 times
- include/trace/events/fscache.h, 2 times
- include/trace/events/rxrpc.h, line 677
- include/trace/events/sock.h, line 120
- kernel/audit_tree.c, line 1062
- kernel/bpf/bpf_struct_ops.c, line 398
- kernel/bpf/bpf_task_storage.c, line 218
- kernel/cgroup/debug.c, 3 times
- kernel/events/core.c, 2 times
- kernel/fork.c, 3 times
- kernel/futex/pi.c, line 229
- kernel/sched/core.c, line 3080
- kernel/sched/fair.c, 2 times
- kernel/seccomp.c, line 1823
- kernel/trace/trace.c, line 8411
- kernel/trace/trace_events_user.c, 3 times
- lib/ref_tracker.c, 2 times
- net/atm/clip.c, 3 times
- net/atm/common.c, 3 times
- net/atm/proc.c, 2 times
- net/bluetooth/af_bluetooth.c, line 710
- net/bluetooth/rfcomm/core.c, line 345
- net/bluetooth/rfcomm/sock.c, line 197
- net/bridge/br_netfilter_hooks.c, line 616
- net/caif/caif_socket.c, line 1004
- net/ceph/osd_client.c, 5 times
- net/core/dev.c, 3 times
- net/core/neighbour.c, 6 times
- net/core/net-sysfs.c, 3 times
- net/core/net_namespace.c, line 237
- net/core/pktgen.c, 2 times
- net/core/skbuff.c, 5 times
- net/core/sock.c, 4 times
- net/devlink/rate.c, line 549
- net/dsa/trace.h, 4 times
- net/ipv4/af_inet.c, line 153
- net/ipv4/cipso_ipv4.c, 2 times
- net/ipv4/inet_timewait_sock.c, 3 times
- net/ipv4/ip_output.c, line 1125
- net/ipv4/ping.c, 2 times
- net/ipv4/proc.c, line 62
- net/ipv4/raw.c, line 1037
- net/ipv4/tcp.c, 2 times
- net/ipv4/tcp_ipv4.c, 2 times
- net/ipv4/tcp_metrics.c, line 910
- net/ipv4/tcp_minisocks.c, line 402
- net/ipv4/tcp_output.c, 3 times
- net/ipv4/udp.c, line 3090
- net/ipv6/calipso.c, 2 times
- net/ipv6/datagram.c, line 1070
- net/ipv6/ip6_fib.c, 2 times
- net/ipv6/ip6_output.c, line 1645
- net/ipv6/tcp_ipv6.c, 2 times
- net/iucv/af_iucv.c, line 287
- net/kcm/kcmproc.c, line 152
- net/key/af_key.c, 3 times
- net/l2tp/l2tp_debugfs.c, 3 times
- net/lapb/lapb_iface.c, line 184
- net/llc/llc_conn.c, 2 times
- net/mctp/test/route-test.c, line 76
- net/mptcp/token_test.c, line 83
- net/netfilter/ipvs/ip_vs_conn.c, 6 times
- net/netfilter/ipvs/ip_vs_core.c, 2 times
- net/netfilter/ipvs/ip_vs_ctl.c, 5 times
- net/netfilter/ipvs/ip_vs_lblc.c, line 449
- net/netfilter/ipvs/ip_vs_lblcr.c, 3 times
- net/netfilter/ipvs/ip_vs_nq.c, line 108
- net/netfilter/ipvs/ip_vs_proto_sctp.c, line 450
- net/netfilter/ipvs/ip_vs_proto_tcp.c, line 559
- net/netfilter/ipvs/ip_vs_rr.c, line 95
- net/netfilter/ipvs/ip_vs_sed.c, line 109
- net/netfilter/ipvs/ip_vs_twos.c, line 112
- net/netfilter/ipvs/ip_vs_wlc.c, line 81
- net/netfilter/ipvs/ip_vs_wrr.c, line 216
- net/netfilter/nf_conntrack_core.c, 2 times
- net/netfilter/nf_conntrack_netlink.c, line 529
- net/netfilter/nf_conntrack_standalone.c, line 372
- net/netfilter/nfnetlink_acct.c, line 174
- net/netfilter/nfnetlink_cttimeout.c, line 204
- net/netfilter/nfnetlink_log.c, line 1103
- net/netfilter/nft_ct.c, line 253
- net/netlink/af_netlink.c, 3 times
- net/packet/af_packet.c, 5 times
- net/phonet/socket.c, 2 times
- net/rds/ib.c, line 123
- net/rds/message.c, 3 times
- net/rds/recv.c, 2 times
- net/rds/tcp_send.c, line 202
- net/rxrpc/af_rxrpc.c, 4 times
- net/rxrpc/ar-internal.h, 2 times
- net/rxrpc/call_accept.c, line 105
- net/rxrpc/call_object.c, 8 times
- net/rxrpc/conn_client.c, 2 times
- net/rxrpc/conn_object.c, 5 times
- net/rxrpc/conn_service.c, line 97
- net/rxrpc/local_object.c, 2 times
- net/rxrpc/peer_object.c, 4 times
- net/rxrpc/proc.c, 4 times
- net/rxrpc/skbuff.c, 5 times
- net/rxrpc/txbuf.c, line 69
- net/sched/act_csum.c, line 639
- net/sched/act_ct.c, line 1496
- net/sched/act_gate.c, line 510
- net/sched/act_ipt.c, line 349
- net/sched/act_mirred.c, line 363
- net/sched/act_mpls.c, line 339
- net/sched/act_nat.c, line 274
- net/sched/act_pedit.c, line 525
- net/sched/act_police.c, line 348
- net/sched/act_sample.c, line 219
- net/sched/act_tunnel_key.c, line 724
- net/sched/cls_api.c, line 524
- net/sched/em_meta.c, line 342
- net/sched/sch_api.c, line 937
- net/sctp/auth.c, line 1008
- net/sctp/outqueue.c, line 1108
- net/sctp/sm_make_chunk.c, line 84
- net/sctp/socket.c, line 9162
- net/sctp/transport.c, line 161
- net/sunrpc/auth.c, 2 times
- net/sunrpc/clnt.c, line 174
- net/tipc/crypto.c, line 2107
- net/tipc/socket.c, line 3041
- net/tls/tls_device.c, 2 times
- net/unix/af_unix.c, 3 times
- net/xdp/xsk_diag.c, line 67
- security/keys/keyring.c, 3 times
- security/keys/request_key_auth.c, line 230
- sound/pci/hda/hda_bind.c, line 163
- tools/lib/perf/cpumap.c, line 43
- tools/lib/perf/mmap.c, 2 times
- tools/lib/perf/threadmap.c, line 72
- tools/perf/builtin-stat.c, line 1636
- tools/perf/tests/cpumap.c, 2 times
- tools/perf/tests/maps.c, 2 times
- tools/perf/tests/thread-maps-share.c, 6 times
- tools/perf/util/machine.c, line 2066
- tools/perf/util/map.c, line 299
- tools/perf/util/namespaces.c, line 220