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 63 (as a function)
Referenced in 294 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/kernel/perf_pai_ext.c, line 74
- 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.c, 2 times
- 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 1680
- 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, 3 times
- drivers/gpu/drm/exynos/exynos_drm_g2d.c, line 392
- drivers/gpu/drm/i915/display/intel_dmc_wl.c, 3 times
- drivers/gpu/drm/i915/i915_vma_resource.h, line 237
- drivers/gpu/drm/msm/adreno/a6xx_gpu.c, line 106
- drivers/gpu/drm/msm/msm_fb.c, line 45
- drivers/gpu/drm/omapdrm/omap_gem.c, 4 times
- drivers/gpu/drm/panthor/panthor_mmu.c, line 755
- drivers/gpu/drm/vc4/vc4_bo.c, 2 times
- drivers/gpu/drm/vc4/vc4_gem.c, 3 times
- drivers/infiniband/core/cm.c, 2 times
- 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 1633
- drivers/infiniband/hw/mlx5/mr.c, line 1868
- drivers/infiniband/ulp/rtrs/rtrs-srv.c, line 1373
- drivers/iommu/iommufd/main.c, line 131
- drivers/md/bcache/super.c, line 1139
- 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/media/pci/intel/ipu6/ipu6-isys-mcd-phy.c, line 690
- drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c, 3 times
- drivers/media/platform/mediatek/mdp3/mtk-mdp3-m2m.c, 3 times
- drivers/media/usb/s2255/s2255drv.c, 4 times
- 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 3383
- drivers/net/ethernet/mellanox/mlx5/core/en/rss.c, line 437
- drivers/net/ethernet/mellanox/mlx5/core/en_tc.c, line 1069
- drivers/net/ethernet/mellanox/mlx5/core/eswitch.c, line 1929
- drivers/net/ethernet/mellanox/mlx5/core/fs_core.c, line 465
- drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c, line 2180
- 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 2987
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c, line 103
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c, 3 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c, 3 times
- 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 953
- drivers/scsi/elx/efct/efct_scsi.c, line 102
- drivers/scsi/qedi/qedi_iscsi.c, line 1455
- drivers/tty/serial/sb1250-duart.c, line 699
- drivers/vdpa/mlx5/core/mr.c, line 575
- drivers/vfio/group.c, line 451
- drivers/video/fbdev/core/fb_info.c, line 70
- drivers/video/fbdev/smscufx.c, 2 times
- fs/afs/addr_list.c, line 23
- fs/afs/cell.c, 9 times
- fs/afs/cmservice.c, line 219
- fs/afs/fs_probe.c, 2 times
- fs/afs/proc.c, 3 times
- fs/afs/server.c, 5 times
- fs/afs/volume.c, 2 times
- fs/afs/write.c, line 279
- fs/bcachefs/super.c, line 633
- fs/btrfs/block-group.c, line 4464
- 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 346
- fs/btrfs/scrub.c, line 2887
- fs/btrfs/tests/extent-map-tests.c, 2 times
- fs/btrfs/transaction.c, 5 times
- fs/btrfs/volumes.c, line 6120
- fs/cachefiles/interface.c, line 60
- fs/cachefiles/volume.c, line 83
- fs/crypto/keyring.c, 5 times
- fs/debugfs/inode.c, line 772
- fs/exec.c, line 1236
- fs/fuse/dax.c, 5 times
- fs/fuse/file.c, line 388
- fs/fuse/passthrough.c, line 202
- fs/lockd/host.c, 2 times
- fs/lockd/mon.c, 3 times
- fs/netfs/fscache_cookie.c, 10 times
- fs/netfs/fscache_io.c, line 124
- fs/netfs/fscache_volume.c, 5 times
- fs/netfs/internal.h, 2 times
- fs/netfs/main.c, line 68
- fs/netfs/write_collect.c, line 288
- fs/netfs/write_issue.c, line 168
- fs/nfs/client.c, line 1287
- 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 142
- include/linux/skbuff.h, 3 times
- include/net/net_namespace.h, line 289
- include/net/netfilter/nf_tables.h, line 629
- include/net/request_sock.h, line 142
- include/net/sock.h, 5 times
- include/trace/events/btrfs.h, 2 times
- include/trace/events/fscache.h, 2 times
- include/trace/events/neigh.h, 2 times
- include/trace/events/rxrpc.h, line 669
- include/trace/events/sock.h, line 121
- io_uring/notif.c, line 21
- kernel/audit_tree.c, line 1062
- kernel/bpf/bpf_struct_ops.c, line 620
- 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 2907
- kernel/sched/fair.c, 2 times
- kernel/seccomp.c, 3 times
- kernel/trace/trace.c, line 8052
- kernel/trace/trace_events.c, line 1000
- kernel/trace/trace_events_user.c, 3 times
- lib/ref_tracker.c, 2 times
- lib/stackdepot.c, line 461
- mm/page_owner.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 728
- net/bluetooth/rfcomm/core.c, line 345
- net/bluetooth/rfcomm/sock.c, line 197
- net/bridge/br_netfilter_hooks.c, line 626
- net/caif/caif_socket.c, line 1005
- 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 240
- net/core/pktgen.c, 2 times
- net/core/skbuff.c, 5 times
- net/core/sock.c, 4 times
- net/devlink/rate.c, line 548
- net/dsa/trace.h, 4 times
- net/ipv4/af_inet.c, line 154
- net/ipv4/cipso_ipv4.c, 2 times
- net/ipv4/inet_timewait_sock.c, 3 times
- net/ipv4/ip_output.c, line 1126
- net/ipv4/ping.c, 2 times
- net/ipv4/proc.c, line 63
- net/ipv4/raw.c, line 1048
- net/ipv4/tcp.c, 2 times
- net/ipv4/tcp_ipv4.c, 2 times
- net/ipv4/tcp_metrics.c, line 913
- net/ipv4/tcp_output.c, 3 times
- net/ipv4/udp.c, line 3115
- 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 1655
- 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/l2tp/l2tp_ppp.c, line 1518
- 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 88
- 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 448
- 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 452
- 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 526
- net/netfilter/nf_conntrack_standalone.c, line 369
- net/netfilter/nfnetlink_acct.c, line 174
- net/netfilter/nfnetlink_cttimeout.c, line 204
- net/netfilter/nfnetlink_log.c, line 1103
- net/netfilter/nfnetlink_queue.c, line 845
- 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, 5 times
- net/rxrpc/skbuff.c, 5 times
- net/rxrpc/txbuf.c, line 170
- net/sched/act_bpf.c, line 145
- net/sched/act_connmark.c, line 197
- net/sched/act_csum.c, line 639
- net/sched/act_ct.c, line 1531
- net/sched/act_ctinfo.c, line 288
- net/sched/act_gact.c, line 192
- net/sched/act_gate.c, line 510
- net/sched/act_ife.c, line 649
- net/sched/act_mirred.c, line 479
- 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 231
- net/sched/act_simple.c, line 178
- net/sched/act_skbedit.c, line 292
- net/sched/act_skbmod.c, line 249
- net/sched/act_tunnel_key.c, line 724
- net/sched/act_vlan.c, line 294
- net/sched/cls_api.c, line 560
- net/sched/cls_u32.c, line 685
- net/sched/em_meta.c, line 342
- net/sched/sch_api.c, line 936
- 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 9179
- 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 3037
- net/tls/tls_device.c, 2 times
- net/unix/af_unix.c, 3 times
- net/xdp/xsk_diag.c, line 67
- security/keys/gc.c, line 221
- 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 48
- tools/lib/perf/mmap.c, 2 times
- tools/lib/perf/threadmap.c, line 72
- 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/comm.c, 2 times
- tools/perf/util/map.c, line 297
- tools/perf/util/maps.c, 2 times
- tools/perf/util/namespaces.c, line 220
- tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c, line 1117