refcnt 130 arch/ia64/kernel/iosapic.c int refcnt; /* reference counter */ refcnt 576 arch/ia64/kernel/iosapic.c rte->refcnt++; refcnt 581 arch/ia64/kernel/iosapic.c else if (rte->refcnt == NO_REF_RTE) { refcnt 590 arch/ia64/kernel/iosapic.c rte->refcnt++; refcnt 734 arch/ia64/kernel/iosapic.c } else if (rte->refcnt != NO_REF_RTE) { refcnt 735 arch/ia64/kernel/iosapic.c rte->refcnt++; refcnt 810 arch/ia64/kernel/iosapic.c if (--rte->refcnt > 0) refcnt 813 arch/ia64/kernel/iosapic.c rte->refcnt = NO_REF_RTE; refcnt 1016 arch/ia64/kernel/iosapic.c if (rte->refcnt) refcnt 41 arch/powerpc/include/asm/kvm_book3s_64.h long refcnt; /* number of pointers to this struct */ refcnt 183 arch/powerpc/include/asm/kvm_host.h atomic_t refcnt; refcnt 632 arch/powerpc/kvm/book3s_hv_nested.c --gp->refcnt; refcnt 634 arch/powerpc/kvm/book3s_hv_nested.c ref = gp->refcnt; refcnt 660 arch/powerpc/kvm/book3s_hv_nested.c if (--gp->refcnt == 0) { refcnt 704 arch/powerpc/kvm/book3s_hv_nested.c ++gp->refcnt; refcnt 719 arch/powerpc/kvm/book3s_hv_nested.c ++newgp->refcnt; refcnt 725 arch/powerpc/kvm/book3s_hv_nested.c ++gp->refcnt; refcnt 740 arch/powerpc/kvm/book3s_hv_nested.c ref = --gp->refcnt; refcnt 22 arch/sparc/kernel/hvapi.c unsigned int refcnt; refcnt 72 arch/sparc/kernel/hvapi.c p->refcnt++; refcnt 77 arch/sparc/kernel/hvapi.c if (--p->refcnt == 0) { refcnt 107 arch/sparc/kernel/hvapi.c if (p->refcnt) { refcnt 171 arch/sparc/kernel/hvapi.c if (p && p->refcnt) { refcnt 75 arch/sparc/kernel/mdesc.c refcount_t refcnt; refcnt 157 arch/sparc/kernel/mdesc.c refcount_set(&hp->refcnt, 1); refcnt 187 arch/sparc/kernel/mdesc.c BUG_ON(refcount_read(&hp->refcnt) != 0); refcnt 225 arch/sparc/kernel/mdesc.c BUG_ON(refcount_read(&hp->refcnt) != 0); refcnt 264 arch/sparc/kernel/mdesc.c refcount_inc(&hp->refcnt); refcnt 276 arch/sparc/kernel/mdesc.c if (refcount_dec_and_test(&hp->refcnt)) { refcnt 520 arch/sparc/kernel/mdesc.c refcount_dec(&hp->refcnt); refcnt 533 arch/sparc/kernel/mdesc.c if (refcount_dec_and_test(&orig_hp->refcnt)) refcnt 550 arch/x86/events/amd/core.c cpuc->amd_nb->refcnt++; refcnt 565 arch/x86/events/amd/core.c if (nb->nb_id == -1 || --nb->refcnt == 0) refcnt 42 arch/x86/events/amd/uncore.c int refcnt; refcnt 390 arch/x86/events/amd/uncore.c this->refcnt++; refcnt 496 arch/x86/events/amd/uncore.c if (!--uncore->refcnt) refcnt 3747 arch/x86/events/intel/core.c cpuc->shared_regs->refcnt++; refcnt 3769 arch/x86/events/intel/core.c cpuc->excl_cntrs->refcnt++; refcnt 3779 arch/x86/events/intel/core.c if (c->core_id == -1 || --c->refcnt == 0) refcnt 3802 arch/x86/events/intel/core.c if (pc->core_id == -1 || --pc->refcnt == 0) refcnt 1053 arch/x86/events/intel/uncore.c atomic_inc(&box->refcnt); refcnt 1206 arch/x86/events/intel/uncore.c if (box && atomic_dec_return(&box->refcnt) == 0) refcnt 1296 arch/x86/events/intel/uncore.c if (box && atomic_inc_return(&box->refcnt) == 1) refcnt 120 arch/x86/events/intel/uncore.h atomic_t refcnt; refcnt 84 arch/x86/events/perf_event.h int refcnt; /* reference count */ refcnt 149 arch/x86/events/perf_event.h int refcnt; /* per-core: #HT threads */ refcnt 174 arch/x86/events/perf_event.h int refcnt; /* per-core: #HT threads */ refcnt 85 block/blk-cgroup.c percpu_ref_exit(&blkg->refcnt); refcnt 115 block/blk-cgroup.c struct blkcg_gq *blkg = container_of(ref, struct blkcg_gq, refcnt); refcnt 156 block/blk-cgroup.c if (percpu_ref_init(&blkg->refcnt, blkg_release, 0, gfp_mask)) refcnt 436 block/blk-cgroup.c percpu_ref_kill(&blkg->refcnt); refcnt 132 crypto/af_alg.c bool last = nokey && !ask->refcnt; refcnt 141 crypto/af_alg.c last = !--ask->refcnt; refcnt 190 crypto/af_alg.c if (ask->refcnt | ask->nokey_refcnt) refcnt 239 crypto/af_alg.c if (ask->refcnt) refcnt 304 crypto/af_alg.c if (nokey || !ask->refcnt++) refcnt 387 crypto/algif_aead.c if (ask->refcnt) refcnt 399 crypto/algif_aead.c if (!pask->refcnt++) refcnt 402 crypto/algif_aead.c ask->refcnt = 1; refcnt 304 crypto/algif_hash.c if (ask->refcnt) refcnt 316 crypto/algif_hash.c if (!pask->refcnt++) refcnt 319 crypto/algif_hash.c ask->refcnt = 1; refcnt 218 crypto/algif_skcipher.c if (ask->refcnt) refcnt 230 crypto/algif_skcipher.c if (!pask->refcnt++) refcnt 233 crypto/algif_skcipher.c ask->refcnt = 1; refcnt 66 crypto/cryptd.c refcount_t refcnt; refcnt 75 crypto/cryptd.c refcount_t refcnt; refcnt 85 crypto/cryptd.c refcount_t refcnt; refcnt 130 crypto/cryptd.c refcount_t *refcnt; refcnt 136 crypto/cryptd.c refcnt = crypto_tfm_ctx(request->tfm); refcnt 143 crypto/cryptd.c if (!refcount_read(refcnt)) refcnt 146 crypto/cryptd.c refcount_inc(refcnt); refcnt 273 crypto/cryptd.c int refcnt = refcount_read(&ctx->refcnt); refcnt 279 crypto/cryptd.c if (err != -EINPROGRESS && refcnt && refcount_dec_and_test(&ctx->refcnt)) refcnt 524 crypto/cryptd.c int refcnt = refcount_read(&ctx->refcnt); refcnt 530 crypto/cryptd.c if (err != -EINPROGRESS && refcnt && refcount_dec_and_test(&ctx->refcnt)) refcnt 761 crypto/cryptd.c int refcnt; refcnt 775 crypto/cryptd.c refcnt = refcount_read(&ctx->refcnt); refcnt 781 crypto/cryptd.c if (err != -EINPROGRESS && refcnt && refcount_dec_and_test(&ctx->refcnt)) refcnt 982 crypto/cryptd.c refcount_set(&ctx->refcnt, 1); refcnt 1000 crypto/cryptd.c return refcount_read(&ctx->refcnt) - 1; refcnt 1008 crypto/cryptd.c if (refcount_dec_and_test(&ctx->refcnt)) refcnt 1032 crypto/cryptd.c refcount_set(&ctx->refcnt, 1); refcnt 1057 crypto/cryptd.c return refcount_read(&ctx->refcnt) - 1; refcnt 1065 crypto/cryptd.c if (refcount_dec_and_test(&ctx->refcnt)) refcnt 1089 crypto/cryptd.c refcount_set(&ctx->refcnt, 1); refcnt 1107 crypto/cryptd.c return refcount_read(&ctx->refcnt) - 1; refcnt 1115 crypto/cryptd.c if (refcount_dec_and_test(&ctx->refcnt)) refcnt 72 drivers/acpi/pci_link.c int refcnt; refcnt 540 drivers/acpi/pci_link.c if (link->refcnt == 0) refcnt 652 drivers/acpi/pci_link.c link->refcnt++; refcnt 705 drivers/acpi/pci_link.c link->refcnt--; refcnt 711 drivers/acpi/pci_link.c if (link->refcnt == 0) refcnt 782 drivers/acpi/pci_link.c if (link->refcnt && link->irq.active && link->irq.initialized) refcnt 574 drivers/block/drbd/drbd_actlog.c rv = (al_ext->refcnt == 0); refcnt 923 drivers/block/drbd/drbd_actlog.c if (bm_ext->lce.refcnt == 1) refcnt 1073 drivers/block/drbd/drbd_actlog.c bm_ext->lce.refcnt--; refcnt 1074 drivers/block/drbd/drbd_actlog.c D_ASSERT(device, bm_ext->lce.refcnt > 0); refcnt 1100 drivers/block/drbd/drbd_actlog.c D_ASSERT(device, bm_ext->lce.refcnt == 1); refcnt 1151 drivers/block/drbd/drbd_actlog.c if (bm_ext->lce.refcnt == 0) { refcnt 1218 drivers/block/drbd/drbd_actlog.c if (bm_ext->lce.refcnt != 0) { refcnt 1220 drivers/block/drbd/drbd_actlog.c "refcnt=%d\n", bm_ext->lce.refcnt); refcnt 1170 drivers/block/drbd/drbd_nl.c if (e->refcnt) refcnt 1172 drivers/block/drbd/drbd_nl.c e->lc_number, e->refcnt); refcnt 1173 drivers/block/drbd/drbd_nl.c in_use += e->refcnt; refcnt 2272 drivers/block/pktcdvd.c BUG_ON(pd->refcnt < 0); refcnt 2274 drivers/block/pktcdvd.c pd->refcnt++; refcnt 2275 drivers/block/pktcdvd.c if (pd->refcnt > 1) { refcnt 2297 drivers/block/pktcdvd.c pd->refcnt--; refcnt 2310 drivers/block/pktcdvd.c pd->refcnt--; refcnt 2311 drivers/block/pktcdvd.c BUG_ON(pd->refcnt < 0); refcnt 2312 drivers/block/pktcdvd.c if (pd->refcnt == 0) { refcnt 2542 drivers/block/pktcdvd.c seq_printf(m, "\treference count:\t%d\n", pd->refcnt); refcnt 2643 drivers/block/pktcdvd.c if (pd->refcnt == 1) refcnt 2809 drivers/block/pktcdvd.c if (pd->refcnt > 0) { refcnt 312 drivers/block/xen-blkback/common.h atomic_t refcnt; refcnt 365 drivers/block/xen-blkback/common.h #define xen_blkif_get(_b) (atomic_inc(&(_b)->refcnt)) refcnt 368 drivers/block/xen-blkback/common.h if (atomic_dec_and_test(&(_b)->refcnt)) \ refcnt 172 drivers/block/xen-blkback/xenbus.c atomic_set(&blkif->refcnt, 1); refcnt 72 drivers/char/mspec.c refcount_t refcnt; /* Number of vmas sharing the data. */ refcnt 94 drivers/char/mspec.c refcount_inc(&vdata->refcnt); refcnt 112 drivers/char/mspec.c if (!refcount_dec_and_test(&vdata->refcnt)) refcnt 210 drivers/char/mspec.c refcount_set(&vdata->refcnt, 1); refcnt 40 drivers/char/pcmcia/scr24x_cs.c struct kref refcnt; refcnt 53 drivers/char/pcmcia/scr24x_cs.c refcnt); refcnt 79 drivers/char/pcmcia/scr24x_cs.c kref_get(&dev->refcnt); refcnt 95 drivers/char/pcmcia/scr24x_cs.c kref_put(&dev->refcnt, scr24x_delete); refcnt 248 drivers/char/pcmcia/scr24x_cs.c kref_init(&dev->refcnt); refcnt 304 drivers/char/pcmcia/scr24x_cs.c kref_put(&dev->refcnt, scr24x_delete); refcnt 34 drivers/connector/cn_queue.c refcount_set(&cbq->refcnt, 1); refcnt 36 drivers/connector/cn_queue.c atomic_inc(&dev->refcnt); refcnt 47 drivers/connector/cn_queue.c if (!refcount_dec_and_test(&cbq->refcnt)) refcnt 50 drivers/connector/cn_queue.c atomic_dec(&cbq->pdev->refcnt); refcnt 121 drivers/connector/cn_queue.c atomic_set(&dev->refcnt, 0); refcnt 139 drivers/connector/cn_queue.c while (atomic_read(&dev->refcnt)) { refcnt 141 drivers/connector/cn_queue.c dev->name, atomic_read(&dev->refcnt)); refcnt 148 drivers/connector/connector.c refcount_inc(&i->refcnt); refcnt 102 drivers/cpuidle/coupled.c int refcnt; refcnt 673 drivers/cpuidle/coupled.c coupled->refcnt++; refcnt 697 drivers/cpuidle/coupled.c if (--coupled->refcnt) refcnt 158 drivers/cpuidle/driver.c drv->refcnt = 0; refcnt 232 drivers/cpuidle/driver.c if (WARN_ON(drv->refcnt > 0)) refcnt 357 drivers/cpuidle/driver.c drv->refcnt++; refcnt 376 drivers/cpuidle/driver.c if (drv && !WARN_ON(drv->refcnt <= 0)) refcnt 377 drivers/cpuidle/driver.c drv->refcnt--; refcnt 230 drivers/crypto/cavium/nitrox/nitrox_dev.h refcount_t refcnt; refcnt 250 drivers/crypto/cavium/nitrox/nitrox_main.c refcount_set(&ndev->refcnt, 1); refcnt 292 drivers/crypto/cavium/nitrox/nitrox_main.c refcount_inc(&ndev->refcnt); refcnt 303 drivers/crypto/cavium/nitrox/nitrox_main.c refcount_dec(&ndev->refcnt); refcnt 542 drivers/crypto/cavium/nitrox/nitrox_main.c if (!refcount_dec_and_test(&ndev->refcnt)) { refcnt 544 drivers/crypto/cavium/nitrox/nitrox_main.c refcount_read(&ndev->refcnt)); refcnt 106 drivers/dma/mediatek/mtk-cqdma.c refcount_t refcnt; refcnt 618 drivers/dma/mediatek/mtk-cqdma.c u32 i, min_refcnt = U32_MAX, refcnt; refcnt 623 drivers/dma/mediatek/mtk-cqdma.c refcnt = refcount_read(&cqdma->pc[i]->refcnt); refcnt 624 drivers/dma/mediatek/mtk-cqdma.c if (refcnt < min_refcnt) { refcnt 626 drivers/dma/mediatek/mtk-cqdma.c min_refcnt = refcnt; refcnt 635 drivers/dma/mediatek/mtk-cqdma.c if (!refcount_read(&pc->refcnt)) { refcnt 646 drivers/dma/mediatek/mtk-cqdma.c refcount_set(&pc->refcnt, 1); refcnt 648 drivers/dma/mediatek/mtk-cqdma.c refcount_inc(&pc->refcnt); refcnt 669 drivers/dma/mediatek/mtk-cqdma.c if (refcount_dec_and_test(&cvc->pc->refcnt)) { refcnt 821 drivers/dma/mediatek/mtk-cqdma.c refcount_set(&cqdma->pc[i]->refcnt, 0); refcnt 47 drivers/gpio/gpio-grgpio.c u8 refcnt; /* Reference counter to manage requesting/freeing of uirq */ refcnt 255 drivers/gpio/gpio-grgpio.c if (uirq->refcnt == 0) { refcnt 267 drivers/gpio/gpio-grgpio.c uirq->refcnt++; refcnt 310 drivers/gpio/gpio-grgpio.c uirq->refcnt--; refcnt 311 drivers/gpio/gpio-grgpio.c if (uirq->refcnt == 0) { refcnt 446 drivers/gpio/gpio-grgpio.c if (priv->uirqs[i].refcnt != 0) { refcnt 18 drivers/gpu/drm/lima/lima_ctx.c kref_init(&ctx->refcnt); refcnt 41 drivers/gpu/drm/lima/lima_ctx.c struct lima_ctx *ctx = container_of(ref, struct lima_ctx, refcnt); refcnt 57 drivers/gpu/drm/lima/lima_ctx.c kref_put(&ctx->refcnt, lima_ctx_do_release); refcnt 71 drivers/gpu/drm/lima/lima_ctx.c kref_get(&ctx->refcnt); refcnt 78 drivers/gpu/drm/lima/lima_ctx.c kref_put(&ctx->refcnt, lima_ctx_do_release); refcnt 93 drivers/gpu/drm/lima/lima_ctx.c kref_put(&ctx->refcnt, lima_ctx_do_release); refcnt 12 drivers/gpu/drm/lima/lima_ctx.h struct kref refcnt; refcnt 545 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h int refcnt), refcnt 546 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_ARGS(drm_id, pp, enable, refcnt), refcnt 551 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __field( int, refcnt ) refcnt 557 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __entry->refcnt = refcnt; refcnt 561 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __entry->refcnt) refcnt 623 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h int refcnt), refcnt 624 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_ARGS(drm_id, intf_idx, enable, refcnt), refcnt 629 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __field( int, refcnt ) refcnt 635 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __entry->refcnt = refcnt; refcnt 51 drivers/gpu/drm/vc4/vc4_drv.h refcount_t refcnt; refcnt 21 drivers/gpu/drm/vc4/vc4_perfmon.c refcount_inc(&perfmon->refcnt); refcnt 26 drivers/gpu/drm/vc4/vc4_perfmon.c if (perfmon && refcount_dec_and_test(&perfmon->refcnt)) refcnt 136 drivers/gpu/drm/vc4/vc4_perfmon.c refcount_set(&perfmon->refcnt, 1); refcnt 166 drivers/hwtracing/coresight/coresight-etb10.c atomic_inc(csdev->refcnt); refcnt 201 drivers/hwtracing/coresight/coresight-etb10.c atomic_inc(csdev->refcnt); refcnt 219 drivers/hwtracing/coresight/coresight-etb10.c atomic_inc(csdev->refcnt); refcnt 356 drivers/hwtracing/coresight/coresight-etb10.c if (atomic_dec_return(csdev->refcnt)) { refcnt 446 drivers/hwtracing/coresight/coresight-etb10.c if (atomic_read(csdev->refcnt) != 1) refcnt 85 drivers/hwtracing/coresight/coresight-funnel.c if (atomic_read(&csdev->refcnt[inport]) == 0) { refcnt 92 drivers/hwtracing/coresight/coresight-funnel.c atomic_inc(&csdev->refcnt[inport]); refcnt 126 drivers/hwtracing/coresight/coresight-funnel.c if (atomic_dec_return(&csdev->refcnt[inport]) == 0) { refcnt 106 drivers/hwtracing/coresight/coresight-replicator.c if (atomic_read(&csdev->refcnt[outport]) == 0) { refcnt 114 drivers/hwtracing/coresight/coresight-replicator.c atomic_inc(&csdev->refcnt[outport]); refcnt 158 drivers/hwtracing/coresight/coresight-replicator.c if (atomic_dec_return(&csdev->refcnt[outport]) == 0) { refcnt 185 drivers/hwtracing/coresight/coresight-tmc-etf.c atomic_inc(csdev->refcnt); refcnt 208 drivers/hwtracing/coresight/coresight-tmc-etf.c atomic_inc(csdev->refcnt); refcnt 262 drivers/hwtracing/coresight/coresight-tmc-etf.c atomic_inc(csdev->refcnt); refcnt 271 drivers/hwtracing/coresight/coresight-tmc-etf.c atomic_inc(csdev->refcnt); refcnt 316 drivers/hwtracing/coresight/coresight-tmc-etf.c if (atomic_dec_return(csdev->refcnt)) { refcnt 348 drivers/hwtracing/coresight/coresight-tmc-etf.c if (atomic_read(&csdev->refcnt[0]) == 0) { refcnt 356 drivers/hwtracing/coresight/coresight-tmc-etf.c atomic_inc(&csdev->refcnt[0]); refcnt 377 drivers/hwtracing/coresight/coresight-tmc-etf.c if (atomic_dec_return(&csdev->refcnt[0]) == 0) { refcnt 464 drivers/hwtracing/coresight/coresight-tmc-etf.c if (atomic_read(csdev->refcnt) != 1) refcnt 1163 drivers/hwtracing/coresight/coresight-tmc-etr.c atomic_inc(csdev->refcnt); refcnt 1180 drivers/hwtracing/coresight/coresight-tmc-etr.c atomic_inc(csdev->refcnt); refcnt 1489 drivers/hwtracing/coresight/coresight-tmc-etr.c if (atomic_read(csdev->refcnt) != 1) { refcnt 1596 drivers/hwtracing/coresight/coresight-tmc-etr.c atomic_inc(csdev->refcnt); refcnt 1606 drivers/hwtracing/coresight/coresight-tmc-etr.c atomic_inc(csdev->refcnt); refcnt 1640 drivers/hwtracing/coresight/coresight-tmc-etr.c if (atomic_dec_return(csdev->refcnt)) { refcnt 77 drivers/hwtracing/coresight/coresight-tpiu.c atomic_inc(csdev->refcnt); refcnt 102 drivers/hwtracing/coresight/coresight-tpiu.c if (atomic_dec_return(csdev->refcnt)) refcnt 307 drivers/hwtracing/coresight/coresight.c if (atomic_read(&csdev->refcnt[i]) != 0) refcnt 332 drivers/hwtracing/coresight/coresight.c atomic_inc(csdev->refcnt); refcnt 347 drivers/hwtracing/coresight/coresight.c if (atomic_dec_return(csdev->refcnt) == 0) { refcnt 763 drivers/hwtracing/coresight/coresight.c atomic_inc(csdev->refcnt); refcnt 965 drivers/hwtracing/coresight/coresight.c kfree(csdev->refcnt); refcnt 1201 drivers/hwtracing/coresight/coresight.c csdev->refcnt = refcnts; refcnt 192 drivers/infiniband/core/uverbs.h atomic_t refcnt; refcnt 619 drivers/infiniband/core/uverbs_cmd.c atomic_set(&obj->refcnt, 0); refcnt 1467 drivers/infiniband/core/uverbs_cmd.c atomic_inc(&obj->uxrcd->refcnt); refcnt 1610 drivers/infiniband/core/uverbs_cmd.c atomic_inc(&obj->uxrcd->refcnt); refcnt 3388 drivers/infiniband/core/uverbs_cmd.c atomic_inc(&obj->uxrcd->refcnt); refcnt 3484 drivers/infiniband/core/uverbs_cmd.c atomic_dec(&obj->uxrcd->refcnt); refcnt 106 drivers/infiniband/core/uverbs_std_types.c atomic_dec(&uqp->uxrcd->refcnt); refcnt 163 drivers/infiniband/core/uverbs_std_types.c atomic_dec(&us->uxrcd->refcnt); refcnt 179 drivers/infiniband/core/uverbs_std_types.c ret = ib_destroy_usecnt(&uxrcd->refcnt, why, uobject); refcnt 333 drivers/infiniband/hw/bnxt_re/ib_verbs.c ctx->refcnt == 1 && rdev->qp1_sqp) { refcnt 338 drivers/infiniband/hw/bnxt_re/ib_verbs.c ctx->refcnt--; refcnt 339 drivers/infiniband/hw/bnxt_re/ib_verbs.c if (!ctx->refcnt) { refcnt 375 drivers/infiniband/hw/bnxt_re/ib_verbs.c ctx_tbl[tbl_idx]->refcnt++; refcnt 390 drivers/infiniband/hw/bnxt_re/ib_verbs.c ctx->refcnt = 1; refcnt 44 drivers/infiniband/hw/bnxt_re/ib_verbs.h u32 refcnt; refcnt 78 drivers/infiniband/hw/cxgb3/iwch_ev.c atomic_inc(&qhp->refcnt); refcnt 103 drivers/infiniband/hw/cxgb3/iwch_ev.c if (atomic_dec_and_test(&qhp->refcnt)) refcnt 130 drivers/infiniband/hw/cxgb3/iwch_ev.c atomic_inc(&chp->refcnt); refcnt 227 drivers/infiniband/hw/cxgb3/iwch_ev.c if (atomic_dec_and_test(&chp->refcnt)) refcnt 99 drivers/infiniband/hw/cxgb3/iwch_provider.c atomic_dec(&chp->refcnt); refcnt 100 drivers/infiniband/hw/cxgb3/iwch_provider.c wait_event(chp->wait, !atomic_read(&chp->refcnt)); refcnt 154 drivers/infiniband/hw/cxgb3/iwch_provider.c atomic_set(&chp->refcnt, 1); refcnt 681 drivers/infiniband/hw/cxgb3/iwch_provider.c atomic_dec(&qhp->refcnt); refcnt 682 drivers/infiniband/hw/cxgb3/iwch_provider.c wait_event(qhp->wait, !atomic_read(&qhp->refcnt)); refcnt 793 drivers/infiniband/hw/cxgb3/iwch_provider.c atomic_set(&qhp->refcnt, 1); refcnt 894 drivers/infiniband/hw/cxgb3/iwch_provider.c atomic_inc(&(to_iwch_qp(qp)->refcnt)); refcnt 900 drivers/infiniband/hw/cxgb3/iwch_provider.c if (atomic_dec_and_test(&(to_iwch_qp(qp)->refcnt))) refcnt 109 drivers/infiniband/hw/cxgb3/iwch_provider.h atomic_t refcnt; refcnt 168 drivers/infiniband/hw/cxgb3/iwch_provider.h atomic_t refcnt; refcnt 735 drivers/infiniband/hw/cxgb3/iwch_qp.c atomic_inc(&qhp->refcnt); refcnt 767 drivers/infiniband/hw/cxgb3/iwch_qp.c if (atomic_dec_and_test(&qhp->refcnt)) refcnt 979 drivers/infiniband/hw/cxgb4/cq.c atomic_dec(&chp->refcnt); refcnt 980 drivers/infiniband/hw/cxgb4/cq.c wait_event(chp->wait, !atomic_read(&chp->refcnt)); refcnt 1079 drivers/infiniband/hw/cxgb4/cq.c atomic_set(&chp->refcnt, 1); refcnt 154 drivers/infiniband/hw/cxgb4/ev.c atomic_inc(&chp->refcnt); refcnt 216 drivers/infiniband/hw/cxgb4/ev.c if (atomic_dec_and_test(&chp->refcnt)) refcnt 231 drivers/infiniband/hw/cxgb4/ev.c atomic_inc(&chp->refcnt); refcnt 237 drivers/infiniband/hw/cxgb4/ev.c if (atomic_dec_and_test(&chp->refcnt)) refcnt 435 drivers/infiniband/hw/cxgb4/iw_cxgb4.h atomic_t refcnt; refcnt 42 drivers/infiniband/hw/mlx4/doorbell.c int refcnt; refcnt 66 drivers/infiniband/hw/mlx4/doorbell.c page->refcnt = 0; refcnt 79 drivers/infiniband/hw/mlx4/doorbell.c ++page->refcnt; refcnt 91 drivers/infiniband/hw/mlx4/doorbell.c if (!--db->u.user_page->refcnt) { refcnt 43 drivers/infiniband/hw/mlx5/doorbell.c int refcnt; refcnt 66 drivers/infiniband/hw/mlx5/doorbell.c page->refcnt = 0; refcnt 79 drivers/infiniband/hw/mlx5/doorbell.c ++page->refcnt; refcnt 91 drivers/infiniband/hw/mlx5/doorbell.c if (!--db->u.user_page->refcnt) { refcnt 454 drivers/infiniband/hw/qedr/qedr.h struct kref refcnt; refcnt 549 drivers/infiniband/hw/qedr/qedr.h struct kref refcnt; refcnt 84 drivers/infiniband/hw/qedr/qedr_iw_cm.c struct qedr_qp *qp = container_of(ref, struct qedr_qp, refcnt); refcnt 92 drivers/infiniband/hw/qedr/qedr_iw_cm.c struct qedr_iw_ep *ep = container_of(ref, struct qedr_iw_ep, refcnt); refcnt 95 drivers/infiniband/hw/qedr/qedr_iw_cm.c kref_put(&ep->qp->refcnt, qedr_iw_free_qp); refcnt 117 drivers/infiniband/hw/qedr/qedr_iw_cm.c kref_init(&ep->refcnt); refcnt 169 drivers/infiniband/hw/qedr/qedr_iw_cm.c kref_put(&ep->refcnt, qedr_iw_free_ep); refcnt 241 drivers/infiniband/hw/qedr/qedr_iw_cm.c kref_put(&ep->refcnt, qedr_iw_free_ep); refcnt 260 drivers/infiniband/hw/qedr/qedr_iw_cm.c kref_get(&ep->refcnt); refcnt 283 drivers/infiniband/hw/qedr/qedr_iw_cm.c kref_put(&ep->refcnt, qedr_iw_free_ep); refcnt 304 drivers/infiniband/hw/qedr/qedr_iw_cm.c kref_put(&ep->refcnt, qedr_iw_free_ep); refcnt 516 drivers/infiniband/hw/qedr/qedr_iw_cm.c kref_get(&qp->refcnt); refcnt 558 drivers/infiniband/hw/qedr/qedr_iw_cm.c kref_init(&ep->refcnt); refcnt 642 drivers/infiniband/hw/qedr/qedr_iw_cm.c kref_put(&ep->refcnt, qedr_iw_free_ep); refcnt 765 drivers/infiniband/hw/qedr/qedr_iw_cm.c kref_put(&ep->refcnt, qedr_iw_free_ep); refcnt 789 drivers/infiniband/hw/qedr/qedr_iw_cm.c kref_get(&qp->refcnt); refcnt 796 drivers/infiniband/hw/qedr/qedr_iw_cm.c kref_put(&qp->refcnt, qedr_iw_free_qp); refcnt 1198 drivers/infiniband/hw/qedr/verbs.c kref_init(&qp->refcnt); refcnt 96 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h refcount_t refcnt; refcnt 177 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h refcount_t refcnt; refcnt 199 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h refcount_t refcnt; refcnt 175 drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c refcount_set(&cq->refcnt, 1); refcnt 224 drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c if (refcount_dec_and_test(&cq->refcnt)) refcnt 319 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c refcount_inc(&qp->refcnt); refcnt 332 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c if (refcount_dec_and_test(&qp->refcnt)) refcnt 345 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c refcount_inc(&cq->refcnt); refcnt 358 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c if (refcount_dec_and_test(&cq->refcnt)) refcnt 374 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c refcount_inc(&srq->refcnt); refcnt 387 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c if (refcount_dec_and_test(&srq->refcnt)) refcnt 517 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c refcount_inc(&cq->refcnt); refcnt 523 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c if (refcount_dec_and_test(&cq->refcnt)) refcnt 248 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c refcount_set(&qp->refcnt, 1); refcnt 424 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c if (refcount_dec_and_test(&qp->refcnt)) refcnt 138 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c refcount_set(&srq->refcnt, 1); refcnt 224 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c if (refcount_dec_and_test(&srq->refcnt)) refcnt 458 drivers/infiniband/ulp/ipoib/ipoib.h atomic_t refcnt; refcnt 468 drivers/infiniband/ulp/ipoib/ipoib.h if (atomic_dec_and_test(&neigh->refcnt)) refcnt 1284 drivers/infiniband/ulp/ipoib/ipoib_main.c if (!atomic_inc_not_zero(&neigh->refcnt)) { refcnt 1379 drivers/infiniband/ulp/ipoib/ipoib_main.c atomic_set(&neigh->refcnt, 1); refcnt 1411 drivers/infiniband/ulp/ipoib/ipoib_main.c if (!atomic_inc_not_zero(&neigh->refcnt)) { refcnt 1426 drivers/infiniband/ulp/ipoib/ipoib_main.c atomic_inc(&neigh->refcnt); refcnt 216 drivers/media/platform/exynos-gsc/gsc-core.h int refcnt; refcnt 657 drivers/media/platform/exynos-gsc/gsc-m2m.c if (gsc->m2m.refcnt++ == 0) refcnt 682 drivers/media/platform/exynos-gsc/gsc-m2m.c task_pid_nr(current), gsc->state, gsc->m2m.refcnt); refcnt 691 drivers/media/platform/exynos-gsc/gsc-m2m.c if (--gsc->m2m.refcnt <= 0) refcnt 274 drivers/media/platform/exynos4-is/fimc-core.h int refcnt; refcnt 657 drivers/media/platform/exynos4-is/fimc-m2m.c if (fimc->m2m.refcnt++ == 0) refcnt 686 drivers/media/platform/exynos4-is/fimc-m2m.c task_pid_nr(current), fimc->state, fimc->m2m.refcnt); refcnt 695 drivers/media/platform/exynos4-is/fimc-m2m.c if (--fimc->m2m.refcnt <= 0) refcnt 624 drivers/media/platform/sti/bdisp/bdisp-v4l2.c bdisp->m2m.refcnt++; refcnt 663 drivers/media/platform/sti/bdisp/bdisp-v4l2.c if (--bdisp->m2m.refcnt <= 0) refcnt 140 drivers/media/platform/sti/bdisp/bdisp.h int refcnt; refcnt 108 drivers/media/platform/vsp1/vsp1_dl.c refcount_t refcnt; refcnt 339 drivers/media/platform/vsp1/vsp1_dl.c refcount_set(&dlb->refcnt, 1); refcnt 360 drivers/media/platform/vsp1/vsp1_dl.c if (!refcount_dec_and_test(&dlb->refcnt)) refcnt 712 drivers/media/platform/vsp1/vsp1_dl.c refcount_inc(&dlb->refcnt); refcnt 27 drivers/misc/mei/client.c kref_init(&me_cl->refcnt); refcnt 41 drivers/misc/mei/client.c if (me_cl && kref_get_unless_zero(&me_cl->refcnt)) refcnt 57 drivers/misc/mei/client.c container_of(ref, struct mei_me_client, refcnt); refcnt 72 drivers/misc/mei/client.c kref_put(&me_cl->refcnt, mei_me_cl_release); refcnt 47 drivers/misc/mei/debugfs.c kref_read(&me_cl->refcnt)); refcnt 158 drivers/misc/mei/mei_dev.h struct kref refcnt; refcnt 79 drivers/mtd/ubi/block.c int refcnt; refcnt 225 drivers/mtd/ubi/block.c if (dev->refcnt > 0) { refcnt 253 drivers/mtd/ubi/block.c dev->refcnt++; refcnt 267 drivers/mtd/ubi/block.c dev->refcnt--; refcnt 268 drivers/mtd/ubi/block.c if (dev->refcnt == 0) { refcnt 507 drivers/mtd/ubi/block.c if (dev->refcnt > 0) { refcnt 45 drivers/mtd/ubi/gluebi.c int refcnt; refcnt 94 drivers/mtd/ubi/gluebi.c if (gluebi->refcnt > 0) { refcnt 103 drivers/mtd/ubi/gluebi.c gluebi->refcnt += 1; refcnt 118 drivers/mtd/ubi/gluebi.c gluebi->refcnt += 1; refcnt 136 drivers/mtd/ubi/gluebi.c gluebi->refcnt -= 1; refcnt 137 drivers/mtd/ubi/gluebi.c if (gluebi->refcnt == 0) refcnt 360 drivers/mtd/ubi/gluebi.c } else if (gluebi->refcnt) refcnt 386 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mchandle->refcnt = 0; refcnt 389 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mchandle->refcnt++; refcnt 404 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mchandle->refcnt--; refcnt 405 drivers/net/ethernet/brocade/bna/bna_tx_rx.c if (mchandle->refcnt == 0) { refcnt 868 drivers/net/ethernet/brocade/bna/bna_types.h int refcnt; refcnt 228 drivers/net/ethernet/chelsio/cxgb3/l2t.c if (atomic_read(&e->refcnt) == 0) refcnt 231 drivers/net/ethernet/chelsio/cxgb3/l2t.c for (e = &d->l2tab[1]; atomic_read(&e->refcnt); ++e) ; refcnt 267 drivers/net/ethernet/chelsio/cxgb3/l2t.c if (atomic_read(&e->refcnt) == 0) { /* hasn't been recycled */ refcnt 338 drivers/net/ethernet/chelsio/cxgb3/l2t.c if (atomic_read(&e->refcnt) == 1) refcnt 353 drivers/net/ethernet/chelsio/cxgb3/l2t.c atomic_set(&e->refcnt, 1); refcnt 421 drivers/net/ethernet/chelsio/cxgb3/l2t.c if (atomic_read(&e->refcnt)) { refcnt 462 drivers/net/ethernet/chelsio/cxgb3/l2t.c atomic_set(&d->l2tab[i].refcnt, 0); refcnt 69 drivers/net/ethernet/chelsio/cxgb3/l2t.h atomic_t refcnt; /* entry reference count */ refcnt 136 drivers/net/ethernet/chelsio/cxgb3/l2t.h if (atomic_dec_and_test(&e->refcnt) && d) refcnt 144 drivers/net/ethernet/chelsio/cxgb3/l2t.h if (d && atomic_add_return(1, &e->refcnt) == 1) /* 0 -> 1 transition */ refcnt 99 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c refcount_inc(&ce->refcnt); refcnt 112 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c refcount_set(&ce->refcnt, 0); refcnt 142 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c refcount_set(&ce->refcnt, 1); refcnt 181 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c if (refcount_dec_and_test(&ce->refcnt)) { refcnt 268 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c refcount_read(&ce->refcnt)); refcnt 17 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.h refcount_t refcnt; refcnt 922 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h refcount_t refcnt; refcnt 17 drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c if (!refcount_dec_and_test(&mps_entry->refcnt)) { refcnt 39 drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c if (!refcount_dec_and_test(&mps_entry->refcnt)) { refcnt 63 drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c refcount_inc(&mps_entry->refcnt); refcnt 75 drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c refcount_set(&mps_entry->refcnt, 1); refcnt 72 drivers/net/ethernet/chelsio/cxgb4/l2t.c if (atomic_add_return(1, &e->refcnt) == 1) /* 0 -> 1 transition */ refcnt 273 drivers/net/ethernet/chelsio/cxgb4/l2t.c if (atomic_read(&e->refcnt) == 0) refcnt 276 drivers/net/ethernet/chelsio/cxgb4/l2t.c for (e = d->l2tab; atomic_read(&e->refcnt); ++e) refcnt 305 drivers/net/ethernet/chelsio/cxgb4/l2t.c if (atomic_read(&e->refcnt) == 0) { refcnt 356 drivers/net/ethernet/chelsio/cxgb4/l2t.c if (atomic_read(&e->refcnt) == 0) { /* hasn't been recycled */ refcnt 376 drivers/net/ethernet/chelsio/cxgb4/l2t.c if (atomic_read(&e->refcnt) == 0) { /* hasn't been recycled */ refcnt 392 drivers/net/ethernet/chelsio/cxgb4/l2t.c if (atomic_dec_and_test(&e->refcnt)) refcnt 448 drivers/net/ethernet/chelsio/cxgb4/l2t.c if (atomic_read(&e->refcnt) == 1) refcnt 465 drivers/net/ethernet/chelsio/cxgb4/l2t.c atomic_set(&e->refcnt, 1); refcnt 548 drivers/net/ethernet/chelsio/cxgb4/l2t.c if (atomic_read(&e->refcnt)) refcnt 596 drivers/net/ethernet/chelsio/cxgb4/l2t.c if (!atomic_read(&e->refcnt)) { refcnt 601 drivers/net/ethernet/chelsio/cxgb4/l2t.c atomic_set(&e->refcnt, 1); refcnt 610 drivers/net/ethernet/chelsio/cxgb4/l2t.c atomic_inc(&e->refcnt); refcnt 664 drivers/net/ethernet/chelsio/cxgb4/l2t.c atomic_set(&d->l2tab[i].refcnt, 0); refcnt 725 drivers/net/ethernet/chelsio/cxgb4/l2t.c l2e_state(e), atomic_read(&e->refcnt), refcnt 83 drivers/net/ethernet/chelsio/cxgb4/l2t.h atomic_t refcnt; /* entry reference count */ refcnt 176 drivers/net/ethernet/chelsio/cxgb4/sched.c if (atomic_dec_and_test(&e->refcnt)) { refcnt 219 drivers/net/ethernet/chelsio/cxgb4/sched.c atomic_inc(&e->refcnt); refcnt 437 drivers/net/ethernet/chelsio/cxgb4/sched.c atomic_set(&e->refcnt, 0); refcnt 491 drivers/net/ethernet/chelsio/cxgb4/sched.c atomic_set(&s->tab[i].refcnt, 0); refcnt 72 drivers/net/ethernet/chelsio/cxgb4/sched.h atomic_t refcnt; refcnt 60 drivers/net/ethernet/chelsio/cxgb4/smt.c s->smtab[i].refcnt = 0; refcnt 71 drivers/net/ethernet/chelsio/cxgb4/smt.c if (e->refcnt == 0) { refcnt 100 drivers/net/ethernet/chelsio/cxgb4/smt.c if (e->refcnt == 0) { /* hasn't been recycled */ refcnt 113 drivers/net/ethernet/chelsio/cxgb4/smt.c if ((--e->refcnt) == 0) refcnt 218 drivers/net/ethernet/chelsio/cxgb4/smt.c if (!e->refcnt) { refcnt 219 drivers/net/ethernet/chelsio/cxgb4/smt.c e->refcnt = 1; refcnt 225 drivers/net/ethernet/chelsio/cxgb4/smt.c ++e->refcnt; refcnt 62 drivers/net/ethernet/chelsio/cxgb4/smt.h int refcnt; refcnt 324 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c refcnt); refcnt 339 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c rv = kref_put(&ppm->refcnt, ppm_destroy); refcnt 424 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c kref_get(&ppm->refcnt); refcnt 470 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c kref_init(&ppm->refcnt); refcnt 497 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c kref_get(&ppm->refcnt); refcnt 129 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h struct kref refcnt; refcnt 839 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c atomic_inc(&fcoe->refcnt); refcnt 885 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c if (!atomic_dec_and_test(&adapter->fcoe.refcnt)) refcnt 54 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h atomic_t refcnt; refcnt 814 drivers/net/ethernet/mellanox/mlx5/core/en.h u16 refcnt; refcnt 207 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c if (!priv->xsk.refcnt) refcnt 238 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c if (!priv->xsk.refcnt) refcnt 58 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/umem.c xsk->refcnt++; refcnt 66 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/umem.c if (!--xsk->refcnt) { refcnt 258 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/umem.c u16 res = xsk->refcnt ? params->num_channels : 0; refcnt 396 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (priv->xsk.refcnt) { refcnt 436 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (priv->xsk.refcnt) { refcnt 3669 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (enable && priv->xsk.refcnt) { refcnt 3671 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->xsk.refcnt); refcnt 3945 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (priv->xsk.refcnt && refcnt 3960 drivers/net/ethernet/mellanox/mlx5/core/en_main.c is_linear |= priv->xsk.refcnt; refcnt 534 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c return refcount_inc_not_zero(&nhe->refcnt); refcnt 541 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c if (refcount_dec_and_test(&nhe->refcnt)) { refcnt 1088 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c refcount_set(&(*nhe)->refcnt, 1); refcnt 137 drivers/net/ethernet/mellanox/mlx5/core/en_rep.h refcount_t refcnt; refcnt 175 drivers/net/ethernet/mellanox/mlx5/core/en_rep.h refcount_t refcnt; refcnt 132 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c refcount_t refcnt; refcnt 184 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c refcount_t refcnt; refcnt 206 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c refcount_t refcnt; refcnt 218 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (!flow || !refcount_inc_not_zero(&flow->refcnt)) refcnt 226 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (refcount_dec_and_test(&flow->refcnt)) { refcnt 315 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c refcount_inc(&mh->refcnt); refcnt 330 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (!refcount_dec_and_mutex_lock(&mh->refcnt, &tbl->lock)) refcnt 392 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c refcount_set(&mh->refcnt, 1); refcnt 705 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c refcount_inc(&hpe->refcnt); refcnt 717 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (!refcount_dec_and_mutex_lock(&hpe->refcnt, &priv->fs.tc.hairpin_tbl_lock)) refcnt 823 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c refcount_set(&hpe->refcnt, 1); refcnt 1573 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (!refcount_dec_and_mutex_lock(&e->refcnt, &esw->offloads.encap_tbl_lock)) refcnt 1594 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (!refcount_dec_and_test(&e->refcnt)) { refcnt 1618 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (refcount_dec_and_test(&flow->peer_flow->refcnt)) { refcnt 2958 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c return refcount_inc_not_zero(&e->refcnt); refcnt 3041 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c refcount_set(&e->refcnt, 1); refcnt 3548 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c refcount_set(&flow->refcnt, 1); refcnt 4066 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (refcount_inc_not_zero(&hpe->refcnt)) refcnt 631 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c esw_mc->refcnt++; refcnt 638 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c esw_mc->refcnt, esw_mc->uplink_rule); refcnt 661 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c vport, mac, vaddr->flow_rule, esw_mc->refcnt, refcnt 671 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c if (vaddr->mc_promisc || (--esw_mc->refcnt > 0)) refcnt 782 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c esw_mc->refcnt++; refcnt 857 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c allmulti_addr->refcnt++; refcnt 862 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c if (--allmulti_addr->refcnt > 0) refcnt 200 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h u32 refcnt; refcnt 30 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c refcount_t refcnt; refcnt 81 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c refcount_set(®ion_generic->dummy_lkey_id.refcnt, 1); refcnt 192 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c refcount_set(&lkey_id->refcnt, 1); refcnt 241 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c refcount_inc(&lkey_id->refcnt); refcnt 252 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c if (refcount_dec_and_test(&lkey_id->refcnt)) refcnt 408 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c refcount_read(&lkey_id->refcnt) != 1, lkey_id->id, refcnt 437 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c refcount_read(&lkey_id->refcnt) != 1, refcnt 466 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c refcount_read(&lkey_id->refcnt) != 1, lkey_id->id, refcnt 16 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c refcount_t refcnt[0]; refcnt 183 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c if (refcount_inc_not_zero(&bf->refcnt[rule_index])) { refcnt 201 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c refcount_set(&bf->refcnt[rule_index], 1); refcnt 226 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c if (refcount_dec_and_test(&bf->refcnt[rule_index])) { refcnt 254 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c bf = kzalloc(struct_size(bf, refcnt, bf_bank_size * num_erp_banks), refcnt 137 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c atomic_t refcnt; refcnt 408 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if (!atomic_read(&bar->refcnt)) refcnt 442 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c atomic_inc(&bar->refcnt); refcnt 447 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if (atomic_dec_and_test(&bar->refcnt)) refcnt 620 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c atomic_inc(&bar->refcnt); refcnt 665 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c atomic_inc(&bar->refcnt); refcnt 685 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c atomic_inc(&bar->refcnt); refcnt 730 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c atomic_t refcnt; refcnt 777 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c atomic_set(&priv->refcnt, 0); refcnt 798 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c atomic_inc(&priv->refcnt); refcnt 805 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if (WARN_ON(!atomic_read(&priv->refcnt))) refcnt 808 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c return atomic_dec_and_test(&priv->refcnt); refcnt 166 drivers/net/ethernet/qlogic/qede/qede.h struct kref refcnt; refcnt 62 drivers/net/ethernet/qlogic/qede/qede_rdma.c kref_init(&edev->rdma_info.refcnt); refcnt 92 drivers/net/ethernet/qlogic/qede/qede_rdma.c container_of(ref, struct qede_rdma_dev, refcnt); refcnt 103 drivers/net/ethernet/qlogic/qede/qede_rdma.c kref_put(&edev->rdma_info.refcnt, qede_rdma_complete_event); refcnt 334 drivers/net/ethernet/qlogic/qede/qede_rdma.c if (!kref_get_unless_zero(&edev->rdma_info.refcnt)) refcnt 348 drivers/net/ethernet/qlogic/qede/qede_rdma.c kref_put(&edev->rdma_info.refcnt, qede_rdma_complete_event); refcnt 9467 drivers/net/ethernet/sun/niu.c atomic_set(&p->refcnt, 0); refcnt 9527 drivers/net/ethernet/sun/niu.c atomic_inc(&p->refcnt); refcnt 9555 drivers/net/ethernet/sun/niu.c if (atomic_dec_and_test(&p->refcnt)) { refcnt 3074 drivers/net/ethernet/sun/niu.h atomic_t refcnt; refcnt 77 drivers/net/geneve.c int refcnt; refcnt 583 drivers/net/geneve.c gs->refcnt = 1; refcnt 606 drivers/net/geneve.c if (!gs || --gs->refcnt) refcnt 659 drivers/net/geneve.c gs->refcnt++; refcnt 123 drivers/net/hamradio/6pack.c refcount_t refcnt; refcnt 384 drivers/net/hamradio/6pack.c refcount_inc(&sp->refcnt); refcnt 392 drivers/net/hamradio/6pack.c if (refcount_dec_and_test(&sp->refcnt)) refcnt 574 drivers/net/hamradio/6pack.c refcount_set(&sp->refcnt, 1); refcnt 668 drivers/net/hamradio/6pack.c if (!refcount_dec_and_test(&sp->refcnt)) refcnt 74 drivers/net/hamradio/mkiss.c refcount_t refcnt; refcnt 672 drivers/net/hamradio/mkiss.c refcount_inc(&ax->refcnt); refcnt 680 drivers/net/hamradio/mkiss.c if (refcount_dec_and_test(&ax->refcnt)) refcnt 708 drivers/net/hamradio/mkiss.c refcount_set(&ax->refcnt, 1); refcnt 788 drivers/net/hamradio/mkiss.c if (!refcount_dec_and_test(&ax->refcnt)) refcnt 147 drivers/net/macsec.c refcount_t refcnt; refcnt 172 drivers/net/macsec.c refcount_t refcnt; refcnt 188 drivers/net/macsec.c refcount_t refcnt; refcnt 314 drivers/net/macsec.c if (!refcount_inc_not_zero(&sa->refcnt)) refcnt 330 drivers/net/macsec.c return refcount_inc_not_zero(&sc->refcnt) ? sc : NULL; refcnt 335 drivers/net/macsec.c if (refcount_dec_and_test(&sc->refcnt)) refcnt 350 drivers/net/macsec.c if (refcount_dec_and_test(&sa->refcnt)) refcnt 361 drivers/net/macsec.c if (!refcount_inc_not_zero(&sa->refcnt)) refcnt 378 drivers/net/macsec.c if (refcount_dec_and_test(&sa->refcnt)) refcnt 1347 drivers/net/macsec.c refcount_set(&rx_sa->refcnt, 1); refcnt 1418 drivers/net/macsec.c refcount_set(&rx_sc->refcnt, 1); refcnt 1444 drivers/net/macsec.c refcount_set(&tx_sa->refcnt, 1); refcnt 25 drivers/net/netdevsim/sdev.c sdev->refcnt++; refcnt 32 drivers/net/netdevsim/sdev.c sdev->refcnt = 1; refcnt 52 drivers/net/netdevsim/sdev.c if (--sdev->refcnt) refcnt 68 drivers/net/ppp/ppp_async.c refcount_t refcnt; refcnt 139 drivers/net/ppp/ppp_async.c refcount_inc(&ap->refcnt); refcnt 146 drivers/net/ppp/ppp_async.c if (refcount_dec_and_test(&ap->refcnt)) refcnt 184 drivers/net/ppp/ppp_async.c refcount_set(&ap->refcnt, 1); refcnt 233 drivers/net/ppp/ppp_async.c if (!refcount_dec_and_test(&ap->refcnt)) refcnt 84 drivers/net/ppp/ppp_generic.c refcount_t refcnt; /* # refs (incl /dev/ppp attached) */ refcnt 408 drivers/net/ppp/ppp_generic.c if (refcount_dec_and_test(&pf->refcnt)) { refcnt 863 drivers/net/ppp/ppp_generic.c refcount_inc(&ppp->file.refcnt); refcnt 878 drivers/net/ppp/ppp_generic.c refcount_inc(&chan->file.refcnt); refcnt 1332 drivers/net/ppp/ppp_generic.c refcount_inc(&ppp->file.refcnt); refcnt 1361 drivers/net/ppp/ppp_generic.c if (refcount_dec_and_test(&ppp->file.refcnt)) refcnt 2713 drivers/net/ppp/ppp_generic.c if (refcount_dec_and_test(&pch->file.refcnt)) refcnt 3083 drivers/net/ppp/ppp_generic.c refcount_set(&pf->refcnt, 1); refcnt 3210 drivers/net/ppp/ppp_generic.c refcount_inc(&ppp->file.refcnt); refcnt 3241 drivers/net/ppp/ppp_generic.c if (refcount_dec_and_test(&ppp->file.refcnt)) refcnt 72 drivers/net/ppp/ppp_synctty.c refcount_t refcnt; refcnt 141 drivers/net/ppp/ppp_synctty.c refcount_inc(&ap->refcnt); refcnt 148 drivers/net/ppp/ppp_synctty.c if (refcount_dec_and_test(&ap->refcnt)) refcnt 182 drivers/net/ppp/ppp_synctty.c refcount_set(&ap->refcnt, 1); refcnt 232 drivers/net/ppp/ppp_synctty.c if (!refcount_dec_and_test(&ap->refcnt)) refcnt 1358 drivers/net/vxlan.c if (family == AF_INET && sock4 && refcount_read(&sock4->refcnt) == 1) refcnt 1362 drivers/net/vxlan.c if (family == AF_INET6 && sock6 && refcount_read(&sock6->refcnt) == 1) refcnt 1399 drivers/net/vxlan.c if (!refcount_dec_and_test(&vs->refcnt)) refcnt 3247 drivers/net/vxlan.c refcount_set(&vs->refcnt, 1); refcnt 3289 drivers/net/vxlan.c if (vs && !refcount_inc_not_zero(&vs->refcnt)) { refcnt 440 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c pi->refcnt++; refcnt 563 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c pi->refcnt++; refcnt 581 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c if (--pi->refcnt) refcnt 558 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h uint refcnt; refcnt 280 drivers/net/wireless/intel/ipw2x00/libipw_rx.c atomic_inc(&crypt->refcnt); refcnt 282 drivers/net/wireless/intel/ipw2x00/libipw_rx.c atomic_dec(&crypt->refcnt); refcnt 312 drivers/net/wireless/intel/ipw2x00/libipw_rx.c atomic_inc(&crypt->refcnt); refcnt 314 drivers/net/wireless/intel/ipw2x00/libipw_rx.c atomic_dec(&crypt->refcnt); refcnt 150 drivers/net/wireless/intel/ipw2x00/libipw_tx.c atomic_inc(&crypt->refcnt); refcnt 155 drivers/net/wireless/intel/ipw2x00/libipw_tx.c atomic_dec(&crypt->refcnt); refcnt 671 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c atomic_inc(&crypt->refcnt); refcnt 673 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c atomic_dec(&crypt->refcnt); refcnt 699 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c atomic_inc(&crypt->refcnt); refcnt 701 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c atomic_dec(&crypt->refcnt); refcnt 363 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c atomic_inc(&crypt->refcnt); refcnt 369 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c atomic_dec(&crypt->refcnt); refcnt 371 drivers/nvmem/core.c kref_init(&nvmem->refcnt); refcnt 454 drivers/nvmem/core.c nvmem = container_of(kref, struct nvmem_device, refcnt); refcnt 473 drivers/nvmem/core.c kref_put(&nvmem->refcnt, nvmem_device_release); refcnt 557 drivers/nvmem/core.c kref_get(&nvmem->refcnt); refcnt 566 drivers/nvmem/core.c kref_put(&nvmem->refcnt, nvmem_device_release); refcnt 19 drivers/nvmem/nvmem.h struct kref refcnt; refcnt 203 drivers/pinctrl/samsung/pinctrl-exynos-arm.c .refcnt = &exynos_shared_retention_refcnt, refcnt 303 drivers/pinctrl/samsung/pinctrl-exynos-arm.c .refcnt = &exynos_shared_retention_refcnt, refcnt 837 drivers/pinctrl/samsung/pinctrl-exynos-arm.c .refcnt = &exynos_shared_retention_refcnt, refcnt 154 drivers/pinctrl/samsung/pinctrl-exynos-arm64.c .refcnt = &exynos_shared_retention_refcnt, refcnt 677 drivers/pinctrl/samsung/pinctrl-exynos.c if (drvdata->retention_ctrl->refcnt) refcnt 678 drivers/pinctrl/samsung/pinctrl-exynos.c atomic_inc(drvdata->retention_ctrl->refcnt); refcnt 687 drivers/pinctrl/samsung/pinctrl-exynos.c if (ctrl->refcnt && !atomic_dec_and_test(ctrl->refcnt)) refcnt 714 drivers/pinctrl/samsung/pinctrl-exynos.c ctrl->refcnt = data->refcnt; refcnt 193 drivers/pinctrl/samsung/pinctrl-samsung.h atomic_t *refcnt; refcnt 211 drivers/pinctrl/samsung/pinctrl-samsung.h atomic_t *refcnt; refcnt 44 drivers/reset/core.c struct kref refcnt; refcnt 559 drivers/reset/core.c kref_get(&rstc->refcnt); refcnt 573 drivers/reset/core.c kref_init(&rstc->refcnt); refcnt 583 drivers/reset/core.c refcnt); refcnt 597 drivers/reset/core.c kref_put(&rstc->refcnt, __reset_control_release); refcnt 759 drivers/s390/net/lcs.c refcount_inc(&reply->refcnt); refcnt 765 drivers/s390/net/lcs.c if (refcount_dec_and_test(&reply->refcnt)) refcnt 779 drivers/s390/net/lcs.c refcount_set(&reply->refcnt, 1); refcnt 275 drivers/s390/net/lcs.h refcount_t refcnt; refcnt 571 drivers/scsi/cxgbi/libcxgbi.c kref_init(&csk->refcnt); refcnt 137 drivers/scsi/cxgbi/libcxgbi.h struct kref refcnt; refcnt 297 drivers/scsi/cxgbi/libcxgbi.h refcnt); refcnt 310 drivers/scsi/cxgbi/libcxgbi.h fn, csk, kref_read(&csk->refcnt)); refcnt 311 drivers/scsi/cxgbi/libcxgbi.h kref_put(&csk->refcnt, cxgbi_sock_free); refcnt 319 drivers/scsi/cxgbi/libcxgbi.h fn, csk, kref_read(&csk->refcnt)); refcnt 320 drivers/scsi/cxgbi/libcxgbi.h kref_get(&csk->refcnt); refcnt 45 drivers/staging/isdn/gigaset/ser-gigaset.c atomic_t refcnt; refcnt 476 drivers/staging/isdn/gigaset/ser-gigaset.c atomic_inc(&cs->hw.ser->refcnt); refcnt 482 drivers/staging/isdn/gigaset/ser-gigaset.c if (atomic_dec_and_test(&cs->hw.ser->refcnt)) refcnt 514 drivers/staging/isdn/gigaset/ser-gigaset.c atomic_set(&cs->hw.ser->refcnt, 1); refcnt 572 drivers/staging/isdn/gigaset/ser-gigaset.c if (!atomic_dec_and_test(&cs->hw.ser->refcnt)) refcnt 26 drivers/staging/media/tegra-vde/dmabuf-cache.c unsigned int refcnt; refcnt 33 drivers/staging/media/tegra-vde/dmabuf-cache.c WARN_ON_ONCE(entry->refcnt); refcnt 141 drivers/staging/media/tegra-vde/dmabuf-cache.c entry->refcnt++; refcnt 173 drivers/staging/media/tegra-vde/dmabuf-cache.c WARN_ON_ONCE(!entry->refcnt); refcnt 175 drivers/staging/media/tegra-vde/dmabuf-cache.c if (--entry->refcnt == 0) { refcnt 194 drivers/staging/media/tegra-vde/dmabuf-cache.c if (entry->refcnt) refcnt 305 drivers/staging/rtl8192e/rtllib_rx.c atomic_inc(&crypt->refcnt); refcnt 307 drivers/staging/rtl8192e/rtllib_rx.c atomic_dec(&crypt->refcnt); refcnt 345 drivers/staging/rtl8192e/rtllib_rx.c atomic_inc(&crypt->refcnt); refcnt 347 drivers/staging/rtl8192e/rtllib_rx.c atomic_dec(&crypt->refcnt); refcnt 177 drivers/staging/rtl8192e/rtllib_tx.c atomic_inc(&crypt->refcnt); refcnt 184 drivers/staging/rtl8192e/rtllib_tx.c atomic_dec(&crypt->refcnt); refcnt 44 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c if (atomic_read(&entry->refcnt) != 0 && !force) refcnt 75 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.h atomic_t refcnt; refcnt 359 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c atomic_inc(&crypt->refcnt); refcnt 361 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c atomic_dec(&crypt->refcnt); refcnt 396 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c atomic_inc(&crypt->refcnt); refcnt 398 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c atomic_dec(&crypt->refcnt); refcnt 198 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c atomic_inc(&crypt->refcnt); refcnt 205 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c atomic_dec(&crypt->refcnt); refcnt 152 drivers/staging/uwb/beacon.c struct uwb_beca_e *bce = container_of(_bce, struct uwb_beca_e, refcnt); refcnt 237 drivers/staging/uwb/beacon.c kref_init(&bce->refcnt); refcnt 266 drivers/staging/uwb/uwb-internal.h struct kref refcnt; refcnt 283 drivers/staging/uwb/uwb-internal.h kref_get(&bce->refcnt); refcnt 287 drivers/staging/uwb/uwb-internal.h kref_put(&bce->refcnt, uwb_bce_kfree); refcnt 116 drivers/staging/vme/devices/vme_user.c refcount_t refcnt; refcnt 428 drivers/staging/vme/devices/vme_user.c refcount_inc(&vma_priv->refcnt); refcnt 436 drivers/staging/vme/devices/vme_user.c if (!refcount_dec_and_test(&vma_priv->refcnt)) refcnt 471 drivers/staging/vme/devices/vme_user.c refcount_set(&vma_priv->refcnt, 1); refcnt 965 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev = container_of(_wusb_dev, struct wusb_dev, refcnt); refcnt 100 drivers/staging/wusbcore/wa-hc.h struct kref refcnt; refcnt 311 drivers/staging/wusbcore/wa-hc.h kref_get(&rpipe->refcnt); refcnt 317 drivers/staging/wusbcore/wa-hc.h kref_put(&rpipe->refcnt, rpipe_destroy); refcnt 128 drivers/staging/wusbcore/wa-rpipe.c kref_init(&rpipe->refcnt); refcnt 158 drivers/staging/wusbcore/wa-rpipe.c struct wa_rpipe *rpipe = container_of(_rpipe, struct wa_rpipe, refcnt); refcnt 134 drivers/staging/wusbcore/wa-xfer.c struct kref refcnt; refcnt 161 drivers/staging/wusbcore/wa-xfer.c kref_init(&xfer->refcnt); refcnt 174 drivers/staging/wusbcore/wa-xfer.c struct wa_xfer *xfer = container_of(_xfer, struct wa_xfer, refcnt); refcnt 195 drivers/staging/wusbcore/wa-xfer.c kref_get(&xfer->refcnt); refcnt 200 drivers/staging/wusbcore/wa-xfer.c kref_put(&xfer->refcnt, wa_xfer_destroy); refcnt 83 drivers/staging/wusbcore/wusbhc.h struct kref refcnt; refcnt 104 drivers/staging/wusbcore/wusbhc.h kref_init(&wusb_dev->refcnt); refcnt 112 drivers/staging/wusbcore/wusbhc.h kref_get(&wusb_dev->refcnt); refcnt 118 drivers/staging/wusbcore/wusbhc.h kref_put(&wusb_dev->refcnt, wusb_dev_destroy); refcnt 36 drivers/tty/vcc.c u64 refcnt; refcnt 186 drivers/tty/vcc.c port->refcnt++; refcnt 191 drivers/tty/vcc.c if (port->refcnt) { refcnt 201 drivers/tty/vcc.c port->refcnt++; refcnt 230 drivers/tty/vcc.c port->refcnt--; refcnt 40 drivers/uio/uio_dmem_genirq.c unsigned int refcnt; refcnt 53 drivers/uio/uio_dmem_genirq.c while (!priv->refcnt && uiomem < &priv->uioinfo->mem[MAX_UIO_MAPS]) { refcnt 66 drivers/uio/uio_dmem_genirq.c priv->refcnt++; refcnt 87 drivers/uio/uio_dmem_genirq.c priv->refcnt--; refcnt 88 drivers/uio/uio_dmem_genirq.c while (!priv->refcnt && uiomem < &priv->uioinfo->mem[MAX_UIO_MAPS]) { refcnt 58 drivers/uio/uio_hv_generic.c atomic_t refcnt; refcnt 204 drivers/uio/uio_hv_generic.c if (atomic_inc_return(&pdata->refcnt) != 1) refcnt 215 drivers/uio/uio_hv_generic.c atomic_dec(&pdata->refcnt); refcnt 229 drivers/uio/uio_hv_generic.c if (atomic_dec_and_test(&pdata->refcnt)) refcnt 268 drivers/uio/uio_hv_generic.c atomic_set(&pdata->refcnt, 0); refcnt 901 drivers/usb/gadget/function/f_ecm.c opts->refcnt--; refcnt 935 drivers/usb/gadget/function/f_ecm.c opts->refcnt++; refcnt 601 drivers/usb/gadget/function/f_eem.c opts->refcnt--; refcnt 624 drivers/usb/gadget/function/f_eem.c opts->refcnt++; refcnt 3079 drivers/usb/gadget/function/f_fs.c if (!ffs_opts->refcnt) { refcnt 3084 drivers/usb/gadget/function/f_fs.c ffs_opts->refcnt++; refcnt 3264 drivers/usb/gadget/function/f_fs.c if (ret && !--ffs_opts->refcnt) refcnt 3583 drivers/usb/gadget/function/f_fs.c if (!--opts->refcnt) refcnt 901 drivers/usb/gadget/function/f_hid.c if (opts->refcnt) { \ refcnt 950 drivers/usb/gadget/function/f_hid.c if (opts->refcnt) refcnt 1071 drivers/usb/gadget/function/f_hid.c --opts->refcnt; refcnt 1098 drivers/usb/gadget/function/f_hid.c ++opts->refcnt; refcnt 228 drivers/usb/gadget/function/f_loopback.c opts->refcnt--; refcnt 437 drivers/usb/gadget/function/f_loopback.c lb_opts->refcnt++; refcnt 493 drivers/usb/gadget/function/f_loopback.c if (opts->refcnt) { refcnt 531 drivers/usb/gadget/function/f_loopback.c if (opts->refcnt) { refcnt 3168 drivers/usb/gadget/function/f_mass_storage.c if (fsg_opts->refcnt || fsg_opts->common->luns[num]) { refcnt 3209 drivers/usb/gadget/function/f_mass_storage.c if (fsg_opts->refcnt) { refcnt 3256 drivers/usb/gadget/function/f_mass_storage.c if (opts->refcnt) { refcnt 3295 drivers/usb/gadget/function/f_mass_storage.c if (opts->refcnt) { refcnt 3404 drivers/usb/gadget/function/f_mass_storage.c opts->refcnt--; refcnt 3421 drivers/usb/gadget/function/f_mass_storage.c opts->refcnt++; refcnt 84 drivers/usb/gadget/function/f_mass_storage.h int refcnt; refcnt 1106 drivers/usb/gadget/function/f_midi.c if (opts->refcnt > 1) { \ refcnt 1161 drivers/usb/gadget/function/f_midi.c if (opts->refcnt > 1) { refcnt 1207 drivers/usb/gadget/function/f_midi.c if (!--opts->refcnt) { refcnt 1235 drivers/usb/gadget/function/f_midi.c opts->refcnt = 1; refcnt 1334 drivers/usb/gadget/function/f_midi.c ++opts->refcnt; refcnt 1638 drivers/usb/gadget/function/f_ncm.c opts->refcnt--; refcnt 1678 drivers/usb/gadget/function/f_ncm.c opts->refcnt++; refcnt 1236 drivers/usb/gadget/function/f_printer.c if (opts->refcnt) { refcnt 1355 drivers/usb/gadget/function/f_printer.c --opts->refcnt; refcnt 1422 drivers/usb/gadget/function/f_printer.c ++opts->refcnt; refcnt 964 drivers/usb/gadget/function/f_rndis.c opts->refcnt--; refcnt 993 drivers/usb/gadget/function/f_rndis.c opts->refcnt++; refcnt 455 drivers/usb/gadget/function/f_sourcesink.c opts->refcnt--; refcnt 846 drivers/usb/gadget/function/f_sourcesink.c ss_opts->refcnt++; refcnt 908 drivers/usb/gadget/function/f_sourcesink.c if (opts->refcnt) { refcnt 951 drivers/usb/gadget/function/f_sourcesink.c if (opts->refcnt) { refcnt 994 drivers/usb/gadget/function/f_sourcesink.c if (opts->refcnt) { refcnt 1037 drivers/usb/gadget/function/f_sourcesink.c if (opts->refcnt) { refcnt 1080 drivers/usb/gadget/function/f_sourcesink.c if (opts->refcnt) { refcnt 1123 drivers/usb/gadget/function/f_sourcesink.c if (opts->refcnt) { refcnt 1161 drivers/usb/gadget/function/f_sourcesink.c if (opts->refcnt) { refcnt 1199 drivers/usb/gadget/function/f_sourcesink.c if (opts->refcnt) { refcnt 479 drivers/usb/gadget/function/f_subset.c opts->refcnt++; refcnt 672 drivers/usb/gadget/function/f_uac1.c if (opts->refcnt) { \ refcnt 757 drivers/usb/gadget/function/f_uac1.c --opts->refcnt; refcnt 783 drivers/usb/gadget/function/f_uac1.c ++opts->refcnt; refcnt 841 drivers/usb/gadget/function/f_uac1_legacy.c if (opts->refcnt) { \ refcnt 886 drivers/usb/gadget/function/f_uac1_legacy.c if (opts->refcnt) \ refcnt 973 drivers/usb/gadget/function/f_uac1_legacy.c --opts->refcnt; refcnt 996 drivers/usb/gadget/function/f_uac1_legacy.c ++opts->refcnt; refcnt 1012 drivers/usb/gadget/function/f_uac2.c if (opts->refcnt) { \ refcnt 1097 drivers/usb/gadget/function/f_uac2.c --opts->refcnt; refcnt 1122 drivers/usb/gadget/function/f_uac2.c ++opts->refcnt; refcnt 876 drivers/usb/gadget/function/f_uvc.c --opts->refcnt; refcnt 933 drivers/usb/gadget/function/f_uvc.c ++opts->refcnt; refcnt 47 drivers/usb/gadget/function/g_zero.h int refcnt; refcnt 62 drivers/usb/gadget/function/g_zero.h int refcnt; refcnt 30 drivers/usb/gadget/function/u_ecm.h int refcnt; refcnt 30 drivers/usb/gadget/function/u_eem.h int refcnt; refcnt 49 drivers/usb/gadget/function/u_ether_configfs.h if (opts->refcnt) { \ refcnt 84 drivers/usb/gadget/function/u_ether_configfs.h if (opts->refcnt) { \ refcnt 119 drivers/usb/gadget/function/u_ether_configfs.h if (opts->refcnt) { \ refcnt 294 drivers/usb/gadget/function/u_fs.h unsigned refcnt; refcnt 30 drivers/usb/gadget/function/u_gether.h int refcnt; refcnt 33 drivers/usb/gadget/function/u_hid.h int refcnt; refcnt 33 drivers/usb/gadget/function/u_midi.h int refcnt; refcnt 33 drivers/usb/gadget/function/u_ncm.h int refcnt; refcnt 30 drivers/usb/gadget/function/u_printer.h int refcnt; refcnt 41 drivers/usb/gadget/function/u_rndis.h int refcnt; refcnt 35 drivers/usb/gadget/function/u_uac1.h int refcnt; refcnt 69 drivers/usb/gadget/function/u_uac1_legacy.h int refcnt; refcnt 38 drivers/usb/gadget/function/u_uac2.h int refcnt; refcnt 83 drivers/usb/gadget/function/u_uvc.h int refcnt; refcnt 181 drivers/usb/gadget/function/uvc_configfs.c if (ch->linked || opts->refcnt) { \ refcnt 613 drivers/usb/gadget/function/uvc_configfs.c if (opts->refcnt || class_array[0]) { refcnt 652 drivers/usb/gadget/function/uvc_configfs.c if (!class_array || opts->refcnt) refcnt 830 drivers/usb/gadget/function/uvc_configfs.c if (ch->linked || opts->refcnt) { refcnt 1136 drivers/usb/gadget/function/uvc_configfs.c if (fmt->linked || opts->refcnt) { \ refcnt 1291 drivers/usb/gadget/function/uvc_configfs.c if (fmt->linked || opts->refcnt) { refcnt 1482 drivers/usb/gadget/function/uvc_configfs.c if (ch->fmt.linked || opts->refcnt) { refcnt 1564 drivers/usb/gadget/function/uvc_configfs.c if (u->fmt.linked || opts->refcnt) { \ refcnt 1757 drivers/usb/gadget/function/uvc_configfs.c if (u->fmt.linked || opts->refcnt) { \ refcnt 2179 drivers/usb/gadget/function/uvc_configfs.c if (!class_array || *class_array || opts->refcnt) { refcnt 2253 drivers/usb/gadget/function/uvc_configfs.c if (opts->refcnt) refcnt 2405 drivers/usb/gadget/function/uvc_configfs.c if (opts->refcnt) { \ refcnt 472 drivers/vfio/pci/vfio_pci.c if (!(--vdev->refcnt)) { refcnt 492 drivers/vfio/pci/vfio_pci.c if (!vdev->refcnt) { refcnt 499 drivers/vfio/pci/vfio_pci.c vdev->refcnt++; refcnt 1546 drivers/vfio/pci/vfio_pci.c if (vdev->refcnt) { refcnt 118 drivers/vfio/pci/vfio_pci_private.h int refcnt; refcnt 227 drivers/vfio/platform/vfio_platform_common.c if (!(--vdev->refcnt)) { refcnt 257 drivers/vfio/platform/vfio_platform_common.c if (!vdev->refcnt) { refcnt 280 drivers/vfio/platform/vfio_platform_common.c vdev->refcnt++; refcnt 49 drivers/vfio/platform/vfio_platform_private.h int refcnt; refcnt 903 drivers/vhost/net.c refcount_set(&ubuf->refcnt, 1); refcnt 46 drivers/w1/slaves/w1_therm.c atomic_t refcnt; refcnt 57 drivers/w1/slaves/w1_therm.c (&((struct w1_therm_family_data *)family_data)->refcnt) refcnt 71 drivers/w1/slaves/w1_therm.c int refcnt = atomic_sub_return(1, THERM_REFCNT(sl->family_data)); refcnt 73 drivers/w1/slaves/w1_therm.c while (refcnt) { refcnt 75 drivers/w1/slaves/w1_therm.c refcnt = atomic_read(THERM_REFCNT(sl->family_data)); refcnt 740 drivers/w1/w1.c atomic_set(&sl->refcnt, 1); refcnt 741 drivers/w1/w1.c atomic_inc(&sl->master->refcnt); refcnt 770 drivers/w1/w1.c atomic_dec(&sl->master->refcnt); refcnt 787 drivers/w1/w1.c int refcnt; refcnt 789 drivers/w1/w1.c refcnt = atomic_sub_return(1, &sl->refcnt); refcnt 790 drivers/w1/w1.c if (refcnt == 0) { refcnt 810 drivers/w1/w1.c atomic_dec(&dev->refcnt); refcnt 812 drivers/w1/w1.c return refcnt; refcnt 838 drivers/w1/w1.c atomic_inc(&dev->refcnt); refcnt 861 drivers/w1/w1.c atomic_inc(&dev->refcnt); refcnt 862 drivers/w1/w1.c atomic_inc(&sl->refcnt); refcnt 922 drivers/w1/w1.c atomic_inc(&dev->refcnt); refcnt 934 drivers/w1/w1.c atomic_dec(&dev->refcnt); refcnt 1174 drivers/w1/w1.c atomic_dec(&dev->refcnt); refcnt 38 drivers/w1/w1_family.c atomic_set(&newf->refcnt, 0); refcnt 73 drivers/w1/w1_family.c while (atomic_read(&fent->refcnt)) { refcnt 75 drivers/w1/w1_family.c fent->fid, atomic_read(&fent->refcnt)); refcnt 106 drivers/w1/w1_family.c atomic_dec(&f->refcnt); refcnt 128 drivers/w1/w1_family.c atomic_inc(&f->refcnt); refcnt 57 drivers/w1/w1_int.c atomic_set(&dev->refcnt, 2); refcnt 196 drivers/w1/w1_int.c atomic_dec(&dev->refcnt); refcnt 198 drivers/w1/w1_int.c while (atomic_read(&dev->refcnt)) { refcnt 200 drivers/w1/w1_int.c dev->name, atomic_read(&dev->refcnt)); refcnt 20 drivers/w1/w1_netlink.c atomic_t refcnt; refcnt 64 drivers/w1/w1_netlink.c if (atomic_sub_return(1, &block->refcnt) == 0) { refcnt 487 drivers/w1/w1_netlink.c atomic_dec(&dev->refcnt); refcnt 530 drivers/w1/w1_netlink.c atomic_dec(&dev->refcnt); refcnt 612 drivers/w1/w1_netlink.c atomic_set(&block->refcnt, 1); refcnt 678 drivers/w1/w1_netlink.c atomic_inc(&block->refcnt); refcnt 377 drivers/xen/events/events_base.c info->refcnt = -1; refcnt 437 drivers/xen/events/events_base.c WARN_ON(info->refcnt > 0); refcnt 607 drivers/xen/events/events_base.c if (info->refcnt > 0) { refcnt 608 drivers/xen/events/events_base.c info->refcnt--; refcnt 609 drivers/xen/events/events_base.c if (info->refcnt != 0) refcnt 1148 drivers/xen/events/events_base.c WARN_ON(info->refcnt != -1); refcnt 1150 drivers/xen/events/events_base.c info->refcnt = 1; refcnt 1177 drivers/xen/events/events_base.c if (info->refcnt <= 0) refcnt 1180 drivers/xen/events/events_base.c info->refcnt++; refcnt 33 drivers/xen/events/events_internal.h int refcnt; refcnt 1251 fs/block_dev.c int refcnt; refcnt 1318 fs/block_dev.c holder->refcnt++; refcnt 1330 fs/block_dev.c holder->refcnt = 1; refcnt 1376 fs/block_dev.c if (!WARN_ON_ONCE(holder == NULL) && !--holder->refcnt) { refcnt 3390 fs/btrfs/ctree.h struct kref refcnt; refcnt 57 fs/btrfs/reada.c int refcnt; refcnt 75 fs/btrfs/reada.c struct kref refcnt; refcnt 185 fs/btrfs/reada.c kref_get(&rc->refcnt); refcnt 187 fs/btrfs/reada.c kref_put(&rc->refcnt, reada_control_release); refcnt 190 fs/btrfs/reada.c kref_put(&rc->refcnt, reada_control_release); refcnt 209 fs/btrfs/reada.c re->refcnt++; refcnt 240 fs/btrfs/reada.c kref_get(&zone->refcnt); refcnt 270 fs/btrfs/reada.c kref_init(&zone->refcnt); refcnt 289 fs/btrfs/reada.c kref_get(&zone->refcnt); refcnt 319 fs/btrfs/reada.c re->refcnt++; refcnt 333 fs/btrfs/reada.c re->refcnt = 1; refcnt 368 fs/btrfs/reada.c kref_get(&zone->refcnt); refcnt 372 fs/btrfs/reada.c kref_put(&zone->refcnt, reada_zone_release); refcnt 392 fs/btrfs/reada.c re_exist->refcnt++; refcnt 462 fs/btrfs/reada.c kref_get(&zone->refcnt); refcnt 470 fs/btrfs/reada.c kref_put(&zone->refcnt, reada_zone_release); refcnt 475 fs/btrfs/reada.c kref_put(&zone->refcnt, reada_zone_release); refcnt 490 fs/btrfs/reada.c if (--re->refcnt) { refcnt 507 fs/btrfs/reada.c kref_get(&zone->refcnt); refcnt 513 fs/btrfs/reada.c kref_put(&zone->refcnt, reada_zone_release); refcnt 518 fs/btrfs/reada.c kref_put(&zone->refcnt, reada_zone_release); refcnt 527 fs/btrfs/reada.c struct reada_zone *zone = container_of(kref, struct reada_zone, refcnt); refcnt 538 fs/btrfs/reada.c refcnt); refcnt 604 fs/btrfs/reada.c kref_put(&dev->reada_curr_zone->refcnt, reada_zone_release); refcnt 636 fs/btrfs/reada.c kref_get(&dev->reada_curr_zone->refcnt); refcnt 711 fs/btrfs/reada.c re->refcnt++; refcnt 951 fs/btrfs/reada.c kref_init(&rc->refcnt); refcnt 952 fs/btrfs/reada.c kref_get(&rc->refcnt); /* one ref for having elements */ refcnt 986 fs/btrfs/reada.c kref_put(&rc->refcnt, reada_control_release); refcnt 1003 fs/btrfs/reada.c kref_put(&rc->refcnt, reada_control_release); refcnt 1013 fs/btrfs/reada.c kref_put(&rc->refcnt, reada_control_release); refcnt 31 fs/coda/file.c atomic_t refcnt; refcnt 101 fs/coda/file.c atomic_inc(&cvm_ops->refcnt); refcnt 116 fs/coda/file.c if (atomic_dec_and_test(&cvm_ops->refcnt)) { refcnt 192 fs/coda/file.c atomic_set(&cvm_ops->refcnt, 1); refcnt 281 fs/fs_parser.c f->refcnt++; /* filename_lookup() drops our ref. */ refcnt 585 fs/fuse/file.c kfree(container_of(kref, struct fuse_io_priv, refcnt)); refcnt 646 fs/fuse/file.c kref_put(&io->refcnt, fuse_io_release); refcnt 709 fs/fuse/file.c kref_get(&io->refcnt); refcnt 3095 fs/fuse/file.c kref_init(&io->refcnt); refcnt 3122 fs/fuse/file.c kref_get(&io->refcnt); refcnt 3146 fs/fuse/file.c kref_put(&io->refcnt, fuse_io_release); refcnt 268 fs/fuse/fuse_i.h struct kref refcnt; refcnt 285 fs/fuse/fuse_i.h .refcnt = KREF_INIT(1), \ refcnt 257 fs/hfs/bnode.c atomic_set(&node->refcnt, 1); refcnt 302 fs/hfs/bnode.c node->tree->cnid, node->this, atomic_read(&node->refcnt)); refcnt 446 fs/hfs/bnode.c atomic_inc(&node->refcnt); refcnt 449 fs/hfs/bnode.c atomic_read(&node->refcnt)); refcnt 462 fs/hfs/bnode.c atomic_read(&node->refcnt)); refcnt 463 fs/hfs/bnode.c BUG_ON(!atomic_read(&node->refcnt)); refcnt 464 fs/hfs/bnode.c if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) refcnt 148 fs/hfs/btree.c if (atomic_read(&node->refcnt)) refcnt 151 fs/hfs/btree.c atomic_read(&node->refcnt)); refcnt 61 fs/hfs/btree.h atomic_t refcnt; refcnt 102 fs/hfs/inode.c else if (atomic_read(&node->refcnt)) refcnt 117 fs/hfs/inode.c if (atomic_read(&node->refcnt)) { refcnt 422 fs/hfsplus/bnode.c atomic_set(&node->refcnt, 1); refcnt 468 fs/hfsplus/bnode.c node->tree->cnid, node->this, atomic_read(&node->refcnt)); refcnt 614 fs/hfsplus/bnode.c atomic_inc(&node->refcnt); refcnt 617 fs/hfsplus/bnode.c atomic_read(&node->refcnt)); refcnt 630 fs/hfsplus/bnode.c atomic_read(&node->refcnt)); refcnt 631 fs/hfsplus/bnode.c BUG_ON(!atomic_read(&node->refcnt)); refcnt 632 fs/hfsplus/bnode.c if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) refcnt 269 fs/hfsplus/btree.c if (atomic_read(&node->refcnt)) refcnt 273 fs/hfsplus/btree.c atomic_read(&node->refcnt)); refcnt 118 fs/hfsplus/hfsplus_fs.h atomic_t refcnt; refcnt 98 fs/hfsplus/inode.c else if (atomic_read(&node->refcnt)) refcnt 114 fs/hfsplus/inode.c if (atomic_read(&node->refcnt)) { refcnt 355 fs/jffs2/xattr.c atomic_inc(&xd->refcnt); refcnt 375 fs/jffs2/xattr.c atomic_set(&xd->refcnt, 1); refcnt 407 fs/jffs2/xattr.c if (atomic_dec_and_lock(&xd->refcnt, &c->erase_completion_lock)) { refcnt 624 fs/jffs2/xattr.c if (atomic_dec_and_test(&xd->refcnt)) { refcnt 854 fs/jffs2/xattr.c atomic_inc(&xd->refcnt); refcnt 865 fs/jffs2/xattr.c if (!atomic_read(&xd->refcnt)) { refcnt 1325 fs/jffs2/xattr.c if (atomic_read(&xd->refcnt) || xd->node != (void *)xd) refcnt 32 fs/jffs2/xattr.h atomic_t refcnt; /* # of xattr_ref refers this */ refcnt 35 fs/kernfs/file.c atomic_t refcnt; refcnt 558 fs/kernfs/file.c atomic_inc(&on->refcnt); refcnt 575 fs/kernfs/file.c atomic_set(&new_on->refcnt, 0); refcnt 605 fs/kernfs/file.c if (atomic_dec_and_test(&on->refcnt)) refcnt 798 fs/kernfs/file.c atomic_inc(&on->refcnt); refcnt 189 fs/namei.c result->refcnt = 1; refcnt 242 fs/namei.c result->refcnt = 1; refcnt 250 fs/namei.c BUG_ON(name->refcnt <= 0); refcnt 252 fs/namei.c if (--name->refcnt > 0) refcnt 68 fs/nfs/blocklayout/blocklayout.c struct kref refcnt; refcnt 80 fs/nfs/blocklayout/blocklayout.c kref_init(&rv->refcnt); refcnt 87 fs/nfs/blocklayout/blocklayout.c kref_get(&p->refcnt); refcnt 92 fs/nfs/blocklayout/blocklayout.c struct parallel_io *p = container_of(kref, struct parallel_io, refcnt); refcnt 101 fs/nfs/blocklayout/blocklayout.c kref_put(&p->refcnt, destroy_parallel); refcnt 100 fs/notify/group.c refcount_inc(&group->refcnt); refcnt 108 fs/notify/group.c if (refcount_dec_and_test(&group->refcnt)) refcnt 125 fs/notify/group.c refcount_set(&group->refcnt, 1); refcnt 392 fs/notify/inotify/inotify_user.c BUG_ON(refcount_read(&fsn_mark->refcnt) < 2); refcnt 462 fs/notify/inotify/inotify_user.c if (unlikely(refcount_read(&i_mark->fsn_mark.refcnt) < 2)) { refcnt 96 fs/notify/mark.c WARN_ON_ONCE(!refcount_read(&mark->refcnt)); refcnt 97 fs/notify/mark.c refcount_inc(&mark->refcnt); refcnt 236 fs/notify/mark.c if (refcount_dec_and_test(&mark->refcnt)) refcnt 245 fs/notify/mark.c if (!refcount_dec_and_lock(&mark->refcnt, &conn->lock)) refcnt 293 fs/notify/mark.c if (refcount_inc_not_zero(&mark->refcnt)) { refcnt 377 fs/notify/mark.c refcount_read(&mark->refcnt) < 1 + refcnt 811 fs/notify/mark.c refcount_set(&mark->refcnt, 1); refcnt 369 fs/pnode.c int propagate_mount_busy(struct mount *mnt, int refcnt) refcnt 375 fs/pnode.c return do_refcount_check(mnt, refcnt); refcnt 382 fs/pnode.c if (!list_empty(&mnt->mnt_mounts) || do_refcount_check(mnt, refcnt)) refcnt 428 fs/proc/generic.c refcount_set(&ent->refcnt, 1); refcnt 646 fs/proc/generic.c if (refcount_dec_and_test(&pde->refcnt)) { refcnt 36 fs/proc/internal.h refcount_t refcnt; refcnt 185 fs/proc/internal.h refcount_inc(&pde->refcnt); refcnt 293 fs/proc/root.c .refcnt = REFCOUNT_INIT(1), refcnt 32 include/crypto/if_alg.h unsigned int refcnt; refcnt 163 include/linux/atmdev.h refcount_t refcnt; /* reference count */ refcnt 281 include/linux/atmdev.h refcount_inc(&dev->refcnt); refcnt 287 include/linux/atmdev.h if (refcount_dec_and_test(&dev->refcnt)) { refcnt 100 include/linux/backing-dev-defs.h refcount_t refcnt; /* nr of attached wb's and blkg */ refcnt 174 include/linux/backing-dev-defs.h struct percpu_ref refcnt; /* used only for !root wb's */ refcnt 199 include/linux/backing-dev-defs.h struct kref refcnt; /* Reference counter for the structure */ refcnt 265 include/linux/backing-dev-defs.h return percpu_ref_tryget(&wb->refcnt); refcnt 276 include/linux/backing-dev-defs.h percpu_ref_get(&wb->refcnt); refcnt 294 include/linux/backing-dev-defs.h percpu_ref_put(&wb->refcnt); refcnt 305 include/linux/backing-dev-defs.h return percpu_ref_is_dying(&wb->refcnt); refcnt 24 include/linux/backing-dev.h kref_get(&bdi->refcnt); refcnt 414 include/linux/backing-dev.h refcount_inc(&bdi->wb_congested->refcnt); refcnt 420 include/linux/backing-dev.h if (refcount_dec_and_test(&congested->refcnt)) refcnt 125 include/linux/blk-cgroup.h struct percpu_ref refcnt; refcnt 499 include/linux/blk-cgroup.h percpu_ref_get(&blkg->refcnt); refcnt 511 include/linux/blk-cgroup.h return blkg && percpu_ref_tryget(&blkg->refcnt); refcnt 546 include/linux/blk-cgroup.h percpu_ref_put(&blkg->refcnt); refcnt 78 include/linux/bpf-cgroup.h struct percpu_ref refcnt; refcnt 102 include/linux/bpf.h atomic_t refcnt ____cacheline_aligned; refcnt 369 include/linux/bpf.h atomic_t refcnt; refcnt 17 include/linux/ceph/pagelist.h refcount_t refcnt; refcnt 141 include/linux/cgroup-defs.h struct percpu_ref refcnt; refcnt 318 include/linux/cgroup.h percpu_ref_get(&css->refcnt); refcnt 331 include/linux/cgroup.h percpu_ref_get_many(&css->refcnt, n); refcnt 348 include/linux/cgroup.h return percpu_ref_tryget(&css->refcnt); refcnt 365 include/linux/cgroup.h return percpu_ref_tryget_live(&css->refcnt); refcnt 386 include/linux/cgroup.h return !(css->flags & CSS_NO_REF) && percpu_ref_is_dying(&css->refcnt); refcnt 398 include/linux/cgroup.h percpu_ref_put(&css->refcnt); refcnt 411 include/linux/cgroup.h percpu_ref_put_many(&css->refcnt, n); refcnt 945 include/linux/cgroup.h percpu_ref_get(&cgrp->bpf.refcnt); refcnt 950 include/linux/cgroup.h percpu_ref_put(&cgrp->bpf.refcnt); refcnt 23 include/linux/connector.h atomic_t refcnt; refcnt 39 include/linux/connector.h refcount_t refcnt; refcnt 163 include/linux/coresight.h atomic_t *refcnt; refcnt 113 include/linux/cpuidle.h int refcnt; refcnt 549 include/linux/filter.h refcount_t refcnt; refcnt 2521 include/linux/fs.h int refcnt; refcnt 156 include/linux/fsnotify_backend.h refcount_t refcnt; /* things with interest in this group */ refcnt 326 include/linux/fsnotify_backend.h refcount_t refcnt; refcnt 84 include/linux/igmp.h refcount_t refcnt; refcnt 27 include/linux/inetdevice.h refcount_t refcnt; refcnt 229 include/linux/inetdevice.h refcount_inc(&in_dev->refcnt); refcnt 264 include/linux/inetdevice.h if (refcount_dec_and_test(&idev->refcnt)) refcnt 268 include/linux/inetdevice.h #define __in_dev_put(idev) refcount_dec(&(idev)->refcnt) refcnt 269 include/linux/inetdevice.h #define in_dev_hold(idev) refcount_inc(&(idev)->refcnt) refcnt 150 include/linux/lru_cache.h unsigned refcnt; refcnt 46 include/linux/mempolicy.h atomic_t refcnt; refcnt 100 include/linux/mempolicy.h atomic_inc(&pol->refcnt); refcnt 497 include/linux/module.h atomic_t refcnt; refcnt 37 include/linux/netpoll.h refcount_t refcnt; refcnt 119 include/linux/padata.h atomic_t refcnt; refcnt 170 include/linux/pktcdvd.h int refcnt; /* Open count */ refcnt 475 include/linux/skbuff.h refcount_t refcnt; refcnt 494 include/linux/skbuff.h refcount_inc(&uarg->refcnt); refcnt 4108 include/linux/skbuff.h refcount_t refcnt; refcnt 4132 include/linux/skbuff.h refcount_inc(&ext->refcnt); refcnt 98 include/linux/skmsg.h refcount_t refcnt; refcnt 407 include/linux/skmsg.h if (!refcount_inc_not_zero(&psock->refcnt)) refcnt 421 include/linux/skmsg.h if (psock && !refcount_inc_not_zero(&psock->refcnt)) refcnt 433 include/linux/skmsg.h if (refcount_dec_and_test(&psock->refcnt)) refcnt 70 include/linux/w1.h atomic_t refcnt; refcnt 220 include/linux/w1.h atomic_t refcnt; refcnt 275 include/linux/w1.h atomic_t refcnt; refcnt 357 include/net/addrconf.h refcount_inc(&idev->refcnt); refcnt 373 include/net/addrconf.h if (refcount_dec_and_test(&idev->refcnt)) refcnt 389 include/net/addrconf.h refcount_dec(&idev->refcnt); refcnt 394 include/net/addrconf.h refcount_inc(&idev->refcnt); refcnt 409 include/net/addrconf.h if (refcount_dec_and_test(&ifp->refcnt)) refcnt 415 include/net/addrconf.h refcount_dec(&ifp->refcnt); refcnt 420 include/net/addrconf.h refcount_inc(&ifp->refcnt); refcnt 27 include/net/af_unix.h refcount_t refcnt; refcnt 43 include/net/arp.h if (n && !refcount_inc_not_zero(&n->refcnt)) refcnt 455 include/net/bluetooth/hci_core.h atomic_t refcnt; refcnt 976 include/net/bluetooth/hci_core.h BT_DBG("hcon %p orig refcnt %d", conn, atomic_read(&conn->refcnt)); refcnt 978 include/net/bluetooth/hci_core.h atomic_inc(&conn->refcnt); refcnt 984 include/net/bluetooth/hci_core.h BT_DBG("hcon %p orig refcnt %d", conn, atomic_read(&conn->refcnt)); refcnt 986 include/net/bluetooth/hci_core.h if (atomic_dec_and_test(&conn->refcnt)) { refcnt 179 include/net/bluetooth/rfcomm.h refcount_t refcnt; refcnt 252 include/net/bluetooth/rfcomm.h refcount_inc(&d->refcnt); refcnt 257 include/net/bluetooth/rfcomm.h if (refcount_dec_and_test(&d->refcnt)) refcnt 84 include/net/dst.h refcount_t refcnt; refcnt 36 include/net/fib_rules.h refcount_t refcnt; refcnt 127 include/net/fib_rules.h refcount_inc(&rule->refcnt); refcnt 132 include/net/fib_rules.h if (refcount_dec_and_test(&rule->refcnt)) refcnt 310 include/net/flow_offload.h unsigned int refcnt; refcnt 45 include/net/if_inet6.h refcount_t refcnt; refcnt 188 include/net/if_inet6.h refcount_t refcnt; refcnt 85 include/net/inet_frag.h refcount_t refcnt; refcnt 108 include/net/inet_frag.h refcount_t refcnt; refcnt 133 include/net/inet_frag.h if (refcount_dec_and_test(&q->refcnt)) refcnt 58 include/net/inetpeer.h refcount_t refcnt; refcnt 469 include/net/ip.h refcount_dec_and_test(&fib_metrics->refcnt)) refcnt 481 include/net/ip.h refcount_inc(&fib_metrics->refcnt); refcnt 490 include/net/ip.h if (p != &dst_default_metrics && refcount_dec_and_test(&p->refcnt)) refcnt 520 include/net/ip_vs.h refcount_t refcnt; /* reference count */ refcnt 617 include/net/ip_vs.h atomic_t refcnt; /* reference counter */ refcnt 671 include/net/ip_vs.h refcount_t refcnt; /* reference counter */ refcnt 701 include/net/ip_vs.h atomic_t refcnt; /* reference counter */ refcnt 725 include/net/ip_vs.h atomic_t refcnt; /* reference counter */ refcnt 1218 include/net/ip_vs.h return refcount_inc_not_zero(&cp->refcnt); refcnt 1225 include/net/ip_vs.h refcount_dec(&cp->refcnt); refcnt 1431 include/net/ip_vs.h refcount_inc(&dest->refcnt); refcnt 1437 include/net/ip_vs.h refcount_dec(&dest->refcnt); refcnt 1442 include/net/ip_vs.h if (refcount_dec_and_test(&dest->refcnt)) refcnt 288 include/net/ipv6.h refcount_t refcnt; refcnt 378 include/net/ipv6.h if (!refcount_inc_not_zero(&opt->refcnt)) refcnt 389 include/net/ipv6.h if (opt && refcount_dec_and_test(&opt->refcnt)) refcnt 54 include/net/ipx.h refcount_t refcnt; refcnt 80 include/net/ipx.h refcount_t refcnt; refcnt 139 include/net/ipx.h refcount_inc(&intrfc->refcnt); refcnt 157 include/net/ipx.h if (refcount_dec_and_test(&intrfc->refcnt)) refcnt 163 include/net/ipx.h refcount_inc(&rt->refcnt); refcnt 168 include/net/ipx.h if (refcount_dec_and_test(&rt->refcnt)) refcnt 106 include/net/lapb.h refcount_t refcnt; refcnt 97 include/net/lib80211.h atomic_t refcnt; refcnt 58 include/net/llc.h refcount_t refcnt; refcnt 117 include/net/llc.h refcount_inc(&sap->refcnt); refcnt 122 include/net/llc.h return refcount_inc_not_zero(&sap->refcnt); refcnt 129 include/net/llc.h if (refcount_dec_and_test(&sap->refcnt)) refcnt 29 include/net/lwtunnel.h atomic_t refcnt; refcnt 60 include/net/lwtunnel.h atomic_inc(&lws->refcnt); refcnt 70 include/net/lwtunnel.h if (atomic_dec_and_test(&lws->refcnt)) refcnt 399 include/net/ndisc.h if (n && !refcount_inc_not_zero(&n->refcnt)) refcnt 80 include/net/neighbour.h refcount_t refcnt; refcnt 141 include/net/neighbour.h refcount_t refcnt; refcnt 409 include/net/neighbour.h refcount_dec(&parms->refcnt); refcnt 414 include/net/neighbour.h refcount_inc(&parms->refcnt); refcnt 424 include/net/neighbour.h if (refcount_dec_and_test(&neigh->refcnt)) refcnt 431 include/net/neighbour.h refcount_inc(&neigh->refcnt); refcnt 435 include/net/neighbour.h #define neigh_hold(n) refcount_inc(&(n)->refcnt) refcnt 36 include/net/netfilter/nf_conntrack_helper.h refcount_t refcnt; refcnt 23 include/net/netfilter/nf_conntrack_timeout.h refcount_t refcnt; refcnt 14 include/net/netfilter/xt_rateest.h unsigned int refcnt; refcnt 93 include/net/nexthop.h refcount_t refcnt; refcnt 108 include/net/nexthop.h return refcount_inc_not_zero(&nh->refcnt); refcnt 113 include/net/nexthop.h if (refcount_dec_and_test(&nh->refcnt)) refcnt 33 include/net/sch_generic.h int refcnt; refcnt 45 include/net/sch_generic.h int refcnt; refcnt 95 include/net/sch_generic.h refcount_t refcnt; refcnt 121 include/net/sch_generic.h refcount_inc(&qdisc->refcnt); refcnt 132 include/net/sch_generic.h if (refcount_inc_not_zero(&qdisc->refcnt)) refcnt 370 include/net/sch_generic.h refcount_t refcnt; refcnt 394 include/net/sch_generic.h unsigned int refcnt; refcnt 411 include/net/sch_generic.h refcount_t refcnt; refcnt 42 include/net/sctp/auth.h refcount_t refcnt; refcnt 51 include/net/sctp/auth.h refcount_t refcnt; refcnt 67 include/net/sctp/auth.h refcount_inc(&key->refcnt); refcnt 524 include/net/sctp/structs.h refcount_t refcnt; refcnt 553 include/net/sctp/structs.h refcount_t refcnt; refcnt 779 include/net/sctp/structs.h refcount_t refcnt; refcnt 1236 include/net/sctp/structs.h refcount_t refcnt; refcnt 184 include/net/vxlan.h refcount_t refcnt; refcnt 134 include/net/x25.h refcount_t refcnt; refcnt 146 include/net/x25.h refcount_t refcnt; refcnt 176 include/net/x25.h atomic_t refcnt; refcnt 247 include/net/x25.h refcount_inc(&nb->refcnt); refcnt 252 include/net/x25.h if (refcount_dec_and_test(&nb->refcnt)) refcnt 270 include/net/x25.h refcount_inc(&rt->refcnt); refcnt 275 include/net/x25.h if (refcount_dec_and_test(&rt->refcnt)) refcnt 156 include/net/xfrm.h refcount_t refcnt; refcnt 506 include/net/xfrm.h refcount_t refcnt; refcnt 765 include/net/xfrm.h refcount_inc(&policy->refcnt); refcnt 772 include/net/xfrm.h if (refcount_dec_and_test(&policy->refcnt)) refcnt 787 include/net/xfrm.h refcount_dec(&x->refcnt); refcnt 792 include/net/xfrm.h if (refcount_dec_and_test(&x->refcnt)) refcnt 798 include/net/xfrm.h if (refcount_dec_and_test(&x->refcnt)) refcnt 804 include/net/xfrm.h refcount_inc(&x->refcnt); refcnt 78 include/trace/events/module.h __field( int, refcnt ) refcnt 84 include/trace/events/module.h __entry->refcnt = atomic_read(&mod->refcnt); refcnt 89 include/trace/events/module.h __get_str(name), (void *)__entry->ip, __entry->refcnt) refcnt 88 include/trace/events/neigh.h __field(int, refcnt) refcnt 113 include/trace/events/neigh.h __entry->refcnt = refcount_read(&n->refcnt); refcnt 148 include/trace/events/neigh.h __entry->type, __entry->dead, __entry->refcnt, refcnt 168 include/trace/events/neigh.h __field(int, refcnt) refcnt 190 include/trace/events/neigh.h __entry->refcnt = refcount_read(&n->refcnt); refcnt 221 include/trace/events/neigh.h __entry->type, __entry->dead, __entry->refcnt, refcnt 130 include/uapi/linux/pkt_cls.h int refcnt; refcnt 143 include/uapi/linux/pkt_cls.h int refcnt; refcnt 151 include/uapi/linux/pkt_cls.h int refcnt; \ refcnt 163 ipc/sem.c refcount_t refcnt; refcnt 1842 ipc/sem.c refcount_set(&undo_list->refcnt, 1); refcnt 2278 ipc/sem.c refcount_inc(&undo_list->refcnt); refcnt 2307 ipc/sem.c if (!refcount_dec_and_test(&ulp->refcnt)) refcnt 1069 kernel/audit_tree.c BUG_ON(refcount_read(&mark->refcnt) < 1); refcnt 1861 kernel/auditsc.c n->name->refcnt++; refcnt 1890 kernel/auditsc.c name->refcnt++; refcnt 2025 kernel/auditsc.c name->refcnt++; refcnt 2150 kernel/auditsc.c found_child->name->refcnt++; refcnt 212 kernel/bpf/btf.c refcount_t refcnt; refcnt 915 kernel/bpf/btf.c if (btf && refcount_dec_and_test(&btf->refcnt)) { refcnt 3360 kernel/bpf/btf.c refcount_set(&btf->refcnt, 1); refcnt 3452 kernel/bpf/btf.c refcount_inc(&btf->refcnt); refcnt 3497 kernel/bpf/btf.c if (!btf || !refcount_inc_not_zero(&btf->refcnt)) refcnt 28 kernel/bpf/cgroup.c percpu_ref_kill(&cgrp->bpf.refcnt); refcnt 71 kernel/bpf/cgroup.c percpu_ref_exit(&cgrp->bpf.refcnt); refcnt 82 kernel/bpf/cgroup.c struct cgroup *cgrp = container_of(ref, struct cgroup, bpf.refcnt); refcnt 208 kernel/bpf/cgroup.c ret = percpu_ref_init(&cgrp->bpf.refcnt, cgroup_bpf_release_fn, 0, refcnt 234 kernel/bpf/cgroup.c percpu_ref_exit(&cgrp->bpf.refcnt); refcnt 249 kernel/bpf/cgroup.c if (percpu_ref_is_zero(&desc->bpf.refcnt)) refcnt 261 kernel/bpf/cgroup.c if (percpu_ref_is_zero(&desc->bpf.refcnt)) { refcnt 67 kernel/bpf/cpumap.c atomic_t refcnt; /* Control when this struct can be free'ed */ refcnt 144 kernel/bpf/cpumap.c atomic_inc(&rcpu->refcnt); refcnt 238 kernel/bpf/cpumap.c if (atomic_dec_and_test(&rcpu->refcnt)) { refcnt 327 kernel/bpf/syscall.c if (atomic_dec_and_test(&map->refcnt)) { refcnt 580 kernel/bpf/syscall.c atomic_set(&map->refcnt, 1); refcnt 663 kernel/bpf/syscall.c if (atomic_inc_return(&map->refcnt) > BPF_MAX_REFCNT) { refcnt 664 kernel/bpf/syscall.c atomic_dec(&map->refcnt); refcnt 694 kernel/bpf/syscall.c refold = atomic_fetch_add_unless(&map->refcnt, 1, 0); refcnt 1355 kernel/bpf/syscall.c if (atomic_dec_and_test(&prog->aux->refcnt)) { refcnt 1463 kernel/bpf/syscall.c if (atomic_add_return(i, &prog->aux->refcnt) > BPF_MAX_REFCNT) { refcnt 1464 kernel/bpf/syscall.c atomic_sub(i, &prog->aux->refcnt); refcnt 1478 kernel/bpf/syscall.c WARN_ON(atomic_sub_return(i, &prog->aux->refcnt) == 0); refcnt 1493 kernel/bpf/syscall.c refold = atomic_fetch_add_unless(&prog->aux->refcnt, 1, 0); refcnt 1702 kernel/bpf/syscall.c atomic_set(&prog->aux->refcnt, 1); refcnt 1137 kernel/cgroup/cgroup-v1.c if (!percpu_ref_tryget_live(&ss->root->cgrp.self.refcnt)) refcnt 1214 kernel/cgroup/cgroup-v1.c if (!ret && !percpu_ref_tryget_live(&ctx->root->cgrp.self.refcnt)) refcnt 1222 kernel/cgroup/cgroup-v1.c if (!ret && percpu_ref_is_dying(&ctx->root->cgrp.self.refcnt)) { refcnt 2006 kernel/cgroup/cgroup.c ret = percpu_ref_init(&root_cgrp->self.refcnt, css_release, refcnt 2085 kernel/cgroup/cgroup.c percpu_ref_exit(&root_cgrp->self.refcnt); refcnt 2224 kernel/cgroup/cgroup.c !percpu_ref_is_dying(&root->cgrp.self.refcnt)) refcnt 2225 kernel/cgroup/cgroup.c percpu_ref_kill(&root->cgrp.self.refcnt); refcnt 3000 kernel/cgroup/cgroup.c if (!css || !percpu_ref_is_dying(&css->refcnt)) refcnt 3123 kernel/cgroup/cgroup.c WARN_ON_ONCE(percpu_ref_is_dying(&css->refcnt)); refcnt 3163 kernel/cgroup/cgroup.c WARN_ON_ONCE(percpu_ref_is_dying(&css->refcnt)); refcnt 4974 kernel/cgroup/cgroup.c percpu_ref_exit(&css->refcnt); refcnt 5078 kernel/cgroup/cgroup.c container_of(ref, struct cgroup_subsys_state, refcnt); refcnt 5179 kernel/cgroup/cgroup.c err = percpu_ref_init(&css->refcnt, css_release, 0, GFP_KERNEL); refcnt 5234 kernel/cgroup/cgroup.c ret = percpu_ref_init(&cgrp->self.refcnt, css_release, 0, GFP_KERNEL); refcnt 5340 kernel/cgroup/cgroup.c percpu_ref_exit(&cgrp->self.refcnt); refcnt 5461 kernel/cgroup/cgroup.c container_of(ref, struct cgroup_subsys_state, refcnt); refcnt 5509 kernel/cgroup/cgroup.c percpu_ref_kill_and_confirm(&css->refcnt, css_killed_ref_fn); refcnt 5603 kernel/cgroup/cgroup.c percpu_ref_kill(&cgrp->self.refcnt); refcnt 46 kernel/cgroup/debug.c int i, refcnt; refcnt 54 kernel/cgroup/debug.c refcnt = refcount_read(&cset->refcount); refcnt 55 kernel/cgroup/debug.c seq_printf(seq, "css_set %pK %d", cset, refcnt); refcnt 56 kernel/cgroup/debug.c if (refcnt > cset->nr_tasks) refcnt 57 kernel/cgroup/debug.c seq_printf(seq, " +%d", refcnt - cset->nr_tasks); refcnt 126 kernel/cgroup/debug.c int refcnt = refcount_read(&cset->refcount); refcnt 148 kernel/cgroup/debug.c seq_printf(seq, " %d", refcnt); refcnt 149 kernel/cgroup/debug.c if (refcnt - cset->nr_tasks > 0) { refcnt 150 kernel/cgroup/debug.c int extra = refcnt - cset->nr_tasks; refcnt 819 kernel/module.c atomic_set(&mod->refcnt, MODULE_REF_BASE); refcnt 825 kernel/module.c atomic_inc(&mod->refcnt); refcnt 928 kernel/module.c ret = atomic_sub_return(MODULE_REF_BASE, &mod->refcnt); refcnt 932 kernel/module.c ret = atomic_add_unless(&mod->refcnt, MODULE_REF_BASE, 0); refcnt 963 kernel/module.c return atomic_read(&mod->refcnt) - MODULE_REF_BASE; refcnt 1112 kernel/module.c __ATTR(refcnt, 0444, show_refcnt, NULL); refcnt 1118 kernel/module.c atomic_inc(&module->refcnt); refcnt 1133 kernel/module.c atomic_inc_not_zero(&module->refcnt) != 0)) refcnt 1150 kernel/module.c ret = atomic_dec_if_positive(&module->refcnt); refcnt 137 kernel/padata.c if (atomic_read(&pd->refcnt) >= MAX_OBJ_NUM) refcnt 141 kernel/padata.c atomic_inc(&pd->refcnt); refcnt 314 kernel/padata.c if (atomic_sub_and_test(cnt, &pd->refcnt)) refcnt 459 kernel/padata.c atomic_set(&pd->refcnt, 1); refcnt 544 kernel/padata.c if (atomic_dec_and_test(&ps->opd->refcnt)) refcnt 177 kernel/workqueue.c int refcnt; /* PL: refcnt for unbound pools */ refcnt 204 kernel/workqueue.c int refcnt; /* L: reference count */ refcnt 1093 kernel/workqueue.c WARN_ON_ONCE(pwq->refcnt <= 0); refcnt 1094 kernel/workqueue.c pwq->refcnt++; refcnt 1107 kernel/workqueue.c if (likely(--pwq->refcnt)) refcnt 1463 kernel/workqueue.c if (unlikely(!pwq->refcnt)) { refcnt 3439 kernel/workqueue.c pool->refcnt = 1; refcnt 3529 kernel/workqueue.c if (--pool->refcnt) refcnt 3599 kernel/workqueue.c pool->refcnt++; refcnt 3748 kernel/workqueue.c pwq->refcnt = 1; refcnt 3944 kernel/workqueue.c ctx->dfl_pwq->refcnt++; refcnt 4373 kernel/workqueue.c if (WARN_ON((pwq != wq->dfl_pwq) && (pwq->refcnt > 1)) || refcnt 4666 kernel/workqueue.c pwq->nr_active, pwq->max_active, pwq->refcnt, refcnt 298 lib/lru_cache.c return e && e->refcnt; refcnt 313 lib/lru_cache.c BUG_ON(e->refcnt); refcnt 386 lib/lru_cache.c ++e->refcnt; refcnt 392 lib/lru_cache.c if (e->refcnt++ == 0) refcnt 433 lib/lru_cache.c BUG_ON(++e->refcnt != 1); refcnt 563 lib/lru_cache.c BUG_ON(e->refcnt == 0); refcnt 565 lib/lru_cache.c if (--e->refcnt == 0) { refcnt 571 lib/lru_cache.c RETURN(e->refcnt); refcnt 616 lib/lru_cache.c BUG_ON(e->refcnt != 0); refcnt 650 lib/lru_cache.c i, e->lc_number, e->lc_new_number, e->refcnt); refcnt 653 lib/lru_cache.c i, e->lc_number, "-\"-", e->refcnt); refcnt 445 mm/backing-dev.c refcount_set(&new_congested->refcnt, 1); refcnt 451 mm/backing-dev.c refcount_inc(&congested->refcnt); refcnt 467 mm/backing-dev.c if (!refcount_dec_and_lock_irqsave(&congested->refcnt, &cgwb_lock, &flags)) refcnt 498 mm/backing-dev.c percpu_ref_exit(&wb->refcnt); refcnt 503 mm/backing-dev.c static void cgwb_release(struct percpu_ref *refcnt) refcnt 505 mm/backing-dev.c struct bdi_writeback *wb = container_of(refcnt, struct bdi_writeback, refcnt 506 mm/backing-dev.c refcnt); refcnt 517 mm/backing-dev.c percpu_ref_kill(&wb->refcnt); refcnt 566 mm/backing-dev.c ret = percpu_ref_init(&wb->refcnt, cgwb_release, 0, gfp); refcnt 611 mm/backing-dev.c percpu_ref_exit(&wb->refcnt); refcnt 820 mm/backing-dev.c refcount_set(&bdi->wb_congested->refcnt, 1); refcnt 855 mm/backing-dev.c kref_init(&bdi->refcnt); refcnt 1031 mm/backing-dev.c container_of(ref, struct backing_dev_info, refcnt); refcnt 1043 mm/backing-dev.c kref_put(&bdi->refcnt, release_bdi); refcnt 2987 mm/memcontrol.c else if (percpu_ref_tryget(&memcg_cachep->memcg_params.refcnt)) refcnt 3001 mm/memcontrol.c percpu_ref_put(&cachep->memcg_params.refcnt); refcnt 123 mm/mempolicy.c .refcnt = ATOMIC_INIT(1), /* never free it */ refcnt 279 mm/mempolicy.c atomic_set(&policy->refcnt, 1); refcnt 289 mm/mempolicy.c if (!atomic_dec_and_test(&p->refcnt)) refcnt 2241 mm/mempolicy.c atomic_set(&new->refcnt, 1); refcnt 2531 mm/mempolicy.c atomic_set(&mpol_new->refcnt, 1); refcnt 2725 mm/mempolicy.c .refcnt = ATOMIC_INIT(1), refcnt 86 mm/slab.h struct percpu_ref refcnt; refcnt 364 mm/slab.h percpu_ref_get_many(&s->memcg_params.refcnt, 1 << order); refcnt 376 mm/slab.h percpu_ref_get_many(&s->memcg_params.refcnt, 1 << order); refcnt 405 mm/slab.h percpu_ref_put_many(&s->memcg_params.refcnt, 1 << order); refcnt 152 mm/slab_common.c int ret = percpu_ref_init(&s->memcg_params.refcnt, refcnt 186 mm/slab_common.c percpu_ref_exit(&s->memcg_params.refcnt); refcnt 748 mm/slab_common.c memcg_params.refcnt); refcnt 766 mm/slab_common.c percpu_ref_kill(&s->memcg_params.refcnt); refcnt 141 net/atm/clip.c if (refcount_read(&n->refcnt) > 1) { refcnt 145 net/atm/clip.c refcount_read(&n->refcnt)); refcnt 770 net/atm/clip.c refcount_read(&entry->neigh->refcnt)); refcnt 64 net/atm/proc.c seq_printf(seq, "\t[%d]", refcount_read(&dev->refcnt)); refcnt 113 net/atm/resources.c refcount_set(&dev->refcnt, 1); refcnt 400 net/bluetooth/hci_conn.c int refcnt = atomic_read(&conn->refcnt); refcnt 404 net/bluetooth/hci_conn.c WARN_ON(refcnt < 0); refcnt 413 net/bluetooth/hci_conn.c if (refcnt > 0) refcnt 559 net/bluetooth/hci_conn.c atomic_set(&conn->refcnt, 0); refcnt 314 net/bluetooth/rfcomm/core.c refcount_set(&d->refcnt, 1); refcnt 345 net/bluetooth/rfcomm/core.c BT_DBG("dlc %p refcnt %d session %p", d, refcount_read(&d->refcnt), s); refcnt 142 net/bridge/br_private.h refcount_t refcnt; refcnt 162 net/bridge/br_vlan.c refcount_set(&masterv->refcnt, 1); refcnt 165 net/bridge/br_vlan.c refcount_inc(&masterv->refcnt); refcnt 189 net/bridge/br_vlan.c if (refcount_dec_and_test(&masterv->refcnt)) { refcnt 626 net/bridge/br_vlan.c refcount_inc(&vlan->refcnt); refcnt 677 net/bridge/br_vlan.c refcount_set(&vlan->refcnt, 1); refcnt 85 net/caif/caif_dev.c int i, refcnt = 0; refcnt 87 net/caif/caif_dev.c refcnt += *per_cpu_ptr(e->pcpu_refcnt, i); refcnt 88 net/caif/caif_dev.c return refcnt; refcnt 192 net/caif/cffrml.c int i, refcnt = 0; refcnt 195 net/caif/cffrml.c refcnt += *per_cpu_ptr(this->pcpu_refcnt, i); refcnt 196 net/caif/cffrml.c return refcnt; refcnt 3290 net/ceph/messenger.c refcount_inc(&pagelist->refcnt); refcnt 23 net/ceph/pagelist.c refcount_set(&pl->refcnt, 1); refcnt 40 net/ceph/pagelist.c if (!refcount_dec_and_test(&pl->refcnt)) refcnt 9213 net/core/dev.c int i, refcnt = 0; refcnt 9216 net/core/dev.c refcnt += *per_cpu_ptr(dev->pcpu_refcnt, i); refcnt 9217 net/core/dev.c return refcnt; refcnt 9236 net/core/dev.c int refcnt; refcnt 9241 net/core/dev.c refcnt = netdev_refcnt_read(dev); refcnt 9243 net/core/dev.c while (refcnt != 0) { refcnt 9272 net/core/dev.c refcnt = netdev_refcnt_read(dev); refcnt 9274 net/core/dev.c if (refcnt && time_after(jiffies, warning_time + 10 * HZ)) { refcnt 9276 net/core/dev.c dev->name, refcnt); refcnt 43 net/core/dst.c .refcnt = REFCOUNT_INIT(1), refcnt 207 net/core/dst.c refcount_set(&p->refcnt, 1); refcnt 219 net/core/dst.c if (refcount_dec_and_test(&old_p->refcnt)) refcnt 50 net/core/fib_rules.c refcount_set(&r->refcnt, 1); refcnt 308 net/core/fib_rules.c likely(refcount_inc_not_zero(&rule->refcnt))) { refcnt 519 net/core/fib_rules.c refcount_set(&nlrule->refcnt, 1); refcnt 1178 net/core/filter.c if (refcount_dec_and_test(&fp->refcnt)) refcnt 1208 net/core/filter.c if (!refcount_inc_not_zero(&fp->refcnt)) refcnt 1446 net/core/filter.c refcount_set(&fp->refcnt, 1); refcnt 221 net/core/flow_offload.c block_cb->refcnt++; refcnt 227 net/core/flow_offload.c return --block_cb->refcnt; refcnt 300 net/core/flow_offload.c unsigned int refcnt; refcnt 339 net/core/flow_offload.c indr_dev->refcnt++; refcnt 345 net/core/flow_offload.c if (--indr_dev->refcnt) refcnt 183 net/core/neighbour.c if (refcount_read(&n->refcnt) == 1) { refcnt 233 net/core/neighbour.c if (refcount_read(&n->refcnt) == 1) { refcnt 315 net/core/neighbour.c if (refcount_read(&n->refcnt) != 1) { refcnt 415 net/core/neighbour.c refcount_set(&n->refcnt, 1); refcnt 531 net/core/neighbour.c if (!refcount_inc_not_zero(&n->refcnt)) refcnt 560 net/core/neighbour.c if (!refcount_inc_not_zero(&n->refcnt)) refcnt 820 net/core/neighbour.c if (refcount_dec_and_test(&parms->refcnt)) refcnt 933 net/core/neighbour.c if (refcount_read(&n->refcnt) == 1 && refcnt 1618 net/core/neighbour.c refcount_set(&p->refcnt, 1); refcnt 1682 net/core/neighbour.c refcount_set(&tbl->parms.refcnt, 1); refcnt 1989 net/core/neighbour.c nla_put_u32(skb, NDTPA_REFCNT, refcount_read(&parms->refcnt)) || refcnt 2460 net/core/neighbour.c ci.ndm_refcnt = refcount_read(&neigh->refcnt) - 1; refcnt 611 net/core/netpoll.c refcount_set(&npinfo->refcnt, 1); refcnt 621 net/core/netpoll.c refcount_inc(&npinfo->refcnt); refcnt 803 net/core/netpoll.c if (refcount_dec_and_test(&npinfo->refcnt)) { refcnt 1120 net/core/skbuff.c refcount_set(&uarg->refcnt, 1); refcnt 1247 net/core/skbuff.c if (uarg && refcount_dec_and_test(&uarg->refcnt)) { refcnt 1652 net/core/skbuff.c refcount_inc(&skb_uarg(skb)->refcnt); refcnt 5985 net/core/skbuff.c refcount_set(&new->refcnt, 1); refcnt 5996 net/core/skbuff.c if (refcount_read(&old->refcnt) == 1) refcnt 6004 net/core/skbuff.c refcount_set(&new->refcnt, 1); refcnt 6087 net/core/skbuff.c refcount_read(&ext->refcnt) == 1) { refcnt 6102 net/core/skbuff.c if (refcount_read(&ext->refcnt) == 1) refcnt 6105 net/core/skbuff.c if (!refcount_dec_and_test(&ext->refcnt)) refcnt 513 net/core/skmsg.c refcount_set(&psock->refcnt, 1); refcnt 563 net/decnet/dn_neigh.c refcount_read(&dn->n.refcnt), refcnt 274 net/ipv4/devinet.c refcount_set(&in_dev->refcnt, 1); refcnt 171 net/ipv4/igmp.c if (refcount_dec_and_test(&im->refcnt)) { refcnt 208 net/ipv4/igmp.c refcount_dec(&im->refcnt); refcnt 222 net/ipv4/igmp.c refcount_inc(&im->refcnt); refcnt 258 net/ipv4/igmp.c refcount_dec(&im->refcnt); refcnt 1448 net/ipv4/igmp.c refcount_set(&im->refcnt, 1); refcnt 109 net/ipv4/inet_fragment.c refcount_set(&f->refcnt, 1); refcnt 117 net/ipv4/inet_fragment.c if (refcount_dec_and_test(&f->refcnt)) refcnt 144 net/ipv4/inet_fragment.c if (refcount_sub_and_test(count, &fq->refcnt)) refcnt 161 net/ipv4/inet_fragment.c if (refcount_dec_and_test(&f->refcnt)) refcnt 181 net/ipv4/inet_fragment.c refcount_inc(&f->refcnt); refcnt 197 net/ipv4/inet_fragment.c refcount_dec(&fq->refcnt); refcnt 212 net/ipv4/inet_fragment.c refcount_dec(&fq->refcnt); refcnt 291 net/ipv4/inet_fragment.c refcount_set(&q->refcnt, 3); refcnt 336 net/ipv4/inet_fragment.c if (!refcount_inc_not_zero(&fq->refcnt)) refcnt 121 net/ipv4/inetpeer.c if (!refcount_inc_not_zero(&p->refcnt)) refcnt 169 net/ipv4/inetpeer.c if (delta < ttl || !refcount_dec_if_one(&p->refcnt)) refcnt 220 net/ipv4/inetpeer.c refcount_set(&p->refcnt, 2); refcnt 250 net/ipv4/inetpeer.c if (refcount_dec_and_test(&p->refcnt)) refcnt 252 net/ipv4/ip_fragment.c refcount_inc(&qp->q.refcnt); refcnt 84 net/ipv4/metrics.c refcount_set(&fib_metrics->refcnt, 1); refcnt 1311 net/ipv4/nexthop.c refcount_set(&nh->refcnt, 1); refcnt 452 net/ipv4/route.c if (!IS_ERR(n) && !refcount_inc_not_zero(&n->refcnt)) refcnt 413 net/ipv6/addrconf.c refcount_set(&ndev->refcnt, 1); refcnt 1125 net/ipv6/addrconf.c refcount_set(&ifa->refcnt, 1); refcnt 1008 net/ipv6/exthdrs.c refcount_set(&opt2->refcnt, 1); refcnt 1083 net/ipv6/exthdrs.c refcount_set(&opt2->refcnt, 1); refcnt 670 net/ipv6/ip6_fib.c refcount_set(&p->refcnt, 1); refcnt 529 net/ipv6/ipv6_sockglue.c refcount_set(&opt->refcnt, 1); refcnt 49 net/ipv6/xfrm6_tunnel.c refcount_t refcnt; refcnt 153 net/ipv6/xfrm6_tunnel.c refcount_set(&x6spi->refcnt, 1); refcnt 171 net/ipv6/xfrm6_tunnel.c refcount_inc(&x6spi->refcnt); refcnt 200 net/ipv6/xfrm6_tunnel.c if (refcount_dec_and_test(&x6spi->refcnt)) { refcnt 2200 net/key/af_key.c hdr->sadb_msg_reserved = refcount_read(&xp->refcnt); refcnt 52 net/lapb/lapb_iface.c refcount_inc(&lapb->refcnt); refcnt 57 net/lapb/lapb_iface.c if (refcount_dec_and_test(&lapb->refcnt)) refcnt 132 net/lapb/lapb_iface.c refcount_set(&lapb->refcnt, 1); refcnt 44 net/llc/llc_core.c refcount_set(&sap->refcnt, 1); refcnt 179 net/netfilter/ipvs/ip_vs_conn.c refcount_inc(&cp->refcnt); refcnt 213 net/netfilter/ipvs/ip_vs_conn.c refcount_dec(&cp->refcnt); refcnt 233 net/netfilter/ipvs/ip_vs_conn.c return refcount_dec_if_one(&cp->refcnt); refcnt 242 net/netfilter/ipvs/ip_vs_conn.c if (refcount_dec_if_one(&cp->refcnt)) { refcnt 468 net/netfilter/ipvs/ip_vs_conn.c (refcount_read(&cp->refcnt) == 1) && refcnt 610 net/netfilter/ipvs/ip_vs_conn.c cp->flags, refcount_read(&cp->refcnt), refcnt 611 net/netfilter/ipvs/ip_vs_conn.c refcount_read(&dest->refcnt)); refcnt 707 net/netfilter/ipvs/ip_vs_conn.c cp->flags, refcount_read(&cp->refcnt), refcnt 708 net/netfilter/ipvs/ip_vs_conn.c refcount_read(&dest->refcnt)); refcnt 867 net/netfilter/ipvs/ip_vs_conn.c refcount_read(&cp->refcnt), refcnt 870 net/netfilter/ipvs/ip_vs_conn.c refcount_inc(&cp->refcnt); refcnt 949 net/netfilter/ipvs/ip_vs_conn.c refcount_set(&cp->refcnt, 1); refcnt 576 net/netfilter/ipvs/ip_vs_core.c cp->flags, refcount_read(&cp->refcnt)); refcnt 1229 net/netfilter/ipvs/ip_vs_core.c cp->flags, refcount_read(&cp->refcnt)); refcnt 320 net/netfilter/ipvs/ip_vs_ctl.c atomic_inc(&svc->refcnt); refcnt 346 net/netfilter/ipvs/ip_vs_ctl.c atomic_dec(&svc->refcnt); refcnt 455 net/netfilter/ipvs/ip_vs_ctl.c atomic_inc(&svc->refcnt); refcnt 475 net/netfilter/ipvs/ip_vs_ctl.c if (atomic_dec_and_test(&svc->refcnt)) { refcnt 747 net/netfilter/ipvs/ip_vs_ctl.c refcount_read(&dest->refcnt)); refcnt 1004 net/netfilter/ipvs/ip_vs_ctl.c refcount_set(&dest->refcnt, 1); refcnt 1075 net/netfilter/ipvs/ip_vs_ctl.c refcount_read(&dest->refcnt), refcnt 1158 net/netfilter/ipvs/ip_vs_ctl.c refcount_read(&dest->refcnt)); refcnt 1241 net/netfilter/ipvs/ip_vs_ctl.c if (refcount_read(&dest->refcnt) > 1) refcnt 1336 net/netfilter/ipvs/ip_vs_ctl.c atomic_set(&svc->refcnt, 0); refcnt 1552 net/netfilter/ipvs/ip_vs_ctl.c atomic_inc(&svc->refcnt); refcnt 1635 net/netfilter/ipvs/ip_vs_ctl.c refcount_read(&dest->refcnt)); refcnt 246 net/netfilter/ipvs/ip_vs_dh.c .refcnt = ATOMIC_INIT(0), refcnt 55 net/netfilter/ipvs/ip_vs_fo.c .refcnt = ATOMIC_INIT(0), refcnt 449 net/netfilter/ipvs/ip_vs_lblc.c refcount_read(&least->refcnt), refcnt 538 net/netfilter/ipvs/ip_vs_lblc.c .refcnt = ATOMIC_INIT(0), refcnt 203 net/netfilter/ipvs/ip_vs_lblcr.c refcount_read(&least->refcnt), refcnt 248 net/netfilter/ipvs/ip_vs_lblcr.c refcount_read(&most->refcnt), refcnt 613 net/netfilter/ipvs/ip_vs_lblcr.c refcount_read(&least->refcnt), refcnt 724 net/netfilter/ipvs/ip_vs_lblcr.c .refcnt = ATOMIC_INIT(0), refcnt 68 net/netfilter/ipvs/ip_vs_lc.c .refcnt = ATOMIC_INIT(0), refcnt 514 net/netfilter/ipvs/ip_vs_mh.c .refcnt = ATOMIC_INIT(0), refcnt 108 net/netfilter/ipvs/ip_vs_nq.c refcount_read(&least->refcnt), refcnt 118 net/netfilter/ipvs/ip_vs_nq.c .refcnt = ATOMIC_INIT(0), refcnt 62 net/netfilter/ipvs/ip_vs_ovf.c .refcnt = ATOMIC_INIT(0), refcnt 164 net/netfilter/ipvs/ip_vs_pe_sip.c .refcnt = ATOMIC_INIT(0), refcnt 450 net/netfilter/ipvs/ip_vs_proto_sctp.c refcount_read(&cp->refcnt)); refcnt 557 net/netfilter/ipvs/ip_vs_proto_tcp.c refcount_read(&cp->refcnt)); refcnt 95 net/netfilter/ipvs/ip_vs_rr.c refcount_read(&dest->refcnt), atomic_read(&dest->weight)); refcnt 103 net/netfilter/ipvs/ip_vs_rr.c .refcnt = ATOMIC_INIT(0), refcnt 109 net/netfilter/ipvs/ip_vs_sed.c refcount_read(&least->refcnt), refcnt 119 net/netfilter/ipvs/ip_vs_sed.c .refcnt = ATOMIC_INIT(0), refcnt 351 net/netfilter/ipvs/ip_vs_sh.c .refcnt = ATOMIC_INIT(0), refcnt 81 net/netfilter/ipvs/ip_vs_wlc.c refcount_read(&least->refcnt), refcnt 91 net/netfilter/ipvs/ip_vs_wlc.c .refcnt = ATOMIC_INIT(0), refcnt 216 net/netfilter/ipvs/ip_vs_wrr.c refcount_read(&dest->refcnt), refcnt 241 net/netfilter/ipvs/ip_vs_wrr.c .refcnt = ATOMIC_INIT(0), refcnt 116 net/netfilter/nf_conntrack_helper.c if (h != NULL && !refcount_inc_not_zero(&h->refcnt)) { refcnt 129 net/netfilter/nf_conntrack_helper.c refcount_dec(&helper->refcnt); refcnt 433 net/netfilter/nf_conntrack_helper.c refcount_set(&me->refcnt, 1); refcnt 33 net/netfilter/nfnetlink_acct.c refcount_t refcnt; refcnt 125 net/netfilter/nfnetlink_acct.c refcount_set(&nfacct->refcnt, 1); refcnt 168 net/netfilter/nfnetlink_acct.c nla_put_be32(skb, NFACCT_USE, htonl(refcount_read(&acct->refcnt)))) refcnt 330 net/netfilter/nfnetlink_acct.c if (refcount_dec_if_one(&cur->refcnt)) { refcnt 415 net/netfilter/nfnetlink_acct.c if (!refcount_inc_not_zero(&cur->refcnt)) { refcnt 431 net/netfilter/nfnetlink_acct.c if (refcount_dec_and_test(&acct->refcnt)) refcnt 503 net/netfilter/nfnetlink_acct.c if (refcount_dec_and_test(&cur->refcnt)) refcnt 726 net/netfilter/nfnetlink_cthelper.c if (refcount_dec_if_one(&cur->refcnt)) { refcnt 148 net/netfilter/nfnetlink_cttimeout.c refcount_set(&timeout->refcnt, 1); refcnt 184 net/netfilter/nfnetlink_cttimeout.c htonl(refcount_read(&timeout->refcnt)))) refcnt 301 net/netfilter/nfnetlink_cttimeout.c if (refcount_dec_if_one(&timeout->refcnt)) { refcnt 525 net/netfilter/nfnetlink_cttimeout.c if (!refcount_inc_not_zero(&timeout->refcnt)) { refcnt 541 net/netfilter/nfnetlink_cttimeout.c if (refcount_dec_and_test(&timeout->refcnt)) refcnt 591 net/netfilter/nfnetlink_cttimeout.c if (refcount_dec_and_test(&cur->refcnt)) refcnt 39 net/netfilter/xt_IDLETIMER.c unsigned int refcnt; refcnt 146 net/netfilter/xt_IDLETIMER.c info->timer->refcnt = 1; refcnt 206 net/netfilter/xt_IDLETIMER.c info->timer->refcnt++; refcnt 211 net/netfilter/xt_IDLETIMER.c info->label, info->timer->refcnt); refcnt 233 net/netfilter/xt_IDLETIMER.c if (--info->timer->refcnt == 0) { refcnt 244 net/netfilter/xt_IDLETIMER.c info->label, info->timer->refcnt); refcnt 33 net/netfilter/xt_LED.c int refcnt; refcnt 107 net/netfilter/xt_LED.c ledinternal->refcnt++; refcnt 120 net/netfilter/xt_LED.c ledinternal->refcnt = 1; refcnt 162 net/netfilter/xt_LED.c if (--ledinternal->refcnt) { refcnt 55 net/netfilter/xt_RATEEST.c est->refcnt++; refcnt 80 net/netfilter/xt_RATEEST.c if (--est->refcnt == 0) { refcnt 145 net/netfilter/xt_RATEEST.c est->refcnt = 1; refcnt 81 net/netfilter/xt_recent.c unsigned int refcnt; refcnt 381 net/netfilter/xt_recent.c t->refcnt++; refcnt 391 net/netfilter/xt_recent.c t->refcnt = 1; refcnt 451 net/netfilter/xt_recent.c if (--t->refcnt == 0) { refcnt 1168 net/packet/af_packet.c unsigned int refcnt = 0; refcnt 1176 net/packet/af_packet.c refcnt += *per_cpu_ptr(rb->pending_refcnt, cpu); refcnt 1178 net/packet/af_packet.c return refcnt; refcnt 141 net/sched/act_bpf.c .refcnt = refcount_read(&prog->tcf_refcnt) - ref, refcnt 176 net/sched/act_connmark.c .refcnt = refcount_read(&ci->tcf_refcnt) - ref, refcnt 640 net/sched/act_csum.c .refcnt = refcount_read(&p->tcf_refcnt) - ref, refcnt 838 net/sched/act_ct.c .refcnt = refcount_read(&c->tcf_refcnt) - ref, refcnt 288 net/sched/act_ctinfo.c .refcnt = refcount_read(&ci->tcf_refcnt) - ref, refcnt 199 net/sched/act_gact.c .refcnt = refcount_read(&gact->tcf_refcnt) - ref, refcnt 626 net/sched/act_ife.c .refcnt = refcount_read(&ife->tcf_refcnt) - ref, refcnt 295 net/sched/act_ipt.c c.refcnt = refcount_read(&ipt->tcf_refcnt) - ref; refcnt 335 net/sched/act_mirred.c .refcnt = refcount_read(&m->tcf_refcnt) - ref, refcnt 305 net/sched/act_mpls.c .refcnt = refcount_read(&m->tcf_refcnt) - ref, refcnt 269 net/sched/act_nat.c .refcnt = refcount_read(&p->tcf_refcnt) - ref, refcnt 434 net/sched/act_pedit.c opt->refcnt = refcount_read(&p->tcf_refcnt) - ref; refcnt 312 net/sched/act_police.c .refcnt = refcount_read(&police->tcf_refcnt) - ref, refcnt 206 net/sched/act_sample.c .refcnt = refcount_read(&s->tcf_refcnt) - ref, refcnt 177 net/sched/act_simple.c .refcnt = refcount_read(&d->tcf_refcnt) - ref, refcnt 236 net/sched/act_skbedit.c .refcnt = refcount_read(&d->tcf_refcnt) - ref, refcnt 222 net/sched/act_skbmod.c .refcnt = refcount_read(&d->tcf_refcnt) - ref, refcnt 520 net/sched/act_tunnel_key.c .refcnt = refcount_read(&t->tcf_refcnt) - ref, refcnt 260 net/sched/act_vlan.c .refcnt = refcount_read(&v->tcf_refcnt) - ref, refcnt 272 net/sched/cls_api.c refcount_set(&tp->refcnt, 1); refcnt 288 net/sched/cls_api.c refcount_inc(&tp->refcnt); refcnt 307 net/sched/cls_api.c if (refcount_dec_and_test(&tp->refcnt)) refcnt 361 net/sched/cls_api.c chain->refcnt = 1; refcnt 402 net/sched/cls_api.c refcount_read(&block->refcnt) == 0) refcnt 429 net/sched/cls_api.c ++chain->refcnt; refcnt 439 net/sched/cls_api.c return chain->refcnt == chain->action_refcnt; refcnt 480 net/sched/cls_api.c is_first_reference = chain->refcnt - chain->action_refcnt == 1; refcnt 524 net/sched/cls_api.c unsigned int refcnt; refcnt 543 net/sched/cls_api.c refcnt = --chain->refcnt; refcnt 548 net/sched/cls_api.c if (refcnt - chain->action_refcnt == 0 && !by_act) { refcnt 555 net/sched/cls_api.c if (refcnt == 0) refcnt 559 net/sched/cls_api.c if (refcnt == 0) { refcnt 913 net/sched/cls_api.c refcount_set(&block->refcnt, 1); refcnt 936 net/sched/cls_api.c if (block && !refcount_inc_not_zero(&block->refcnt)) refcnt 1186 net/sched/cls_api.c refcount_inc(&block->refcnt); refcnt 1195 net/sched/cls_api.c if (refcount_dec_and_mutex_lock(&block->refcnt, &block->lock)) { refcnt 83 net/sched/cls_flower.c refcount_t refcnt; refcnt 120 net/sched/cls_flower.c refcount_t refcnt; refcnt 376 net/sched/cls_flower.c if (!refcount_dec_and_test(&mask->refcnt)) refcnt 499 net/sched/cls_flower.c if (!refcount_dec_and_test(&f->refcnt)) refcnt 514 net/sched/cls_flower.c if (f && !refcount_inc_not_zero(&f->refcnt)) refcnt 1398 net/sched/cls_flower.c refcount_set(&newmask->refcnt, 1); refcnt 1455 net/sched/cls_flower.c } else if (!refcount_inc_not_zero(&fnew->mask->refcnt)) { refcnt 1575 net/sched/cls_flower.c refcount_set(&fnew->refcnt, 1); refcnt 1643 net/sched/cls_flower.c refcount_inc(&fnew->refcnt); refcnt 1660 net/sched/cls_flower.c refcount_dec(&fold->refcnt); refcnt 1684 net/sched/cls_flower.c refcount_inc(&fnew->refcnt); refcnt 1746 net/sched/cls_flower.c if (!refcount_inc_not_zero(&f->refcnt)) refcnt 1774 net/sched/cls_flower.c if (!(add && f->deleted) && refcount_inc_not_zero(&f->refcnt)) { refcnt 56 net/sched/cls_tcindex.c refcount_t refcnt; /* a temporary refcnt for perfect hash */ refcnt 67 net/sched/cls_tcindex.c refcount_inc(&p->refcnt); refcnt 72 net/sched/cls_tcindex.c if (refcount_dec_and_test(&p->refcnt)) { refcnt 154 net/sched/cls_tcindex.c refcount_set(&p->refcnt, 1); /* Paired with tcindex_destroy_work() */ refcnt 361 net/sched/cls_tcindex.c refcount_set(&cp->refcnt, 1); /* Paired with tcindex_destroy_work() */ refcnt 73 net/sched/cls_u32.c int refcnt; refcnt 88 net/sched/cls_u32.c int refcnt; refcnt 360 net/sched/cls_u32.c root_ht->refcnt++; refcnt 379 net/sched/cls_u32.c tp_c->refcnt++; refcnt 383 net/sched/cls_u32.c root_ht->refcnt++; refcnt 395 net/sched/cls_u32.c if (ht && --ht->refcnt == 0) refcnt 598 net/sched/cls_u32.c WARN_ON(--ht->refcnt); refcnt 627 net/sched/cls_u32.c if (root_ht && --root_ht->refcnt == 1) refcnt 630 net/sched/cls_u32.c if (--tp_c->refcnt == 0) { refcnt 642 net/sched/cls_u32.c if (--ht->refcnt == 0) refcnt 671 net/sched/cls_u32.c if (ht->refcnt == 1) { refcnt 679 net/sched/cls_u32.c *last = tp_c->refcnt == 1 && tp_c->knodes == 0; refcnt 741 net/sched/cls_u32.c ht_down->refcnt++; refcnt 748 net/sched/cls_u32.c ht_old->refcnt--; refcnt 817 net/sched/cls_u32.c ht->refcnt++; refcnt 958 net/sched/cls_u32.c ht->refcnt = 1; refcnt 421 net/sched/sch_api.c rtab->refcnt++; refcnt 429 net/sched/sch_api.c rtab->refcnt = 1; refcnt 446 net/sched/sch_api.c if (!tab || --tab->refcnt) refcnt 508 net/sched/sch_api.c stab->refcnt++; refcnt 516 net/sched/sch_api.c stab->refcnt = 1; refcnt 531 net/sched/sch_api.c if (--tab->refcnt == 0) { refcnt 891 net/sched/sch_api.c tcm->tcm_info = refcount_read(&q->refcnt); refcnt 865 net/sched/sch_generic.c refcount_set(&sch->refcnt, 1); refcnt 987 net/sched/sch_generic.c !refcount_dec_and_test(&qdisc->refcnt)) refcnt 1002 net/sched/sch_generic.c !refcount_dec_and_rtnl_lock(&qdisc->refcnt)) refcnt 76 net/sctp/associola.c refcount_set(&asoc->base.refcnt, 1); refcnt 858 net/sctp/associola.c refcount_inc(&asoc->base.refcnt); refcnt 866 net/sctp/associola.c if (refcount_dec_and_test(&asoc->base.refcnt)) refcnt 51 net/sctp/auth.c if (refcount_dec_and_test(&key->refcnt)) { refcnt 72 net/sctp/auth.c refcount_set(&key->refcnt, 1); refcnt 89 net/sctp/auth.c refcount_set(&new->refcnt, 1); refcnt 106 net/sctp/auth.c if (refcount_dec_and_test(&sh_key->refcnt)) refcnt 112 net/sctp/auth.c refcount_inc(&sh_key->refcnt); refcnt 997 net/sctp/auth.c refcount_read(&key->refcnt) == 1) { refcnt 37 net/sctp/chunk.c refcount_set(&msg->refcnt, 1); refcnt 123 net/sctp/chunk.c refcount_inc(&msg->refcnt); refcnt 129 net/sctp/chunk.c if (refcount_dec_and_test(&msg->refcnt)) refcnt 68 net/sctp/endpointola.c refcount_set(&ep->base.refcnt, 1); refcnt 227 net/sctp/endpointola.c refcount_inc(&ep->base.refcnt); refcnt 235 net/sctp/endpointola.c if (refcount_dec_and_test(&ep->base.refcnt)) refcnt 84 net/sctp/sm_make_chunk.c refcount_read(&shkey->refcnt) == 2) { refcnt 1354 net/sctp/sm_make_chunk.c refcount_set(&retval->refcnt, 1); refcnt 1478 net/sctp/sm_make_chunk.c refcount_inc(&ch->refcnt); refcnt 1484 net/sctp/sm_make_chunk.c if (refcount_dec_and_test(&ch->refcnt)) refcnt 9001 net/sctp/socket.c refcount_read(&shkey->refcnt) == 2) { refcnt 84 net/sctp/transport.c refcount_set(&peer->refcnt, 1); refcnt 157 net/sctp/transport.c if (unlikely(refcount_read(&transport->refcnt))) { refcnt 317 net/sctp/transport.c return refcount_inc_not_zero(&transport->refcnt); refcnt 325 net/sctp/transport.c if (refcount_dec_and_test(&transport->refcnt)) refcnt 82 net/smc/smc_ism.c refcount_set(&new_vlan->refcnt, 1); refcnt 88 net/smc/smc_ism.c refcount_inc(&vlan->refcnt); refcnt 125 net/smc/smc_ism.c if (!refcount_dec_and_test(&vlan->refcnt)) refcnt 26 net/smc/smc_ism.h refcount_t refcnt; /* Reference count */ refcnt 212 net/unix/af_unix.c if (refcount_dec_and_test(&addr->refcnt)) refcnt 874 net/unix/af_unix.c refcount_set(&addr->refcnt, 1); refcnt 1050 net/unix/af_unix.c refcount_set(&addr->refcnt, 1); refcnt 1364 net/unix/af_unix.c refcount_inc(&otheru->addr->refcnt); refcnt 96 net/wireless/lib80211.c if (atomic_read(&entry->refcnt) != 0 && !force) refcnt 264 net/x25/x25_link.c refcount_set(&nb->refcnt, 1); refcnt 53 net/x25/x25_route.c refcount_set(&rt->refcnt, 1); refcnt 190 net/xfrm/xfrm_policy.c return refcount_inc_not_zero(&policy->refcnt); refcnt 397 net/xfrm/xfrm_policy.c refcount_set(&policy->refcnt, 1); refcnt 55 net/xfrm/xfrm_state.c return refcount_inc_not_zero(&x->refcnt); refcnt 619 net/xfrm/xfrm_state.c refcount_set(&x->refcnt, 1); refcnt 90 tools/include/uapi/linux/pkt_cls.h int refcnt; refcnt 103 tools/include/uapi/linux/pkt_cls.h int refcnt; refcnt 111 tools/include/uapi/linux/pkt_cls.h int refcnt; \ refcnt 20 tools/perf/lib/cpumap.c refcount_set(&cpus->refcnt, 1); refcnt 29 tools/perf/lib/cpumap.c WARN_ONCE(refcount_read(&map->refcnt) != 0, refcnt 38 tools/perf/lib/cpumap.c refcount_inc(&map->refcnt); refcnt 44 tools/perf/lib/cpumap.c if (map && refcount_dec_and_test(&map->refcnt)) refcnt 65 tools/perf/lib/cpumap.c refcount_set(&cpus->refcnt, 1); refcnt 79 tools/perf/lib/cpumap.c refcount_set(&cpus->refcnt, 1); refcnt 8 tools/perf/lib/include/internal/cpumap.h refcount_t refcnt; refcnt 23 tools/perf/lib/include/internal/mmap.h refcount_t refcnt; refcnt 15 tools/perf/lib/include/internal/threadmap.h refcount_t refcnt; refcnt 52 tools/perf/lib/threadmap.c refcount_set(&threads->refcnt, 1); refcnt 62 tools/perf/lib/threadmap.c WARN_ONCE(refcount_read(&threads->refcnt) != 0, refcnt 73 tools/perf/lib/threadmap.c refcount_inc(&map->refcnt); refcnt 79 tools/perf/lib/threadmap.c if (map && refcount_dec_and_test(&map->refcnt)) refcnt 72 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("wrong refcnt", refcount_read(&map->refcnt) == 1); refcnt 26 tools/perf/tests/map_groups.c TEST_ASSERT_VAL("wrong map refcnt", refcount_read(&map->refcnt) == 2); refcnt 42 tools/perf/tests/thread-map.c refcount_read(&map->refcnt) == 1); refcnt 57 tools/perf/tests/thread-map.c refcount_read(&map->refcnt) == 1); refcnt 84 tools/perf/tests/thread-map.c refcount_read(&threads->refcnt) == 1); refcnt 46 tools/perf/tests/thread-mg-share.c TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&mg->refcnt), 4); refcnt 74 tools/perf/tests/thread-mg-share.c TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&other_mg->refcnt), 2); refcnt 80 tools/perf/tests/thread-mg-share.c TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&mg->refcnt), 3); refcnt 83 tools/perf/tests/thread-mg-share.c TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&mg->refcnt), 2); refcnt 86 tools/perf/tests/thread-mg-share.c TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&mg->refcnt), 1); refcnt 92 tools/perf/tests/thread-mg-share.c TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&other_mg->refcnt), 1); refcnt 115 tools/perf/util/cgroup.c refcount_set(&cgroup->refcnt, 1); refcnt 176 tools/perf/util/cgroup.c if (cgrp && refcount_dec_and_test(&cgrp->refcnt)) { refcnt 184 tools/perf/util/cgroup.c refcount_inc(&cgroup->refcnt); refcnt 246 tools/perf/util/cgroup.c refcount_inc(&cgrp->refcnt); refcnt 12 tools/perf/util/cgroup.h refcount_t refcnt; refcnt 15 tools/perf/util/comm.c refcount_t refcnt; refcnt 24 tools/perf/util/comm.c if (cs && refcount_inc_not_zero(&cs->refcnt)) refcnt 32 tools/perf/util/comm.c if (cs && refcount_dec_and_test(&cs->refcnt)) { refcnt 55 tools/perf/util/comm.c refcount_set(&cs->refcnt, 1); refcnt 92 tools/perf/util/cpumap.c refcount_set(&cpus->refcnt, 1); refcnt 158 tools/perf/util/cpumap.c refcount_set(&c->refcnt, 1); refcnt 1196 tools/perf/util/dso.c refcount_set(&dso->refcnt, 1); refcnt 1236 tools/perf/util/dso.c refcount_inc(&dso->refcnt); refcnt 1242 tools/perf/util/dso.c if (dso && refcount_dec_and_test(&dso->refcnt)) refcnt 199 tools/perf/util/dso.h refcount_t refcnt; refcnt 619 tools/perf/util/evlist.c refcount_set(&map[i].core.refcnt, 0); refcnt 1764 tools/perf/util/machine.c BUG_ON(refcount_read(&th->refcnt) == 0); refcnt 145 tools/perf/util/map.c refcount_set(&map->refcnt, 1); refcnt 303 tools/perf/util/map.c if (map && refcount_dec_and_test(&map->refcnt)) refcnt 395 tools/perf/util/map.c refcount_set(&map->refcnt, 1); refcnt 586 tools/perf/util/map.c refcount_set(&mg->refcnt, 1); refcnt 660 tools/perf/util/map.c if (mg && refcount_dec_and_test(&mg->refcnt)) refcnt 46 tools/perf/util/map.h refcount_t refcnt; refcnt 124 tools/perf/util/map.h refcount_inc(&map->refcnt); refcnt 33 tools/perf/util/map_groups.h refcount_t refcnt; refcnt 55 tools/perf/util/map_groups.h refcount_inc(&mg->refcnt); refcnt 25 tools/perf/util/mem-events.h refcount_t refcnt; refcnt 93 tools/perf/util/mmap.c if (!refcount_read(&map->core.refcnt)) refcnt 115 tools/perf/util/mmap.c refcount_inc(&map->core.refcnt); refcnt 120 tools/perf/util/mmap.c BUG_ON(map->core.base && refcount_read(&map->core.refcnt) == 0); refcnt 122 tools/perf/util/mmap.c if (refcount_dec_and_test(&map->core.refcnt)) refcnt 134 tools/perf/util/mmap.c if (refcount_read(&map->core.refcnt) == 1 && perf_mmap__empty(map)) refcnt 325 tools/perf/util/mmap.c refcount_set(&map->core.refcnt, 0); refcnt 371 tools/perf/util/mmap.c refcount_set(&map->core.refcnt, 2); refcnt 483 tools/perf/util/mmap.c if (!refcount_read(&map->core.refcnt)) refcnt 541 tools/perf/util/mmap.c if (!refcount_read(&map->core.refcnt)) refcnt 150 tools/perf/util/namespaces.c refcount_set(&nsi->refcnt, 1); refcnt 176 tools/perf/util/namespaces.c refcount_set(&nnsi->refcnt, 1); refcnt 191 tools/perf/util/namespaces.c refcount_inc(&nsi->refcnt); refcnt 197 tools/perf/util/namespaces.c if (nsi && refcount_dec_and_test(&nsi->refcnt)) refcnt 37 tools/perf/util/namespaces.h refcount_t refcnt; refcnt 2356 tools/perf/util/symbol.c refcount_inc(&mi->refcnt); refcnt 2362 tools/perf/util/symbol.c if (mi && refcount_dec_and_test(&mi->refcnt)) refcnt 2371 tools/perf/util/symbol.c refcount_set(&mi->refcnt, 1); refcnt 2378 tools/perf/util/symbol.c refcount_inc(&bi->refcnt); refcnt 2384 tools/perf/util/symbol.c if (bi && refcount_dec_and_test(&bi->refcnt)) refcnt 2393 tools/perf/util/symbol.c refcount_set(&bi->refcnt, 1); refcnt 116 tools/perf/util/symbol.h refcount_t refcnt; refcnt 66 tools/perf/util/thread.c refcount_set(&thread->refcnt, 1); refcnt 119 tools/perf/util/thread.c refcount_inc(&thread->refcnt); refcnt 125 tools/perf/util/thread.c if (thread && refcount_dec_and_test(&thread->refcnt)) { refcnt 33 tools/perf/util/thread.h refcount_t refcnt; refcnt 51 tools/perf/util/thread_map.c refcount_set(&threads->refcnt, 1); refcnt 68 tools/perf/util/thread_map.c refcount_set(&threads->refcnt, 1); refcnt 90 tools/perf/util/thread_map.c refcount_set(&threads->refcnt, 1); refcnt 230 tools/perf/util/thread_map.c refcount_set(&threads->refcnt, 1); refcnt 283 tools/perf/util/thread_map.c refcount_set(&threads->refcnt, 1); refcnt 383 tools/perf/util/thread_map.c refcount_set(&threads->refcnt, 1);