Loading...
Documented in 1 files:
Defined in 2 files as a function:
- include/linux/refcount.h, line 323 (as a function)
- tools/include/linux/refcount.h, line 146 (as a function)
Referenced in 398 files:
- arch/arm64/mm/context.c, line 329
- arch/s390/kernel/debug.c, line 378
- arch/s390/kernel/perf_cpum_cf.c, 3 times
- arch/s390/kernel/perf_pai_crypto.c, 2 times
- arch/s390/kernel/perf_pai_ext.c, 2 times
- arch/s390/mm/extmem.c, line 550
- arch/s390/mm/gmap.c, line 243
- arch/sparc/kernel/mdesc.c, 2 times
- arch/x86/kernel/cpu/mce/amd.c, line 1330
- arch/x86/kernel/ioport.c, line 58
- arch/x86/kvm/mmu/tdp_mmu.c, line 78
- block/bfq-cgroup.c, line 324
- block/blk-cgroup.c, line 1328
- block/blk-core.c, line 288
- crypto/api.c, line 658
- crypto/cryptd.c, 6 times
- crypto/internal.h, line 169
- drivers/android/binder.c, line 4926
- drivers/android/binderfs.c, line 272
- drivers/block/nbd.c, line 274
- drivers/block/rnbd/rnbd-clt.c, 2 times
- drivers/connector/cn_queue.c, line 47
- drivers/crypto/cavium/nitrox/nitrox_main.c, line 531
- drivers/dma/mediatek/mtk-cqdma.c, line 668
- drivers/dma/mediatek/mtk-hsdma.c, line 841
- drivers/dpll/dpll_core.c, 4 times
- drivers/firewire/core.h, line 206
- drivers/firmware/arm_scmi/driver.c, 2 times
- drivers/firmware/arm_scmi/notify.c, 2 times
- drivers/firmware/arm_scmi/virtio.c, 2 times
- drivers/gpu/drm/drm_connector.c, line 813
- drivers/gpu/drm/i915/gt/intel_gt_requests.c, line 186
- drivers/gpu/drm/i915/gt/intel_timeline.c, line 479
- drivers/gpu/drm/i915/i915_vma_resource.c, line 107
- drivers/gpu/drm/nouveau/nvkm/core/memory.c, line 37
- drivers/gpu/drm/nouveau/nvkm/engine/fifo/cgrp.c, 2 times
- drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c, line 89
- drivers/gpu/drm/omapdrm/omap_gem.c, line 852
- drivers/gpu/drm/vc4/vc4_bo.c, line 674
- drivers/gpu/drm/vc4/vc4_perfmon.c, line 43
- drivers/hwtracing/coresight/coresight-tmc-etr.c, line 1472
- drivers/infiniband/core/cm.c, line 272
- drivers/infiniband/core/cma.c, 2 times
- drivers/infiniband/core/device.c, 2 times
- drivers/infiniband/core/iwcm.c, line 213
- drivers/infiniband/core/mad.c, line 481
- drivers/infiniband/core/mad_rmpp.c, line 75
- drivers/infiniband/core/multicast.c, 2 times
- drivers/infiniband/core/ucma.c, line 154
- drivers/infiniband/core/uverbs_main.c, 4 times
- drivers/infiniband/hw/cxgb4/cq.c, line 972
- drivers/infiniband/hw/cxgb4/qp.c, line 902
- drivers/infiniband/hw/hfi1/file_ops.c, 2 times
- drivers/infiniband/hw/hfi1/init.c, line 1702
- drivers/infiniband/hw/hns/hns_roce_cq.c, 2 times
- drivers/infiniband/hw/hns/hns_roce_qp.c, 3 times
- drivers/infiniband/hw/hns/hns_roce_srq.c, 2 times
- drivers/infiniband/hw/irdma/cm.c, 3 times
- drivers/infiniband/hw/irdma/utils.c, 3 times
- drivers/infiniband/hw/irdma/verbs.c, line 4559
- drivers/infiniband/hw/mlx5/mlx5_ib.h, line 1604
- drivers/infiniband/hw/mlx5/qpc.c, line 34
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c, line 227
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c, 4 times
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c, line 439
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c, line 224
- drivers/infiniband/ulp/ipoib/ipoib.h, line 470
- drivers/infiniband/ulp/rtrs/rtrs-clt.c, 2 times
- drivers/infiniband/ulp/rtrs/rtrs-srv.c, line 1442
- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c, line 339
- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c, line 1415
- drivers/iommu/io-pgfault.c, line 38
- drivers/iommu/iommu-sva.c, line 155
- drivers/iommu/iommufd/iommufd_private.h, line 171
- drivers/iommu/iommufd/main.c, line 127
- drivers/iommu/sun50i-iommu.c, line 772
- drivers/irqchip/irq-gic-v3.c, line 588
- drivers/md/bcache/bcache.h, line 896
- drivers/md/dm-cache-metadata.c, line 879
- drivers/md/dm-ps-io-affinity.c, 2 times
- drivers/md/dm-table.c, line 454
- drivers/md/dm-thin.c, line 4149
- drivers/md/dm-zoned-target.c, 2 times
- drivers/md/dm.c, line 832
- drivers/media/common/videobuf2/videobuf2-dma-contig.c, line 171
- drivers/media/common/videobuf2/videobuf2-dma-sg.c, line 185
- drivers/media/common/videobuf2/videobuf2-vmalloc.c, line 67
- drivers/media/pci/cx88/cx88-core.c, line 1081
- drivers/media/platform/renesas/vsp1/vsp1_dl.c, line 360
- drivers/misc/lkdtm/refcount.c, 3 times
- drivers/misc/sgi-gru/grumain.c, line 281
- drivers/net/dsa/microchip/ksz_common.c, line 3806
- drivers/net/dsa/mv88e6xxx/chip.c, line 2012
- drivers/net/dsa/ocelot/felix_vsc9959.c, 2 times
- drivers/net/dsa/qca/qca8k-8xxx.c, line 1676
- drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c, line 180
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c, 2 times
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c, 2 times
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c, line 717
- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c, line 608
- drivers/net/ethernet/freescale/enetc/enetc_qos.c, 3 times
- drivers/net/ethernet/marvell/prestera/prestera_acl.c, 2 times
- drivers/net/ethernet/marvell/prestera/prestera_counter.c, line 77
- drivers/net/ethernet/marvell/prestera/prestera_router_hw.c, 2 times
- drivers/net/ethernet/marvell/prestera/prestera_span.c, line 112
- drivers/net/ethernet/marvell/prestera/prestera_switchdev.c, line 601
- drivers/net/ethernet/mediatek/mtk_eth_soc.c, line 3478
- drivers/net/ethernet/mellanox/mlx4/cq.c, 2 times
- drivers/net/ethernet/mellanox/mlx4/qp.c, line 51
- drivers/net/ethernet/mellanox/mlx4/srq.c, 2 times
- drivers/net/ethernet/mellanox/mlx5/core/cmd.c, line 193
- drivers/net/ethernet/mellanox/mlx5/core/en/mapping.c, line 251
- drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c, line 57
- drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c, 4 times
- drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c, 6 times
- drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_rx.c, line 65
- drivers/net/ethernet/mellanox/mlx5/core/en_tc.c, 2 times
- drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c, line 180
- drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c, line 631
- drivers/net/ethernet/mellanox/mlx5/core/fs_core.c, 2 times
- drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c, line 677
- drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ptrn.c, line 191
- drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c, 4 times
- drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c, line 369
- drivers/net/ethernet/mellanox/mlxsw/spectrum.c, 4 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c, line 232
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c, line 250
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c, line 471
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c, 2 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c, line 2071
- drivers/net/ethernet/mellanox/mlxsw/spectrum_port_range.c, line 147
- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c, 7 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 241
- drivers/net/ethernet/mscc/ocelot.c, 2 times
- drivers/net/ethernet/mscc/ocelot_vcap.c, line 938
- drivers/net/ethernet/sfc/tc.c, 3 times
- drivers/net/ethernet/sfc/tc_conntrack.c, line 608
- drivers/net/ethernet/sfc/tc_counters.c, line 214
- drivers/net/ethernet/sfc/tc_encap_actions.c, 4 times
- drivers/net/hamradio/6pack.c, 2 times
- drivers/net/hamradio/mkiss.c, 2 times
- drivers/net/macsec.c, 3 times
- drivers/net/netdevsim/bus.c, 2 times
- drivers/net/ppp/ppp_async.c, 2 times
- drivers/net/ppp/ppp_generic.c, 8 times
- drivers/net/ppp/ppp_synctty.c, 2 times
- drivers/net/vxlan/vxlan_core.c, line 1510
- drivers/nvme/host/rdma.c, line 1164
- drivers/pci/controller/pci-hyperv.c, line 970
- drivers/perf/alibaba_uncore_drw_pmu.c, line 519
- drivers/perf/arm_dmc620_pmu.c, line 499
- drivers/pinctrl/sunxi/pinctrl-sunxi.c, line 891
- drivers/s390/char/vmur.c, line 168
- drivers/s390/net/lcs.c, line 759
- drivers/s390/net/qeth_core_main.c, line 421
- drivers/s390/net/qeth_l2_main.c, line 920
- drivers/scsi/libfc/fc_fcp.c, line 160
- drivers/scsi/libiscsi.c, 2 times
- drivers/staging/vme_user/vme_user.c, line 438
- drivers/target/target_core_iblock.c, line 323
- drivers/tee/tee_shm.c, line 502
- drivers/tty/serial/sb1250-duart.c, 2 times
- drivers/usb/gadget/function/f_fs.c, line 2145
- drivers/usb/gadget/legacy/inode.c, 2 times
- drivers/vdpa/mlx5/core/mr.c, line 522
- drivers/vfio/vfio_main.c, line 165
- drivers/video/fbdev/core/fbmem.c, line 56
- drivers/xen/gntdev.c, 2 times
- fs/afs/file.c, 2 times
- fs/afs/proc.c, line 632
- fs/afs/security.c, line 96
- fs/afs/server_list.c, line 16
- fs/afs/vl_list.c, 2 times
- fs/aio.c, line 1214
- fs/backing-file.c, line 77
- fs/bcachefs/bcachefs.h, line 1195
- fs/binfmt_misc.c, line 163
- fs/btrfs/block-group.c, 2 times
- fs/btrfs/delayed-inode.c, 8 times
- fs/btrfs/delayed-ref.c, line 1271
- fs/btrfs/delayed-ref.h, line 355
- fs/btrfs/disk-io.c, line 1852
- fs/btrfs/extent-io-tree.c, line 194
- fs/btrfs/extent_map.c, line 64
- fs/btrfs/ordered-data.c, line 556
- fs/btrfs/raid56.c, line 89
- fs/btrfs/scrub.c, line 338
- fs/btrfs/super.c, line 2111
- fs/btrfs/transaction.c, line 142
- fs/btrfs/volumes.c, line 6141
- fs/btrfs/volumes.h, line 593
- fs/cachefiles/daemon.c, line 172
- fs/cachefiles/io.c, line 35
- fs/cachefiles/ondemand.c, line 14
- fs/ceph/mds_client.c, line 922
- fs/ceph/super.h, line 252
- fs/coda/file.c, line 143
- fs/crypto/keyring.c, 2 times
- fs/debugfs/file.c, line 148
- fs/debugfs/inode.c, line 755
- fs/erofs/fscache.c, 4 times
- fs/eventpoll.c, line 780
- fs/ext4/page-io.c, 2 times
- fs/f2fs/compress.c, line 1727
- fs/fs_context.c, line 494
- fs/fuse/dax.c, 2 times
- fs/fuse/dev.c, line 162
- fs/fuse/file.c, line 104
- fs/fuse/inode.c, 2 times
- fs/fuse/passthrough.c, line 162
- fs/lockd/clntproc.c, line 231
- fs/lockd/svcproc.c, line 312
- fs/mnt_idmapping.c, line 315
- fs/namespace.c, line 5199
- fs/netfs/internal.h, line 181
- fs/nfs/cache_lib.c, line 70
- fs/nfs/delegation.c, line 58
- fs/nfs/flexfilelayout/flexfilelayout.c, line 254
- fs/nfs/fscache.h, line 66
- fs/nfs/inode.c, line 1073
- fs/nfs/pnfs.c, line 644
- fs/nfs/pnfs_nfs.c, line 186
- fs/nfsd/filecache.c, 6 times
- fs/nfsd/nfs4proc.c, line 1289
- fs/nfsd/nfs4state.c, 3 times
- fs/notify/group.c, line 109
- fs/notify/mark.c, line 302
- fs/proc/generic.c, line 676
- fs/userfaultfd.c, line 181
- fs/xfs/xfs_attr_item.c, line 68
- include/linux/atmdev.h, line 279
- include/linux/cgroup.h, line 809
- include/linux/cred.h, line 53
- include/linux/inetdevice.h, line 280
- include/linux/kref.h, line 64
- include/linux/mlx5/cq.h, line 182
- include/linux/mroute_base.h, line 164
- include/linux/netfilter/nf_conntrack_common.h, line 36
- include/linux/nsproxy.h, line 106
- include/linux/posix_acl.h, line 57
- include/linux/sched/task.h, line 127
- include/linux/shrinker.h, line 146
- include/linux/skbuff.h, line 1220
- include/linux/skmsg.h, line 458
- include/linux/time_namespace.h, line 54
- include/linux/user_namespace.h, line 172
- include/linux/utsname.h, line 44
- include/net/9p/client.h, line 275
- include/net/addrconf.h, 2 times
- include/net/ax25.h, 3 times
- include/net/bluetooth/rfcomm.h, line 256
- include/net/fib_rules.h, line 112
- include/net/inet_frag.h, line 150
- include/net/ip.h, 2 times
- include/net/ip6_fib.h, line 341
- include/net/ip_fib.h, line 582
- include/net/ip_vs.h, line 1566
- include/net/ipv6.h, line 403
- include/net/llc.h, line 131
- include/net/neighbour.h, line 444
- include/net/net_namespace.h, line 277
- include/net/netfilter/nf_conntrack.h, line 185
- include/net/netlabel.h, line 297
- include/net/netrom.h, 2 times
- include/net/nexthop.h, line 269
- include/net/page_pool/helpers.h, line 400
- include/net/request_sock.h, line 178
- include/net/sock.h, line 1949
- include/net/x25.h, 2 times
- include/net/xfrm.h, 3 times
- io_uring/io-wq.c, line 151
- io_uring/notif.c, line 33
- io_uring/notif.h, line 36
- io_uring/sqpoll.c, line 71
- ipc/sem.c, line 2344
- ipc/util.c, line 536
- kernel/audit_tree.c, line 118
- kernel/bpf/btf.c, line 1760
- kernel/bpf/cpumask.c, line 91
- kernel/bpf/dispatcher.c, line 80
- kernel/bpf/helpers.c, line 1933
- kernel/bpf/trampoline.c, line 809
- kernel/cgroup/cgroup.c, line 933
- kernel/events/core.c, 2 times
- kernel/events/ring_buffer.c, line 772
- kernel/events/uprobes.c, line 598
- kernel/exit.c, line 234
- kernel/fork.c, 3 times
- kernel/futex/pi.c, line 83
- kernel/kcov.c, line 427
- kernel/padata.c, 2 times
- kernel/pid.c, line 120
- kernel/pid_namespace.c, line 162
- kernel/sched/core.c, line 3096
- kernel/sched/core_sched.c, line 27
- kernel/sched/fair.c, line 2925
- kernel/seccomp.c, 2 times
- kernel/trace/trace.c, line 8028
- kernel/trace/trace_events_user.c, 4 times
- kernel/user_namespace.c, line 225
- lib/objpool.c, line 276
- lib/refcount.c, 3 times
- lib/stackdepot.c, line 741
- net/9p/client.c, line 403
- net/atm/lec.c, line 113
- net/atm/mpoa_caches.c, 2 times
- net/bridge/br_vlan.c, line 206
- net/ceph/osd_client.c, line 1317
- net/ceph/pagelist.c, line 40
- net/ceph/snapshot.c, line 58
- net/core/dev.c, line 3135
- net/core/dst.c, line 196
- net/core/filter.c, line 1206
- net/core/flow_offload.c, line 495
- net/core/neighbour.c, line 881
- net/core/net_namespace.c, line 461
- net/core/netpoll.c, line 831
- net/core/skbuff.c, 3 times
- net/core/sock.c, line 2244
- net/devlink/core.c, 2 times
- net/dsa/port.c, 2 times
- net/dsa/switch.c, 4 times
- net/dsa/tag_8021q.c, line 195
- net/ipv4/cipso_ipv4.c, line 581
- net/ipv4/igmp.c, line 169
- net/ipv4/inet_fragment.c, 2 times
- net/ipv4/inet_hashtables.c, line 473
- net/ipv4/inet_timewait_sock.c, line 84
- net/ipv4/inetpeer.c, line 244
- net/ipv4/tcp_ao.c, line 283
- net/ipv4/tcp_ipv4.c, line 3523
- net/ipv6/anycast.c, line 255
- net/ipv6/calipso.c, line 507
- net/ipv6/mcast.c, line 867
- net/ipv6/xfrm6_tunnel.c, line 200
- net/l2tp/l2tp_core.c, 2 times
- net/lapb/lapb_iface.c, line 57
- net/mctp/device.c, line 315
- net/mctp/route.c, 2 times
- net/netfilter/nf_conntrack_expect.c, line 380
- net/netfilter/nf_tables_api.c, line 5322
- net/netfilter/nfnetlink_acct.c, 2 times
- net/netfilter/nfnetlink_cttimeout.c, 2 times
- net/netfilter/nfnetlink_log.c, line 162
- net/netlink/af_netlink.c, line 735
- net/packet/af_packet.c, line 1834
- net/rds/ib.c, line 124
- net/rds/message.c, line 177
- net/rds/recv.c, line 80
- net/sched/act_api.c, 2 times
- net/sched/act_ct.c, line 393
- net/sched/cls_api.c, line 429
- net/sched/cls_flower.c, 2 times
- net/sched/cls_u32.c, 4 times
- net/sched/sch_generic.c, line 1098
- net/sched/sch_taprio.c, line 1392
- net/sctp/associola.c, line 868
- net/sctp/auth.c, 2 times
- net/sctp/chunk.c, line 127
- net/sctp/sm_make_chunk.c, line 1529
- net/sctp/transport.c, line 483
- net/smc/smc_core.c, 2 times
- net/smc/smc_ism.c, line 178
- net/smc/smc_pnet.c, line 779
- net/sunrpc/auth.c, 3 times
- net/sunrpc/auth_gss/auth_gss.c, 2 times
- net/sunrpc/clnt.c, line 1032
- net/tipc/bearer.c, line 392
- net/tipc/crypto.c, line 398
- net/tls/tls_device.c, 2 times
- net/unix/af_unix.c, line 260
- net/xdp/xdp_umem.c, line 84
- net/xdp/xsk_buff_pool.c, 2 times
- rust/helpers.c, line 96
- security/keys/key.c, line 649
- security/keys/keyring.c, line 240
- security/landlock/ruleset.c, 3 times
- sound/core/pcm_native.c, 2 times
- sound/pci/hda/hda_bind.c, line 162
- sound/pci/hda/hda_codec.c, line 708
- sound/virtio/virtio_ctl_msg.c, line 48
- tools/lib/perf/cpumap.c, line 63
- tools/lib/perf/mmap.c, line 79
- tools/lib/perf/threadmap.c, line 89
- tools/perf/builtin-stat.c, line 1664
- tools/perf/util/block-info.c, line 55
- tools/perf/util/cgroup.c, line 189
- tools/perf/util/comm.c, line 32
- tools/perf/util/dso.c, line 1406
- tools/perf/util/kvm-stat.h, line 162
- tools/perf/util/map.c, line 311
- tools/perf/util/maps.c, line 284
- tools/perf/util/namespaces.c, line 238
- tools/perf/util/symbol.c, line 2587
- tools/perf/util/thread.c, line 139
- virt/kvm/kvm_main.c, 3 times