Loading...
Defined in 3 files as a typedef:
- include/linux/refcount.h, line 113 (as a typedef)
- tools/include/linux/refcount.h, line 54 (as a typedef)
- tools/testing/selftests/bpf/progs/kfree_skb.c, line 37 (as a typedef)
Referenced in 371 files:
- arch/arm64/include/asm/mmu.h, line 25
- arch/s390/include/asm/debug.h, line 47
- arch/s390/include/asm/gmap.h, line 53
- arch/s390/kernel/perf_cpum_cf.c, 3 times
- arch/s390/kernel/perf_pai_crypto.c, line 39
- arch/s390/kernel/perf_pai_ext.c, 2 times
- arch/s390/mm/extmem.c, line 68
- arch/sparc/kernel/mdesc.c, line 76
- arch/x86/include/asm/amd_nb.h, line 57
- arch/x86/include/asm/io_bitmap.h, line 10
- arch/x86/kvm/mmu/mmu_internal.h, line 101
- block/bfq-iosched.h, line 1010
- block/blk-cgroup.h, line 96
- crypto/cryptd.c, 4 times
- drivers/acpi/thermal.c, line 134
- drivers/android/binder_internal.h, line 39
- drivers/block/nbd.c, 2 times
- drivers/block/rnbd/rnbd-clt.h, 2 times
- drivers/char/mspec.c, line 71
- drivers/crypto/caam/qi.h, line 70
- drivers/crypto/cavium/nitrox/nitrox_dev.h, line 245
- drivers/dma/mediatek/mtk-cqdma.c, line 105
- drivers/dma/mediatek/mtk-hsdma.c, line 240
- drivers/firewire/core.h, line 186
- drivers/firmware/arm_scmi/driver.c, line 98
- drivers/firmware/arm_scmi/notify.c, 4 times
- drivers/firmware/arm_scmi/protocols.h, line 131
- drivers/firmware/arm_scmi/virtio.c, 2 times
- drivers/gpu/drm/exynos/exynos_drm_g2d.c, line 212
- drivers/gpu/drm/i915/i915_vma_resource.h, line 104
- drivers/gpu/drm/i915/intel_wakeref.h, line 269
- drivers/gpu/drm/msm/msm_fb.c, line 24
- drivers/gpu/drm/msm/msm_gpu.h, line 194
- drivers/gpu/drm/omapdrm/omap_gem.c, line 70
- drivers/gpu/drm/v3d/v3d_drv.h, line 41
- drivers/gpu/drm/vc4/vc4_drv.h, 2 times
- drivers/hwtracing/coresight/coresight-tmc.h, line 155
- drivers/infiniband/core/cm.c, line 213
- drivers/infiniband/core/cma.c, line 219
- drivers/infiniband/core/cma_priv.h, line 77
- drivers/infiniband/core/iwcm.h, line 55
- drivers/infiniband/core/mad_priv.h, line 106
- drivers/infiniband/core/mad_rmpp.c, line 54
- drivers/infiniband/core/multicast.c, 2 times
- drivers/infiniband/core/ucma.c, line 88
- drivers/infiniband/core/uverbs.h, line 100
- drivers/infiniband/hw/cxgb4/iw_cxgb4.h, 2 times
- drivers/infiniband/hw/hfi1/hfi.h, line 1347
- drivers/infiniband/hw/hns/hns_roce_device.h, 4 times
- drivers/infiniband/hw/hns/hns_roce_hem.h, line 85
- drivers/infiniband/hw/irdma/cm.h, 2 times
- drivers/infiniband/hw/irdma/main.h, line 160
- drivers/infiniband/hw/irdma/puda.h, line 70
- drivers/infiniband/hw/irdma/verbs.h, 3 times
- drivers/infiniband/hw/mlx5/mlx5_ib.h, line 645
- drivers/infiniband/hw/vmw_pvrdma/pvrdma.h, 3 times
- drivers/infiniband/ulp/ipoib/ipoib.h, line 458
- drivers/infiniband/ulp/rtrs/rtrs-clt.h, line 119
- drivers/infiniband/ulp/rtrs/rtrs-srv.h, line 106
- drivers/iommu/amd/iommu_v2.c, line 37
- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c, 2 times
- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h, line 584
- drivers/iommu/iommufd/iommufd_private.h, line 128
- drivers/iommu/sun50i-iommu.c, line 118
- drivers/irqchip/irq-gic-v3.c, line 129
- drivers/md/bcache/bcache.h, line 312
- drivers/md/dm-cache-metadata.c, line 105
- drivers/md/dm-ps-io-affinity.c, line 17
- drivers/md/dm-thin.c, line 361
- drivers/md/dm-zoned-target.c, 2 times
- drivers/md/dm.c, line 140
- drivers/md/dm.h, line 43
- drivers/media/common/videobuf2/videobuf2-dma-contig.c, line 39
- drivers/media/common/videobuf2/videobuf2-dma-sg.c, line 50
- drivers/media/common/videobuf2/videobuf2-vmalloc.c, line 30
- drivers/media/pci/cx88/cx88.h, line 334
- drivers/media/platform/renesas/vsp1/vsp1_dl.c, line 108
- drivers/misc/lkdtm/refcount.c, 23 times
- drivers/misc/sgi-gru/grutables.h, line 362
- drivers/net/dsa/mv88e6xxx/chip.h, line 314
- drivers/net/dsa/ocelot/felix_vsc9959.c, 2 times
- drivers/net/dsa/qca/qca8k.h, line 404
- drivers/net/ethernet/chelsio/cxgb4/clip_tbl.h, line 17
- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h, line 1090
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.h, line 35
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h, line 279
- drivers/net/ethernet/freescale/dpaa/dpaa_eth.h, line 80
- 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 31
- drivers/net/ethernet/marvell/prestera/prestera_router_hw.h, 2 times
- drivers/net/ethernet/marvell/prestera/prestera_span.c, line 16
- drivers/net/ethernet/marvell/prestera/prestera_switchdev.c, line 55
- drivers/net/ethernet/mediatek/mtk_eth_soc.h, line 1256
- drivers/net/ethernet/mellanox/mlx5/core/en/mapping.c, line 30
- drivers/net/ethernet/mellanox/mlx5/core/en/mod_hdr.c, line 22
- drivers/net/ethernet/mellanox/mlx5/core/en/rss.c, line 81
- drivers/net/ethernet/mellanox/mlx5/core/en/tc/ct_fs_smfs.c, line 22
- drivers/net/ethernet/mellanox/mlx5/core/en/tc/int_port.c, line 18
- drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c, 3 times
- drivers/net/ethernet/mellanox/mlx5/core/en/tc_priv.h, line 107
- drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c, line 56
- drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_rx.c, line 40
- drivers/net/ethernet/mellanox/mlx5/core/en_rep.h, 3 times
- drivers/net/ethernet/mellanox/mlx5/core/en_tc.c, line 598
- drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c, line 26
- drivers/net/ethernet/mellanox/mlx5/core/eswitch.h, line 369
- drivers/net/ethernet/mellanox/mlx5/core/fs_core.h, line 164
- drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c, line 98
- drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c, line 26
- drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h, 5 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.h, line 155
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c, line 30
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c, line 16
- drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c, line 34
- drivers/net/ethernet/mellanox/mlxsw/spectrum_port_range.c, line 14
- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c, 4 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h, line 69
- drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c, 3 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_span.h, line 74
- drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c, line 123
- drivers/net/ethernet/microchip/lan966x/lan966x_mdb.c, line 10
- drivers/net/ethernet/mscc/ocelot.h, line 64
- drivers/net/ethernet/mscc/ocelot_vcap.c, line 888
- drivers/net/ethernet/sfc/tc.h, 3 times
- drivers/net/ethernet/sfc/tc_conntrack.h, line 22
- drivers/net/ethernet/sfc/tc_counters.h, line 43
- drivers/net/ethernet/sfc/tc_encap_actions.h, 2 times
- drivers/net/hamradio/6pack.c, line 124
- drivers/net/hamradio/mkiss.c, line 76
- drivers/net/ipa/gsi_trans.h, line 68
- drivers/net/ppp/ppp_async.c, line 68
- drivers/net/ppp/ppp_generic.c, line 86
- drivers/net/ppp/ppp_synctty.c, line 72
- drivers/net/wireless/intersil/hostap/hostap_wlan.h, line 564
- drivers/net/wireless/intersil/orinoco/orinoco_usb.c, line 268
- drivers/nvme/host/rdma.c, line 68
- drivers/pci/controller/pci-hyperv.c, line 554
- drivers/perf/alibaba_uncore_drw_pmu.c, line 90
- drivers/perf/arm_dmc620_pmu.c, line 81
- drivers/pinctrl/sunxi/pinctrl-sunxi.h, line 159
- drivers/s390/char/vmur.h, line 76
- drivers/s390/net/lcs.h, line 275
- drivers/s390/net/qeth_core.h, line 619
- drivers/s390/net/qeth_l2_main.c, line 893
- drivers/staging/vme_user/vme_user.c, line 116
- drivers/target/target_core_iblock.h, line 15
- drivers/tty/serial/sb1250-duart.c, line 97
- drivers/usb/gadget/function/u_fs.h, line 177
- drivers/usb/gadget/legacy/inode.c, 2 times
- drivers/vfio/vfio.h, line 79
- drivers/xen/gntdev-common.h, line 54
- fs/afs/afs_vl.h, line 138
- fs/afs/internal.h, 12 times
- fs/aio.c, line 212
- fs/btrfs/block-group.h, 2 times
- fs/btrfs/ctree.h, line 261
- fs/btrfs/delayed-inode.h, 2 times
- fs/btrfs/delayed-ref.h, 2 times
- fs/btrfs/extent-io-tree.h, line 107
- fs/btrfs/extent_map.h, line 55
- fs/btrfs/fs.h, line 642
- fs/btrfs/ordered-data.h, line 129
- fs/btrfs/raid56.h, line 85
- fs/btrfs/scrub.c, line 220
- fs/btrfs/transaction.h, 2 times
- fs/btrfs/volumes.h, line 415
- fs/cachefiles/internal.h, 2 times
- fs/cachefiles/io.c, line 19
- fs/ceph/mds_client.h, line 209
- fs/ceph/super.h, line 221
- fs/coda/file.c, line 34
- fs/crypto/fscrypt_private.h, 2 times
- fs/crypto/keysetup_v1.c, line 148
- fs/debugfs/internal.h, line 20
- fs/erofs/fscache.c, line 23
- fs/erofs/internal.h, 2 times
- fs/eventpoll.c, line 225
- fs/ext4/ext4.h, line 296
- fs/f2fs/f2fs.h, line 1522
- fs/fuse/dax.c, line 59
- fs/fuse/fuse_i.h, 4 times
- fs/mnt_idmapping.c, line 14
- fs/nfs/cache_lib.h, line 19
- fs/nfs/delegation.h, line 25
- fs/nfs/flexfilelayout/flexfilelayout.h, line 86
- fs/nfs/fscache.h, line 45
- fs/nfs/nfs4_fs.h, 2 times
- fs/nfs/pnfs.h, 3 times
- fs/nfsd/filecache.h, 2 times
- fs/nfsd/state.h, 4 times
- fs/nfsd/xdr4.h, line 572
- fs/overlayfs/file.c, line 20
- fs/proc/internal.h, line 36
- fs/userfaultfd.c, line 80
- fs/xfs/xfs_attr_item.h, line 17
- include/linux/atmdev.h, line 163
- include/linux/blkdev.h, line 425
- include/linux/bpf.h, 3 times
- include/linux/ceph/libceph.h, line 164
- include/linux/ceph/osd_client.h, line 80
- include/linux/ceph/pagelist.h, line 17
- include/linux/cgroup-defs.h, line 221
- include/linux/connector.h, line 39
- include/linux/crypto.h, 2 times
- include/linux/device.h, line 832
- include/linux/fb.h, line 445
- include/linux/filter.h, line 573
- include/linux/fs_context.h, line 174
- include/linux/fscache-cache.h, line 39
- include/linux/fscache.h, 2 times
- include/linux/fsnotify_backend.h, 2 times
- include/linux/host1x.h, line 466
- include/linux/igmp.h, line 82
- include/linux/inetdevice.h, line 29
- include/linux/ipc.h, line 28
- include/linux/key.h, 2 times
- include/linux/kref.h, line 20
- include/linux/kvm_host.h, line 768
- include/linux/lockd/lockd.h, 4 times
- include/linux/memcontrol.h, line 67
- include/linux/mlx4/device.h, 3 times
- include/linux/mlx5/cq.h, line 45
- include/linux/mlx5/driver.h, 2 times
- include/linux/mroute_base.h, line 154
- include/linux/netdevice.h, line 2308
- include/linux/netfilter/nf_conntrack_common.h, line 28
- include/linux/netfs.h, 2 times
- include/linux/netpoll.h, line 38
- include/linux/nfs_fs.h, line 72
- include/linux/nfs_fs_sb.h, line 29
- include/linux/nfs_xdr.h, line 1305
- include/linux/ns_common.h, line 13
- include/linux/nsproxy.h, line 32
- include/linux/padata.h, line 100
- include/linux/perf_event.h, line 938
- include/linux/phy.h, line 342
- include/linux/pid.h, line 61
- include/linux/posix_acl.h, line 30
- include/linux/ref_tracker.h, 2 times
- include/linux/refcount.h, 22 times
- include/linux/rethook.h, line 39
- include/linux/rtnetlink.h, line 40
- include/linux/sched.h, 3 times
- include/linux/sched/signal.h, 2 times
- include/linux/skbuff.h, 4 times
- include/linux/sunrpc/auth.h, 2 times
- include/linux/sunrpc/auth_gss.h, line 69
- include/linux/sunrpc/clnt.h, line 45
- include/linux/tee_drv.h, line 214
- include/linux/user_events.h, 2 times
- include/linux/vfio.h, line 62
- include/net/9p/client.h, 2 times
- include/net/act_api.h, line 30
- include/net/af_unix.h, line 27
- include/net/ax25.h, 3 times
- include/net/bluetooth/rfcomm.h, line 178
- include/net/calipso.h, line 46
- include/net/cipso_ipv4.h, line 75
- include/net/devlink.h, line 114
- include/net/dsa.h, 4 times
- include/net/dst.h, line 99
- include/net/fib_rules.h, line 37
- include/net/if_inet6.h, 4 times
- include/net/inet_frag.h, 2 times
- include/net/inetpeer.h, line 58
- include/net/ip6_fib.h, line 180
- include/net/ip_vs.h, 2 times
- include/net/ipv6.h, line 302
- include/net/lapb.h, line 108
- include/net/llc.h, line 58
- include/net/macsec.h, 3 times
- include/net/mctp.h, 2 times
- include/net/mctpdevice.h, line 22
- include/net/neighbour.h, 2 times
- include/net/net_namespace.h, line 65
- include/net/netfilter/nf_conntrack_expect.h, line 30
- include/net/netfilter/nf_conntrack_helper.h, line 36
- include/net/netfilter/nf_tables.h, line 546
- include/net/netlabel.h, line 125
- include/net/netns/ipv4.h, line 35
- include/net/netrom.h, 2 times
- include/net/nexthop.h, line 146
- include/net/page_pool/types.h, line 180
- include/net/sch_generic.h, 3 times
- include/net/sctp/auth.h, 2 times
- include/net/sctp/structs.h, 4 times
- include/net/sock.h, 2 times
- include/net/tls.h, line 266
- include/net/vxlan.h, line 190
- include/net/x25.h, 2 times
- include/net/xdp_sock.h, line 29
- include/net/xfrm.h, 2 times
- include/net/xsk_buff_pool.h, 2 times
- include/rdma/ib_verbs.h, 2 times
- include/scsi/libfc.h, line 313
- include/scsi/libiscsi.h, line 133
- include/soc/mscc/ocelot.h, line 750
- include/sound/hda_codec.h, line 190
- include/sound/pcm.h, line 442
- io_uring/io-wq.c, line 46
- io_uring/sqpoll.h, line 4
- ipc/sem.c, line 163
- kernel/audit_tree.c, line 14
- kernel/bpf/bpf_struct_ops.c, line 24
- kernel/bpf/btf.c, line 255
- kernel/bpf/cpumask.c, line 27
- kernel/bpf/helpers.c, 2 times
- kernel/events/internal.h, 2 times
- kernel/events/uprobes.c, line 56
- kernel/futex/futex.h, line 67
- kernel/kcov.c, line 54
- kernel/sched/core.c, line 2546
- kernel/sched/core_sched.c, line 8
- kernel/sched/fair.c, line 1384
- kernel/seccomp.c, 2 times
- kernel/trace/trace.c, line 8367
- kernel/trace/trace_events_user.c, line 101
- lib/refcount.c, 6 times
- net/atm/lec_arpc.h, line 51
- net/atm/mpoa_caches.h, 2 times
- net/bpf/test_run.c, line 596
- net/bridge/br_private.h, line 224
- net/core/flow_offload.c, line 386
- net/core/rtnetlink.c, line 167
- net/devlink/devl_internal.h, line 56
- net/dsa/tag_8021q.c, line 70
- net/dsa/trace.h, 10 times
- net/ipv6/xfrm6_tunnel.c, line 49
- net/l2tp/l2tp_core.h, 2 times
- net/netfilter/nfnetlink_acct.c, line 34
- net/netfilter/nfnetlink_cttimeout.c, line 40
- net/netfilter/nfnetlink_log.c, line 63
- net/netfilter/xt_hashlimit.c, line 118
- net/packet/internal.h, line 95
- net/rds/ib.h, line 261
- net/rds/rds.h, 2 times
- net/rxrpc/ar-internal.h, 6 times
- net/sched/act_ct.c, line 49
- net/sched/cls_flower.c, 2 times
- net/sched/sch_taprio.c, line 108
- net/smc/smc_core.h, 2 times
- net/smc/smc_ism.h, line 28
- net/smc/smc_pnet.h, line 44
- net/sunrpc/auth_gss/auth_gss.c, line 260
- net/tipc/bearer.h, line 176
- net/tipc/crypto.c, line 165
- rust/helpers.c, 4 times
- security/landlock/object.h, line 48
- security/landlock/ruleset.h, 2 times
- sound/virtio/virtio_ctl_msg.c, line 24
- tools/include/linux/refcount.h, 6 times
- tools/lib/perf/include/internal/cpumap.h, 2 times
- tools/lib/perf/include/internal/mmap.h, line 29
- tools/lib/perf/include/internal/threadmap.h, line 15
- tools/perf/util/block-info.h, line 22
- tools/perf/util/cgroup.h, line 17
- tools/perf/util/comm.c, line 15
- tools/perf/util/cpumap.h, line 38
- tools/perf/util/dso.h, line 218
- tools/perf/util/kvm-stat.h, line 31
- tools/perf/util/map.h, 2 times
- tools/perf/util/maps.h, 2 times
- tools/perf/util/mem-events.h, line 26
- tools/perf/util/namespaces.c, line 212
- tools/perf/util/namespaces.h, line 40
- tools/perf/util/thread.h, 2 times
- tools/testing/selftests/bpf/bpf_testmod/bpf_testmod_kfunc.h, line 25
- tools/testing/selftests/bpf/progs/kfree_skb.c, line 45