Symbol: refcount_inc_not_zero
arch/arm64/kvm/vgic/vgic.h
311
return refcount_inc_not_zero(&irq->refcount);
arch/arm64/mm/context.c
285
if (refcount_inc_not_zero(&mm->context.pinned))
arch/s390/kernel/perf_cpum_cf.c
1417
if (!refcount_inc_not_zero(&cfset_opencnt)) { /* First open */
arch/s390/kernel/perf_cpum_cf.c
192
if (refcount_inc_not_zero(&cpu_cf_root.refcnt))
arch/s390/kernel/perf_cpum_sf.c
743
if (!refcount_inc_not_zero(&num_events)) {
arch/s390/kernel/perf_pai.c
114
if (!refcount_inc_not_zero(&pai_root[idx].refcnt)) {
arch/s390/kvm/gmap.h
149
WARN_ON_ONCE(unlikely(!refcount_inc_not_zero(&gmap->refcount)));
arch/x86/kvm/mmu/tdp_mmu.h
17
return refcount_inc_not_zero(&root->tdp_mmu_root_count);
block/blk-zoned.c
562
refcount_inc_not_zero(&zwplug->ref)) {
crypto/internal.h
216
return refcount_inc_not_zero(&tfm->refcnt) ? tfm : ERR_PTR(-EOVERFLOW);
drivers/block/nbd.c
1717
if (!refcount_inc_not_zero(&nbd->refs)) {
drivers/block/nbd.c
1725
if (refcount_inc_not_zero(&nbd->config_refs)) {
drivers/block/nbd.c
2022
if (refcount_inc_not_zero(&nbd->refs))
drivers/block/nbd.c
2114
!refcount_inc_not_zero(&nbd->refs)) {
drivers/block/nbd.c
2295
if (!refcount_inc_not_zero(&nbd->refs)) {
drivers/block/nbd.c
2301
if (!refcount_inc_not_zero(&nbd->config_refs))
drivers/block/nbd.c
2349
if (!refcount_inc_not_zero(&nbd->refs)) {
drivers/block/nbd.c
437
if (refcount_inc_not_zero(&nbd->config_refs)) {
drivers/block/rnbd/rnbd-clt.c
38
return refcount_inc_not_zero(&sess->refcount);
drivers/block/rnbd/rnbd-clt.c
70
return refcount_inc_not_zero(&dev->refcount);
drivers/block/ublk_drv.c
1087
return refcount_inc_not_zero(&io->ref);
drivers/dibs/dibs_loopback.c
193
if (!refcount_inc_not_zero(&dmb_node->refcnt))
drivers/edac/ghes_edac.c
404
if (refcount_inc_not_zero(&ghes_refcount))
drivers/firmware/arm_scmi/transports/virtio.c
135
return refcount_inc_not_zero(&vioch->users);
drivers/firmware/arm_scmi/transports/virtio.c
205
return refcount_inc_not_zero(&msg->users);
drivers/gpu/drm/drm_gem_shmem_helper.c
219
if (refcount_inc_not_zero(&shmem->pages_use_count))
drivers/gpu/drm/drm_gem_shmem_helper.c
280
if (refcount_inc_not_zero(&shmem->pages_pin_count))
drivers/gpu/drm/drm_gem_shmem_helper.c
317
if (refcount_inc_not_zero(&shmem->pages_pin_count))
drivers/gpu/drm/drm_gem_shmem_helper.c
382
if (refcount_inc_not_zero(&shmem->vmap_use_count)) {
drivers/gpu/drm/drm_gem_shmem_helper.c
628
!refcount_inc_not_zero(&shmem->pages_use_count));
drivers/gpu/drm/i915/display/intel_dmc_wl.c
449
if (!refcount_inc_not_zero(&wl->refcount))
drivers/gpu/drm/i915/display/intel_dmc_wl.c
456
if (refcount_inc_not_zero(&wl->refcount))
drivers/gpu/drm/i915/i915_vma_resource.c
165
bool held = refcount_inc_not_zero(&vma_res->hold_count);
drivers/gpu/drm/i915/intel_wakeref.c
177
if (!refcount_inc_not_zero(&wf->count)) {
drivers/gpu/drm/i915/intel_wakeref.c
179
if (!refcount_inc_not_zero(&wf->count)) {
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
211
if (subdev && !refcount_inc_not_zero(&subdev->use.refcount)) {
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
213
if (!refcount_inc_not_zero(&subdev->use.refcount)) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
110
if (!refcount_inc_not_zero(&cctx->uses)) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
112
if (!refcount_inc_not_zero(&cctx->uses)) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
113
if (!refcount_inc_not_zero(&ectx->uses)) {
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c
225
if (refcount_inc_not_zero(&iobj->maps)) {
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c
235
if (refcount_inc_not_zero(&iobj->maps)) {
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c
247
if (!refcount_inc_not_zero(&iobj->maps)) {
drivers/gpu/drm/panthor/panthor_mmu.c
677
if (refcount_inc_not_zero(&vm->as.active_cnt))
drivers/gpu/drm/panthor/panthor_mmu.c
686
if (refcount_inc_not_zero(&vm->as.active_cnt))
drivers/gpu/drm/vc4/vc4_bo.c
631
if (refcount_inc_not_zero(&bo->usecnt))
drivers/gpu/drm/vc4/vc4_bo.c
637
if (!refcount_inc_not_zero(&bo->usecnt))
drivers/hv/mshv_root_main.c
1820
if (refcount_inc_not_zero(&partition->pt_ref_count))
drivers/infiniband/core/cm.c
594
!refcount_inc_not_zero(&cm_id_priv->refcount))
drivers/infiniband/core/device.c
712
if (!refcount_inc_not_zero(&client->uses))
drivers/infiniband/core/mad.c
1749
if (mad_agent && !refcount_inc_not_zero(&mad_agent->refcount))
drivers/infiniband/core/ucma.c
148
if (!refcount_inc_not_zero(&ctx->ref))
drivers/infiniband/core/ucma.c
1648
else if (!refcount_inc_not_zero(&mc->ctx->ref))
drivers/infiniband/core/uverbs_main.c
939
if (!refcount_inc_not_zero(&dev->refcount))
drivers/infiniband/hw/hfi1/file_ops.c
156
if (!refcount_inc_not_zero(&dd->user_refcount))
drivers/infiniband/hw/irdma/cm.c
1859
refcount_inc_not_zero(&cm_node->refcnt))
drivers/infiniband/hw/irdma/cm.c
2110
if (!refcount_inc_not_zero(&cm_node->refcnt))
drivers/infiniband/hw/irdma/cm.c
219
refcount_inc_not_zero(&cm_node->refcnt))
drivers/infiniband/hw/irdma/cm.c
4128
refcount_inc_not_zero(&cm_node->refcnt))
drivers/infiniband/hw/mlx5/odp.c
244
if (!refcount_inc_not_zero(&imr->mmkey.usecount))
drivers/infiniband/ulp/ipoib/ipoib_main.c
1361
if (!refcount_inc_not_zero(&neigh->refcnt)) {
drivers/infiniband/ulp/ipoib/ipoib_main.c
1488
if (!refcount_inc_not_zero(&neigh->refcnt)) {
drivers/infiniband/ulp/rtrs/rtrs-srv.c
1421
refcount_inc_not_zero(&srv->refcount)) {
drivers/iommu/amd/nested.c
149
if (refcount_inc_not_zero(&gdom_info->users)) {
drivers/iommu/io-pgfault.c
28
if (fault_param && !refcount_inc_not_zero(&fault_param->users))
drivers/iommu/iommufd/ioas.c
419
if (!refcount_inc_not_zero(&obj->users))
drivers/iommu/iommufd/iommufd_private.h
171
if (!refcount_inc_not_zero(&obj->users))
drivers/iommu/iommufd/iommufd_private.h
173
if (!refcount_inc_not_zero(&obj->wait_cnt)) {
drivers/iommu/iommufd/main.c
581
if (!immap || !refcount_inc_not_zero(&immap->owner->users)) {
drivers/md/bcache/bcache.h
910
if (!refcount_inc_not_zero(&dc->count))
drivers/media/rc/imon.c
524
if (!ictx || ictx->disconnected || !refcount_inc_not_zero(&ictx->users)) {
drivers/misc/lkdtm/refcount.c
226
if (!refcount_inc_not_zero(&zero)) {
drivers/misc/lkdtm/refcount.c
323
if (!refcount_inc_not_zero(&sat))
drivers/misc/lkdtm/refcount.c
66
if (!refcount_inc_not_zero(&over))
drivers/net/ethernet/amd/pds_core/adminq.c
67
return refcount_inc_not_zero(&pdsc->adminq_refcnt);
drivers/net/ethernet/marvell/prestera/prestera_counter.c
72
return refcount_inc_not_zero(&block->refcnt);
drivers/net/ethernet/mellanox/mlx5/core/en/mapping.c
234
if (refcount_inc_not_zero(&ctx->refcount))
drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c
50
return refcount_inc_not_zero(&nhe->refcnt);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/ct_fs_hmfs.c
125
if (refcount_inc_not_zero(&hmfs_matcher->ref))
drivers/net/ethernet/mellanox/mlx5/core/en/tc/ct_fs_hmfs.c
131
if (refcount_inc_not_zero(&hmfs_matcher->ref))
drivers/net/ethernet/mellanox/mlx5/core/en/tc/ct_fs_smfs.c
124
if (refcount_inc_not_zero(&smfs_matcher->ref))
drivers/net/ethernet/mellanox/mlx5/core/en/tc/ct_fs_smfs.c
132
if (refcount_inc_not_zero(&smfs_matcher->ref))
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
1074
if (rev_entry && refcount_inc_not_zero(&rev_entry->counter->refcount)) {
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
1207
if (entry && refcount_inc_not_zero(&entry->refcnt)) {
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
1340
if (!mlx5_tc_ct_entry_valid(entry) || !refcount_inc_not_zero(&entry->refcnt)) {
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
952
refcount_inc_not_zero(&entry->refcnt)) {
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
958
refcount_inc_not_zero(&entry->refcnt))
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c
1173
refcount_inc_not_zero(&r->refcnt))
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c
646
return refcount_inc_not_zero(&e->refcnt);
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c
651
return refcount_inc_not_zero(&e->refcnt);
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
5168
if (refcount_inc_not_zero(&hpe->refcnt))
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
608
if (!flow || !refcount_inc_not_zero(&flow->refcnt))
drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c
804
if (!refcount_inc_not_zero(&esw->qos.refcnt)) {
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
405
return refcount_inc_not_zero(&node->refcount);
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c
657
if (refcount_inc_not_zero(&fs_hws_data->hws_action_refcount))
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c
661
if (refcount_inc_not_zero(&fs_hws_data->hws_action_refcount)) {
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
4030
if (refcount_inc_not_zero(&mlxsw_sp->parsing.parsing_depth_ref))
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c
445
if (refcount_inc_not_zero(&bf->refcnt[rule_index])) {
drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c
1582
if (refcount_inc_not_zero(&ptp_state->ptp_port_enabled_ref))
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
10905
if (refcount_inc_not_zero(&vr->ul_rif_refcnt))
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
4800
if (refcount_inc_not_zero(&mlxsw_sp->router->num_groups))
drivers/net/ethernet/sfc/tc.c
141
if (!refcount_inc_not_zero(&old->ref))
drivers/net/ethernet/sfc/tc.c
664
if (!refcount_inc_not_zero(&old->ref))
drivers/net/ethernet/sfc/tc.c
714
if (!refcount_inc_not_zero(&old->ref))
drivers/net/ethernet/sfc/tc_conntrack.c
577
if (!refcount_inc_not_zero(&old->ref))
drivers/net/ethernet/sfc/tc_counters.c
241
if (!refcount_inc_not_zero(&old->ref))
drivers/net/ethernet/sfc/tc_encap_actions.c
139
if (!refcount_inc_not_zero(&old->ref))
drivers/net/ethernet/sfc/tc_encap_actions.c
574
if (refcount_inc_not_zero(&neigh->ref)) {
drivers/net/ethernet/sfc/tc_encap_actions.c
649
if (!refcount_inc_not_zero(&old->ref))
drivers/net/macsec.c
152
if (!refcount_inc_not_zero(&sa->refcnt))
drivers/net/macsec.c
168
return refcount_inc_not_zero(&sc->refcnt) ? sc : NULL;
drivers/net/macsec.c
199
if (!refcount_inc_not_zero(&sa->refcnt))
drivers/net/ppp/pppoe.c
234
if (po && !refcount_inc_not_zero(&sk_pppox(po)->sk_refcnt))
drivers/net/vxlan/vxlan_core.c
3649
if (vs && !refcount_inc_not_zero(&vs->refcnt)) {
drivers/net/wireless/realtek/rtw89/fw.c
10651
if (refcount_inc_not_zero(&rtwdev->refcount_ap_info))
drivers/nvme/target/core.c
817
return refcount_inc_not_zero(&cq->ref);
drivers/nvme/target/fcloop.c
1069
return refcount_inc_not_zero(&lport->ref);
drivers/nvme/target/fcloop.c
1093
return refcount_inc_not_zero(&nport->ref);
drivers/nvme/target/fcloop.c
591
return refcount_inc_not_zero(&tfcp_req->ref);
drivers/perf/alibaba_uncore_drw_pmu.c
430
&& refcount_inc_not_zero(&irq->refcount))
drivers/perf/arm_dmc620_pmu.c
432
if (irq->irq_num == irq_num && refcount_inc_not_zero(&irq->refcount))
drivers/s390/net/qeth_l2_main.c
901
if (!refcount_inc_not_zero(&qeth_l2_switchdev_notify_refcnt)) {
drivers/scsi/libiscsi.c
489
return refcount_inc_not_zero(&task->refcount);
drivers/tee/optee/protmem.c
90
if (!refcount_inc_not_zero(&rp->refcount)) {
drivers/vfio/vfio_main.c
179
return refcount_inc_not_zero(&device->refcount);
fs/afs/security.c
242
if (permits && !refcount_inc_not_zero(&permits->usage))
fs/afs/security.c
293
if (refcount_inc_not_zero(&xpermits->usage)) {
fs/btrfs/ctree.c
201
if (refcount_inc_not_zero(&eb->refs)) {
fs/btrfs/delayed-inode.c
111
if (refcount_inc_not_zero(&node->refs)) {
fs/btrfs/delayed-inode.c
2078
if (refcount_inc_not_zero(&node->refs)) {
fs/btrfs/disk-io.h
102
if (refcount_inc_not_zero(&root->refs))
fs/btrfs/extent_io.c
2141
if (!refcount_inc_not_zero(&eb->refs)) {
fs/btrfs/extent_io.c
2192
if (eb && !refcount_inc_not_zero(&eb->refs))
fs/btrfs/extent_io.c
3233
if (!refcount_inc_not_zero(&exists->refs)) {
fs/btrfs/extent_io.c
3278
if (refcount_inc_not_zero(&exists->refs))
fs/btrfs/extent_io.c
3549
if (!refcount_inc_not_zero(&existing_eb->refs)) {
fs/btrfs/scrub.c
3061
if (refcount_inc_not_zero(&fs_info->scrub_workers_refcnt))
fs/ceph/mds_client.c
913
if (refcount_inc_not_zero(&s->s_ref))
fs/crypto/keyring.c
316
refcount_inc_not_zero(&mk->mk_struct_refs))
fs/crypto/keyring.c
327
refcount_inc_not_zero(&mk->mk_struct_refs))
fs/crypto/keyring.c
500
if (!refcount_inc_not_zero(&mk->mk_active_refs)) {
fs/debugfs/file.c
139
if (!refcount_inc_not_zero(&fsd->active_users))
fs/fserror.c
88
if (!refcount_inc_not_zero(&sb->s_pending_errors))
fs/fuse/backing.c
14
if (fb && refcount_inc_not_zero(&fb->count))
fs/nfs/delegation.c
121
!refcount_inc_not_zero(&delegation->refcount))
fs/nfs/delegation.c
331
if (!delegation || !refcount_inc_not_zero(&delegation->refcount)) {
fs/nfs/flexfilelayout/flexfilelayout.c
249
if (refcount_inc_not_zero(&pos->ref)) {
fs/nfs/flexfilelayout/flexfilelayout.c
2907
if (!refcount_inc_not_zero(&mirror->ref))
fs/nfs/inode.c
1119
if (refcount_inc_not_zero(&pos->count))
fs/nfs/inode.c
1239
if (ctx != NULL && refcount_inc_not_zero(&ctx->lock_context.count))
fs/nfs/localio.c
207
if (!refcount_inc_not_zero(&clp->cl_count))
fs/nfs/nfs40proc.c
123
if (!refcount_inc_not_zero(&clp->cl_count))
fs/nfs/nfs4proc.c
10354
if (!refcount_inc_not_zero(&clp->cl_count))
fs/nfs/nfs4proc.c
8705
if (!refcount_inc_not_zero(&clp->cl_count))
fs/nfs/nfs4proc.c
9395
if (!refcount_inc_not_zero(&clp->cl_count))
fs/nfs/nfs4state.c
652
if (refcount_inc_not_zero(&state->count))
fs/nfs/pnfs_nfs.c
204
if (refcount_inc_not_zero(&array->refcount))
fs/nfsd/filecache.c
141
if (!refcount_inc_not_zero(&nfm->nfm_ref))
fs/nfsd/filecache.c
347
if (nf && refcount_inc_not_zero(&nf->nf_ref))
fs/nfsd/nfs4state.c
5290
if (refcount_inc_not_zero(&fi->fi_ref)) {
fs/nfsd/nfs4state.c
5325
if (refcount_inc_not_zero(&fi->fi_ref))
fs/notify/mark.c
463
if (refcount_inc_not_zero(&mark->refcnt)) {
fs/posix_acl.c
55
refcount_inc_not_zero(&acl->a_refcount))
fs/xfs/xfs_attr_item.c
58
if (!refcount_inc_not_zero(&nv->refcount))
fs/xfs/xfs_healthmon.c
73
if (hm && !refcount_inc_not_zero(&hm->ref))
include/linux/can/skb.h
64
if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) {
include/linux/kref.h
133
return refcount_inc_not_zero(&kref->refcount);
include/linux/ns_common.h
91
if (refcount_inc_not_zero(&ns->__ns_ref))
include/linux/sched/task.h
122
return refcount_inc_not_zero(&t->usage) ? t : NULL;
include/linux/sched/task_stack.h
70
return refcount_inc_not_zero(&tsk->stack_refcount) ?
include/linux/shrinker.h
141
return refcount_inc_not_zero(&shrinker->refcount);
include/linux/skmsg.h
494
if (psock && !refcount_inc_not_zero(&psock->refcnt))
include/linux/sunrpc/auth.h
192
if (cred != NULL && refcount_inc_not_zero(&cred->cr_count))
include/net/9p/client.h
334
return refcount_inc_not_zero(&r->refcount);
include/net/addrconf.h
477
return refcount_inc_not_zero(&ifp->refcnt);
include/net/arp.h
43
if (n && !refcount_inc_not_zero(&n->refcnt))
include/net/inet_hashtables.h
441
if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt))
include/net/ip6_fib.h
337
return refcount_inc_not_zero(&f6i->fib6_ref);
include/net/ip_vs.h
1355
return refcount_inc_not_zero(&cp->refcnt);
include/net/ipv6.h
375
if (!refcount_inc_not_zero(&opt->refcnt))
include/net/llc.h
124
return refcount_inc_not_zero(&sap->refcnt);
include/net/ndisc.h
376
if (n && !refcount_inc_not_zero(&n->refcnt))
include/net/nexthop.h
266
return refcount_inc_not_zero(&nh->refcnt);
include/net/sch_generic.h
163
if (refcount_inc_not_zero(&qdisc->refcnt))
include/net/sock.h
1864
if (refcount_inc_not_zero(&sk->sk_refcnt)) {
include/net/sock.h
2458
if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) {
include/rdma/ib_verbs.h
4610
return refcount_inc_not_zero(&dev->refcount);
io_uring/bpf_filter.c
255
if (refcount_inc_not_zero(&src->bpf_filters->refs)) {
io_uring/bpf_filter.c
298
if (!refcount_inc_not_zero(&srcf->refs))
io_uring/eventfd.c
96
if (!io_eventfd_trigger(ev_fd) || !refcount_inc_not_zero(&ev_fd->refs))
io_uring/io-wq.c
167
return refcount_inc_not_zero(&worker->ref);
ipc/util.c
530
return refcount_inc_not_zero(&ptr->refcount);
kernel/bpf/bpf_local_storage.c
275
if (pin_owner && !refcount_inc_not_zero(&local_storage->owner_refcnt))
kernel/bpf/btf.c
8256
if (!btf || !refcount_inc_not_zero(&btf->refcnt))
kernel/bpf/crypto.c
245
if (!refcount_inc_not_zero(&ctx->usage))
kernel/bpf/helpers.c
1529
if (!refcount_inc_not_zero(&t->cb.refcnt))
kernel/bpf/helpers.c
2373
if (!refcount_inc_not_zero((refcount_t *)ref))
kernel/bpf/helpers.c
2590
if (refcount_inc_not_zero(&p->rcu_users))
kernel/bpf/helpers.c
3189
if (!refcount_inc_not_zero(&w->cb.refcnt))
kernel/bpf/helpers.c
4165
return refcount_inc_not_zero(&ctx->refcnt);
kernel/bpf/helpers.c
4489
if (!refcount_inc_not_zero(&cb->refcnt))
kernel/cgroup/dmem.c
120
return refcount_inc_not_zero(&pool->ref);
kernel/events/core.c
1473
if (!refcount_inc_not_zero(&ctx->refcount)) {
kernel/events/core.c
1606
!refcount_inc_not_zero(&ctx->refcount)) {
kernel/events/core.c
5447
if (refcount_inc_not_zero(&old->refcount)) {
kernel/events/core.c
5471
if (refcount_inc_not_zero(&global_ctx_data_ref))
kernel/events/core.c
5475
if (refcount_inc_not_zero(&global_ctx_data_ref))
kernel/events/core.c
5486
if (!refcount_inc_not_zero(&cd->refcount))
kernel/events/core.c
6964
if (!refcount_inc_not_zero(&rb->refcount))
kernel/events/core.c
7296
if (refcount_inc_not_zero(&event->rb->mmap_count)) {
kernel/events/core.c
7385
if (!refcount_inc_not_zero(&rb->mmap_count))
kernel/events/ring_buffer.c
406
if (!refcount_inc_not_zero(&rb->aux_refcount))
kernel/events/uprobes.c
649
if (refcount_inc_not_zero(&uprobe->ref))
kernel/futex/core.c
1364
if (!refcount_inc_not_zero(&pi_state->refcount)) {
kernel/futex/pi.c
71
WARN_ON_ONCE(!refcount_inc_not_zero(&pi_state->refcount));
kernel/sched/fair.c
3068
return refcount_inc_not_zero(&grp->refcount);
lib/stackdepot.c
629
if ((flags & STACK_DEPOT_FLAG_GET) && !refcount_inc_not_zero(&stack->count))
mm/memcontrol.c
3638
while (!refcount_inc_not_zero(&memcg->id.ref)) {
net/ceph/osd_client.c
1281
if (refcount_inc_not_zero(&osd->o_ref)) {
net/core/bpf_sk_storage.c
250
refcount_inc_not_zero(&sk->sk_refcnt)) {
net/core/bpf_sk_storage.c
271
if (refcount_inc_not_zero(&sk->sk_refcnt)) {
net/core/fib_rules.c
352
likely(refcount_inc_not_zero(&rule->refcnt))) {
net/core/filter.c
1257
if (!refcount_inc_not_zero(&fp->refcnt))
net/core/filter.c
7711
unlikely(!refcount_inc_not_zero(&sk->sk_refcnt)))
net/core/neighbour.c
635
if (!refcount_inc_not_zero(&n->refcnt))
net/core/skbuff.c
5543
if (!sk || !refcount_inc_not_zero(&sk->sk_refcnt))
net/core/skbuff.c
5626
if (likely(refcount_inc_not_zero(&sk->sk_refcnt))) {
net/core/skbuff.c
5776
if (likely(refcount_inc_not_zero(&sk->sk_refcnt))) {
net/core/sock_map.c
1219
if (sk_is_refcounted(sk) && !refcount_inc_not_zero(&sk->sk_refcnt))
net/core/sock_map.c
209
if (!refcount_inc_not_zero(&psock->refcnt))
net/core/sock_map.c
395
if (sk_is_refcounted(sk) && !refcount_inc_not_zero(&sk->sk_refcnt))
net/core/sock_reuseport.c
668
if (IS_ERR_OR_NULL(nsk) || unlikely(!refcount_inc_not_zero(&nsk->sk_refcnt))) {
net/devlink/core.c
301
if (refcount_inc_not_zero(&devlink->refcount))
net/ipv4/cipso_ipv4.c
559
if (!refcount_inc_not_zero(&doi_def->refcount))
net/ipv4/igmp.c
222
if (refcount_inc_not_zero(&im->refcnt)) {
net/ipv4/inet_connection_sock.c
863
if (unlikely(!refcount_inc_not_zero(&sk_listener->sk_refcnt))) {
net/ipv4/inet_hashtables.c
550
if (unlikely(!refcount_inc_not_zero(&sk->sk_refcnt)))
net/ipv4/inet_timewait_sock.c
331
if (unlikely(!refcount_inc_not_zero(&sk->sk_refcnt)))
net/ipv4/ip_fragment.c
95
if (p && !refcount_inc_not_zero(&p->refcnt))
net/ipv4/netfilter/nf_tproxy_ipv4.c
102
if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv4/raw_diag.c
77
if (refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv4/route.c
433
if (!IS_ERR(n) && !refcount_inc_not_zero(&n->refcnt))
net/ipv4/tcp_diag.c
523
if (!refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv4/tcp_ipv4.c
175
if (unlikely(!refcount_inc_not_zero(&sktw->sk_refcnt)))
net/ipv4/udp.c
783
if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv4/udp_diag.c
201
if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv4/udp_diag.c
54
if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv6/calipso.c
485
if (!refcount_inc_not_zero(&doi_def->refcount))
net/ipv6/inet6_hashtables.c
259
if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv6/inet6_hashtables.c
73
if (unlikely(!refcount_inc_not_zero(&sk->sk_refcnt)))
net/ipv6/netfilter/nf_tproxy_ipv6.c
102
if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
net/ipv6/udp.c
446
if (sk && !refcount_inc_not_zero(&sk->sk_refcnt))
net/l2tp/l2tp_core.c
189
refcount_inc_not_zero(&tunnel->ref_count)) {
net/l2tp/l2tp_core.c
222
if (tunnel && refcount_inc_not_zero(&tunnel->ref_count)) {
net/l2tp/l2tp_core.c
241
if (refcount_inc_not_zero(&tunnel->ref_count)) {
net/l2tp/l2tp_core.c
262
refcount_inc_not_zero(&session->ref_count)) {
net/l2tp/l2tp_core.c
285
refcount_inc_not_zero(&session->ref_count)) {
net/l2tp/l2tp_core.c
305
if (session && refcount_inc_not_zero(&session->ref_count)) {
net/l2tp/l2tp_core.c
349
refcount_inc_not_zero(&session->ref_count)) {
net/l2tp/l2tp_core.c
377
refcount_inc_not_zero(&session->ref_count)) {
net/l2tp/l2tp_core.c
401
refcount_inc_not_zero(&session->ref_count)) {
net/l2tp/l2tp_ppp.c
151
if (session && refcount_inc_not_zero(&session->ref_count)) {
net/llc/llc_conn.c
496
if (unlikely(!refcount_inc_not_zero(&rc->sk_refcnt)))
net/llc/llc_conn.c
559
if (unlikely(!refcount_inc_not_zero(&rc->sk_refcnt)))
net/llc/llc_sap.c
331
if (unlikely(!refcount_inc_not_zero(&rc->sk_refcnt)))
net/mctp/device.c
38
if (!refcount_inc_not_zero(&mdev->refs))
net/mptcp/mptcp_diag.c
119
if (!refcount_inc_not_zero(&sk->sk_refcnt))
net/mptcp/token.c
263
if (!refcount_inc_not_zero(&sk->sk_refcnt))
net/mptcp/token.c
324
if (!refcount_inc_not_zero(&sk->sk_refcnt))
net/netfilter/nf_conntrack_core.c
1442
if (!refcount_inc_not_zero(&tmp->ct_general.use))
net/netfilter/nf_conntrack_core.c
1594
if (!refcount_inc_not_zero(&tmp->ct_general.use))
net/netfilter/nf_conntrack_core.c
717
if (!refcount_inc_not_zero(&ct->ct_general.use))
net/netfilter/nf_conntrack_core.c
786
if (likely(refcount_inc_not_zero(&ct->ct_general.use))) {
net/netfilter/nf_conntrack_expect.c
164
if (i && !refcount_inc_not_zero(&i->use))
net/netfilter/nf_conntrack_expect.c
216
!refcount_inc_not_zero(&exp->master->ct_general.use)))
net/netfilter/nf_conntrack_helper.c
95
if (h != NULL && !refcount_inc_not_zero(&h->refcnt)) {
net/netfilter/nf_conntrack_netlink.c
1248
refcount_inc_not_zero(&ct->ct_general.use))
net/netfilter/nf_conntrack_netlink.c
3240
if (!refcount_inc_not_zero(&ct->ct_general.use))
net/netfilter/nf_conntrack_standalone.c
313
if (unlikely(!refcount_inc_not_zero(&ct->ct_general.use)))
net/netfilter/nf_flow_table_core.c
517
if (!refcount_inc_not_zero(&ct->ct_general.use))
net/netfilter/nf_queue.c
101
if (state->sk && !refcount_inc_not_zero(&state->sk->sk_refcnt))
net/netfilter/nf_queue.c
185
if (!refcount_inc_not_zero(&sk->sk_refcnt))
net/netfilter/nfnetlink_acct.c
430
if (!refcount_inc_not_zero(&cur->refcnt)) {
net/netfilter/nfnetlink_cttimeout.c
515
if (!refcount_inc_not_zero(&timeout->refcnt))
net/netfilter/nfnetlink_log.c
131
if (inst && !refcount_inc_not_zero(&inst->use))
net/psp/psp.h
39
return refcount_inc_not_zero(&psd->refcnt);
net/rds/bind.c
82
!refcount_inc_not_zero(&rds_rs_to_sk(rs)->sk_refcnt)))
net/sched/act_api.c
895
if (!refcount_inc_not_zero(&p->tcfa_refcnt)) {
net/sched/act_ct.c
332
if (ct_ft && refcount_inc_not_zero(&ct_ft->ref))
net/sched/cls_api.c
1057
if (block && !refcount_inc_not_zero(&block->refcnt))
net/sched/cls_flower.c
2317
} else if (!refcount_inc_not_zero(&fnew->mask->refcnt)) {
net/sched/cls_flower.c
2638
if (!f || !refcount_inc_not_zero(&f->refcnt))
net/sched/cls_flower.c
2671
if (!(add && f->deleted) && refcount_inc_not_zero(&f->refcnt)) {
net/sched/cls_flower.c
542
if (f && !refcount_inc_not_zero(&f->refcnt))
net/sctp/endpointola.c
235
return refcount_inc_not_zero(&ep->base.refcnt);
net/sctp/transport.c
468
return refcount_inc_not_zero(&transport->refcnt);
net/smc/af_smc.c
136
if (!smc || !refcount_inc_not_zero(&smc->sk.sk_refcnt)) {
net/sunrpc/auth_gss/auth_gss.c
1191
if (!refcount_inc_not_zero(&gss_auth->rpc_auth.au_count))
net/sunrpc/debugfs.c
96
if (!refcount_inc_not_zero(&clnt->cl_count)) {
net/sunrpc/rpc_pipe.c
426
if (clnt != NULL && refcount_inc_not_zero(&clnt->cl_count)) {
net/sunrpc/sysfs.c
69
return refcount_inc_not_zero(&ret->cl_count) ? ret : NULL;
net/tipc/bearer.c
391
return (b && refcount_inc_not_zero(&b->refcnt));
net/tipc/crypto.c
1369
WARN_ON(!refcount_inc_not_zero(&aead->refcnt));
net/tipc/crypto.c
1942
WARN_ON(!refcount_inc_not_zero(&tmp->refcnt));
net/tipc/crypto.c
389
if (unlikely(!tmp || !refcount_inc_not_zero(&tmp->refcnt)))
net/tipc/crypto.c
663
WARN_ON(!refcount_inc_not_zero(&src->refcnt));
net/tls/tls_device.c
1309
!refcount_inc_not_zero(&ctx->refcount))
net/xfrm/xfrm_policy.c
213
return refcount_inc_not_zero(&policy->refcnt);
net/xfrm/xfrm_state.c
58
return refcount_inc_not_zero(&x->refcnt);
security/keys/key.c
701
if (!refcount_inc_not_zero(&key->usage))
security/keys/keyring.c
1180
if (!refcount_inc_not_zero(&keyring->usage))
security/landlock/fs.c
263
if (likely(refcount_inc_not_zero(&object->usage))) {
tools/include/linux/refcount.h
114
REFCOUNT_WARN(!refcount_inc_not_zero(r), "refcount_t: increment on 0; use-after-free.\n");
tools/perf/util/comm.c
59
refcount_inc_not_zero(comm_str__refcnt(cs));
virt/kvm/kvm_main.c
1331
return refcount_inc_not_zero(&kvm->users_count);