ref_count 101 arch/powerpc/xmon/xmon.c atomic_t ref_count; ref_count 513 arch/powerpc/xmon/xmon.c atomic_dec(&bp->ref_count); ref_count 701 arch/powerpc/xmon/xmon.c atomic_inc(&bp->ref_count); ref_count 711 arch/powerpc/xmon/xmon.c atomic_inc(&bp->ref_count); ref_count 765 arch/powerpc/xmon/xmon.c atomic_dec(&bp->ref_count); ref_count 828 arch/powerpc/xmon/xmon.c atomic_dec(&bp->ref_count); ref_count 882 arch/powerpc/xmon/xmon.c if (!bp->enabled && atomic_read(&bp->ref_count) == 0) { ref_count 36 arch/s390/include/asm/debug.h refcount_t ref_count; ref_count 51 arch/s390/include/asm/gmap.h refcount_t ref_count; ref_count 832 arch/s390/include/asm/kvm_host.h u32 ref_count[MAX_ISC + 1]; ref_count 268 arch/s390/kernel/debug.c refcount_set(&(rc->ref_count), 0); ref_count 347 arch/s390/kernel/debug.c refcount_set(&rc->ref_count, 1); ref_count 397 arch/s390/kernel/debug.c refcount_inc(&db_info->ref_count); ref_count 410 arch/s390/kernel/debug.c if (refcount_dec_and_test(&db_info->ref_count)) { ref_count 3141 arch/s390/kvm/interrupt.c gi->alert.ref_count[gisc]++; ref_count 3142 arch/s390/kvm/interrupt.c if (gi->alert.ref_count[gisc] == 1) { ref_count 3181 arch/s390/kvm/interrupt.c if (gi->alert.ref_count[gisc] == 0) { ref_count 3185 arch/s390/kvm/interrupt.c gi->alert.ref_count[gisc]--; ref_count 3186 arch/s390/kvm/interrupt.c if (gi->alert.ref_count[gisc] == 0) { ref_count 68 arch/s390/mm/extmem.c refcount_t ref_count; ref_count 366 arch/s390/mm/extmem.c refcount_set(&seg->ref_count, 1); ref_count 426 arch/s390/mm/extmem.c refcount_inc(&seg->ref_count); ref_count 472 arch/s390/mm/extmem.c if (refcount_read(&seg->ref_count) != 1) { ref_count 548 arch/s390/mm/extmem.c if (!refcount_dec_and_test(&seg->ref_count)) ref_count 70 arch/s390/mm/gmap.c refcount_set(&gmap->ref_count, 1); ref_count 217 arch/s390/mm/gmap.c refcount_inc(&gmap->ref_count); ref_count 230 arch/s390/mm/gmap.c if (refcount_dec_and_test(&gmap->ref_count)) ref_count 1601 arch/s390/mm/gmap.c refcount_inc(&sg->ref_count); ref_count 1689 arch/s390/mm/gmap.c refcount_set(&new->ref_count, 2); ref_count 33 block/bsg.c refcount_t ref_count; ref_count 216 block/bsg.c if (!refcount_dec_and_test(&bd->ref_count)) { ref_count 254 block/bsg.c refcount_set(&bd->ref_count, 1); ref_count 272 block/bsg.c refcount_inc(&bd->ref_count); ref_count 56 drivers/acpi/power.c unsigned int ref_count; ref_count 387 drivers/acpi/power.c if (resource->ref_count++) { ref_count 394 drivers/acpi/power.c resource->ref_count--; ref_count 427 drivers/acpi/power.c if (!resource->ref_count) { ref_count 434 drivers/acpi/power.c if (--resource->ref_count) { ref_count 441 drivers/acpi/power.c resource->ref_count++; ref_count 616 drivers/acpi/power.c resource->ref_count++; ref_count 897 drivers/acpi/power.c return sprintf(buf, "%u\n", !!resource->ref_count); ref_count 1004 drivers/acpi/power.c && resource->ref_count) { ref_count 1033 drivers/acpi/power.c && !resource->ref_count) { ref_count 287 drivers/atm/zatm.c if (!(zatm_dev->pool_info[pool].ref_count++)) { ref_count 304 drivers/atm/zatm.c DPRINTK("pool %d: %d\n",pool,zatm_dev->pool_info[pool].ref_count); ref_count 310 drivers/atm/zatm.c if (!(--ZATM_DEV(dev)->pool_info[pool].ref_count)) ref_count 615 drivers/atm/zatm.c zatm_dev->pool_info[i].ref_count = 0; ref_count 186 drivers/block/swim.c int ref_count; ref_count 615 drivers/block/swim.c if (fs->ref_count == -1 || (fs->ref_count && mode & FMODE_EXCL)) ref_count 619 drivers/block/swim.c fs->ref_count = -1; ref_count 621 drivers/block/swim.c fs->ref_count++; ref_count 649 drivers/block/swim.c if (fs->ref_count < 0) ref_count 650 drivers/block/swim.c fs->ref_count = 0; ref_count 651 drivers/block/swim.c else if (fs->ref_count > 0) ref_count 652 drivers/block/swim.c --fs->ref_count; ref_count 654 drivers/block/swim.c if (fs->ref_count == 0) ref_count 676 drivers/block/swim.c if (fs->ref_count < 0) ref_count 677 drivers/block/swim.c fs->ref_count = 0; ref_count 678 drivers/block/swim.c else if (fs->ref_count > 0) ref_count 679 drivers/block/swim.c --fs->ref_count; ref_count 681 drivers/block/swim.c if (fs->ref_count == 0) ref_count 697 drivers/block/swim.c if (fs->ref_count != 1) ref_count 792 drivers/block/swim.c fs->ref_count = 0; ref_count 194 drivers/block/swim3.c int ref_count; ref_count 883 drivers/block/swim3.c if (fs->ref_count != 1) ref_count 914 drivers/block/swim3.c if (fs->ref_count == 0) { ref_count 943 drivers/block/swim3.c } else if (fs->ref_count == -1 || mode & FMODE_EXCL) ref_count 961 drivers/block/swim3.c if (fs->ref_count == 0) { ref_count 970 drivers/block/swim3.c fs->ref_count = -1; ref_count 972 drivers/block/swim3.c ++fs->ref_count; ref_count 994 drivers/block/swim3.c if (fs->ref_count > 0) ref_count 995 drivers/block/swim3.c --fs->ref_count; ref_count 996 drivers/block/swim3.c else if (fs->ref_count == -1) ref_count 997 drivers/block/swim3.c fs->ref_count = 0; ref_count 998 drivers/block/swim3.c if (fs->ref_count == 0) { ref_count 236 drivers/crypto/qat/qat_common/adf_accel_devices.h atomic_t ref_count; ref_count 196 drivers/crypto/qat/qat_common/adf_dev_mgr.c atomic_set(&accel_dev->ref_count, 0); ref_count 425 drivers/crypto/qat/qat_common/adf_dev_mgr.c return atomic_read(&accel_dev->ref_count) != 0; ref_count 442 drivers/crypto/qat/qat_common/adf_dev_mgr.c if (atomic_add_return(1, &accel_dev->ref_count) == 1) ref_count 462 drivers/crypto/qat/qat_common/adf_dev_mgr.c if (atomic_sub_return(1, &accel_dev->ref_count) == 0) ref_count 388 drivers/crypto/qat/qat_common/icp_qat_uclo.h unsigned short ref_count; ref_count 108 drivers/crypto/qat/qat_common/qat_crypto.c ctr = atomic_read(&tmp_dev->ref_count); ref_count 73 drivers/crypto/virtio/virtio_crypto_common.h atomic_t ref_count; ref_count 54 drivers/crypto/virtio/virtio_crypto_mgr.c atomic_set(&vcrypto_dev->ref_count, 0); ref_count 117 drivers/crypto/virtio/virtio_crypto_mgr.c return atomic_read(&vcrypto_dev->ref_count) != 0; ref_count 133 drivers/crypto/virtio/virtio_crypto_mgr.c if (atomic_add_return(1, &vcrypto_dev->ref_count) == 1) ref_count 152 drivers/crypto/virtio/virtio_crypto_mgr.c if (atomic_sub_return(1, &vcrypto_dev->ref_count) == 0) ref_count 198 drivers/crypto/virtio/virtio_crypto_mgr.c ctr = atomic_read(&tmp_dev->ref_count); ref_count 114 drivers/firewire/core-topology.c refcount_set(&node->ref_count, 1); ref_count 188 drivers/firewire/core.h refcount_t ref_count; ref_count 201 drivers/firewire/core.h refcount_inc(&node->ref_count); ref_count 208 drivers/firewire/core.h if (refcount_dec_and_test(&node->ref_count)) ref_count 148 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c ++bo_va->ref_count; ref_count 185 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (bo_va && --bo_va->ref_count == 0) { ref_count 64 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h unsigned ref_count; ref_count 2050 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c bo_va->ref_count = 1; ref_count 1003 drivers/gpu/drm/i915/i915_drv.h atomic_t ref_count; ref_count 385 drivers/gpu/drm/i915/i915_perf.c if (!atomic_dec_and_test(&oa_config->ref_count)) ref_count 399 drivers/gpu/drm/i915/i915_perf.c atomic_inc(&dev_priv->perf.test_config.ref_count); ref_count 411 drivers/gpu/drm/i915/i915_perf.c atomic_inc(&(*out_config)->ref_count); ref_count 3093 drivers/gpu/drm/i915/i915_perf.c atomic_set(&dev_priv->perf.test_config.ref_count, 1); ref_count 3349 drivers/gpu/drm/i915/i915_perf.c atomic_set(&oa_config->ref_count, 1); ref_count 14 drivers/gpu/drm/lima/lima_vm.c unsigned int ref_count; ref_count 109 drivers/gpu/drm/lima/lima_vm.c bo_va->ref_count++; ref_count 127 drivers/gpu/drm/lima/lima_vm.c bo_va->ref_count = 1; ref_count 164 drivers/gpu/drm/lima/lima_vm.c if (--bo_va->ref_count > 0) { ref_count 475 drivers/gpu/drm/radeon/radeon.h unsigned ref_count; ref_count 171 drivers/gpu/drm/radeon/radeon_gem.c ++bo_va->ref_count; ref_count 201 drivers/gpu/drm/radeon/radeon_gem.c if (--bo_va->ref_count == 0) { ref_count 334 drivers/gpu/drm/radeon/radeon_vm.c bo_va->ref_count = 1; ref_count 281 drivers/infiniband/core/fmr_pool.c fmr->ref_count = 0; ref_count 412 drivers/infiniband/core/fmr_pool.c ++fmr->ref_count; ref_count 413 drivers/infiniband/core/fmr_pool.c if (fmr->ref_count == 1) { ref_count 446 drivers/infiniband/core/fmr_pool.c fmr->ref_count = 1; ref_count 479 drivers/infiniband/core/fmr_pool.c --fmr->ref_count; ref_count 480 drivers/infiniband/core/fmr_pool.c if (!fmr->ref_count) { ref_count 347 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_dec(&cm_node->ref_count); ref_count 573 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&cm_node->ref_count); ref_count 1094 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&cm_node->ref_count); ref_count 1142 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&cm_node->ref_count); ref_count 1200 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&cm_node->ref_count); ref_count 1450 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&cm_node->ref_count); ref_count 1492 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&listen_node->ref_count); ref_count 1864 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&cm_node->ref_count); ref_count 1901 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&loopback->ref_count); ref_count 1910 drivers/infiniband/hw/i40iw/i40iw_cm.c if (!atomic_dec_return(&listener->ref_count)) { ref_count 2205 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_set(&cm_node->ref_count, 1); ref_count 2287 drivers/infiniband/hw/i40iw/i40iw_cm.c if (atomic_dec_return(&cm_node->ref_count)) { ref_count 2365 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&cm_node->ref_count); ref_count 2626 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&cm_node->ref_count); ref_count 2700 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&cm_node->ref_count); ref_count 2773 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&cm_node->ref_count); ref_count 2869 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_dec(&listener->ref_count); ref_count 2887 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_set(&listener->ref_count, 1); ref_count 3212 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_dec(&listener->ref_count); ref_count 3221 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&cm_node->ref_count); ref_count 4227 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&event->cm_node->ref_count); ref_count 4330 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&cm_node->ref_count); ref_count 4341 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&cm_node->ref_count); ref_count 294 drivers/infiniband/hw/i40iw/i40iw_cm.h atomic_t ref_count; ref_count 322 drivers/infiniband/hw/i40iw/i40iw_cm.h atomic_t ref_count; ref_count 104 drivers/md/dm-cache-metadata.c refcount_t ref_count; ref_count 758 drivers/md/dm-cache-metadata.c refcount_set(&cmd->ref_count, 1); ref_count 796 drivers/md/dm-cache-metadata.c refcount_inc(&cmd->ref_count); ref_count 867 drivers/md/dm-cache-metadata.c if (refcount_dec_and_test(&cmd->ref_count)) { ref_count 1746 drivers/md/dm-thin-metadata.c uint32_t ref_count; ref_count 1749 drivers/md/dm-thin-metadata.c r = dm_sm_get_count(pmd->data_sm, b, &ref_count); ref_count 1751 drivers/md/dm-thin-metadata.c *result = (ref_count > 1); ref_count 257 drivers/md/dm-thin.c unsigned ref_count; ref_count 3053 drivers/md/dm-thin.c pool->ref_count = 1; ref_count 3086 drivers/md/dm-thin.c pool->ref_count++; ref_count 3092 drivers/md/dm-thin.c BUG_ON(!pool->ref_count); ref_count 3093 drivers/md/dm-thin.c if (!--pool->ref_count) ref_count 590 drivers/md/persistent-data/dm-array.c uint32_t ref_count; ref_count 598 drivers/md/persistent-data/dm-array.c r = dm_tm_ref(info->btree_info.tm, b, &ref_count); ref_count 605 drivers/md/persistent-data/dm-array.c if (ref_count == 1) { ref_count 211 drivers/md/persistent-data/dm-btree.c uint32_t ref_count; ref_count 218 drivers/md/persistent-data/dm-btree.c r = dm_tm_ref(s->tm, b, &ref_count); ref_count 222 drivers/md/persistent-data/dm-btree.c if (ref_count > 1) ref_count 415 drivers/md/persistent-data/dm-space-map-common.c uint32_t bit, old, ref_count; ref_count 446 drivers/md/persistent-data/dm-space-map-common.c r = mutator(context, old, &ref_count); ref_count 452 drivers/md/persistent-data/dm-space-map-common.c if (ref_count <= 2) { ref_count 453 drivers/md/persistent-data/dm-space-map-common.c sm_set_bitmap(bm_le, bit, ref_count); ref_count 466 drivers/md/persistent-data/dm-space-map-common.c __le32 le_rc = cpu_to_le32(ref_count); ref_count 480 drivers/md/persistent-data/dm-space-map-common.c if (ref_count && !old) { ref_count 487 drivers/md/persistent-data/dm-space-map-common.c } else if (old && !ref_count) { ref_count 505 drivers/md/persistent-data/dm-space-map-common.c uint32_t ref_count, enum allocation_event *ev) ref_count 507 drivers/md/persistent-data/dm-space-map-common.c return sm_ll_mutate(ll, b, set_ref_count, &ref_count, ev); ref_count 114 drivers/md/persistent-data/dm-space-map-common.h int sm_ll_insert(struct ll_disk *ll, dm_block_t b, uint32_t ref_count, enum allocation_event *ev); ref_count 1408 drivers/media/platform/omap3isp/isp.c if (isp->ref_count > 0) ref_count 1425 drivers/media/platform/omap3isp/isp.c isp->ref_count++; ref_count 1448 drivers/media/platform/omap3isp/isp.c BUG_ON(isp->ref_count == 0); ref_count 1449 drivers/media/platform/omap3isp/isp.c if (--isp->ref_count == 0) { ref_count 1538 drivers/media/platform/omap3isp/isp.c if (isp->ref_count == 0) ref_count 1556 drivers/media/platform/omap3isp/isp.c if (isp->ref_count) ref_count 1566 drivers/media/platform/omap3isp/isp.c if (isp->ref_count == 0) ref_count 1576 drivers/media/platform/omap3isp/isp.c if (isp->ref_count == 0) ref_count 2305 drivers/media/platform/omap3isp/isp.c isp->ref_count = 0; ref_count 196 drivers/media/platform/omap3isp/isp.h int ref_count; ref_count 804 drivers/media/platform/qcom/camss/camss-video.c if (atomic_dec_and_test(&video->camss->ref_count)) ref_count 932 drivers/media/platform/qcom/camss/camss-video.c atomic_inc(&video->camss->ref_count); ref_count 955 drivers/media/platform/qcom/camss/camss-video.c atomic_inc(&video->camss->ref_count); ref_count 957 drivers/media/platform/qcom/camss/camss-video.c atomic_dec(&video->camss->ref_count); ref_count 822 drivers/media/platform/qcom/camss/camss.c atomic_set(&camss->ref_count, 0); ref_count 978 drivers/media/platform/qcom/camss/camss.c if (atomic_read(&camss->ref_count) == 0) ref_count 83 drivers/media/platform/qcom/camss/camss.h atomic_t ref_count; ref_count 217 drivers/media/platform/rcar_jpu.c int ref_count; ref_count 1269 drivers/media/platform/rcar_jpu.c if (jpu->ref_count == 0) { ref_count 1279 drivers/media/platform/rcar_jpu.c jpu->ref_count++; ref_count 1307 drivers/media/platform/rcar_jpu.c if (--jpu->ref_count == 0) ref_count 1730 drivers/media/platform/rcar_jpu.c if (jpu->ref_count == 0) ref_count 1742 drivers/media/platform/rcar_jpu.c if (jpu->ref_count == 0) ref_count 115 drivers/media/usb/cx231xx/cx231xx-avcore.c int cx231xx_afe_init_super_block(struct cx231xx *dev, u32 ref_count) ref_count 123 drivers/media/usb/cx231xx/cx231xx-avcore.c temp = (u8) (ref_count & 0xff); ref_count 132 drivers/media/usb/cx231xx/cx231xx-avcore.c temp = (u8) ((ref_count & 0x300) >> 8); ref_count 779 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_afe_init_super_block(struct cx231xx *dev, u32 ref_count); ref_count 37 drivers/misc/mic/host/mic_debugfs.c smpt_info->entry[i].ref_count); ref_count 74 drivers/misc/mic/host/mic_smpt.c if (!smpt_info->entry[i].ref_count && ref_count 79 drivers/misc/mic/host/mic_smpt.c smpt_info->entry[i].ref_count += ref[i - spt]; ref_count 114 drivers/misc/mic/host/mic_smpt.c ae = (smpt_info->entry[i].ref_count == 0) ? ae + 1 : 0; ref_count 128 drivers/misc/mic/host/mic_smpt.c smpt_info->ref_count += (s64)size; ref_count 270 drivers/misc/mic/host/mic_smpt.c smpt_info->ref_count -= (s64)size; ref_count 273 drivers/misc/mic/host/mic_smpt.c smpt_info->entry[i].ref_count -= ref[i - spt]; ref_count 274 drivers/misc/mic/host/mic_smpt.c if (smpt_info->entry[i].ref_count < 0) ref_count 364 drivers/misc/mic/host/mic_smpt.c smpt_info->entry[i].ref_count = 0; ref_count 367 drivers/misc/mic/host/mic_smpt.c smpt_info->ref_count = 0; ref_count 390 drivers/misc/mic/host/mic_smpt.c mdev->id, smpt_info->ref_count, ref_count 397 drivers/misc/mic/host/mic_smpt.c smpt_info->entry[i].ref_count); ref_count 398 drivers/misc/mic/host/mic_smpt.c if (smpt_info->entry[i].ref_count) ref_count 28 drivers/misc/mic/host/mic_smpt.h s64 ref_count; ref_count 58 drivers/misc/mic/host/mic_smpt.h s64 ref_count; ref_count 51 drivers/misc/mic/scif/scif_debugfs.c window->ref_count, window->magic, window->peer_window); ref_count 50 drivers/misc/mic/scif/scif_mmap.c if (!window->ref_count) { ref_count 58 drivers/misc/mic/scif/scif_mmap.c if (window && !window->ref_count) ref_count 129 drivers/misc/mic/scif/scif_mmap.c if (window->ref_count) ref_count 135 drivers/misc/mic/scif/scif_mmap.c if (!window->ref_count) { ref_count 339 drivers/misc/mic/scif/scif_mmap.c if (!window->ref_count) { ref_count 470 drivers/misc/mic/scif/scif_mmap.c if (!window->ref_count) { ref_count 322 drivers/misc/mic/scif/scif_rma.c j = atomic_sub_return(1, &pinned_pages->ref_count); ref_count 708 drivers/misc/mic/scif/scif_rma.c if (window->unreg_state == OP_COMPLETED && window->ref_count) ref_count 711 drivers/misc/mic/scif/scif_rma.c if (!window->ref_count) { ref_count 1201 drivers/misc/mic/scif/scif_rma.c if (window->ref_count) ref_count 1208 drivers/misc/mic/scif/scif_rma.c if (!window->ref_count) { ref_count 1408 drivers/misc/mic/scif/scif_rma.c atomic_set(&pinned_pages->ref_count, 1); ref_count 1438 drivers/misc/mic/scif/scif_rma.c ret = atomic_sub_return(1, &pinned_pages->ref_count); ref_count 1502 drivers/misc/mic/scif/scif_rma.c if (!atomic_add_unless(&pinned_pages->ref_count, 1, 0)) ref_count 1509 drivers/misc/mic/scif/scif_rma.c atomic_sub(1, &pinned_pages->ref_count); ref_count 1517 drivers/misc/mic/scif/scif_rma.c atomic_sub(1, &pinned_pages->ref_count); ref_count 190 drivers/misc/mic/scif/scif_rma.h atomic_t ref_count; ref_count 259 drivers/misc/mic/scif/scif_rma.h int ref_count; ref_count 441 drivers/misc/mic/scif/scif_rma.h window->ref_count += nr_pages; ref_count 446 drivers/misc/mic/scif/scif_rma.h window->ref_count -= nr_pages; ref_count 451 drivers/misc/mic/scif/scif_rma.h window->ref_count = nr_pages; ref_count 191 drivers/misc/vmw_vmci/vmci_queue_pair.c u32 ref_count; ref_count 896 drivers/misc/vmw_vmci/vmci_queue_pair.c entry->qp.ref_count = 0; ref_count 1019 drivers/misc/vmw_vmci/vmci_queue_pair.c u32 ref_count = ~0; /* To avoid compiler warning below */ ref_count 1032 drivers/misc/vmw_vmci/vmci_queue_pair.c if (entry->qp.ref_count > 1) { ref_count 1064 drivers/misc/vmw_vmci/vmci_queue_pair.c entry->qp.ref_count--; ref_count 1065 drivers/misc/vmw_vmci/vmci_queue_pair.c if (entry->qp.ref_count == 0) ref_count 1070 drivers/misc/vmw_vmci/vmci_queue_pair.c ref_count = entry->qp.ref_count; ref_count 1074 drivers/misc/vmw_vmci/vmci_queue_pair.c if (ref_count == 0) ref_count 1112 drivers/misc/vmw_vmci/vmci_queue_pair.c if (queue_pair_entry->qp.ref_count > 1) { ref_count 1219 drivers/misc/vmw_vmci/vmci_queue_pair.c queue_pair_entry->qp.ref_count++; ref_count 1230 drivers/misc/vmw_vmci/vmci_queue_pair.c queue_pair_entry->qp.ref_count == 1) { ref_count 1338 drivers/misc/vmw_vmci/vmci_queue_pair.c entry->qp.ref_count = 1; ref_count 1664 drivers/misc/vmw_vmci/vmci_queue_pair.c entry->qp.ref_count++; ref_count 2112 drivers/misc/vmw_vmci/vmci_queue_pair.c entry->qp.ref_count--; ref_count 2160 drivers/misc/vmw_vmci/vmci_queue_pair.c if (entry->qp.ref_count == 0) { ref_count 2398 drivers/misc/vmw_vmci/vmci_queue_pair.c entry->ref_count = 0; ref_count 260 drivers/mtd/ubi/build.c ubi_assert(ubi->ref_count >= 0); ref_count 261 drivers/mtd/ubi/build.c ubi->ref_count += 1; ref_count 276 drivers/mtd/ubi/build.c ubi->ref_count -= 1; ref_count 297 drivers/mtd/ubi/build.c ubi_assert(ubi->ref_count >= 0); ref_count 298 drivers/mtd/ubi/build.c ubi->ref_count += 1; ref_count 1051 drivers/mtd/ubi/build.c ubi->ref_count -= 1; ref_count 1052 drivers/mtd/ubi/build.c if (ubi->ref_count) { ref_count 1059 drivers/mtd/ubi/build.c ubi->ubi_name, ubi->ref_count); ref_count 185 drivers/mtd/ubi/kapi.c vol->ref_count += 1; ref_count 348 drivers/mtd/ubi/kapi.c vol->ref_count -= 1; ref_count 343 drivers/mtd/ubi/ubi.h int ref_count; ref_count 565 drivers/mtd/ubi/ubi.h int ref_count; ref_count 72 drivers/mtd/ubi/vmt.c vol->ref_count += 1; ref_count 103 drivers/mtd/ubi/vmt.c vol->ref_count -= 1; ref_count 104 drivers/mtd/ubi/vmt.c ubi_assert(vol->ref_count >= 0); ref_count 354 drivers/mtd/ubi/vmt.c if (vol->ref_count > 1) { ref_count 442 drivers/mtd/ubi/vmt.c if (vol->ref_count > 1) { ref_count 641 drivers/mtd/ubi/vtbl.c vol->ref_count = 1; ref_count 52 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c atomic_set(&ulp->ref_count, 0); ref_count 90 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c while (atomic_read(&ulp->ref_count) != 0 && i < 10) { ref_count 256 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c atomic_inc(&ulp->ref_count); ref_count 261 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c atomic_dec(&ulp->ref_count); ref_count 55 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h atomic_t ref_count; ref_count 144 drivers/net/ethernet/broadcom/cnic.c atomic_inc(&dev->ref_count); ref_count 149 drivers/net/ethernet/broadcom/cnic.c atomic_dec(&dev->ref_count); ref_count 154 drivers/net/ethernet/broadcom/cnic.c atomic_inc(&csk->ref_count); ref_count 159 drivers/net/ethernet/broadcom/cnic.c atomic_dec(&csk->ref_count); ref_count 180 drivers/net/ethernet/broadcom/cnic.c atomic_inc(&ulp_ops->ref_count); ref_count 185 drivers/net/ethernet/broadcom/cnic.c atomic_dec(&ulp_ops->ref_count); ref_count 497 drivers/net/ethernet/broadcom/cnic.c atomic_set(&ulp_ops->ref_count, 0); ref_count 548 drivers/net/ethernet/broadcom/cnic.c while ((atomic_read(&ulp_ops->ref_count) != 0) && (i < 20)) { ref_count 553 drivers/net/ethernet/broadcom/cnic.c if (atomic_read(&ulp_ops->ref_count) != 0) ref_count 3599 drivers/net/ethernet/broadcom/cnic.c if (atomic_read(&csk1->ref_count)) ref_count 3654 drivers/net/ethernet/broadcom/cnic.c while (atomic_read(&csk->ref_count) != 1) ref_count 4107 drivers/net/ethernet/broadcom/cnic.c atomic_set(&cp->csk_tbl[i].ref_count, 0); ref_count 5439 drivers/net/ethernet/broadcom/cnic.c while ((atomic_read(&dev->ref_count) != 0) && i < 10) { ref_count 5443 drivers/net/ethernet/broadcom/cnic.c if (atomic_read(&dev->ref_count) != 0) ref_count 5487 drivers/net/ethernet/broadcom/cnic.c atomic_set(&cdev->ref_count, 0); ref_count 303 drivers/net/ethernet/broadcom/cnic_if.h atomic_t ref_count; ref_count 338 drivers/net/ethernet/broadcom/cnic_if.h atomic_t ref_count; ref_count 381 drivers/net/ethernet/broadcom/cnic_if.h atomic_t ref_count; ref_count 95 drivers/net/ethernet/cavium/thunder/nicvf_queues.c int ref_count; ref_count 104 drivers/net/ethernet/cavium/thunder/nicvf_queues.c ref_count = page_ref_count(page); ref_count 111 drivers/net/ethernet/cavium/thunder/nicvf_queues.c if (ref_count == pgcache->ref_count) ref_count 112 drivers/net/ethernet/cavium/thunder/nicvf_queues.c pgcache->ref_count--; ref_count 115 drivers/net/ethernet/cavium/thunder/nicvf_queues.c } else if (ref_count != 1) { ref_count 137 drivers/net/ethernet/cavium/thunder/nicvf_queues.c pgcache->ref_count = 0; ref_count 150 drivers/net/ethernet/cavium/thunder/nicvf_queues.c if (!pgcache->ref_count) { ref_count 151 drivers/net/ethernet/cavium/thunder/nicvf_queues.c pgcache->ref_count = XDP_PAGE_REFCNT_REFILL; ref_count 366 drivers/net/ethernet/cavium/thunder/nicvf_queues.c pgcache->ref_count - 1); ref_count 217 drivers/net/ethernet/cavium/thunder/nicvf_queues.h int ref_count; ref_count 1396 drivers/net/ethernet/intel/ice/ice_flex_pipe.c devm_kfree(ice_hw_to_dev(hw), hw->blk[i].es.ref_count); ref_count 1433 drivers/net/ethernet/intel/ice/ice_flex_pipe.c memset(es->ref_count, 0, es->count * sizeof(*es->ref_count)); ref_count 1535 drivers/net/ethernet/intel/ice/ice_flex_pipe.c es->ref_count = devm_kcalloc(ice_hw_to_dev(hw), es->count, ref_count 1536 drivers/net/ethernet/intel/ice/ice_flex_pipe.c sizeof(*es->ref_count), ref_count 1541 drivers/net/ethernet/intel/ice/ice_flex_pipe.c if (!es->ref_count) ref_count 255 drivers/net/ethernet/intel/ice/ice_flex_type.h u16 *ref_count; ref_count 1489 drivers/net/ethernet/mellanox/mlx4/eq.c if (min_ref_count_val > eq->ref_count && ref_count 1491 drivers/net/ethernet/mellanox/mlx4/eq.c min_ref_count_val = eq->ref_count; ref_count 1530 drivers/net/ethernet/mellanox/mlx4/eq.c priv->eq_table.eq[*prequested_vector].ref_count++; ref_count 1558 drivers/net/ethernet/mellanox/mlx4/eq.c priv->eq_table.eq[eq_vec].ref_count--; ref_count 403 drivers/net/ethernet/mellanox/mlx4/mlx4.h u32 ref_count; ref_count 58 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int ref_count; ref_count 66 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int ref_count; ref_count 117 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_t ref_count; ref_count 146 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_t ref_count; ref_count 182 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_t ref_count; ref_count 195 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_t ref_count; ref_count 1063 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_set(&ret->ref_count, 0); ref_count 1079 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_set(&ret->ref_count, 0); ref_count 1123 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_set(&ret->ref_count, 0); ref_count 1138 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_set(&ret->ref_count, 0); ref_count 1338 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (res->com.state == RES_QP_BUSY || atomic_read(&res->ref_count) || ref_count 1341 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c res->com.state, atomic_read(&res->ref_count)); ref_count 1353 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_read(&res->ref_count)) { ref_count 1357 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_read(&res->ref_count)); ref_count 1688 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c else if (atomic_read(&r->ref_count)) ref_count 1728 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c else if (atomic_read(&r->ref_count)) ref_count 2034 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c ++res->ref_count; ref_count 2049 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c res->ref_count = 1; ref_count 2066 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (!--res->ref_count) { ref_count 2088 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c for (i = 0; i < res->ref_count; i++) ref_count 2141 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c ++res->ref_count; ref_count 2156 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c res->ref_count = 1; ref_count 2174 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (!--res->ref_count) { ref_count 2197 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c for (i = 0; i < res->ref_count; i++) ref_count 2821 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_inc(&mtt->ref_count); ref_count 2858 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&mpt->mtt->ref_count); ref_count 3020 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_inc(&mtt->ref_count); ref_count 3022 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_inc(&rcq->ref_count); ref_count 3024 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_inc(&scq->ref_count); ref_count 3031 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_inc(&srq->ref_count); ref_count 3126 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_inc(&mtt->ref_count); ref_count 3323 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&eq->mtt->ref_count); ref_count 3458 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_inc(&mtt->ref_count); ref_count 3487 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&cq->mtt->ref_count); ref_count 3552 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&orig_mtt->ref_count); ref_count 3554 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_inc(&mtt->ref_count); ref_count 3640 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_inc(&mtt->ref_count); ref_count 3670 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&srq->mtt->ref_count); ref_count 3672 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&srq->cq->ref_count); ref_count 4001 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&qp->mtt->ref_count); ref_count 4002 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&qp->rcq->ref_count); ref_count 4003 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&qp->scq->ref_count); ref_count 4005 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&qp->srq->ref_count); ref_count 4469 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_inc(&rqp->ref_count); ref_count 4553 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&rqp->ref_count); ref_count 4715 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&qp->rcq->ref_count); ref_count 4716 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&qp->scq->ref_count); ref_count 4717 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&qp->mtt->ref_count); ref_count 4719 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&qp->srq->ref_count); ref_count 4781 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&srq->mtt->ref_count); ref_count 4783 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&srq->cq->ref_count); ref_count 4818 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (cq->com.owner == slave && !atomic_read(&cq->ref_count)) { ref_count 4845 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&cq->mtt->ref_count); ref_count 4913 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&mpt->mtt->ref_count); ref_count 5157 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&eq->mtt->ref_count); ref_count 15 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c int ref_count; ref_count 134 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c tt->ref_count++; ref_count 148 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c if (--tt->ref_count == 0) ref_count 152 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c if (!tt->ref_count) { ref_count 70 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c int ref_count; ref_count 148 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c l2addr->ref_count++; ref_count 167 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c l2addr->ref_count = 1; ref_count 199 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c if (--l2addr->ref_count > 0) ref_count 87 drivers/net/ethernet/mellanox/mlx5/core/uar.c struct mlx5_uars_page *up = container_of(kref, struct mlx5_uars_page, ref_count); ref_count 151 drivers/net/ethernet/mellanox/mlx5/core/uar.c kref_init(&up->ref_count); ref_count 174 drivers/net/ethernet/mellanox/mlx5/core/uar.c kref_get(&ret->ref_count); ref_count 191 drivers/net/ethernet/mellanox/mlx5/core/uar.c kref_put(&up->ref_count, up_rel_func); ref_count 235 drivers/net/ethernet/mellanox/mlx5/core/uar.c kref_get(&up->ref_count); ref_count 326 drivers/net/ethernet/mellanox/mlx5/core/uar.c kref_put(&up->ref_count, up_rel_func); ref_count 89 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c unsigned int ref_count; ref_count 114 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c unsigned int ref_count; ref_count 193 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c set->ref_count = 1; ref_count 241 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c if (--set->ref_count) ref_count 261 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c set->ref_count++; ref_count 475 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c fwd_entry->ref_count = 1; ref_count 518 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c fwd_entry->ref_count++; ref_count 527 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c if (--fwd_entry->ref_count) ref_count 69 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c unsigned int ref_count; ref_count 250 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c key_info->ref_count = 1; ref_count 272 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c key_info->ref_count++; ref_count 281 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c if (--key_info->ref_count) ref_count 5636 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (lag->ref_count) { ref_count 5700 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (!lag->ref_count) { ref_count 5718 drivers/net/ethernet/mellanox/mlxsw/spectrum.c lag->ref_count++; ref_count 5727 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (!lag->ref_count) ref_count 5742 drivers/net/ethernet/mellanox/mlxsw/spectrum.c WARN_ON(lag->ref_count == 0); ref_count 5754 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (lag->ref_count == 1) ref_count 5760 drivers/net/ethernet/mellanox/mlxsw/spectrum.c lag->ref_count--; ref_count 68 drivers/net/ethernet/mellanox/mlxsw/spectrum.h unsigned int ref_count; ref_count 60 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c unsigned int ref_count; ref_count 139 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c return ruleset->ref_count == 2; ref_count 313 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c ruleset->ref_count = 1; ref_count 358 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c ruleset->ref_count++; ref_count 364 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c if (--ruleset->ref_count) ref_count 219 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c unsigned int ref_count; ref_count 240 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c unsigned int ref_count; ref_count 813 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c vregion->ref_count = 1; ref_count 935 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c vregion->ref_count++; ref_count 950 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c if (--vregion->ref_count) ref_count 1003 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c vchunk->ref_count = 1; ref_count 1085 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c vchunk->ref_count++; ref_count 1096 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c if (--vchunk->ref_count) ref_count 27 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c unsigned int ref_count; ref_count 152 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c fid->ref_count++; ref_count 186 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c fid->ref_count++; ref_count 1033 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c fid->ref_count++; ref_count 1078 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c fid->ref_count++; ref_count 1096 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c if (--fid->ref_count != 0) ref_count 111 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c refcount_t ref_count; ref_count 425 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c unsigned int ref_count; ref_count 502 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (lpm_tree->ref_count == 0) ref_count 578 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c lpm_tree->ref_count = 1; ref_count 602 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (lpm_tree->ref_count != 0 && ref_count 615 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c lpm_tree->ref_count++; ref_count 621 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (--lpm_tree->ref_count == 0) ref_count 6657 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c refcount_inc(&rif_subport->ref_count); ref_count 6666 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!refcount_dec_and_test(&rif_subport->ref_count)) ref_count 7346 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c refcount_set(&rif_subport->ref_count, 1); ref_count 628 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c if (!mlxsw_sp->span.entries[i].ref_count) { ref_count 637 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c span_entry->ref_count = 1; ref_count 658 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c if (curr->ref_count && curr->to_dev == to_dev) ref_count 679 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c if (curr->ref_count && curr->id == span_id) ref_count 696 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c span_entry->ref_count++; ref_count 706 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c WARN_ON(!span_entry->ref_count); ref_count 707 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c if (--span_entry->ref_count == 0) ref_count 969 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c if (!curr->ref_count) ref_count 46 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.h int ref_count; ref_count 62 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c unsigned int ref_count; ref_count 280 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->ref_count = 1; ref_count 304 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->ref_count++; ref_count 330 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (--bridge_port->ref_count != 0) ref_count 163 drivers/net/ethernet/netronome/nfp/flower/main.c non_repr_priv->ref_count++; ref_count 191 drivers/net/ethernet/netronome/nfp/flower/main.c if (--non_repr_priv->ref_count) ref_count 248 drivers/net/ethernet/netronome/nfp/flower/main.h int ref_count; ref_count 115 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c int ref_count; ref_count 156 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c int ref_count; ref_count 462 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry->ref_count++; ref_count 475 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry->ref_count = 1; ref_count 492 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry->ref_count--; ref_count 493 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c if (!entry->ref_count) { ref_count 583 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry->ref_count++; ref_count 650 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c if (!entry->ref_count) ref_count 686 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry->ref_count--; ref_count 697 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c if (!entry->bridge_count && entry->ref_count) { ref_count 714 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c if (entry->ref_count == 1 && list_is_singular(&entry->repr_list)) { ref_count 737 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c if (entry->ref_count) ref_count 143 drivers/net/ethernet/rocker/rocker_ofdpa.c u32 ref_count; ref_count 151 drivers/net/ethernet/rocker/rocker_ofdpa.c u32 ref_count; ref_count 1235 drivers/net/ethernet/rocker/rocker_ofdpa.c entry->ref_count++; ref_count 1242 drivers/net/ethernet/rocker/rocker_ofdpa.c if (--entry->ref_count == 0) { ref_count 1255 drivers/net/ethernet/rocker/rocker_ofdpa.c entry->ref_count++; ref_count 2261 drivers/net/ethernet/rocker/rocker_ofdpa.c found->ref_count++; ref_count 2331 drivers/net/ethernet/rocker/rocker_ofdpa.c if (--found->ref_count <= 0) { ref_count 124 drivers/net/usb/hso.c int ref_count; ref_count 2586 drivers/net/usb/hso.c if (--serial->shared_int->ref_count == 0) ref_count 2723 drivers/net/usb/hso.c serial->shared_int->ref_count++; ref_count 490 drivers/parport/share.c atomic_set(&tmp->ref_count, 1); ref_count 354 drivers/rpmsg/qcom_smd.c __le32 ref_count; ref_count 1214 drivers/rpmsg/qcom_smd.c if (entry->ref_count == 0) ref_count 555 drivers/s390/block/dasd_devmap.c atomic_set(&device->ref_count, 3); ref_count 619 drivers/s390/block/dasd_devmap.c atomic_sub(3, &device->ref_count); ref_count 622 drivers/s390/block/dasd_devmap.c wait_event(dasd_delete_wq, atomic_read(&device->ref_count) == 0); ref_count 80 drivers/s390/block/dasd_erp.c atomic_dec(&device->ref_count); ref_count 508 drivers/s390/block/dasd_int.h atomic_t ref_count; ref_count 627 drivers/s390/block/dasd_int.h atomic_inc(&device->ref_count); ref_count 633 drivers/s390/block/dasd_int.h if (atomic_dec_return(&device->ref_count) == 0) ref_count 937 drivers/s390/char/raw3270.c atomic_set(&view->ref_count, 2); ref_count 1014 drivers/s390/char/raw3270.c atomic_dec(&view->ref_count); ref_count 1015 drivers/s390/char/raw3270.c wait_event(raw3270_wait_queue, atomic_read(&view->ref_count) == 0); ref_count 155 drivers/s390/char/raw3270.h atomic_t ref_count; ref_count 179 drivers/s390/char/raw3270.h atomic_inc(&view->ref_count); ref_count 187 drivers/s390/char/raw3270.h if (atomic_dec_return(&view->ref_count) == 0) ref_count 206 drivers/s390/char/tape.h atomic_t ref_count; ref_count 550 drivers/s390/char/tape_core.c atomic_set(&device->ref_count, 1); ref_count 565 drivers/s390/char/tape_core.c count = atomic_inc_return(&device->ref_count); ref_count 581 drivers/s390/char/tape_core.c count = atomic_dec_return(&device->ref_count); ref_count 114 drivers/s390/char/vmur.c refcount_set(&urd->ref_count, 1); ref_count 130 drivers/s390/char/vmur.c refcount_inc(&urd->ref_count); ref_count 163 drivers/s390/char/vmur.c if (refcount_dec_and_test(&urd->ref_count)) ref_count 949 drivers/s390/char/vmur.c if (!force && (refcount_read(&urd->ref_count) > 2)) { ref_count 75 drivers/s390/char/vmur.h refcount_t ref_count; /* reference counter */ ref_count 639 drivers/s390/net/qeth_core.h refcount_t ref_count; ref_count 652 drivers/s390/net/qeth_core.h refcount_inc(&iob->ref_count); ref_count 677 drivers/s390/net/qeth_core_main.c if (refcount_dec_and_test(&iob->ref_count)) { ref_count 720 drivers/s390/net/qeth_core_main.c refcount_set(&iob->ref_count, 1); ref_count 1348 drivers/scsi/bfa/bfad.c bfad->ref_count = 0; ref_count 215 drivers/scsi/bfa/bfad_drv.h int ref_count; ref_count 2337 drivers/scsi/qla2xxx/qla_def.h int ref_count; ref_count 3493 drivers/scsi/qla2xxx/qla_def.h atomic_t ref_count; ref_count 4640 drivers/scsi/qla2xxx/qla_def.h atomic_inc(&__qpair->ref_count); \ ref_count 4643 drivers/scsi/qla2xxx/qla_def.h atomic_dec(&__qpair->ref_count); \ ref_count 4651 drivers/scsi/qla2xxx/qla_def.h atomic_dec(&__qpair->ref_count); \ ref_count 5048 drivers/scsi/qla2xxx/qla_os.c pla->ref_count--; ref_count 5102 drivers/scsi/qla2xxx/qla_os.c pla->ref_count--; ref_count 826 drivers/scsi/qla2xxx/qla_target.c BUG_ON(!pla->ref_count); ref_count 827 drivers/scsi/qla2xxx/qla_target.c pla->ref_count--; ref_count 829 drivers/scsi/qla2xxx/qla_target.c if (pla->ref_count) ref_count 871 drivers/scsi/qla2xxx/qla_target.c pla->ref_count++; ref_count 879 drivers/scsi/qla2xxx/qla_target.c pla->ref_count, pla, link); ref_count 885 drivers/scsi/qla2xxx/qla_target.c pla->ref_count--; ref_count 1087 drivers/scsi/qla2xxx/qla_target.c own ? own->ref_count : -1, ref_count 1088 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.port_name, con->ref_count); ref_count 1097 drivers/scsi/qla2xxx/qla_target.c own ? own->ref_count : -1); ref_count 4732 drivers/scsi/qla2xxx/qla_target.c pla->ref_count++; ref_count 109 drivers/soc/ti/knav_dma.c atomic_t ref_count; ref_count 118 drivers/soc/ti/knav_dma.c atomic_t ref_count; ref_count 353 drivers/soc/ti/knav_dma.c if (atomic_read(&chan->ref_count)) ref_count 363 drivers/soc/ti/knav_dma.c if (atomic_read(&dma->ref_count)) { ref_count 489 drivers/soc/ti/knav_dma.c if (atomic_read(&chan->ref_count) >= 1) { ref_count 497 drivers/soc/ti/knav_dma.c if (atomic_inc_return(&chan->dma->ref_count) <= 1) ref_count 500 drivers/soc/ti/knav_dma.c if (atomic_inc_return(&chan->ref_count) <= 1) ref_count 525 drivers/soc/ti/knav_dma.c if (atomic_dec_return(&chan->ref_count) <= 0) ref_count 528 drivers/soc/ti/knav_dma.c if (atomic_dec_return(&chan->dma->ref_count) <= 0) ref_count 602 drivers/soc/ti/knav_dma.c atomic_set(&chan->ref_count, 0); ref_count 703 drivers/soc/ti/knav_dma.c atomic_set(&dma->ref_count, 0); ref_count 724 drivers/soc/ti/knav_dma.c atomic_inc(&dma->ref_count); ref_count 792 drivers/soc/ti/knav_dma.c if (atomic_dec_return(&dma->ref_count) == 0) ref_count 862 drivers/staging/media/omap4iss/iss.c if (iss->ref_count > 0) ref_count 874 drivers/staging/media/omap4iss/iss.c iss->ref_count++; ref_count 892 drivers/staging/media/omap4iss/iss.c WARN_ON(iss->ref_count == 0); ref_count 893 drivers/staging/media/omap4iss/iss.c if (--iss->ref_count == 0) { ref_count 104 drivers/staging/media/omap4iss/iss.h int ref_count; ref_count 143 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c WARN_ON(service->ref_count == 0); ref_count 144 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c service->ref_count++; ref_count 165 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c WARN_ON(service->ref_count == 0); ref_count 166 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c service->ref_count++; ref_count 190 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c WARN_ON(service->ref_count == 0); ref_count 191 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c service->ref_count++; ref_count 216 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c WARN_ON(service->ref_count == 0); ref_count 217 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c service->ref_count++; ref_count 243 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c WARN_ON(service->ref_count == 0); ref_count 244 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c service->ref_count++; ref_count 261 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c WARN_ON(service->ref_count == 0); ref_count 262 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c service->ref_count++; ref_count 275 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c if (!service->ref_count) { ref_count 279 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c service->ref_count--; ref_count 280 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c if (!service->ref_count) { ref_count 2302 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c service->ref_count = 1; ref_count 2449 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c service->ref_count); ref_count 3421 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c service->ref_count - 1); /*Don't include the lock just taken*/ ref_count 254 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h unsigned int ref_count; ref_count 50 drivers/usb/misc/uss720.c struct kref ref_count; ref_count 58 drivers/usb/misc/uss720.c struct kref ref_count; ref_count 70 drivers/usb/misc/uss720.c struct parport_uss720_private *priv = container_of(kref, struct parport_uss720_private, ref_count); ref_count 79 drivers/usb/misc/uss720.c struct uss720_async_request *rq = container_of(kref, struct uss720_async_request, ref_count); ref_count 90 drivers/usb/misc/uss720.c kref_put(&priv->ref_count, destroy_priv); ref_count 119 drivers/usb/misc/uss720.c kref_put(&rq->ref_count, destroy_async); ref_count 139 drivers/usb/misc/uss720.c kref_init(&rq->ref_count); ref_count 142 drivers/usb/misc/uss720.c kref_get(&priv->ref_count); ref_count 146 drivers/usb/misc/uss720.c kref_put(&rq->ref_count, destroy_async); ref_count 151 drivers/usb/misc/uss720.c kref_put(&rq->ref_count, destroy_async); ref_count 166 drivers/usb/misc/uss720.c kref_get(&rq->ref_count); ref_count 170 drivers/usb/misc/uss720.c destroy_async(&rq->ref_count); ref_count 211 drivers/usb/misc/uss720.c kref_put(&rq->ref_count, destroy_async); ref_count 220 drivers/usb/misc/uss720.c kref_put(&rq->ref_count, destroy_async); ref_count 242 drivers/usb/misc/uss720.c kref_put(&rq->ref_count, destroy_async); ref_count 710 drivers/usb/misc/uss720.c kref_init(&priv->ref_count); ref_count 743 drivers/usb/misc/uss720.c kref_put(&priv->ref_count, destroy_priv); ref_count 762 drivers/usb/misc/uss720.c kref_put(&priv->ref_count, destroy_priv); ref_count 85 drivers/usb/serial/mos7720.c struct kref ref_count; ref_count 98 drivers/usb/serial/mos7720.c struct kref ref_count; /* to instance of this struct */ ref_count 263 drivers/usb/serial/mos7720.c container_of(kref, struct mos7715_parport, ref_count); ref_count 271 drivers/usb/serial/mos7720.c container_of(kref, struct urbtracker, ref_count); ref_count 277 drivers/usb/serial/mos7720.c kref_put(&mos_parport->ref_count, destroy_mos_parport); ref_count 331 drivers/usb/serial/mos7720.c kref_put(&urbtrack->ref_count, destroy_urbtracker); ref_count 352 drivers/usb/serial/mos7720.c kref_put(&urbtrack->ref_count, destroy_urbtracker); ref_count 389 drivers/usb/serial/mos7720.c kref_get(&mos_parport->ref_count); ref_count 391 drivers/usb/serial/mos7720.c kref_init(&urbtrack->ref_count); ref_count 410 drivers/usb/serial/mos7720.c kref_put(&urbtrack->ref_count, destroy_urbtracker); ref_count 427 drivers/usb/serial/mos7720.c kref_put(&urbtrack->ref_count, destroy_urbtracker); ref_count 713 drivers/usb/serial/mos7720.c kref_init(&mos_parport->ref_count); ref_count 742 drivers/usb/serial/mos7720.c kref_put(&mos_parport->ref_count, destroy_mos_parport); ref_count 1901 drivers/usb/serial/mos7720.c kref_put(&mos_parport->ref_count, destroy_mos_parport); ref_count 114 drivers/vfio/vfio_iommu_type1.c atomic_t ref_count; ref_count 235 drivers/vfio/vfio_iommu_type1.c atomic_set(&vpfn->ref_count, 1); ref_count 253 drivers/vfio/vfio_iommu_type1.c atomic_inc(&vpfn->ref_count); ref_count 261 drivers/vfio/vfio_iommu_type1.c if (atomic_dec_and_test(&vpfn->ref_count)) { ref_count 75 drivers/video/fbdev/arcfb.c atomic_t ref_count; ref_count 186 drivers/video/fbdev/arcfb.c atomic_inc(&par->ref_count); ref_count 193 drivers/video/fbdev/arcfb.c int count = atomic_read(&par->ref_count); ref_count 197 drivers/video/fbdev/arcfb.c atomic_dec(&par->ref_count); ref_count 36 drivers/video/fbdev/arkfb.c unsigned int ref_count; ref_count 523 drivers/video/fbdev/arkfb.c if (par->ref_count == 0) { ref_count 534 drivers/video/fbdev/arkfb.c par->ref_count++; ref_count 547 drivers/video/fbdev/arkfb.c if (par->ref_count == 0) { ref_count 552 drivers/video/fbdev/arkfb.c if (par->ref_count == 1) { ref_count 557 drivers/video/fbdev/arkfb.c par->ref_count--; ref_count 1101 drivers/video/fbdev/arkfb.c if ((state.event == PM_EVENT_FREEZE) || (par->ref_count == 0)) { ref_count 1132 drivers/video/fbdev/arkfb.c if (par->ref_count == 0) ref_count 45 drivers/video/fbdev/i740fb.c unsigned int ref_count; ref_count 186 drivers/video/fbdev/i740fb.c par->ref_count++; ref_count 197 drivers/video/fbdev/i740fb.c if (par->ref_count == 0) { ref_count 203 drivers/video/fbdev/i740fb.c par->ref_count--; ref_count 1192 drivers/video/fbdev/i740fb.c if (par->ref_count == 0) { ref_count 1218 drivers/video/fbdev/i740fb.c if (par->ref_count == 0) ref_count 554 drivers/video/fbdev/neofb.c if (!par->ref_count) { ref_count 559 drivers/video/fbdev/neofb.c par->ref_count++; ref_count 569 drivers/video/fbdev/neofb.c if (!par->ref_count) ref_count 572 drivers/video/fbdev/neofb.c if (par->ref_count == 1) { ref_count 575 drivers/video/fbdev/neofb.c par->ref_count--; ref_count 1037 drivers/video/fbdev/riva/fbdev.c if (!par->ref_count) { ref_count 1052 drivers/video/fbdev/riva/fbdev.c par->ref_count++; ref_count 1064 drivers/video/fbdev/riva/fbdev.c if (!par->ref_count) { ref_count 1068 drivers/video/fbdev/riva/fbdev.c if (par->ref_count == 1) { ref_count 1077 drivers/video/fbdev/riva/fbdev.c par->ref_count--; ref_count 57 drivers/video/fbdev/riva/rivafb.h unsigned int ref_count; ref_count 36 drivers/video/fbdev/s3fb.c unsigned int ref_count; ref_count 506 drivers/video/fbdev/s3fb.c if (par->ref_count == 0) { ref_count 517 drivers/video/fbdev/s3fb.c par->ref_count++; ref_count 530 drivers/video/fbdev/s3fb.c if (par->ref_count == 0) { ref_count 535 drivers/video/fbdev/s3fb.c if (par->ref_count == 1) ref_count 538 drivers/video/fbdev/s3fb.c par->ref_count--; ref_count 1423 drivers/video/fbdev/s3fb.c if ((state.event == PM_EVENT_FREEZE) || (par->ref_count == 0)) { ref_count 1455 drivers/video/fbdev/s3fb.c if (par->ref_count == 0) { ref_count 1166 drivers/video/fbdev/uvesafb.c int cnt = atomic_read(&par->ref_count); ref_count 1179 drivers/video/fbdev/uvesafb.c atomic_inc(&par->ref_count); ref_count 1187 drivers/video/fbdev/uvesafb.c int cnt = atomic_read(&par->ref_count); ref_count 1209 drivers/video/fbdev/uvesafb.c atomic_dec(&par->ref_count); ref_count 60 drivers/video/fbdev/vga16fb.c unsigned int ref_count; ref_count 287 drivers/video/fbdev/vga16fb.c if (!par->ref_count) { ref_count 293 drivers/video/fbdev/vga16fb.c par->ref_count++; ref_count 302 drivers/video/fbdev/vga16fb.c if (!par->ref_count) ref_count 305 drivers/video/fbdev/vga16fb.c if (par->ref_count == 1) ref_count 307 drivers/video/fbdev/vga16fb.c par->ref_count--; ref_count 34 drivers/video/fbdev/vt8623fb.c unsigned int ref_count; ref_count 284 drivers/video/fbdev/vt8623fb.c if (par->ref_count == 0) { ref_count 295 drivers/video/fbdev/vt8623fb.c par->ref_count++; ref_count 306 drivers/video/fbdev/vt8623fb.c if (par->ref_count == 0) { ref_count 311 drivers/video/fbdev/vt8623fb.c if (par->ref_count == 1) ref_count 314 drivers/video/fbdev/vt8623fb.c par->ref_count--; ref_count 831 drivers/video/fbdev/vt8623fb.c if ((state.event == PM_EVENT_FREEZE) || (par->ref_count == 0)) { ref_count 862 drivers/video/fbdev/vt8623fb.c if (par->ref_count == 0) ref_count 3664 fs/btrfs/relocation.c u32 ref_count; ref_count 3674 fs/btrfs/relocation.c ref_count = btrfs_extent_data_ref_count(leaf, ref); ref_count 3732 fs/btrfs/relocation.c while (ref_count > 0) { ref_count 3780 fs/btrfs/relocation.c ref_count--; ref_count 321 fs/ext4/xattr.c static void ext4_xattr_inode_set_ref(struct inode *ea_inode, u64 ref_count) ref_count 323 fs/ext4/xattr.c ea_inode->i_ctime.tv_sec = (u32)(ref_count >> 32); ref_count 324 fs/ext4/xattr.c inode_set_iversion_raw(ea_inode, ref_count & 0xffffffff); ref_count 1024 fs/ext4/xattr.c s64 ref_count; ref_count 1034 fs/ext4/xattr.c ref_count = ext4_xattr_inode_get_ref(ea_inode); ref_count 1035 fs/ext4/xattr.c ref_count += ref_change; ref_count 1036 fs/ext4/xattr.c ext4_xattr_inode_set_ref(ea_inode, ref_count); ref_count 1039 fs/ext4/xattr.c WARN_ONCE(ref_count <= 0, "EA inode %lu ref_count=%lld", ref_count 1040 fs/ext4/xattr.c ea_inode->i_ino, ref_count); ref_count 1042 fs/ext4/xattr.c if (ref_count == 1) { ref_count 1058 fs/ext4/xattr.c WARN_ONCE(ref_count < 0, "EA inode %lu ref_count=%lld", ref_count 1059 fs/ext4/xattr.c ea_inode->i_ino, ref_count); ref_count 1061 fs/ext4/xattr.c if (ref_count == 0) { ref_count 408 include/linux/mlx5/driver.h struct kref ref_count; ref_count 244 include/linux/parport.h atomic_t ref_count; ref_count 72 include/rdma/ib_fmr_pool.h int ref_count; ref_count 117 include/sound/hdaudio_ext.h int ref_count; ref_count 464 include/sound/pcm.h int ref_count; ref_count 480 include/sound/pcm.h #define SUBSTREAM_BUSY(substream) ((substream)->ref_count > 0) ref_count 27 include/uapi/linux/atm_zatm.h int ref_count; /* free buffer pool usage counters */ ref_count 126 include/video/neomagic.h unsigned int ref_count; ref_count 134 include/video/uvesafb.h atomic_t ref_count; ref_count 1358 kernel/trace/trace.h int ref_count; ref_count 1366 kernel/trace/trace.h int ref_count; ref_count 48 kernel/trace/trace_events.c return system->ref_count; ref_count 53 kernel/trace/trace_events.c return system->ref_count++; ref_count 58 kernel/trace/trace_events.c return --system->ref_count; ref_count 671 kernel/trace/trace_events.c WARN_ON_ONCE(dir->ref_count == 0); ref_count 672 kernel/trace/trace_events.c dir->ref_count++; ref_count 678 kernel/trace/trace_events.c WARN_ON_ONCE(dir->ref_count == 0); ref_count 680 kernel/trace/trace_events.c WARN_ON_ONCE(system_refcount(dir->subsystem) == 1 && dir->ref_count != 1); ref_count 683 kernel/trace/trace_events.c if (!--dir->ref_count) ref_count 1850 kernel/trace/trace_events.c system->ref_count = 1; ref_count 1919 kernel/trace/trace_events.c dir->ref_count = 1; ref_count 170 net/l2tp/l2tp_core.c refcount_inc_not_zero(&tunnel->ref_count)) { ref_count 191 net/l2tp/l2tp_core.c refcount_inc_not_zero(&tunnel->ref_count)) { ref_count 1437 net/l2tp/l2tp_core.c refcount_set(&tunnel->ref_count, 1); ref_count 1571 net/l2tp/l2tp_core.c BUG_ON(refcount_read(&session->ref_count) != 0); ref_count 1702 net/l2tp/l2tp_core.c refcount_set(&session->ref_count, 1); ref_count 95 net/l2tp/l2tp_core.h refcount_t ref_count; ref_count 171 net/l2tp/l2tp_core.h refcount_t ref_count; ref_count 237 net/l2tp/l2tp_core.h refcount_inc(&tunnel->ref_count); ref_count 242 net/l2tp/l2tp_core.h if (refcount_dec_and_test(&tunnel->ref_count)) ref_count 251 net/l2tp/l2tp_core.h refcount_inc(&session->ref_count); ref_count 256 net/l2tp/l2tp_core.h if (refcount_dec_and_test(&session->ref_count)) ref_count 166 net/l2tp/l2tp_debugfs.c refcount_read(&tunnel->ref_count)); ref_count 188 net/l2tp/l2tp_debugfs.c seq_printf(m, " refcnt %d\n", refcount_read(&session->ref_count)); ref_count 1531 net/l2tp/l2tp_ppp.c refcount_read(&tunnel->ref_count) - 1); ref_count 167 net/openvswitch/flow.h int ref_count; ref_count 554 net/openvswitch/flow_table.c BUG_ON(!mask->ref_count); ref_count 555 net/openvswitch/flow_table.c mask->ref_count--; ref_count 557 net/openvswitch/flow_table.c if (!mask->ref_count) { ref_count 590 net/openvswitch/flow_table.c mask->ref_count = 1; ref_count 636 net/openvswitch/flow_table.c BUG_ON(!mask->ref_count); ref_count 637 net/openvswitch/flow_table.c mask->ref_count++; ref_count 709 scripts/asn1_compiler.c unsigned ref_count; ref_count 1020 scripts/asn1_compiler.c (*ref)->ref_count++; ref_count 1449 scripts/asn1_compiler.c if ((e->type_def && e->type_def->ref_count > 1) || ref_count 928 sound/core/pcm.c substream->ref_count++; ref_count 971 sound/core/pcm.c substream->ref_count = 1; ref_count 2438 sound/core/pcm_native.c substream->ref_count--; ref_count 2439 sound/core/pcm_native.c if (substream->ref_count > 0) ref_count 2470 sound/core/pcm_native.c if (substream->ref_count > 1) { ref_count 2519 sound/core/pcm_native.c if (substream->ref_count == 1) ref_count 686 sound/core/seq/seq_clientmgr.c if (atomic_read(&subs->ref_count) != 2) ref_count 231 sound/core/seq/seq_ports.c if (atomic_dec_and_test(&subs->ref_count)) ref_count 508 sound/core/seq/seq_ports.c atomic_inc(&subs->ref_count); ref_count 558 sound/core/seq/seq_ports.c atomic_set(&subs->ref_count, 0); ref_count 601 sound/core/seq/seq_ports.c atomic_dec(&subs->ref_count); /* mark as not ready */ ref_count 32 sound/core/seq/seq_ports.h atomic_t ref_count; ref_count 108 sound/hda/ext/hdac_ext_controller.c hlink->ref_count = 1; ref_count 266 sound/hda/ext/hdac_ext_controller.c if (++link->ref_count == 1) { ref_count 309 sound/hda/ext/hdac_ext_controller.c if (--link->ref_count == 0) { ref_count 317 sound/hda/ext/hdac_ext_controller.c if (hlink->ref_count) { ref_count 105 sound/pci/cs46xx/cs46xx_dsp_spos.h int ref_count; ref_count 928 sound/pci/cs46xx/dsp_spos.c ins->scbs[index].ref_count = 1; ref_count 93 sound/pci/cs46xx/dsp_spos_scb_lib.c snd_iprintf(buffer,"index [%d] ref_count [%d]\n",scb->index,scb->ref_count); ref_count 1280 sound/pci/cs46xx/dsp_spos_scb_lib.c ins->pcm_channels[i].src_scb->ref_count ++; ref_count 1470 sound/pci/cs46xx/dsp_spos_scb_lib.c pcm_channel->src_scb->ref_count <= 0)) ref_count 1477 sound/pci/cs46xx/dsp_spos_scb_lib.c pcm_channel->src_scb->ref_count --; ref_count 1483 sound/pci/cs46xx/dsp_spos_scb_lib.c if (!pcm_channel->src_scb->ref_count) { ref_count 3038 sound/soc/intel/skylake/skl-topology.c static int ref_count; ref_count 3042 sound/soc/intel/skylake/skl-topology.c if (ref_count > skl->lib_count - 1) { ref_count 3043 sound/soc/intel/skylake/skl-topology.c ref_count = 0; ref_count 3047 sound/soc/intel/skylake/skl-topology.c strncpy(skl->lib_info[ref_count].name, ref_count 3049 sound/soc/intel/skylake/skl-topology.c ARRAY_SIZE(skl->lib_info[ref_count].name)); ref_count 3050 sound/soc/intel/skylake/skl-topology.c ref_count++; ref_count 378 sound/soc/intel/skylake/skl.c if (hlink->ref_count) ref_count 390 sound/soc/intel/skylake/skl.c if (!hlink->ref_count) ref_count 364 sound/soc/sof/intel/hda-dsp.c if (!hlink->ref_count) ref_count 18 tools/lib/traceevent/event-parse-local.h int ref_count; ref_count 6923 tools/lib/traceevent/event-parse.c tep->ref_count = 1; ref_count 6932 tools/lib/traceevent/event-parse.c tep->ref_count++; ref_count 6938 tools/lib/traceevent/event-parse.c return tep->ref_count; ref_count 7001 tools/lib/traceevent/event-parse.c tep->ref_count--; ref_count 7002 tools/lib/traceevent/event-parse.c if (tep->ref_count) ref_count 47 tools/lib/traceevent/event-parse.h int ref_count;