Loading...
Documented in 1 files:
Defined in 2 files as a function:
- include/linux/refcount.h, line 256 (as a function)
- tools/include/linux/refcount.h, line 107 (as a function)
Referenced in 400 files:
- arch/s390/kernel/debug.c, line 367
- arch/s390/kernel/perf_cpum_cf.c, line 261
- arch/s390/kernel/perf_pai_crypto.c, line 208
- arch/s390/kernel/perf_pai_ext.c, line 207
- arch/s390/mm/extmem.c, line 428
- arch/s390/mm/gmap.c, 2 times
- arch/sparc/kernel/mdesc.c, line 265
- arch/x86/kernel/cpu/mce/amd.c, line 1245
- arch/x86/kernel/ioport.c, line 30
- block/bfq-cgroup.c, line 319
- block/blk-cgroup.c, line 1310
- block/blk-core.c, line 470
- crypto/cryptd.c, line 151
- crypto/internal.h, line 166
- drivers/acpi/thermal.c, line 810
- drivers/android/binder.c, line 5738
- drivers/base/core.c, 2 times
- drivers/base/power/runtime.c, line 302
- drivers/block/nbd.c, 6 times
- drivers/connector/connector.c, line 151
- drivers/crypto/caam/qi.c, line 127
- drivers/crypto/cavium/nitrox/nitrox_main.c, line 284
- drivers/dma/mediatek/mtk-cqdma.c, line 647
- drivers/dma/mediatek/mtk-hsdma.c, line 827
- drivers/dpll/dpll_core.c, 7 times
- 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/nouveau/nvkm/engine/fifo/cgrp.c, 2 times
- drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c, line 105
- drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c, line 373
- drivers/gpu/drm/omapdrm/omap_gem.c, line 825
- drivers/gpu/drm/v3d/v3d_perfmon.c, line 201
- 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 1349
- drivers/infiniband/core/cm.c, 4 times
- drivers/infiniband/core/cma.c, 2 times
- drivers/infiniband/core/device.c, line 711
- 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 492
- 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 21
- drivers/infiniband/hw/irdma/cm.c, 13 times
- drivers/infiniband/hw/irdma/hw.c, line 2509
- drivers/infiniband/hw/irdma/utils.c, 3 times
- drivers/infiniband/hw/irdma/verbs.c, 2 times
- drivers/infiniband/hw/mana/mana_ib.h, line 349
- 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 1459
- drivers/infiniband/ulp/rtrs/rtrs-clt.c, 2 times
- drivers/iommu/iommu-sva.c, line 100
- drivers/iommu/iommufd/device.c, 5 times
- drivers/iommu/iommufd/fault.c, line 395
- drivers/iommu/iommufd/hw_pagetable.c, 3 times
- drivers/iommu/iommufd/main.c, line 137
- drivers/iommu/sun50i-iommu.c, line 809
- drivers/md/dm-cache-metadata.c, line 808
- drivers/md/dm-ps-io-affinity.c, line 93
- drivers/md/dm-table.c, line 409
- drivers/md/dm-thin.c, line 4138
- drivers/md/dm-zoned-target.c, 2 times
- drivers/md/dm.c, line 820
- drivers/media/common/videobuf2/videobuf2-dma-contig.c, line 522
- drivers/media/common/videobuf2/videobuf2-dma-sg.c, line 542
- drivers/media/common/videobuf2/videobuf2-vmalloc.c, line 357
- drivers/media/pci/cx88/cx88-core.c, line 1060
- drivers/media/pci/intel/ipu6/ipu6-isys-mcd-phy.c, line 692
- drivers/media/platform/renesas/vsp1/vsp1_dl.c, line 714
- drivers/media/rc/imon.c, line 2458
- drivers/media/usb/s2255/s2255drv.c, 2 times
- drivers/misc/lkdtm/refcount.c, 6 times
- drivers/misc/sgi-gru/grumain.c, line 896
- drivers/net/dsa/microchip/ksz_common.c, line 3843
- drivers/net/dsa/mv88e6xxx/chip.c, line 2059
- 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 510
- drivers/net/ethernet/freescale/enetc/enetc_qos.c, line 1367
- drivers/net/ethernet/intel/ice/ice_adapter.c, line 74
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c, line 522
- 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 3427
- 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 184
- drivers/net/ethernet/mellanox/mlx5/core/en/mod_hdr.c, line 62
- drivers/net/ethernet/mellanox/mlx5/core/en/rss.c, line 427
- drivers/net/ethernet/mellanox/mlx5/core/en/tc/int_port.c, line 116
- drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c, line 1826
- drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c, line 1277
- drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_rx.c, line 74
- drivers/net/ethernet/mellanox/mlx5/core/en_tc.c, line 971
- 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/lib/macsec_fs.c, line 713
- drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c, 9 times
- drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c, line 576
- drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c, line 997
- drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ptrn.c, line 171
- drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c, 2 times
- drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c, 4 times
- drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c, line 360
- drivers/net/ethernet/mellanox/mlxsw/spectrum.c, 3 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c, line 226
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c, line 239
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c, 2 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c, 3 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_port_range.c, line 124
- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c, 5 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c, 4 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c, 3 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 804
- drivers/net/ipa/gsi_trans.c, line 618
- drivers/net/netdevsim/bus.c, line 179
- drivers/net/phy/phy_device.c, line 1732
- drivers/net/ppp/ppp_async.c, line 140
- 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/intel/iwlwifi/pcie/tx.c, line 1807
- drivers/pci/controller/pci-hyperv.c, line 965
- drivers/pinctrl/sunxi/pinctrl-sunxi.c, line 852
- drivers/s390/char/vmur.c, line 135
- drivers/s390/net/ctcm_fsms.c, line 1785
- drivers/s390/net/ctcm_main.c, 6 times
- drivers/s390/net/lcs.c, line 753
- 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 431
- drivers/target/target_core_iblock.c, 2 times
- drivers/tee/tee_shm.c, 2 times
- drivers/tty/serial/sb1250-duart.c, line 698
- drivers/usb/gadget/function/f_fs.c, 2 times
- drivers/usb/gadget/legacy/inode.c, 2 times
- drivers/vdpa/mlx5/core/mr.c, line 540
- drivers/vfio/group.c, line 698
- drivers/video/fbdev/core/fbmem.c, line 48
- drivers/xen/gntdev.c, 3 times
- fs/afs/dir.c, line 951
- fs/afs/file.c, line 115
- fs/afs/internal.h, 4 times
- fs/afs/write.c, line 54
- fs/binfmt_misc.c, line 148
- fs/btrfs/backref.c, line 1448
- fs/btrfs/bio.c, line 96
- fs/btrfs/block-group.c, 6 times
- fs/btrfs/delayed-inode.c, 11 times
- fs/btrfs/delayed-ref.c, line 440
- fs/btrfs/direct-io.c, line 666
- fs/btrfs/disk-io.c, line 4848
- fs/btrfs/extent-io-tree.c, 4 times
- fs/btrfs/extent-tree.c, 3 times
- fs/btrfs/extent_io.c, 2 times
- fs/btrfs/extent_map.c, 3 times
- fs/btrfs/ordered-data.c, 11 times
- fs/btrfs/raid56.c, 3 times
- fs/btrfs/scrub.c, line 2882
- fs/btrfs/super.c, line 2147
- fs/btrfs/transaction.c, 9 times
- fs/btrfs/tree-log.c, line 4963
- fs/btrfs/volumes.c, 3 times
- fs/cachefiles/ondemand.c, line 432
- fs/ceph/caps.c, 2 times
- fs/ceph/mds_client.c, line 1021
- fs/coda/file.c, line 128
- fs/crypto/keysetup.c, line 607
- fs/crypto/keysetup_v1.c, line 209
- fs/erofs/fscache.c, 5 times
- fs/eventpoll.c, line 772
- fs/ext4/page-io.c, line 318
- fs/f2fs/data.c, line 2327
- fs/fs_context.c, line 411
- fs/fuse/dax.c, 2 times
- fs/fuse/dev.c, line 69
- fs/fuse/file.c, line 89
- fs/fuse/inode.c, 2 times
- fs/lockd/clntproc.c, 3 times
- fs/lockd/host.c, 3 times
- fs/lockd/mon.c, 2 times
- fs/lockd/svclock.c, line 350
- fs/mnt_idmapping.c, line 300
- fs/mount.h, line 121
- fs/namespace.c, 2 times
- fs/netfs/internal.h, line 186
- fs/nfs/cache_lib.c, line 90
- fs/nfs/client.c, 3 times
- fs/nfs/delegation.c, line 52
- fs/nfs/filelayout/filelayout.c, 3 times
- fs/nfs/flexfilelayout/flexfilelayout.c, 3 times
- fs/nfs/fscache.h, line 58
- fs/nfs/nfs4client.c, 5 times
- fs/nfs/nfs4proc.c, 5 times
- fs/nfs/nfs4state.c, 5 times
- fs/nfs/pagelist.c, line 391
- fs/nfs/pnfs.c, 2 times
- fs/nfs/pnfs.h, line 458
- fs/nfs/pnfs_nfs.c, line 751
- fs/nfsd/nfs4layouts.c, 2 times
- fs/nfsd/nfs4proc.c, 3 times
- fs/nfsd/nfs4state.c, 14 times
- fs/nfsd/state.h, line 754
- fs/nilfs2/the_nilfs.c, 2 times
- fs/nilfs2/the_nilfs.h, line 292
- fs/notify/group.c, line 101
- fs/notify/mark.c, line 97
- fs/proc/internal.h, line 230
- fs/userfaultfd.c, line 169
- include/linux/atmdev.h, line 273
- include/linux/cgroup.h, line 803
- include/linux/cred.h, line 43
- 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 178
- include/linux/mroute_base.h, line 170
- include/linux/netdevice.h, line 4037
- include/linux/netfilter/nf_conntrack_common.h, line 42
- include/linux/nsproxy.h, line 123
- include/linux/pid.h, line 84
- include/linux/pid_namespace.h, line 54
- include/linux/posix_acl.h, line 47
- include/linux/sched/task.h, line 118
- include/linux/skbuff.h, 3 times
- include/linux/time_namespace.h, line 41
- include/linux/user_events.h, line 47
- include/linux/user_namespace.h, line 162
- 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/ip.h, line 526
- include/net/ip6_fib.h, line 331
- include/net/ip_fib.h, line 606
- include/net/ip_vs.h, line 1555
- include/net/llc.h, line 119
- include/net/neighbour.h, 3 times
- include/net/net_namespace.h, line 258
- include/net/netrom.h, 2 times
- include/net/sch_generic.h, line 140
- include/net/sctp/auth.h, line 67
- include/net/sock.h, line 779
- include/net/x25.h, 2 times
- include/net/xfrm.h, 2 times
- include/sound/hda_codec.h, line 427
- io_uring/io-wq.c, line 1161
- io_uring/register.c, line 276
- io_uring/sqpoll.c, line 129
- ipc/sem.c, line 2315
- kernel/audit_tree.c, line 113
- kernel/audit_watch.c, line 102
- kernel/bpf/btf.c, 2 times
- kernel/bpf/cpumask.c, line 77
- kernel/bpf/dispatcher.c, line 53
- kernel/bpf/trampoline.c, line 144
- kernel/cgroup/cgroup-internal.h, line 218
- kernel/events/core.c, line 1164
- kernel/events/uprobes.c, line 592
- kernel/exit.c, line 989
- kernel/fork.c, 2 times
- kernel/kcov.c, line 422
- kernel/padata.c, line 209
- kernel/sched/core.c, line 2828
- kernel/sched/core_sched.c, line 38
- kernel/seccomp.c, 2 times
- kernel/trace/trace.c, line 8057
- kernel/trace/trace_events_user.c, 3 times
- kernel/user.c, line 137
- 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 1912
- net/ceph/osd_client.c, line 3178
- net/ceph/snapshot.c, line 49
- net/core/datagram.c, line 196
- net/core/dev.c, line 2236
- net/core/flow_offload.c, line 440
- net/core/net-sysfs.c, line 1972
- net/core/netpoll.c, line 660
- net/core/page_pool.c, line 1039
- net/core/pktgen.c, line 3551
- net/core/skbuff.c, 2 times
- net/dccp/ipv6.c, line 377
- net/devlink/core.c, line 61
- net/devlink/rate.c, 3 times
- net/dsa/port.c, 2 times
- net/dsa/switch.c, 4 times
- net/dsa/tag_8021q.c, 2 times
- net/ipv4/cipso_ipv4.c, 2 times
- net/ipv4/fib_semantics.c, 2 times
- net/ipv4/fib_trie.c, line 1624
- net/ipv4/inet_fragment.c, line 204
- net/ipv4/inet_timewait_sock.c, line 304
- net/ipv4/ip_fragment.c, line 254
- net/ipv4/tcp.c, line 4628
- net/ipv4/tcp_ao.c, line 311
- net/ipv6/anycast.c, line 242
- net/ipv6/calipso.c, 2 times
- net/ipv6/mcast.c, 3 times
- net/ipv6/syncookies.c, line 211
- net/ipv6/tcp_ipv6.c, line 812
- net/ipv6/xfrm6_tunnel.c, line 171
- net/l2tp/l2tp_core.c, 3 times
- net/lapb/lapb_iface.c, line 52
- net/mctp/device.c, line 310
- net/mctp/route.c, 5 times
- net/mctp/test/route-test.c, 2 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/nf_tables_api.c, line 9901
- 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, line 664
- net/sched/act_ct.c, line 370
- net/sched/cls_api.c, 2 times
- net/sched/cls_flower.c, 2 times
- net/sched/cls_u32.c, 4 times
- net/sched/sch_taprio.c, line 1379
- net/sctp/associola.c, line 860
- 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 9044
- net/smc/smc_core.c, 2 times
- net/smc/smc_ism.c, line 148
- net/smc/smc_pnet.c, line 757
- net/sunrpc/auth.c, line 555
- 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_tls.c, line 76
- net/sunrpc/auth_unix.c, line 31
- net/sunrpc/clnt.c, 2 times
- net/unix/af_unix.c, line 1682
- net/xdp/xdp_umem.c, line 76
- net/xdp/xsk_buff_pool.c, 2 times
- rust/helpers.c, line 126
- security/keys/key.c, 2 times
- security/landlock/object.h, line 88
- security/landlock/ruleset.c, line 307
- security/landlock/ruleset.h, line 256
- sound/core/pcm_native.c, 2 times
- sound/pci/hda/hda_codec.c, line 731
- sound/virtio/virtio_ctl_msg.c, line 35
- tools/lib/perf/cpumap.c, line 59
- tools/lib/perf/mmap.c, line 72
- tools/lib/perf/threadmap.c, line 83
- tools/perf/util/cgroup.c, 2 times
- tools/perf/util/dso.c, line 1515
- tools/perf/util/kvm-stat.h, line 156
- tools/perf/util/map.h, line 187
- tools/perf/util/maps.c, line 267
- tools/perf/util/mem-info.c, line 10
- tools/perf/util/namespaces.c, line 231
- tools/perf/util/thread.c, line 132
- tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c, line 582
- virt/kvm/kvm_main.c, line 1369