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 377 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 219
- arch/s390/kernel/perf_pai_ext.c, line 201
- 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 1253
- arch/x86/kernel/ioport.c, line 30
- block/bfq-cgroup.c, line 319
- block/blk-cgroup.c, line 1272
- block/blk-core.c, line 468
- crypto/cryptd.c, line 151
- crypto/internal.h, line 163
- drivers/acpi/thermal.c, line 809
- drivers/android/binder.c, line 5643
- drivers/base/core.c, 2 times
- drivers/base/power/runtime.c, line 300
- drivers/block/nbd.c, 6 times
- drivers/connector/connector.c, line 152
- 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 106
- drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c, line 372
- drivers/gpu/drm/omapdrm/omap_gem.c, line 818
- 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 1329
- drivers/infiniband/core/cm.c, 4 times
- drivers/infiniband/core/cma.c, 2 times
- drivers/infiniband/core/device.c, line 705
- 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 21
- drivers/infiniband/hw/irdma/cm.c, 13 times
- drivers/infiniband/hw/irdma/hw.c, line 2501
- drivers/infiniband/hw/irdma/utils.c, 3 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/infiniband/ulp/rtrs/rtrs-clt.c, 2 times
- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c, 2 times
- drivers/iommu/iommufd/device.c, 5 times
- drivers/iommu/iommufd/hw_pagetable.c, 2 times
- drivers/iommu/iommufd/main.c, line 137
- drivers/iommu/sun50i-iommu.c, line 798
- drivers/md/dm-cache-metadata.c, line 808
- drivers/md/dm-ps-io-affinity.c, line 93
- drivers/md/dm-table.c, line 388
- drivers/md/dm-thin.c, line 4140
- drivers/md/dm-zoned-target.c, 2 times
- drivers/md/dm.c, line 810
- drivers/media/common/videobuf2/videobuf2-dma-contig.c, line 522
- drivers/media/common/videobuf2/videobuf2-dma-sg.c, line 536
- drivers/media/common/videobuf2/videobuf2-vmalloc.c, line 357
- drivers/media/pci/cx88/cx88-core.c, line 1060
- drivers/media/platform/renesas/vsp1/vsp1_dl.c, line 714
- drivers/misc/lkdtm/refcount.c, 6 times
- drivers/misc/sgi-gru/grumain.c, line 896
- drivers/net/dsa/microchip/ksz_common.c, line 3666
- drivers/net/dsa/mv88e6xxx/chip.c, line 1863
- 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 509
- drivers/net/ethernet/freescale/enetc/enetc_qos.c, line 1367
- 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 3392
- 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 1804
- 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 972
- 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, 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_fid.c, 3 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_port_range.c, line 124
- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c, 3 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c, 4 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c, 2 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/netdevsim/bus.c, line 179
- drivers/net/phy/phy_device.c, line 1705
- 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 971
- drivers/pinctrl/sunxi/pinctrl-sunxi.c, line 852
- 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 755
- 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 430
- drivers/target/target_core_iblock.c, 2 times
- drivers/tee/tee_shm.c, 2 times
- drivers/tty/serial/sb1250-duart.c, line 697
- drivers/usb/gadget/function/f_fs.c, 2 times
- drivers/usb/gadget/legacy/inode.c, 2 times
- drivers/vfio/group.c, line 691
- drivers/video/fbdev/core/fbmem.c, line 48
- drivers/xen/gntdev.c, 3 times
- fs/afs/dir.c, line 943
- fs/afs/file.c, line 120
- fs/afs/internal.h, 5 times
- fs/afs/write.c, line 345
- fs/binfmt_misc.c, line 148
- fs/btrfs/backref.c, line 1457
- fs/btrfs/bio.c, line 97
- fs/btrfs/block-group.c, 6 times
- fs/btrfs/delayed-inode.c, 11 times
- fs/btrfs/delayed-ref.c, line 507
- fs/btrfs/disk-io.c, line 4873
- 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/inode.c, line 2564
- fs/btrfs/ordered-data.c, 11 times
- fs/btrfs/raid56.c, 3 times
- fs/btrfs/scrub.c, line 2855
- fs/btrfs/transaction.c, 9 times
- fs/btrfs/tree-log.c, line 4867
- fs/btrfs/volumes.c, line 5887
- fs/cachefiles/daemon.c, line 179
- fs/ceph/caps.c, 2 times
- fs/ceph/mds_client.c, line 1021
- fs/coda/file.c, line 130
- fs/crypto/keysetup.c, line 607
- fs/crypto/keysetup_v1.c, line 209
- fs/erofs/fscache.c, 6 times
- fs/eventpoll.c, line 690
- fs/ext4/page-io.c, line 319
- fs/f2fs/data.c, line 2378
- fs/fs_context.c, line 411
- fs/fuse/dax.c, 2 times
- fs/fuse/dev.c, line 69
- fs/fuse/file.c, line 94
- 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 349
- 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/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 487
- fs/nfs/pnfs.c, 2 times
- fs/nfs/pnfs.h, line 451
- fs/nfs/pnfs_nfs.c, line 798
- fs/nfsd/nfs4layouts.c, 2 times
- fs/nfsd/nfs4proc.c, 3 times
- fs/nfsd/nfs4state.c, 11 times
- fs/nfsd/state.h, line 713
- fs/notify/group.c, line 101
- fs/notify/mark.c, line 97
- fs/proc/internal.h, line 197
- fs/userfaultfd.c, line 208
- include/linux/atmdev.h, line 273
- include/linux/cgroup.h, line 804
- 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 177
- include/linux/mroute_base.h, line 170
- include/linux/netdevice.h, line 4097
- include/linux/netfilter/nf_conntrack_common.h, line 42
- include/linux/nsproxy.h, line 111
- include/linux/pid.h, line 88
- include/linux/pid_namespace.h, line 54
- include/linux/posix_acl.h, line 47
- include/linux/sched/task.h, line 116
- include/linux/skbuff.h, 3 times
- include/linux/time_namespace.h, line 38
- 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 521
- include/net/ip6_fib.h, line 326
- include/net/ip_fib.h, line 576
- 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 260
- 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 777
- include/net/x25.h, 2 times
- include/net/xfrm.h, 2 times
- include/sound/hda_codec.h, line 430
- io_uring/io-wq.c, line 1155
- io_uring/io_uring.c, line 4388
- io_uring/sqpoll.c, line 127
- ipc/sem.c, line 2315
- kernel/audit_tree.c, line 113
- 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 976
- kernel/fork.c, 2 times
- kernel/kcov.c, line 422
- kernel/padata.c, line 209
- kernel/sched/core.c, line 3001
- kernel/sched/core_sched.c, line 38
- kernel/seccomp.c, 2 times
- kernel/trace/trace.c, line 8412
- 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 2204
- net/core/flow_offload.c, line 440
- net/core/net-sysfs.c, line 1880
- net/core/netpoll.c, line 660
- net/core/page_pool.c, line 898
- net/core/pktgen.c, line 3551
- net/core/skbuff.c, line 2121
- net/dccp/ipv6.c, line 375
- 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/inet_timewait_sock.c, line 274
- net/ipv4/ip_fragment.c, line 254
- net/ipv4/tcp.c, line 4520
- net/ipv4/tcp_ao.c, line 310
- net/ipv6/anycast.c, line 242
- net/ipv6/calipso.c, 2 times
- net/ipv6/mcast.c, 3 times
- net/ipv6/syncookies.c, line 196
- net/ipv6/tcp_ipv6.c, line 814
- net/ipv6/xfrm6_tunnel.c, line 171
- 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/nf_tables_api.c, line 9606
- 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/act_ct.c, line 364
- net/sched/cls_api.c, 2 times
- net/sched/cls_flower.c, 2 times
- net/sched/sch_taprio.c, line 1391
- 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 9030
- 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 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 1641
- net/xdp/xdp_umem.c, line 76
- net/xdp/xsk_buff_pool.c, 2 times
- rust/helpers.c, line 90
- security/keys/key.c, 2 times
- security/landlock/object.h, line 88
- security/landlock/ruleset.c, line 311
- security/landlock/ruleset.h, line 256
- sound/core/pcm_native.c, 2 times
- sound/pci/hda/hda_codec.c, line 733
- sound/virtio/virtio_ctl_msg.c, line 35
- tools/lib/perf/cpumap.c, line 54
- 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 1396
- tools/perf/util/kvm-stat.h, line 156
- tools/perf/util/map.h, line 181
- tools/perf/util/maps.c, line 186
- tools/perf/util/namespaces.c, line 231
- tools/perf/util/symbol.c, line 2788
- tools/perf/util/thread.c, line 136
- tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c, line 389
- virt/kvm/kvm_main.c, line 1349