refcount 28 block/blk-ioc.c BUG_ON(atomic_long_read(&ioc->refcount) <= 0); refcount 29 block/blk-ioc.c atomic_long_inc(&ioc->refcount); refcount 144 block/blk-ioc.c BUG_ON(atomic_long_read(&ioc->refcount) <= 0); refcount 150 block/blk-ioc.c if (atomic_long_dec_and_test(&ioc->refcount)) { refcount 261 block/blk-ioc.c atomic_long_set(&ioc->refcount, 1); refcount 432 drivers/acpi/apei/erst.c int refcount; refcount 437 drivers/acpi/apei/erst.c .refcount = 0, refcount 464 drivers/acpi/apei/erst.c erst_record_id_cache.refcount++; refcount 549 drivers/acpi/apei/erst.c BUG_ON(!erst_record_id_cache.refcount); refcount 590 drivers/acpi/apei/erst.c if (erst_record_id_cache.refcount) refcount 614 drivers/acpi/apei/erst.c erst_record_id_cache.refcount--; refcount 615 drivers/acpi/apei/erst.c BUG_ON(erst_record_id_cache.refcount < 0); refcount 77 drivers/acpi/cppc_acpi.c int refcount; refcount 625 drivers/acpi/cppc_acpi.c pcc_data[pcc_ss_id]->refcount++; refcount 631 drivers/acpi/cppc_acpi.c pcc_data[pcc_ss_id]->refcount++; refcount 906 drivers/acpi/cppc_acpi.c pcc_data[pcc_ss_id]->refcount--; refcount 907 drivers/acpi/cppc_acpi.c if (!pcc_data[pcc_ss_id]->refcount) { refcount 80 drivers/acpi/osl.c unsigned long refcount; refcount 253 drivers/acpi/osl.c map->refcount++; refcount 338 drivers/acpi/osl.c map->refcount++; refcount 361 drivers/acpi/osl.c map->refcount = 1; refcount 380 drivers/acpi/osl.c unsigned long refcount = --map->refcount; refcount 382 drivers/acpi/osl.c if (!refcount) refcount 384 drivers/acpi/osl.c return refcount; refcount 411 drivers/acpi/osl.c unsigned long refcount; refcount 425 drivers/acpi/osl.c refcount = acpi_os_drop_map_ref(map); refcount 428 drivers/acpi/osl.c if (!refcount) refcount 464 drivers/acpi/osl.c unsigned long refcount; refcount 480 drivers/acpi/osl.c refcount = acpi_os_drop_map_ref(map); refcount 483 drivers/acpi/osl.c if (!refcount) refcount 36 drivers/base/power/common.c dev->power.subsys_data->refcount++; refcount 39 drivers/base/power/common.c psd->refcount = 1; refcount 71 drivers/base/power/common.c if (--psd->refcount == 0) refcount 78 drivers/char/agp/i460-agp.c int refcount; /* number of kernel pages using the large page */ refcount 386 drivers/char/agp/i460-agp.c lp->refcount = 0; refcount 455 drivers/char/agp/i460-agp.c ++lp->refcount; refcount 484 drivers/char/agp/i460-agp.c --lp->refcount; refcount 488 drivers/char/agp/i460-agp.c if (lp->refcount == 0) { refcount 78 drivers/char/agp/intel-gtt.c int refcount; refcount 1403 drivers/char/agp/intel-gtt.c if (intel_private.refcount++) refcount 1447 drivers/char/agp/intel-gtt.c if (--intel_private.refcount) refcount 206 drivers/char/ipmi/ipmi_msghandler.c struct kref refcount; refcount 456 drivers/char/ipmi/ipmi_msghandler.c struct kref refcount; refcount 733 drivers/char/ipmi/ipmi_msghandler.c struct ipmi_smi *intf = container_of(ref, struct ipmi_smi, refcount); refcount 1231 drivers/char/ipmi/ipmi_msghandler.c kref_get(&intf->refcount); refcount 1233 drivers/char/ipmi/ipmi_msghandler.c kref_init(&new_user->refcount); refcount 1285 drivers/char/ipmi/ipmi_msghandler.c struct ipmi_user *user = container_of(ref, struct ipmi_user, refcount); refcount 1358 drivers/char/ipmi/ipmi_msghandler.c kref_put(&intf->refcount, intf_free); refcount 1366 drivers/char/ipmi/ipmi_msghandler.c kref_put(&user->refcount, free_user); refcount 1598 drivers/char/ipmi/ipmi_msghandler.c kref_get(&user->refcount); refcount 2249 drivers/char/ipmi/ipmi_msghandler.c kref_get(&user->refcount); refcount 2490 drivers/char/ipmi/ipmi_msghandler.c kref_get(&intf->refcount); refcount 2497 drivers/char/ipmi/ipmi_msghandler.c kref_put(&intf->refcount, intf_free); refcount 2504 drivers/char/ipmi/ipmi_msghandler.c kref_get(&intf->refcount); refcount 2602 drivers/char/ipmi/ipmi_msghandler.c kref_put(&intf->refcount, intf_free); refcount 3388 drivers/char/ipmi/ipmi_msghandler.c kref_put(&intf->refcount, intf_free); refcount 3428 drivers/char/ipmi/ipmi_msghandler.c kref_init(&intf->refcount); refcount 3525 drivers/char/ipmi/ipmi_msghandler.c kref_put(&intf->refcount, intf_free); refcount 3624 drivers/char/ipmi/ipmi_msghandler.c kref_put(&intf->refcount, intf_free); refcount 3722 drivers/char/ipmi/ipmi_msghandler.c kref_get(&user->refcount); refcount 3767 drivers/char/ipmi/ipmi_msghandler.c kref_put(&user->refcount, free_user); refcount 3902 drivers/char/ipmi/ipmi_msghandler.c kref_get(&user->refcount); refcount 3924 drivers/char/ipmi/ipmi_msghandler.c kref_put(&user->refcount, free_user); refcount 4009 drivers/char/ipmi/ipmi_msghandler.c kref_get(&user->refcount); refcount 4033 drivers/char/ipmi/ipmi_msghandler.c kref_put(&user->refcount, free_user); refcount 4145 drivers/char/ipmi/ipmi_msghandler.c kref_get(&user->refcount); refcount 4687 drivers/char/ipmi/ipmi_msghandler.c kref_get(&intf->refcount); refcount 4689 drivers/char/ipmi/ipmi_msghandler.c kref_put(&intf->refcount, intf_free); refcount 4837 drivers/char/ipmi/ipmi_msghandler.c kref_put(&msg->user->refcount, free_user); refcount 885 drivers/crypto/ccp/psp-dev.c struct sev_misc_dev *misc_dev = container_of(ref, struct sev_misc_dev, refcount); refcount 918 drivers/crypto/ccp/psp-dev.c kref_init(&misc_dev->refcount); refcount 920 drivers/crypto/ccp/psp-dev.c kref_get(&misc_dev->refcount); refcount 1015 drivers/crypto/ccp/psp-dev.c kref_put(&misc_dev->refcount, sev_exit); refcount 39 drivers/crypto/ccp/psp-dev.h struct kref refcount; refcount 189 drivers/dma-buf/dma-fence-chain.c if (kref_read(&prev->refcount) > 1) refcount 231 drivers/dma-buf/dma-fence.c container_of(kref, struct dma_fence, refcount); refcount 652 drivers/dma-buf/dma-fence.c kref_init(&fence->refcount); refcount 50 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c refcount); refcount 84 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c kref_init(&list->refcount); refcount 166 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c kref_put(&list->refcount, amdgpu_bo_list_free); refcount 175 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c if (*result && kref_get_unless_zero(&(*result)->refcount)) { refcount 220 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c kref_put(&list->refcount, amdgpu_bo_list_free); refcount 44 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.h struct kref refcount; refcount 113 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c kref_init(&ctx->refcount); refcount 209 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c struct amdgpu_ctx *ctx = container_of(ref, struct amdgpu_ctx, refcount); refcount 290 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c ctx = container_of(ref, struct amdgpu_ctx, refcount); refcount 307 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c kref_put(&ctx->refcount, amdgpu_ctx_do_release); refcount 452 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c kref_get(&ctx->refcount); refcount 462 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c kref_put(&ctx->refcount, amdgpu_ctx_do_release); refcount 602 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c if (kref_read(&ctx->refcount) != 1) { refcount 626 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c if (kref_put(&ctx->refcount, amdgpu_ctx_fini) != 1) refcount 39 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h struct kref refcount; refcount 1244 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c WARN_ON(kref_read(&dm_new_crtc_state->stream->refcount) > 1); refcount 1253 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c WARN_ON(kref_read(&dm_new_plane_state->dc_state->refcount) > 1); refcount 1246 drivers/gpu/drm/amd/display/dc/core/dc.c kref_init(&context->refcount); refcount 1284 drivers/gpu/drm/amd/display/dc/core/dc.c kref_init(&new_ctx->refcount); refcount 1291 drivers/gpu/drm/amd/display/dc/core/dc.c kref_get(&context->refcount); refcount 1296 drivers/gpu/drm/amd/display/dc/core/dc.c struct dc_state *context = container_of(kref, struct dc_state, refcount); refcount 1303 drivers/gpu/drm/amd/display/dc/core/dc.c kref_put(&context->refcount, dc_state_free); refcount 2305 drivers/gpu/drm/amd/display/dc/core/dc.c struct kref refcount; refcount 2336 drivers/gpu/drm/amd/display/dc/core/dc.c refcount = dc->current_state->refcount; refcount 2344 drivers/gpu/drm/amd/display/dc/core/dc.c dc->current_state->refcount = refcount; refcount 2449 drivers/gpu/drm/amd/display/dc/core/dc_resource.c struct kref refcount = dst_ctx->refcount; refcount 2477 drivers/gpu/drm/amd/display/dc/core/dc_resource.c dst_ctx->refcount = refcount; refcount 72 drivers/gpu/drm/amd/display/dc/core/dc_sink.c kref_get(&sink->refcount); refcount 77 drivers/gpu/drm/amd/display/dc/core/dc_sink.c struct dc_sink *sink = container_of(kref, struct dc_sink, refcount); refcount 84 drivers/gpu/drm/amd/display/dc/core/dc_sink.c kref_put(&sink->refcount, dc_sink_free); refcount 97 drivers/gpu/drm/amd/display/dc/core/dc_sink.c kref_init(&sink->refcount); refcount 143 drivers/gpu/drm/amd/display/dc/core/dc_stream.c kref_get(&stream->refcount); refcount 148 drivers/gpu/drm/amd/display/dc/core/dc_stream.c struct dc_stream_state *stream = container_of(kref, struct dc_stream_state, refcount); refcount 157 drivers/gpu/drm/amd/display/dc/core/dc_stream.c kref_put(&stream->refcount, dc_stream_free); refcount 175 drivers/gpu/drm/amd/display/dc/core/dc_stream.c kref_init(&stream->refcount); refcount 197 drivers/gpu/drm/amd/display/dc/core/dc_stream.c kref_init(&new_stream->refcount); refcount 123 drivers/gpu/drm/amd/display/dc/core/dc_surface.c kref_init(&plane_state->refcount); refcount 188 drivers/gpu/drm/amd/display/dc/core/dc_surface.c kref_get(&plane_state->refcount); refcount 193 drivers/gpu/drm/amd/display/dc/core/dc_surface.c struct dc_plane_state *plane_state = container_of(kref, struct dc_plane_state, refcount); refcount 200 drivers/gpu/drm/amd/display/dc/core/dc_surface.c kref_put(&plane_state->refcount, dc_plane_state_free); refcount 205 drivers/gpu/drm/amd/display/dc/core/dc_surface.c kref_get(&gamma->refcount); refcount 210 drivers/gpu/drm/amd/display/dc/core/dc_surface.c struct dc_gamma *gamma = container_of(kref, struct dc_gamma, refcount); refcount 216 drivers/gpu/drm/amd/display/dc/core/dc_surface.c kref_put(&(*gamma)->refcount, dc_gamma_free); refcount 227 drivers/gpu/drm/amd/display/dc/core/dc_surface.c kref_init(&gamma->refcount); refcount 236 drivers/gpu/drm/amd/display/dc/core/dc_surface.c kref_get(&tf->refcount); refcount 241 drivers/gpu/drm/amd/display/dc/core/dc_surface.c struct dc_transfer_func *tf = container_of(kref, struct dc_transfer_func, refcount); refcount 247 drivers/gpu/drm/amd/display/dc/core/dc_surface.c kref_put(&tf->refcount, dc_transfer_func_free); refcount 257 drivers/gpu/drm/amd/display/dc/core/dc_surface.c kref_init(&tf->refcount); refcount 268 drivers/gpu/drm/amd/display/dc/core/dc_surface.c struct dc_3dlut *lut = container_of(kref, struct dc_3dlut, refcount); refcount 280 drivers/gpu/drm/amd/display/dc/core/dc_surface.c kref_init(&lut->refcount); refcount 292 drivers/gpu/drm/amd/display/dc/core/dc_surface.c kref_put(&lut->refcount, dc_3dlut_func_free); refcount 297 drivers/gpu/drm/amd/display/dc/core/dc_surface.c kref_get(&lut->refcount); refcount 628 drivers/gpu/drm/amd/display/dc/dc.h struct kref refcount; refcount 657 drivers/gpu/drm/amd/display/dc/dc.h struct kref refcount; refcount 769 drivers/gpu/drm/amd/display/dc/dc.h struct kref refcount; refcount 1019 drivers/gpu/drm/amd/display/dc/dc.h struct kref refcount; refcount 466 drivers/gpu/drm/amd/display/dc/dc_hw_types.h struct kref refcount; refcount 187 drivers/gpu/drm/amd/display/dc/dc_stream.h struct kref refcount; refcount 402 drivers/gpu/drm/amd/display/dc/inc/core_types.h struct kref refcount; refcount 111 drivers/gpu/drm/drm_auth.c kref_init(&master->refcount); refcount 322 drivers/gpu/drm/drm_auth.c kref_get(&master->refcount); refcount 329 drivers/gpu/drm/drm_auth.c struct drm_master *master = container_of(kref, struct drm_master, refcount); refcount 356 drivers/gpu/drm/drm_auth.c kref_put(&(*master)->refcount, drm_master_destroy); refcount 155 drivers/gpu/drm/drm_connector.c container_of(kref, struct drm_connector, base.refcount); refcount 657 drivers/gpu/drm/drm_connector.c if (!refcount_dec_and_test(&conn->base.refcount.refcount)) refcount 692 drivers/gpu/drm/drm_connector.c } while (!kref_get_unless_zero(&iter->conn->base.refcount)); refcount 2248 drivers/gpu/drm/drm_connector.c struct drm_tile_group *tg = container_of(kref, struct drm_tile_group, refcount); refcount 2266 drivers/gpu/drm/drm_connector.c kref_put(&tg->refcount, drm_tile_group_free); refcount 2288 drivers/gpu/drm/drm_connector.c if (!kref_get_unless_zero(&tg->refcount)) refcount 2320 drivers/gpu/drm/drm_connector.c kref_init(&tg->refcount); refcount 120 drivers/gpu/drm/drm_debugfs.c kref_read(&obj->refcount)); refcount 49 drivers/gpu/drm/drm_dp_aux_dev.c struct kref refcount; refcount 66 drivers/gpu/drm/drm_dp_aux_dev.c if (!kref_get_unless_zero(&aux_dev->refcount)) refcount 83 drivers/gpu/drm/drm_dp_aux_dev.c kref_init(&aux_dev->refcount); refcount 100 drivers/gpu/drm/drm_dp_aux_dev.c container_of(ref, struct drm_dp_aux_dev, refcount); refcount 116 drivers/gpu/drm/drm_dp_aux_dev.c kref_put(&aux_dev->refcount, release_drm_dp_aux_dev); refcount 244 drivers/gpu/drm/drm_dp_aux_dev.c kref_put(&aux_dev->refcount, release_drm_dp_aux_dev); refcount 302 drivers/gpu/drm/drm_dp_aux_dev.c kref_put(&aux_dev->refcount, release_drm_dp_aux_dev); refcount 693 drivers/gpu/drm/drm_framebuffer.c container_of(kref, struct drm_framebuffer, base.refcount); refcount 159 drivers/gpu/drm/drm_gem.c kref_init(&obj->refcount); refcount 977 drivers/gpu/drm/drm_gem.c container_of(kref, struct drm_gem_object, refcount); refcount 1013 drivers/gpu/drm/drm_gem.c if (kref_put_mutex(&obj->refcount, drm_gem_object_free, refcount 1017 drivers/gpu/drm/drm_gem.c kref_put(&obj->refcount, drm_gem_object_free); refcount 1039 drivers/gpu/drm/drm_gem.c kref_put(&obj->refcount, drm_gem_object_free); refcount 1173 drivers/gpu/drm/drm_gem.c if (!kref_get_unless_zero(&obj->refcount)) refcount 1209 drivers/gpu/drm/drm_gem.c kref_read(&obj->refcount)); refcount 373 drivers/gpu/drm/drm_gem_cma_helper.c if (!kref_get_unless_zero(&obj->refcount)) refcount 500 drivers/gpu/drm/drm_mode_config.c drm_framebuffer_free(&fb->base.refcount); refcount 59 drivers/gpu/drm/drm_mode_object.c kref_init(&obj->refcount); refcount 154 drivers/gpu/drm/drm_mode_object.c if (!kref_get_unless_zero(&obj->refcount)) refcount 195 drivers/gpu/drm/drm_mode_object.c DRM_DEBUG("OBJ ID: %d (%d)\n", obj->id, kref_read(&obj->refcount)); refcount 196 drivers/gpu/drm/drm_mode_object.c kref_put(&obj->refcount, obj->free_cb); refcount 212 drivers/gpu/drm/drm_mode_object.c DRM_DEBUG("OBJ ID: %d (%d)\n", obj->id, kref_read(&obj->refcount)); refcount 213 drivers/gpu/drm/drm_mode_object.c kref_get(&obj->refcount); refcount 532 drivers/gpu/drm/drm_property.c container_of(kref, struct drm_property_blob, base.refcount); refcount 387 drivers/gpu/drm/drm_syncobj.c refcount); refcount 414 drivers/gpu/drm/drm_syncobj.c kref_init(&syncobj->refcount); refcount 403 drivers/gpu/drm/drm_vblank.c if (atomic_read(&vblank->refcount) == 0 && vblank->enabled) { refcount 976 drivers/gpu/drm/drm_vblank.c atomic_dec(&vblank->refcount); refcount 1007 drivers/gpu/drm/drm_vblank.c if (atomic_add_return(1, &vblank->refcount) == 1) { refcount 1011 drivers/gpu/drm/drm_vblank.c atomic_dec(&vblank->refcount); refcount 1043 drivers/gpu/drm/drm_vblank.c if (WARN_ON(atomic_read(&vblank->refcount) == 0)) refcount 1047 drivers/gpu/drm/drm_vblank.c if (atomic_dec_and_test(&vblank->refcount)) { refcount 1164 drivers/gpu/drm/drm_vblank.c atomic_inc(&vblank->refcount); refcount 1215 drivers/gpu/drm/drm_vblank.c atomic_inc(&vblank->refcount); refcount 1281 drivers/gpu/drm/drm_vblank.c atomic_dec(&vblank->refcount); refcount 1291 drivers/gpu/drm/drm_vblank.c if (atomic_read(&vblank->refcount) != 0 || drm_vblank_offdelay == 0) refcount 1787 drivers/gpu/drm/drm_vblank.c !atomic_read(&vblank->refcount)); refcount 463 drivers/gpu/drm/etnaviv/etnaviv_gem.c obj->name, kref_read(&obj->refcount), refcount 94 drivers/gpu/drm/etnaviv/etnaviv_gem.h struct kref refcount; refcount 50 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c kref_init(&submit->refcount); refcount 375 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c container_of(kref, struct etnaviv_gem_submit, refcount); refcount 423 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c kref_put(&submit->refcount, submit_cleanup); refcount 1314 drivers/gpu/drm/etnaviv/etnaviv_gpu.c kref_get(&submit->refcount); refcount 1326 drivers/gpu/drm/etnaviv/etnaviv_gpu.c kref_get(&submit->refcount); refcount 158 drivers/gpu/drm/etnaviv/etnaviv_iommu.c kref_init(&context->refcount); refcount 294 drivers/gpu/drm/etnaviv/etnaviv_iommu_v2.c kref_init(&context->refcount); refcount 303 drivers/gpu/drm/etnaviv/etnaviv_mmu.c container_of(kref, struct etnaviv_iommu_context, refcount); refcount 311 drivers/gpu/drm/etnaviv/etnaviv_mmu.c kref_put(&context->refcount, etnaviv_iommu_context_free); refcount 71 drivers/gpu/drm/etnaviv/etnaviv_mmu.h struct kref refcount; refcount 110 drivers/gpu/drm/etnaviv/etnaviv_mmu.h kref_get(&ctx->refcount); refcount 171 drivers/gpu/drm/etnaviv/etnaviv_sched.c kref_get(&submit->refcount); refcount 210 drivers/gpu/drm/exynos/exynos_drm_g2d.c atomic_t refcount; refcount 389 drivers/gpu/drm/exynos/exynos_drm_g2d.c atomic_dec(&g2d_userptr->refcount); refcount 391 drivers/gpu/drm/exynos/exynos_drm_g2d.c if (atomic_read(&g2d_userptr->refcount) > 0) refcount 445 drivers/gpu/drm/exynos/exynos_drm_g2d.c atomic_inc(&g2d_userptr->refcount); refcount 470 drivers/gpu/drm/exynos/exynos_drm_g2d.c atomic_set(&g2d_userptr->refcount, 1); refcount 407 drivers/gpu/drm/i915/display/intel_tc.c int refcount) refcount 410 drivers/gpu/drm/i915/display/intel_tc.c dig_port->tc_link_refcount = refcount; refcount 110 drivers/gpu/drm/i915/gem/i915_gem_context.c if (!kref_get_unless_zero(&obj->base.refcount)) refcount 76 drivers/gpu/drm/i915/gem/i915_gem_object.h if (obj && !kref_get_unless_zero(&obj->base.refcount)) refcount 217 drivers/gpu/drm/i915/gem/i915_gem_pm.c if (!kref_get_unless_zero(&obj->base.refcount)) refcount 250 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c if (!kref_get_unless_zero(&obj->base.refcount)) refcount 558 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c GEM_BUG_ON(!kref_read(&obj->base.refcount)); refcount 126 drivers/gpu/drm/i915/gem/i915_gem_userptr.c if (!kref_get_unless_zero(&obj->base.refcount)) { refcount 523 drivers/gpu/drm/i915/gvt/dmabuf.c kref_read(&obj->base.refcount)); refcount 838 drivers/gpu/drm/i915/gvt/gtt.c atomic_set(&spt->refcount, 1); refcount 924 drivers/gpu/drm/i915/gvt/gtt.c int v = atomic_read(&spt->refcount); refcount 927 drivers/gpu/drm/i915/gvt/gtt.c atomic_inc(&spt->refcount); refcount 932 drivers/gpu/drm/i915/gvt/gtt.c int v = atomic_read(&spt->refcount); refcount 935 drivers/gpu/drm/i915/gvt/gtt.c return atomic_dec_return(&spt->refcount); refcount 233 drivers/gpu/drm/i915/gvt/gtt.h atomic_t refcount; refcount 1546 drivers/gpu/drm/i915/i915_request.c if (refcount_dec_and_test(&tl->kref.refcount)) { refcount 236 drivers/gpu/drm/i915/i915_vma.h if (likely(kref_get_unless_zero(&vma->obj->base.refcount))) refcount 117 drivers/gpu/drm/i915/selftests/lib_sw_fence.c refcount_set(&h->ref.refcount, 2); refcount 210 drivers/gpu/drm/lima/lima_vm.c kref_init(&vm->refcount); refcount 238 drivers/gpu/drm/lima/lima_vm.c struct lima_vm *vm = container_of(kref, struct lima_vm, refcount); refcount 31 drivers/gpu/drm/lima/lima_vm.h struct kref refcount; refcount 51 drivers/gpu/drm/lima/lima_vm.h kref_get(&vm->refcount); refcount 57 drivers/gpu/drm/lima/lima_vm.h kref_put(&vm->refcount, lima_vm_release); refcount 76 drivers/gpu/drm/mediatek/mtk_dpi.c int refcount; refcount 375 drivers/gpu/drm/mediatek/mtk_dpi.c if (WARN_ON(dpi->refcount == 0)) refcount 378 drivers/gpu/drm/mediatek/mtk_dpi.c if (--dpi->refcount != 0) refcount 390 drivers/gpu/drm/mediatek/mtk_dpi.c if (++dpi->refcount != 1) refcount 411 drivers/gpu/drm/mediatek/mtk_dpi.c dpi->refcount--; refcount 175 drivers/gpu/drm/mediatek/mtk_dsi.c int refcount; refcount 530 drivers/gpu/drm/mediatek/mtk_dsi.c if (++dsi->refcount != 1) refcount 615 drivers/gpu/drm/mediatek/mtk_dsi.c dsi->refcount--; refcount 621 drivers/gpu/drm/mediatek/mtk_dsi.c if (WARN_ON(dsi->refcount == 0)) refcount 624 drivers/gpu/drm/mediatek/mtk_dsi.c if (--dsi->refcount != 0) refcount 276 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c int refcount; refcount 283 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c refcount = atomic_read(&phys_enc->vblank_refcount); refcount 290 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c if (!enable && refcount == 0) { refcount 297 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c enable ? "true" : "false", refcount); refcount 310 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c enable ? "true" : "false", refcount); refcount 396 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c int refcount; refcount 403 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c refcount = atomic_read(&phys_enc->vblank_refcount); refcount 410 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c if (!enable && refcount == 0) { refcount 429 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c refcount); refcount 32 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c atomic_set(&hw_blk->refcount, 0); refcount 54 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c if (atomic_read(&hw_blk->refcount)) refcount 73 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c int rc, refcount; refcount 81 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c atomic_read(&curr->refcount))) refcount 95 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c refcount = atomic_inc_return(&hw_blk->refcount); refcount 97 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c if (refcount == 1 && hw_blk->ops.start) { refcount 106 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c hw_blk->id, refcount); refcount 127 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c atomic_read(&hw_blk->refcount)); refcount 129 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c if (!atomic_read(&hw_blk->refcount)) { refcount 134 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c if (atomic_dec_return(&hw_blk->refcount)) refcount 35 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.h atomic_t refcount; refcount 826 drivers/gpu/drm/msm/msm_gem.c obj->name, kref_read(&obj->refcount), refcount 99 drivers/gpu/drm/nouveau/include/nvkm/core/device.h int refcount; refcount 11 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h refcount_t refcount; refcount 13 drivers/gpu/drm/nouveau/include/nvkm/engine/fifo.h int refcount; refcount 470 drivers/gpu/drm/nouveau/nouveau_fence.c WARN_ON(kref_read(&fence->base.refcount) <= 1); refcount 37 drivers/gpu/drm/nouveau/nvkm/core/memory.c if (refcount_dec_and_test(&tags->refcount)) { refcount 66 drivers/gpu/drm/nouveau/nvkm/core/memory.c refcount_inc(&tags->refcount); refcount 93 drivers/gpu/drm/nouveau/nvkm/core/memory.c refcount_set(&tags->refcount, 1); refcount 301 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c if (!--device->refcount) { refcount 304 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c device->refcount++; refcount 322 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c if (!device->refcount++) { refcount 325 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c device->refcount--; refcount 116 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c if (!--engn->refcount) { refcount 148 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c if (!engn->refcount++) { refcount 1032 drivers/gpu/drm/omapdrm/omap_gem.c omap_obj->flags, obj->name, kref_read(&obj->refcount), refcount 266 drivers/gpu/drm/panfrost/panfrost_drv.c kref_init(&job->refcount); refcount 64 drivers/gpu/drm/panfrost/panfrost_gem.c kref_get(&iter->refcount); refcount 93 drivers/gpu/drm/panfrost/panfrost_gem.c mapping = container_of(kref, struct panfrost_gem_mapping, refcount); refcount 105 drivers/gpu/drm/panfrost/panfrost_gem.c kref_put(&mapping->refcount, panfrost_gem_mapping_release); refcount 133 drivers/gpu/drm/panfrost/panfrost_gem.c kref_init(&mapping->refcount); refcount 45 drivers/gpu/drm/panfrost/panfrost_gem.h struct kref refcount; refcount 235 drivers/gpu/drm/panfrost/panfrost_job.c kref_get(&job->refcount); /* put by scheduler job completion */ refcount 256 drivers/gpu/drm/panfrost/panfrost_job.c refcount); refcount 299 drivers/gpu/drm/panfrost/panfrost_job.c kref_put(&job->refcount, panfrost_job_cleanup); refcount 17 drivers/gpu/drm/panfrost/panfrost_job.h struct kref refcount; refcount 433 drivers/gpu/drm/panfrost/panfrost_mmu.c kref_get(&mapping->refcount); refcount 314 drivers/gpu/drm/qxl/qxl_object.c *((unsigned long *)&bo->tbo.base.refcount)); refcount 446 drivers/gpu/drm/radeon/radeon_object.c *((unsigned long *)&bo->tbo.base.refcount)); refcount 186 drivers/gpu/drm/v3d/v3d_drv.h struct kref refcount; refcount 354 drivers/gpu/drm/v3d/v3d_gem.c struct v3d_job *job = container_of(ref, struct v3d_job, refcount); refcount 383 drivers/gpu/drm/v3d/v3d_gem.c base.refcount); refcount 395 drivers/gpu/drm/v3d/v3d_gem.c kref_put(&job->refcount, job->free); refcount 456 drivers/gpu/drm/v3d/v3d_gem.c kref_init(&job->refcount); refcount 479 drivers/gpu/drm/v3d/v3d_gem.c kref_get(&job->refcount); refcount 368 drivers/gpu/drm/vc4/vc4_bo.c kref_init(&bo->base.base.refcount); refcount 74 drivers/gpu/drm/vmwgfx/ttm_object.c struct kref refcount; refcount 136 drivers/gpu/drm/vmwgfx/ttm_object.c kref_get(&tfile->refcount); refcount 143 drivers/gpu/drm/vmwgfx/ttm_object.c container_of(kref, struct ttm_object_file, refcount); refcount 154 drivers/gpu/drm/vmwgfx/ttm_object.c kref_put(&tfile->refcount, ttm_object_file_destroy); refcount 174 drivers/gpu/drm/vmwgfx/ttm_object.c kref_init(&base->refcount); refcount 201 drivers/gpu/drm/vmwgfx/ttm_object.c container_of(kref, struct ttm_base_object, refcount); refcount 225 drivers/gpu/drm/vmwgfx/ttm_object.c kref_put(&base->refcount, ttm_release_base); refcount 276 drivers/gpu/drm/vmwgfx/ttm_object.c if (!kref_get_unless_zero(&base->refcount)) refcount 292 drivers/gpu/drm/vmwgfx/ttm_object.c if (base && !kref_get_unless_zero(&base->refcount)) refcount 402 drivers/gpu/drm/vmwgfx/ttm_object.c kref_get(&base->refcount); refcount 504 drivers/gpu/drm/vmwgfx/ttm_object.c kref_init(&tfile->refcount); refcount 129 drivers/gpu/drm/vmwgfx/ttm_object.h struct kref refcount; refcount 631 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c kref_get(&(*p_base)->refcount); refcount 53 drivers/gpu/host1x/channel.c kref_get(&channel->refcount); refcount 72 drivers/gpu/host1x/channel.c if (!kref_get_unless_zero(&ch->refcount)) refcount 81 drivers/gpu/host1x/channel.c container_of(kref, struct host1x_channel, refcount); refcount 93 drivers/gpu/host1x/channel.c kref_put(&channel->refcount, release_channel); refcount 134 drivers/gpu/host1x/channel.c kref_init(&channel->refcount); refcount 25 drivers/gpu/host1x/channel.h struct kref refcount; refcount 29 drivers/gpu/host1x/intr.c kfree(container_of(kref, struct host1x_waitlist, refcount)); refcount 82 drivers/gpu/host1x/intr.c kref_put(&waiter->refcount, waiter_release); refcount 147 drivers/gpu/host1x/intr.c kref_put(&waiter->refcount, waiter_release); refcount 217 drivers/gpu/host1x/intr.c kref_init(&waiter->refcount); refcount 219 drivers/gpu/host1x/intr.c kref_get(&waiter->refcount); refcount 259 drivers/gpu/host1x/intr.c kref_put(&waiter->refcount, waiter_release); refcount 323 drivers/gpu/host1x/intr.c kref_put(&waiter->refcount, waiter_release); refcount 48 drivers/gpu/host1x/intr.h struct kref refcount; refcount 874 drivers/hwtracing/coresight/coresight-tmc-etr.c refcount_set(&etr_buf->refcount, 1); refcount 1271 drivers/hwtracing/coresight/coresight-tmc-etr.c refcount_inc(&etr_buf->refcount); refcount 1394 drivers/hwtracing/coresight/coresight-tmc-etr.c if (!refcount_dec_and_test(&etr_buf->refcount)) { refcount 154 drivers/hwtracing/coresight/coresight-tmc.h refcount_t refcount; refcount 266 drivers/infiniband/core/cm.c atomic_t refcount; refcount 311 drivers/infiniband/core/cm.c if (atomic_dec_and_test(&cm_id_priv->refcount)) refcount 368 drivers/infiniband/core/cm.c atomic_inc(&cm_id_priv->refcount); refcount 617 drivers/infiniband/core/cm.c atomic_inc(&cm_id_priv->refcount); refcount 872 drivers/infiniband/core/cm.c atomic_set(&cm_id_priv->refcount, 1); refcount 1229 drivers/infiniband/core/cm.c atomic_inc(&cm_id_priv->refcount); refcount 1894 drivers/infiniband/core/cm.c atomic_inc(&listen_cm_id_priv->refcount); refcount 1895 drivers/infiniband/core/cm.c atomic_inc(&cm_id_priv->refcount); refcount 2051 drivers/infiniband/core/cm.c atomic_dec(&cm_id_priv->refcount); refcount 2825 drivers/infiniband/core/cm.c atomic_inc(&cm_id_priv->refcount); refcount 3595 drivers/infiniband/core/cm.c atomic_inc(&cur_cm_id_priv->refcount); refcount 3596 drivers/infiniband/core/cm.c atomic_inc(&cm_id_priv->refcount); refcount 228 drivers/infiniband/core/cma.c atomic_t refcount; refcount 278 drivers/infiniband/core/cma.c atomic_inc(&cma_dev->refcount); refcount 515 drivers/infiniband/core/cma.c if (atomic_dec_and_test(&cma_dev->refcount)) refcount 871 drivers/infiniband/core/cma.c if (atomic_dec_and_test(&id_priv->refcount)) refcount 899 drivers/infiniband/core/cma.c atomic_set(&id_priv->refcount, 1); refcount 2190 drivers/infiniband/core/cma.c atomic_inc(&conn_id->refcount); refcount 2392 drivers/infiniband/core/cma.c atomic_inc(&conn_id->refcount); refcount 2492 drivers/infiniband/core/cma.c atomic_inc(&id_priv->refcount); refcount 2929 drivers/infiniband/core/cma.c atomic_inc(&id_priv->refcount); refcount 3095 drivers/infiniband/core/cma.c atomic_inc(&id_priv->refcount); refcount 3122 drivers/infiniband/core/cma.c atomic_inc(&id_priv->refcount); refcount 4524 drivers/infiniband/core/cma.c atomic_inc(&id_priv->refcount); refcount 4599 drivers/infiniband/core/cma.c atomic_set(&cma_dev->refcount, 1); refcount 4657 drivers/infiniband/core/cma.c atomic_inc(&id_priv->refcount); refcount 69 drivers/infiniband/core/cma_priv.h atomic_t refcount; refcount 339 drivers/infiniband/core/device.c if (refcount_dec_and_test(&device->refcount)) refcount 496 drivers/infiniband/core/device.c WARN_ON(refcount_read(&dev->refcount)); refcount 638 drivers/infiniband/core/device.c WARN_ON(refcount_read(&device->refcount)); refcount 668 drivers/infiniband/core/device.c refcount_inc(&device->refcount); refcount 1256 drivers/infiniband/core/device.c WARN_ON(!refcount_read(&device->refcount)); refcount 1303 drivers/infiniband/core/device.c refcount_set(&device->refcount, 2); refcount 1435 drivers/infiniband/core/device.c if (!refcount_read(&ib_dev->refcount)) refcount 1565 drivers/infiniband/core/device.c WARN_ON(!refcount_read(&ib_dev->refcount)); refcount 1591 drivers/infiniband/core/device.c if (refcount_read(&device->refcount) == 0 || refcount 214 drivers/infiniband/core/iwcm.c BUG_ON(atomic_read(&cm_id_priv->refcount)==0); refcount 215 drivers/infiniband/core/iwcm.c if (atomic_dec_and_test(&cm_id_priv->refcount)) { refcount 228 drivers/infiniband/core/iwcm.c atomic_inc(&cm_id_priv->refcount); refcount 260 drivers/infiniband/core/iwcm.c atomic_set(&cm_id_priv->refcount, 1); refcount 1097 drivers/infiniband/core/iwcm.c atomic_inc(&cm_id_priv->refcount); refcount 55 drivers/infiniband/core/iwcm.h atomic_t refcount; refcount 64 drivers/infiniband/core/iwpm_util.c if (atomic_read(&iwpm_admin.refcount) == 0) { refcount 81 drivers/infiniband/core/iwpm_util.c atomic_inc(&iwpm_admin.refcount); refcount 108 drivers/infiniband/core/iwpm_util.c if (atomic_read(&iwpm_admin.refcount) == 0) { refcount 113 drivers/infiniband/core/iwpm_util.c if (atomic_dec_and_test(&iwpm_admin.refcount)) { refcount 93 drivers/infiniband/core/iwpm_util.h atomic_t refcount; refcount 406 drivers/infiniband/core/mad.c atomic_set(&mad_agent_priv->refcount, 1); refcount 598 drivers/infiniband/core/mad.c atomic_set(&mad_snoop_priv->refcount, 1); refcount 611 drivers/infiniband/core/mad.c if (atomic_dec_and_test(&mad_agent_priv->refcount)) refcount 617 drivers/infiniband/core/mad.c if (atomic_dec_and_test(&mad_snoop_priv->refcount)) refcount 725 drivers/infiniband/core/mad.c atomic_inc(&mad_snoop_priv->refcount); refcount 750 drivers/infiniband/core/mad.c atomic_inc(&mad_snoop_priv->refcount); refcount 930 drivers/infiniband/core/mad.c atomic_inc(&mad_agent_priv->refcount); refcount 970 drivers/infiniband/core/mad.c atomic_inc(&mad_agent_priv->refcount); refcount 1128 drivers/infiniband/core/mad.c atomic_inc(&mad_agent_priv->refcount); refcount 1339 drivers/infiniband/core/mad.c mad_send_wr->refcount = 1 + (mad_send_wr->timeout > 0); refcount 1343 drivers/infiniband/core/mad.c atomic_inc(&mad_agent_priv->refcount); refcount 1360 drivers/infiniband/core/mad.c atomic_dec(&mad_agent_priv->refcount); refcount 1785 drivers/infiniband/core/mad.c if (mad_agent && !atomic_inc_not_zero(&mad_agent->refcount)) refcount 1837 drivers/infiniband/core/mad.c atomic_inc(&mad_agent->refcount); refcount 2014 drivers/infiniband/core/mad.c if (mad_send_wr->refcount == 1) refcount 2062 drivers/infiniband/core/mad.c atomic_dec(&mad_agent_priv->refcount); refcount 2079 drivers/infiniband/core/mad.c atomic_dec(&mad_agent_priv->refcount); refcount 2476 drivers/infiniband/core/mad.c mad_send_wr->refcount -= (mad_send_wr->timeout > 0); refcount 2479 drivers/infiniband/core/mad.c if (--mad_send_wr->refcount > 0) { refcount 2480 drivers/infiniband/core/mad.c if (mad_send_wr->refcount == 1 && mad_send_wr->timeout && refcount 2657 drivers/infiniband/core/mad.c mad_send_wr->refcount -= (mad_send_wr->timeout > 0); refcount 2675 drivers/infiniband/core/mad.c atomic_dec(&mad_agent_priv->refcount); refcount 2718 drivers/infiniband/core/mad.c active = (!mad_send_wr->timeout || mad_send_wr->refcount > 1); refcount 2721 drivers/infiniband/core/mad.c mad_send_wr->refcount -= (mad_send_wr->timeout > 0); refcount 2813 drivers/infiniband/core/mad.c atomic_dec(&recv_mad_agent->refcount); refcount 2830 drivers/infiniband/core/mad.c atomic_dec(&mad_agent_priv->refcount); refcount 2867 drivers/infiniband/core/mad.c mad_send_wr->refcount++; refcount 2916 drivers/infiniband/core/mad.c atomic_dec(&mad_agent_priv->refcount); refcount 106 drivers/infiniband/core/mad_priv.h atomic_t refcount; refcount 118 drivers/infiniband/core/mad_priv.h atomic_t refcount; refcount 136 drivers/infiniband/core/mad_priv.h int refcount; refcount 55 drivers/infiniband/core/mad_rmpp.c atomic_t refcount; refcount 76 drivers/infiniband/core/mad_rmpp.c if (atomic_dec_and_test(&rmpp_recv->refcount)) refcount 308 drivers/infiniband/core/mad_rmpp.c atomic_set(&rmpp_recv->refcount, 1); refcount 360 drivers/infiniband/core/mad_rmpp.c atomic_inc(&rmpp_recv->refcount); refcount 556 drivers/infiniband/core/mad_rmpp.c atomic_inc(&rmpp_recv->refcount); refcount 729 drivers/infiniband/core/mad_rmpp.c if (mad_send_wr->refcount == 1) refcount 735 drivers/infiniband/core/mad_rmpp.c } else if (mad_send_wr->refcount == 1 && refcount 743 drivers/infiniband/core/mad_rmpp.c mad_send_wr->refcount++; refcount 902 drivers/infiniband/core/mad_rmpp.c mad_send_wr->refcount += (mad_send_wr->timeout == 0); refcount 64 drivers/infiniband/core/multicast.c atomic_t refcount; refcount 106 drivers/infiniband/core/multicast.c atomic_t refcount; refcount 120 drivers/infiniband/core/multicast.c atomic_t refcount; refcount 181 drivers/infiniband/core/multicast.c if (atomic_dec_and_test(&port->refcount)) refcount 191 drivers/infiniband/core/multicast.c if (atomic_dec_and_test(&group->refcount)) { refcount 202 drivers/infiniband/core/multicast.c if (atomic_dec_and_test(&member->refcount)) refcount 215 drivers/infiniband/core/multicast.c atomic_inc(&group->refcount); refcount 404 drivers/infiniband/core/multicast.c atomic_inc(&member->refcount); refcount 448 drivers/infiniband/core/multicast.c atomic_inc(&member->refcount); refcount 500 drivers/infiniband/core/multicast.c atomic_inc(&member->refcount); refcount 592 drivers/infiniband/core/multicast.c atomic_inc(&port->refcount); refcount 594 drivers/infiniband/core/multicast.c atomic_inc(&group->refcount); refcount 635 drivers/infiniband/core/multicast.c atomic_set(&member->refcount, 1); refcount 782 drivers/infiniband/core/multicast.c atomic_inc(&group->refcount); refcount 842 drivers/infiniband/core/multicast.c atomic_set(&port->refcount, 1); refcount 100 drivers/infiniband/core/uverbs.h atomic_t refcount; refcount 207 drivers/infiniband/core/uverbs_main.c if (atomic_dec_and_test(&file->device->refcount)) refcount 1047 drivers/infiniband/core/uverbs_main.c if (!atomic_inc_not_zero(&dev->refcount)) refcount 1111 drivers/infiniband/core/uverbs_main.c if (atomic_dec_and_test(&dev->refcount)) refcount 1280 drivers/infiniband/core/uverbs_main.c atomic_set(&uverbs_dev->refcount, 1); refcount 1320 drivers/infiniband/core/uverbs_main.c if (atomic_dec_and_test(&uverbs_dev->refcount)) refcount 1411 drivers/infiniband/core/uverbs_main.c if (atomic_dec_and_test(&uverbs_dev->refcount)) refcount 671 drivers/infiniband/hw/hfi1/qp.c atomic_read(&qp->refcount), refcount 1034 drivers/infiniband/hw/hfi1/user_sdma.c atomic_inc(&node->refcount); refcount 1049 drivers/infiniband/hw/hfi1/user_sdma.c atomic_set(&node->refcount, 0); refcount 1466 drivers/infiniband/hw/hfi1/user_sdma.c atomic_dec(&node->refcount); refcount 1497 drivers/infiniband/hw/hfi1/user_sdma.c atomic_inc(&node->refcount); refcount 1514 drivers/infiniband/hw/hfi1/user_sdma.c if (atomic_read(&node->refcount)) refcount 1541 drivers/infiniband/hw/hfi1/user_sdma.c if (!atomic_read(&node->refcount)) refcount 147 drivers/infiniband/hw/hfi1/user_sdma.h atomic_t refcount; refcount 536 drivers/infiniband/hw/hfi1/verbs.c if (atomic_dec_return(&mcast->refcount) <= 1) refcount 157 drivers/infiniband/hw/hns/hns_roce_cq.c atomic_set(&hr_cq->refcount, 1); refcount 199 drivers/infiniband/hw/hns/hns_roce_cq.c if (atomic_dec_and_test(&hr_cq->refcount)) refcount 544 drivers/infiniband/hw/hns/hns_roce_cq.c atomic_inc(&cq->refcount); refcount 553 drivers/infiniband/hw/hns/hns_roce_cq.c if (atomic_dec_and_test(&cq->refcount)) refcount 32 drivers/infiniband/hw/hns/hns_roce_db.c refcount_set(&page->refcount, 1); refcount 48 drivers/infiniband/hw/hns/hns_roce_db.c refcount_inc(&page->refcount); refcount 61 drivers/infiniband/hw/hns/hns_roce_db.c refcount_dec(&db->u.user_page->refcount); refcount 62 drivers/infiniband/hw/hns/hns_roce_db.c if (refcount_dec_if_one(&db->u.user_page->refcount)) { refcount 470 drivers/infiniband/hw/hns/hns_roce_device.h refcount_t refcount; refcount 509 drivers/infiniband/hw/hns/hns_roce_device.h atomic_t refcount; refcount 531 drivers/infiniband/hw/hns/hns_roce_device.h atomic_t refcount; refcount 688 drivers/infiniband/hw/hns/hns_roce_device.h atomic_t refcount; refcount 295 drivers/infiniband/hw/hns/hns_roce_hem.c hem->refcount = 0; refcount 499 drivers/infiniband/hw/hns/hns_roce_hem.c ++table->hem[hem_idx]->refcount; refcount 592 drivers/infiniband/hw/hns/hns_roce_hem.c ++table->hem[hem_idx]->refcount; refcount 630 drivers/infiniband/hw/hns/hns_roce_hem.c ++table->hem[i]->refcount; refcount 653 drivers/infiniband/hw/hns/hns_roce_hem.c ++table->hem[i]->refcount; refcount 705 drivers/infiniband/hw/hns/hns_roce_hem.c if (check_refcount && (--table->hem[hem_idx]->refcount > 0)) { refcount 789 drivers/infiniband/hw/hns/hns_roce_hem.c if (--table->hem[i]->refcount == 0) { refcount 91 drivers/infiniband/hw/hns/hns_roce_hem.h int refcount; refcount 54 drivers/infiniband/hw/hns/hns_roce_qp.c atomic_inc(&qp->refcount); refcount 64 drivers/infiniband/hw/hns/hns_roce_qp.c if (atomic_dec_and_test(&qp->refcount)) refcount 152 drivers/infiniband/hw/hns/hns_roce_qp.c atomic_set(&hr_qp->refcount, 1); refcount 248 drivers/infiniband/hw/hns/hns_roce_qp.c if (atomic_dec_and_test(&hr_qp->refcount)) refcount 20 drivers/infiniband/hw/hns/hns_roce_srq.c atomic_inc(&srq->refcount); refcount 30 drivers/infiniband/hw/hns/hns_roce_srq.c if (atomic_dec_and_test(&srq->refcount)) refcount 142 drivers/infiniband/hw/hns/hns_roce_srq.c atomic_set(&srq->refcount, 1); refcount 170 drivers/infiniband/hw/hns/hns_roce_srq.c if (atomic_dec_and_test(&srq->refcount)) refcount 140 drivers/infiniband/hw/i40iw/i40iw.h atomic_t refcount; refcount 80 drivers/infiniband/hw/i40iw/i40iw_cm.c if (!atomic_dec_return(&buf->refcount)) refcount 534 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_set(&sqbuf->refcount, 1); refcount 1098 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&sqbuf->refcount); refcount 1288 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&send_entry->sqbuf->refcount); refcount 1130 drivers/infiniband/hw/i40iw/i40iw_main.c atomic_inc(&cqp_request->refcount); refcount 93 drivers/infiniband/hw/i40iw/i40iw_puda.h atomic_t refcount; refcount 388 drivers/infiniband/hw/i40iw/i40iw_utils.c atomic_set(&cqp_request->refcount, 2); refcount 391 drivers/infiniband/hw/i40iw/i40iw_utils.c atomic_set(&cqp_request->refcount, 1); refcount 428 drivers/infiniband/hw/i40iw/i40iw_utils.c if (atomic_dec_and_test(&cqp_request->refcount)) refcount 449 drivers/infiniband/hw/i40iw/i40iw_utils.c !atomic_read(&cqp_request->refcount), refcount 628 drivers/infiniband/hw/i40iw/i40iw_utils.c atomic_inc(&iwqp->refcount); refcount 648 drivers/infiniband/hw/i40iw/i40iw_utils.c if (!atomic_dec_and_test(&iwqp->refcount)) { refcount 1047 drivers/infiniband/hw/i40iw/i40iw_utils.c atomic_inc(&cqp_request->refcount); refcount 226 drivers/infiniband/hw/i40iw/i40iw_verbs.c atomic_inc(&cqp_request->refcount); refcount 143 drivers/infiniband/hw/i40iw/i40iw_verbs.h atomic_t refcount; refcount 302 drivers/infiniband/hw/mlx4/main.c port_gid_table->gids[free].ctx->refcount = 1; refcount 309 drivers/infiniband/hw/mlx4/main.c ctx->refcount++; refcount 360 drivers/infiniband/hw/mlx4/main.c ctx->refcount--; refcount 361 drivers/infiniband/hw/mlx4/main.c if (!ctx->refcount) { refcount 124 drivers/infiniband/hw/mlx4/mcg.c atomic_t refcount; refcount 444 drivers/infiniband/hw/mlx4/mcg.c if (atomic_dec_and_test(&group->refcount)) { refcount 448 drivers/infiniband/hw/mlx4/mcg.c atomic_inc(&group->refcount); refcount 577 drivers/infiniband/hw/mlx4/mcg.c atomic_inc(&group->refcount); refcount 579 drivers/infiniband/hw/mlx4/mcg.c safe_atomic_dec(&group->refcount); refcount 778 drivers/infiniband/hw/mlx4/mcg.c atomic_inc(&group->refcount); refcount 865 drivers/infiniband/hw/mlx4/mcg.c atomic_inc(&group->refcount); refcount 873 drivers/infiniband/hw/mlx4/mcg.c atomic_inc(&group->refcount); /* for the request */ refcount 874 drivers/infiniband/hw/mlx4/mcg.c atomic_inc(&group->refcount); /* for scheduling the work */ refcount 879 drivers/infiniband/hw/mlx4/mcg.c safe_atomic_dec(&group->refcount); refcount 913 drivers/infiniband/hw/mlx4/mcg.c atomic_inc(&group->refcount); refcount 915 drivers/infiniband/hw/mlx4/mcg.c safe_atomic_dec(&group->refcount); refcount 1017 drivers/infiniband/hw/mlx4/mcg.c atomic_read(&group->refcount), refcount 1104 drivers/infiniband/hw/mlx4/mcg.c if (atomic_read(&group->refcount)) refcount 1106 drivers/infiniband/hw/mlx4/mcg.c atomic_read(&group->refcount), group); refcount 1186 drivers/infiniband/hw/mlx4/mcg.c atomic_dec(&group->refcount); refcount 1234 drivers/infiniband/hw/mlx4/mcg.c if (atomic_read(&group->refcount)) { refcount 295 drivers/infiniband/hw/mlx4/mlx4_ib.h int refcount; refcount 504 drivers/infiniband/hw/mlx4/mlx4_ib.h int refcount; refcount 792 drivers/infiniband/hw/mlx4/qp.c if (!range || (range->refcount == range->size) || range->dirty) { refcount 820 drivers/infiniband/hw/mlx4/qp.c *wqn = range->base_wqn + range->refcount; refcount 822 drivers/infiniband/hw/mlx4/qp.c range->refcount++; refcount 840 drivers/infiniband/hw/mlx4/qp.c range->refcount--; refcount 841 drivers/infiniband/hw/mlx4/qp.c if (!range->refcount) { refcount 3172 drivers/infiniband/hw/mlx5/main.c prio->refcount -= !!ft_added; refcount 3173 drivers/infiniband/hw/mlx5/main.c if (!prio->refcount) { refcount 3253 drivers/infiniband/hw/mlx5/main.c prio->refcount = 0; refcount 3633 drivers/infiniband/hw/mlx5/main.c ft_prio->refcount++; refcount 3671 drivers/infiniband/hw/mlx5/main.c ft_prio->refcount--; refcount 3734 drivers/infiniband/hw/mlx5/main.c ft_prio->refcount--; refcount 3776 drivers/infiniband/hw/mlx5/main.c ft_rx->refcount--; refcount 4040 drivers/infiniband/hw/mlx5/main.c ft_prio->refcount++; refcount 173 drivers/infiniband/hw/mlx5/mlx5_ib.h unsigned int refcount; refcount 89 drivers/infiniband/hw/mlx5/srq_cmd.c refcount_inc(&srq->common.refcount); refcount 595 drivers/infiniband/hw/mlx5/srq_cmd.c refcount_set(&srq->common.refcount, 1); refcount 678 drivers/infiniband/hw/mlx5/srq_cmd.c refcount_inc(&srq->common.refcount); refcount 243 drivers/infiniband/hw/mthca/mthca_cq.c ++cq->refcount; refcount 259 drivers/infiniband/hw/mthca/mthca_cq.c if (!--cq->refcount) refcount 818 drivers/infiniband/hw/mthca/mthca_cq.c cq->refcount = 1; refcount 892 drivers/infiniband/hw/mthca/mthca_cq.c c = cq->refcount; refcount 928 drivers/infiniband/hw/mthca/mthca_cq.c --cq->refcount; refcount 60 drivers/infiniband/hw/mthca/mthca_memfree.c int refcount; refcount 152 drivers/infiniband/hw/mthca/mthca_memfree.c icm->refcount = 0; refcount 230 drivers/infiniband/hw/mthca/mthca_memfree.c ++table->icm[i]->refcount; refcount 250 drivers/infiniband/hw/mthca/mthca_memfree.c ++table->icm[i]->refcount; refcount 268 drivers/infiniband/hw/mthca/mthca_memfree.c if (--table->icm[i]->refcount == 0) { refcount 406 drivers/infiniband/hw/mthca/mthca_memfree.c ++table->icm[i]->refcount; refcount 463 drivers/infiniband/hw/mthca/mthca_memfree.c if ((db_tab->page[i].refcount >= MTHCA_DB_REC_PER_PAGE) || refcount 470 drivers/infiniband/hw/mthca/mthca_memfree.c if (db_tab->page[i].refcount) { refcount 471 drivers/infiniband/hw/mthca/mthca_memfree.c ++db_tab->page[i].refcount; refcount 498 drivers/infiniband/hw/mthca/mthca_memfree.c db_tab->page[i].refcount = 1; refcount 518 drivers/infiniband/hw/mthca/mthca_memfree.c --db_tab->page[index / MTHCA_DB_REC_PER_PAGE].refcount; refcount 539 drivers/infiniband/hw/mthca/mthca_memfree.c db_tab->page[i].refcount = 0; refcount 60 drivers/infiniband/hw/mthca/mthca_memfree.h int refcount; refcount 204 drivers/infiniband/hw/mthca/mthca_provider.h int refcount; refcount 225 drivers/infiniband/hw/mthca/mthca_provider.h int refcount; refcount 263 drivers/infiniband/hw/mthca/mthca_provider.h int refcount; refcount 247 drivers/infiniband/hw/mthca/mthca_qp.c ++qp->refcount; refcount 266 drivers/infiniband/hw/mthca/mthca_qp.c if (!--qp->refcount) refcount 1171 drivers/infiniband/hw/mthca/mthca_qp.c qp->refcount = 1; refcount 1436 drivers/infiniband/hw/mthca/mthca_qp.c c = qp->refcount; refcount 1460 drivers/infiniband/hw/mthca/mthca_qp.c --qp->refcount; refcount 267 drivers/infiniband/hw/mthca/mthca_srq.c srq->refcount = 1; refcount 332 drivers/infiniband/hw/mthca/mthca_srq.c c = srq->refcount; refcount 356 drivers/infiniband/hw/mthca/mthca_srq.c --srq->refcount; refcount 439 drivers/infiniband/hw/mthca/mthca_srq.c ++srq->refcount; refcount 457 drivers/infiniband/hw/mthca/mthca_srq.c if (!--srq->refcount) refcount 62 drivers/infiniband/hw/qib/qib_user_sdma.c int refcount; refcount 226 drivers/infiniband/hw/qib/qib_user_sdma.c sdma_rb_node->refcount++; refcount 233 drivers/infiniband/hw/qib/qib_user_sdma.c sdma_rb_node->refcount = 1; refcount 1101 drivers/infiniband/hw/qib/qib_user_sdma.c pq->sdma_rb_node->refcount--; refcount 1102 drivers/infiniband/hw/qib/qib_user_sdma.c if (pq->sdma_rb_node->refcount == 0) { refcount 1331 drivers/infiniband/hw/qib/qib_user_sdma.c if (pq->sdma_rb_node->refcount > 1) { refcount 340 drivers/infiniband/hw/qib/qib_verbs.c if (atomic_dec_return(&mcast->refcount) <= 1) refcount 120 drivers/infiniband/sw/rdmavt/mcast.c atomic_set(&mcast->refcount, 0); refcount 172 drivers/infiniband/sw/rdmavt/mcast.c atomic_inc(&mcast->refcount); refcount 260 drivers/infiniband/sw/rdmavt/mcast.c atomic_inc(&mcast->refcount); refcount 413 drivers/infiniband/sw/rdmavt/mcast.c wait_event(mcast->wait, atomic_read(&mcast->refcount) <= 1); refcount 417 drivers/infiniband/sw/rdmavt/mcast.c atomic_dec(&mcast->refcount); refcount 418 drivers/infiniband/sw/rdmavt/mcast.c wait_event(mcast->wait, !atomic_read(&mcast->refcount)); refcount 125 drivers/infiniband/sw/rdmavt/mr.c percpu_ref_exit(&mr->refcount); refcount 131 drivers/infiniband/sw/rdmavt/mr.c refcount); refcount 153 drivers/infiniband/sw/rdmavt/mr.c if (percpu_ref_init(&mr->refcount, &__rvt_mregion_complete, refcount 277 drivers/infiniband/sw/rdmavt/mr.c percpu_ref_kill(&mr->refcount); refcount 503 drivers/infiniband/sw/rdmavt/mr.c atomic_long_read(&mr->refcount.count)); refcount 795 drivers/infiniband/sw/rdmavt/mr.c i = atomic_long_read(&fmr->mr.refcount.count); refcount 1185 drivers/infiniband/sw/rdmavt/qp.c atomic_set(&qp->refcount, 0); refcount 1724 drivers/infiniband/sw/rdmavt/qp.c wait_event(qp->wait, !atomic_read(&qp->refcount)); refcount 364 drivers/infiniband/ulp/iser/iscsi_iser.h int refcount; refcount 470 drivers/infiniband/ulp/iser/iser_verbs.c device->refcount++; refcount 480 drivers/infiniband/ulp/iser/iser_verbs.c device->refcount--; refcount 481 drivers/infiniband/ulp/iser/iser_verbs.c iser_info("device %p refcount %d\n", device, device->refcount); refcount 482 drivers/infiniband/ulp/iser/iser_verbs.c if (!device->refcount) { refcount 337 drivers/infiniband/ulp/isert/ib_isert.c device->refcount--; refcount 338 drivers/infiniband/ulp/isert/ib_isert.c isert_info("device %p refcount %d\n", device, device->refcount); refcount 339 drivers/infiniband/ulp/isert/ib_isert.c if (!device->refcount) { refcount 356 drivers/infiniband/ulp/isert/ib_isert.c device->refcount++; refcount 358 drivers/infiniband/ulp/isert/ib_isert.c device, device->refcount); refcount 380 drivers/infiniband/ulp/isert/ib_isert.c device->refcount++; refcount 383 drivers/infiniband/ulp/isert/ib_isert.c device, device->refcount); refcount 186 drivers/infiniband/ulp/isert/ib_isert.h int refcount; refcount 360 drivers/md/dm-thin.c refcount_t refcount; refcount 4146 drivers/md/dm-thin.c refcount_inc(&tc->refcount); refcount 4151 drivers/md/dm-thin.c if (refcount_dec_and_test(&tc->refcount)) refcount 4300 drivers/md/dm-thin.c refcount_set(&tc->refcount, 1); refcount 1105 drivers/md/dm-zoned-metadata.c atomic_set(&zone->refcount, 0); refcount 31 drivers/md/dm-zoned-target.c refcount_t refcount; refcount 452 drivers/md/dm-zoned-target.c refcount_inc(&cw->refcount); refcount 461 drivers/md/dm-zoned-target.c if (refcount_dec_and_test(&cw->refcount)) { refcount 547 drivers/md/dm-zoned-target.c refcount_set(&cw->refcount, 1); refcount 88 drivers/md/dm-zoned.h atomic_t refcount; refcount 201 drivers/md/dm-zoned.h atomic_inc(&zone->refcount); refcount 210 drivers/md/dm-zoned.h atomic_dec(&zone->refcount); refcount 218 drivers/md/dm-zoned.h return atomic_read(&zone->refcount); refcount 2646 drivers/md/raid5-cache.c uintptr_t refcount; refcount 2702 drivers/md/raid5-cache.c refcount = (uintptr_t)radix_tree_deref_slot_protected( refcount 2707 drivers/md/raid5-cache.c (void *)((refcount + 1) << R5C_RADIX_COUNT_SHIFT)); refcount 2811 drivers/md/raid5-cache.c uintptr_t refcount; refcount 2857 drivers/md/raid5-cache.c refcount = (uintptr_t)radix_tree_deref_slot_protected( refcount 2860 drivers/md/raid5-cache.c if (refcount == 1) refcount 2865 drivers/md/raid5-cache.c (void *)((refcount - 1) << R5C_RADIX_COUNT_SHIFT)); refcount 24 drivers/media/common/siano/smsdvb-debugfs.c struct kref refcount; refcount 326 drivers/media/common/siano/smsdvb-debugfs.c kref_get(&debug_data->refcount); refcount 342 drivers/media/common/siano/smsdvb-debugfs.c debug_data = container_of(ref, struct smsdvb_debugfs, refcount); refcount 367 drivers/media/common/siano/smsdvb-debugfs.c kref_get(&debug_data->refcount); refcount 372 drivers/media/common/siano/smsdvb-debugfs.c kref_put(&debug_data->refcount, smsdvb_debugfs_data_release); refcount 383 drivers/media/common/siano/smsdvb-debugfs.c kref_get(&debug_data->refcount); refcount 416 drivers/media/common/siano/smsdvb-debugfs.c kref_put(&debug_data->refcount, smsdvb_debugfs_data_release); refcount 429 drivers/media/common/siano/smsdvb-debugfs.c kref_put(&debug_data->refcount, smsdvb_debugfs_data_release); refcount 482 drivers/media/common/siano/smsdvb-debugfs.c kref_init(&debug_data->refcount); refcount 497 drivers/media/common/siano/smsdvb-debugfs.c kref_put(&client->debug_data->refcount, smsdvb_debugfs_data_release); refcount 38 drivers/media/common/videobuf2/videobuf2-dma-contig.c refcount_t refcount; refcount 90 drivers/media/common/videobuf2/videobuf2-dma-contig.c return refcount_read(&buf->refcount); refcount 126 drivers/media/common/videobuf2/videobuf2-dma-contig.c if (!refcount_dec_and_test(&buf->refcount)) refcount 170 drivers/media/common/videobuf2/videobuf2-dma-contig.c buf->handler.refcount = &buf->refcount; refcount 174 drivers/media/common/videobuf2/videobuf2-dma-contig.c refcount_set(&buf->refcount, 1); refcount 413 drivers/media/common/videobuf2/videobuf2-dma-contig.c refcount_inc(&buf->refcount); refcount 50 drivers/media/common/videobuf2/videobuf2-dma-sg.c refcount_t refcount; refcount 150 drivers/media/common/videobuf2/videobuf2-dma-sg.c buf->handler.refcount = &buf->refcount; refcount 154 drivers/media/common/videobuf2/videobuf2-dma-sg.c refcount_set(&buf->refcount, 1); refcount 180 drivers/media/common/videobuf2/videobuf2-dma-sg.c if (refcount_dec_and_test(&buf->refcount)) { refcount 324 drivers/media/common/videobuf2/videobuf2-dma-sg.c return refcount_read(&buf->refcount); refcount 523 drivers/media/common/videobuf2/videobuf2-dma-sg.c refcount_inc(&buf->refcount); refcount 94 drivers/media/common/videobuf2/videobuf2-memops.c __func__, h, refcount_read(h->refcount), vma->vm_start, refcount 97 drivers/media/common/videobuf2/videobuf2-memops.c refcount_inc(h->refcount); refcount 112 drivers/media/common/videobuf2/videobuf2-memops.c __func__, h, refcount_read(h->refcount), vma->vm_start, refcount 30 drivers/media/common/videobuf2/videobuf2-vmalloc.c refcount_t refcount; refcount 56 drivers/media/common/videobuf2/videobuf2-vmalloc.c buf->handler.refcount = &buf->refcount; refcount 60 drivers/media/common/videobuf2/videobuf2-vmalloc.c refcount_set(&buf->refcount, 1); refcount 68 drivers/media/common/videobuf2/videobuf2-vmalloc.c if (refcount_dec_and_test(&buf->refcount)) { refcount 166 drivers/media/common/videobuf2/videobuf2-vmalloc.c return refcount_read(&buf->refcount); refcount 372 drivers/media/common/videobuf2/videobuf2-vmalloc.c refcount_inc(&buf->refcount); refcount 114 drivers/media/dvb-core/dvb_ca_en50221.c struct kref refcount; refcount 172 drivers/media/dvb-core/dvb_ca_en50221.c ca = container_of(ref, struct dvb_ca_private, refcount); refcount 178 drivers/media/dvb-core/dvb_ca_en50221.c kref_get(&ca->refcount); refcount 183 drivers/media/dvb-core/dvb_ca_en50221.c kref_put(&ca->refcount, dvb_ca_private_release); refcount 1857 drivers/media/dvb-core/dvb_ca_en50221.c kref_init(&ca->refcount); refcount 148 drivers/media/dvb-core/dvb_frontend.c container_of(ref, struct dvb_frontend, refcount); refcount 163 drivers/media/dvb-core/dvb_frontend.c kref_put(&fe->refcount, dvb_frontend_free); refcount 170 drivers/media/dvb-core/dvb_frontend.c kref_get(&fe->refcount); refcount 2977 drivers/media/dvb-core/dvb_frontend.c kref_init(&fe->refcount); refcount 33 drivers/media/mc/mc-dev-allocator.c struct kref refcount; refcount 45 drivers/media/mc/mc-dev-allocator.c container_of(kref, struct media_device_instance, refcount); refcount 71 drivers/media/mc/mc-dev-allocator.c kref_get(&mdi->refcount); refcount 89 drivers/media/mc/mc-dev-allocator.c kref_init(&mdi->refcount); refcount 133 drivers/media/mc/mc-dev-allocator.c kref_put(&mdi->refcount, media_device_instance_release); refcount 882 drivers/media/pci/cx23885/cx23885-core.c atomic_inc(&dev->refcount); refcount 1106 drivers/media/pci/cx23885/cx23885-core.c if (!atomic_dec_and_test(&dev->refcount)) refcount 353 drivers/media/pci/cx23885/cx23885.h atomic_t refcount; refcount 3664 drivers/media/pci/cx88/cx88-cards.c refcount_set(&core->refcount, 1); refcount 1046 drivers/media/pci/cx88/cx88-core.c refcount_inc(&core->refcount); refcount 1067 drivers/media/pci/cx88/cx88-core.c if (!refcount_dec_and_test(&core->refcount)) refcount 333 drivers/media/pci/cx88/cx88.h refcount_t refcount; refcount 950 drivers/media/pci/saa7164/saa7164-core.c atomic_inc(&dev->refcount); refcount 1039 drivers/media/pci/saa7164/saa7164-core.c if (!atomic_dec_and_test(&dev->refcount)) refcount 422 drivers/media/pci/saa7164/saa7164.h atomic_t refcount; refcount 291 drivers/media/platform/rcar-vin/rcar-core.c container_of(kref, struct rvin_group, refcount); refcount 328 drivers/media/platform/rcar-vin/rcar-core.c kref_get(&group->refcount); refcount 343 drivers/media/platform/rcar-vin/rcar-core.c kref_init(&group->refcount); refcount 355 drivers/media/platform/rcar-vin/rcar-core.c kref_put(&group->refcount, rvin_group_release); refcount 389 drivers/media/platform/rcar-vin/rcar-core.c kref_put(&group->refcount, rvin_group_release); refcount 246 drivers/media/platform/rcar-vin/rcar-vin.h struct kref refcount; refcount 145 drivers/misc/fastrpc.c struct kref refcount; refcount 158 drivers/misc/fastrpc.c struct kref refcount; refcount 188 drivers/misc/fastrpc.c struct kref refcount; refcount 212 drivers/misc/fastrpc.c map = container_of(ref, struct fastrpc_map, refcount); refcount 227 drivers/misc/fastrpc.c kref_put(&map->refcount, fastrpc_free_map); refcount 233 drivers/misc/fastrpc.c kref_get(&map->refcount); refcount 300 drivers/misc/fastrpc.c cctx = container_of(ref, struct fastrpc_channel_ctx, refcount); refcount 307 drivers/misc/fastrpc.c kref_get(&cctx->refcount); refcount 312 drivers/misc/fastrpc.c kref_put(&cctx->refcount, fastrpc_channel_ctx_free); refcount 322 drivers/misc/fastrpc.c ctx = container_of(ref, struct fastrpc_invoke_ctx, refcount); refcount 344 drivers/misc/fastrpc.c kref_get(&ctx->refcount); refcount 349 drivers/misc/fastrpc.c kref_put(&ctx->refcount, fastrpc_context_free); refcount 471 drivers/misc/fastrpc.c kref_init(&ctx->refcount); refcount 634 drivers/misc/fastrpc.c kref_init(&map->refcount); refcount 1440 drivers/misc/fastrpc.c kref_init(&data->refcount); refcount 38 drivers/misc/habanalabs/command_buffer.c cb = container_of(ref, struct hl_cb, refcount); refcount 158 drivers/misc/habanalabs/command_buffer.c kref_init(&cb->refcount); refcount 199 drivers/misc/habanalabs/command_buffer.c kref_put(&cb->refcount, cb_release); refcount 354 drivers/misc/habanalabs/command_buffer.c kref_get(&cb->refcount); refcount 364 drivers/misc/habanalabs/command_buffer.c kref_put(&cb->refcount, cb_release); refcount 382 drivers/misc/habanalabs/command_buffer.c if (kref_put(&cb->refcount, cb_release) != 1) refcount 55 drivers/misc/habanalabs/command_submission.c kref_get(&cs->refcount); refcount 60 drivers/misc/habanalabs/command_submission.c return kref_get_unless_zero(&cs->refcount); refcount 65 drivers/misc/habanalabs/command_submission.c kref_put(&cs->refcount, cs_do_release); refcount 162 drivers/misc/habanalabs/command_submission.c refcount); refcount 301 drivers/misc/habanalabs/command_submission.c kref_init(&cs->refcount); refcount 49 drivers/misc/habanalabs/context.c ctx = container_of(ref, struct hl_ctx, refcount); refcount 109 drivers/misc/habanalabs/context.c if (kref_put(&ctx->refcount, hl_ctx_do_release) == 1) refcount 123 drivers/misc/habanalabs/context.c kref_init(&ctx->refcount); refcount 163 drivers/misc/habanalabs/context.c kref_get(&ctx->refcount); refcount 168 drivers/misc/habanalabs/context.c return kref_put(&ctx->refcount, hl_ctx_do_release); refcount 115 drivers/misc/habanalabs/debugfs.c kref_read(&cb->refcount), refcount 146 drivers/misc/habanalabs/debugfs.c kref_read(&cs->refcount), refcount 47 drivers/misc/habanalabs/device.c hpriv = container_of(ref, struct hl_fpriv, refcount); refcount 68 drivers/misc/habanalabs/device.c kref_get(&hpriv->refcount); refcount 73 drivers/misc/habanalabs/device.c kref_put(&hpriv->refcount, hpriv_release); refcount 269 drivers/misc/habanalabs/habanalabs.h struct kref refcount; refcount 650 drivers/misc/habanalabs/habanalabs.h struct kref refcount; refcount 731 drivers/misc/habanalabs/habanalabs.h struct kref refcount; refcount 934 drivers/misc/habanalabs/habanalabs.h struct kref refcount; refcount 106 drivers/misc/habanalabs/habanalabs_drv.c kref_init(&hpriv->refcount); refcount 680 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c if (--l2_node->refcount == 0) { refcount 744 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c if (l2_node->refcount > 0) { refcount 759 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c l2_node->refcount++; refcount 826 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c if (--tunnel_node->refcount == 0) { refcount 836 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c return tunnel_node->refcount; refcount 868 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c tunnel_node->refcount++; refcount 894 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c if (decap_l2_node->refcount > 0) { refcount 911 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c decap_l2_node->refcount++; refcount 924 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c if (--decap_l2_node->refcount == 0) { refcount 143 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.h u32 refcount; refcount 164 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.h u16 refcount; refcount 786 drivers/net/ethernet/cavium/liquidio/lio_main.c long refcount, vfs_referencing_pf; refcount 839 drivers/net/ethernet/cavium/liquidio/lio_main.c refcount = module_refcount(THIS_MODULE); refcount 840 drivers/net/ethernet/cavium/liquidio/lio_main.c if (refcount >= vfs_referencing_pf) { refcount 982 drivers/net/ethernet/cavium/liquidio/lio_main.c int i, refcount; refcount 1146 drivers/net/ethernet/cavium/liquidio/lio_main.c refcount = octeon_deregister_device(oct); refcount 1156 drivers/net/ethernet/cavium/liquidio/lio_main.c else if (OCTEON_CN6XXX(oct) || !refcount) refcount 763 drivers/net/ethernet/cavium/liquidio/octeon_device.c int idx, refcount; refcount 801 drivers/net/ethernet/cavium/liquidio/octeon_device.c refcount = atomic_read(oct->adapter_refcount); refcount 804 drivers/net/ethernet/cavium/liquidio/octeon_device.c oct->loc.bus, oct->loc.dev, oct->loc.func, refcount); refcount 806 drivers/net/ethernet/cavium/liquidio/octeon_device.c return refcount; refcount 815 drivers/net/ethernet/cavium/liquidio/octeon_device.c int refcount; refcount 818 drivers/net/ethernet/cavium/liquidio/octeon_device.c refcount = atomic_read(oct->adapter_refcount); refcount 821 drivers/net/ethernet/cavium/liquidio/octeon_device.c oct->loc.bus, oct->loc.dev, oct->loc.func, refcount); refcount 823 drivers/net/ethernet/cavium/liquidio/octeon_device.c return refcount; refcount 4080 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (ha->refcount > 1) refcount 72 drivers/net/ethernet/mellanox/mlx4/cq.c if (refcount_dec_and_test(&mcq->refcount)) refcount 95 drivers/net/ethernet/mellanox/mlx4/cq.c refcount_inc(&cq->refcount); refcount 412 drivers/net/ethernet/mellanox/mlx4/cq.c refcount_set(&cq->refcount, 1); refcount 454 drivers/net/ethernet/mellanox/mlx4/cq.c if (refcount_dec_and_test(&cq->refcount)) refcount 154 drivers/net/ethernet/mellanox/mlx4/icm.c icm->refcount = 0; refcount 267 drivers/net/ethernet/mellanox/mlx4/icm.c ++table->icm[i]->refcount; refcount 287 drivers/net/ethernet/mellanox/mlx4/icm.c ++table->icm[i]->refcount; refcount 303 drivers/net/ethernet/mellanox/mlx4/icm.c if (--table->icm[i]->refcount == 0) { refcount 463 drivers/net/ethernet/mellanox/mlx4/icm.c ++table->icm[i]->refcount; refcount 69 drivers/net/ethernet/mellanox/mlx4/icm.h int refcount; refcount 58 drivers/net/ethernet/mellanox/mlx4/qp.c refcount_inc(&qp->refcount); refcount 69 drivers/net/ethernet/mellanox/mlx4/qp.c if (refcount_dec_and_test(&qp->refcount)) refcount 426 drivers/net/ethernet/mellanox/mlx4/qp.c refcount_set(&qp->refcount, 1); refcount 526 drivers/net/ethernet/mellanox/mlx4/qp.c if (refcount_dec_and_test(&qp->refcount)) refcount 52 drivers/net/ethernet/mellanox/mlx4/srq.c refcount_inc(&srq->refcount); refcount 60 drivers/net/ethernet/mellanox/mlx4/srq.c if (refcount_dec_and_test(&srq->refcount)) refcount 206 drivers/net/ethernet/mellanox/mlx4/srq.c refcount_set(&srq->refcount, 1); refcount 235 drivers/net/ethernet/mellanox/mlx4/srq.c if (refcount_dec_and_test(&srq->refcount)) refcount 114 drivers/net/ethernet/mellanox/mlx5/core/cq.c refcount_set(&cq->refcount, 1); refcount 251 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c refcount_set(&node->refcount, 1); refcount 263 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c refcount_inc(&parent->refcount); refcount 275 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c return refcount_inc_not_zero(&node->refcount); refcount 283 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c refcount_inc(&node->refcount); refcount 292 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c refcount_inc(&node->refcount); refcount 301 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c refcount_inc(&node->refcount); refcount 307 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c refcount_dec(&node->refcount); refcount 313 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c refcount_dec(&node->refcount); refcount 322 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c if (refcount_dec_and_test(&node->refcount)) { refcount 345 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c if (refcount_read(&node->refcount) > 1) { refcount 346 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c refcount_dec(&node->refcount); refcount 1209 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c if (refcount_dec_and_test(&handle->rule[i]->node.refcount)) { refcount 1240 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c refcount_inc(&rule->node.refcount); refcount 1517 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c if (refcount_read(&handle->rule[i]->node.refcount) == 1) { refcount 130 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h refcount_t refcount; refcount 14 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c u32 refcount; refcount 72 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c if (geneve->refcount) { refcount 76 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c geneve->refcount++; refcount 107 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c geneve->refcount++; refcount 121 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c if (--geneve->refcount == 0) { refcount 153 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c if (geneve->refcount) refcount 52 drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c refcount_t refcount; refcount 117 drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c refcount_inc(&vxlanp->refcount); refcount 141 drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c refcount_set(&vxlanp->refcount, 1); refcount 174 drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c if (refcount_dec_and_test(&vxlanp->refcount)) { refcount 56 drivers/net/ethernet/mellanox/mlx5/core/qp.c refcount_inc(&common->refcount); refcount 65 drivers/net/ethernet/mellanox/mlx5/core/qp.c if (refcount_dec_and_test(&common->refcount)) refcount 212 drivers/net/ethernet/mellanox/mlx5/core/qp.c refcount_set(&qp->common.refcount, 1); refcount 184 drivers/net/ethernet/mellanox/mlx5/core/rl.c if (entry->refcount) { refcount 186 drivers/net/ethernet/mellanox/mlx5/core/rl.c entry->refcount++; refcount 197 drivers/net/ethernet/mellanox/mlx5/core/rl.c entry->refcount = 1; refcount 219 drivers/net/ethernet/mellanox/mlx5/core/rl.c if (!entry || !entry->refcount) { refcount 225 drivers/net/ethernet/mellanox/mlx5/core/rl.c entry->refcount--; refcount 226 drivers/net/ethernet/mellanox/mlx5/core/rl.c if (!entry->refcount) { refcount 953 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c refcount_set(&action->refcount, 1); refcount 968 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c refcount_inc(&tbl->refcount); refcount 979 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c refcount_dec(&tbl->refcount); refcount 1159 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c refcount_inc(&dmn->refcount); refcount 1192 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c refcount_dec(&dmn->refcount); refcount 1485 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c refcount_inc(&dmn->refcount); refcount 1512 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c refcount_dec(&dmn->refcount); refcount 1556 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c if (refcount_read(&action->refcount) > 1) refcount 1562 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c refcount_dec(&action->dest_tbl.tbl->refcount); refcount 1565 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c refcount_dec(&action->reformat.dmn->refcount); refcount 1569 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c refcount_dec(&action->reformat.dmn->refcount); refcount 1575 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c refcount_dec(&action->reformat.dmn->refcount); refcount 1580 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c refcount_dec(&action->rewrite.dmn->refcount); refcount 299 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c refcount_set(&dmn->refcount, 1); refcount 366 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c if (refcount_read(&dmn->refcount) > 1) refcount 385 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c refcount_dec(&dmn->peer_dmn->refcount); refcount 390 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c refcount_inc(&dmn->peer_dmn->refcount); refcount 644 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c refcount_inc(&tbl->refcount); refcount 653 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c refcount_set(&matcher->refcount, 1); refcount 676 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c refcount_dec(&tbl->refcount); refcount 754 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c if (refcount_read(&matcher->refcount) > 1) refcount 761 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c refcount_dec(&matcher->tbl->refcount); refcount 212 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c new_ste->refcount = cur_ste->refcount; refcount 537 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c refcount_dec(&action_mem->action->refcount); refcount 557 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c refcount_inc(&action_mem->action->refcount); refcount 1235 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c refcount_inc(&matcher->refcount); refcount 1239 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c refcount_dec(&matcher->refcount); refcount 1259 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c refcount_dec(&matcher->refcount); refcount 343 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c dst->refcount = src->refcount; refcount 560 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c return !ste->refcount; refcount 684 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c htbl->refcount = 0; refcount 691 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c ste->refcount = 0; refcount 708 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c if (htbl->refcount) refcount 73 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_table.c refcount_dec(&tbl->miss_action->refcount); refcount 78 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_table.c refcount_inc(&action->refcount); refcount 240 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_table.c refcount_inc(&dmn->refcount); refcount 248 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_table.c refcount_set(&tbl->refcount, 1); refcount 265 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_table.c refcount_dec(&dmn->refcount); refcount 273 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_table.c if (refcount_read(&tbl->refcount) > 1) refcount 283 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_table.c refcount_dec(&tbl->miss_action->refcount); refcount 285 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_table.c refcount_dec(&tbl->dmn->refcount); refcount 120 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h u32 refcount; refcount 152 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h u32 refcount; refcount 203 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h htbl->refcount--; refcount 204 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h if (!htbl->refcount) refcount 210 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h htbl->refcount++; refcount 252 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h ste->refcount--; refcount 253 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h if (!ste->refcount) refcount 260 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h ste->refcount++; refcount 653 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h refcount_t refcount; refcount 677 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h refcount_t refcount; refcount 701 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h refcount_t refcount; refcount 715 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h refcount_t refcount; refcount 92 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c atomic_t refcount; refcount 318 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c atomic_set(&area->refcount, 0); refcount 405 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (atomic_read(&area->refcount)) refcount 421 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (atomic_inc_return(&area->refcount) > 1) refcount 433 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c atomic_dec(&area->refcount); refcount 476 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (atomic_inc_return(&area->refcount) == 1) { refcount 482 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c atomic_dec(&area->refcount); refcount 504 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (atomic_dec_and_test(&area->refcount)) { refcount 268 drivers/net/wireless/intersil/orinoco/orinoco_usb.c refcount_t refcount; refcount 298 drivers/net/wireless/intersil/orinoco/orinoco_usb.c if (!refcount_dec_and_test(&ctx->refcount)) refcount 328 drivers/net/wireless/intersil/orinoco/orinoco_usb.c refcount_inc(&ctx->refcount); refcount 361 drivers/net/wireless/intersil/orinoco/orinoco_usb.c refcount_set(&ctx->refcount, 1); refcount 469 drivers/net/wireless/intersil/orinoco/orinoco_usb.c refcount_inc(&ctx->refcount); refcount 507 drivers/net/wireless/intersil/orinoco/orinoco_usb.c refcount_inc(&ctx->refcount); refcount 1477 drivers/net/wireless/intersil/orinoco/orinoco_usb.c refcount_inc(&ctx->refcount); refcount 112 drivers/pci/hotplug/acpiphp.h unsigned int refcount; refcount 67 drivers/pci/hotplug/acpiphp_glue.c context->refcount = 1; refcount 88 drivers/pci/hotplug/acpiphp_glue.c context->refcount++; refcount 102 drivers/pci/hotplug/acpiphp_glue.c if (--context->refcount) refcount 154 drivers/pci/hotplug/pnv_php.c int refcount; refcount 160 drivers/pci/hotplug/pnv_php.c refcount = kref_read(&dn->kobj.kref); refcount 161 drivers/pci/hotplug/pnv_php.c if (refcount != 1) refcount 163 drivers/pci/hotplug/pnv_php.c refcount, dn); refcount 773 drivers/pinctrl/sunxi/pinctrl-sunxi.c refcount_inc(&s_reg->refcount); refcount 795 drivers/pinctrl/sunxi/pinctrl-sunxi.c refcount_set(&s_reg->refcount, 1); refcount 813 drivers/pinctrl/sunxi/pinctrl-sunxi.c if (!refcount_dec_and_test(&s_reg->refcount)) refcount 154 drivers/pinctrl/sunxi/pinctrl-sunxi.h refcount_t refcount; refcount 535 drivers/rapidio/devices/rio_mport_cdev.c struct kref refcount; refcount 573 drivers/rapidio/devices/rio_mport_cdev.c refcount); refcount 605 drivers/rapidio/devices/rio_mport_cdev.c kref_put(&req->refcount, dma_req_free); refcount 740 drivers/rapidio/devices/rio_mport_cdev.c kref_get(&req->refcount); refcount 751 drivers/rapidio/devices/rio_mport_cdev.c kref_put(&req->refcount, dma_req_free); refcount 834 drivers/rapidio/devices/rio_mport_cdev.c kref_init(&req->refcount); refcount 959 drivers/rapidio/devices/rio_mport_cdev.c kref_put(&req->refcount, dma_req_free); refcount 1075 drivers/rapidio/devices/rio_mport_cdev.c kref_put(&req->refcount, dma_req_free); refcount 1976 drivers/rapidio/devices/rio_mport_cdev.c kref_put(&req->refcount, dma_req_free); refcount 506 drivers/remoteproc/remoteproc_core.c kref_init(&rvdev->refcount); refcount 572 drivers/remoteproc/remoteproc_core.c struct rproc_vdev *rvdev = container_of(ref, struct rproc_vdev, refcount); refcount 1292 drivers/remoteproc/remoteproc_core.c kref_put(&rvdev->refcount, rproc_vdev_release); refcount 315 drivers/remoteproc/remoteproc_virtio.c kref_put(&rvdev->refcount, rproc_vdev_release); refcount 414 drivers/remoteproc/remoteproc_virtio.c kref_get(&rvdev->refcount); refcount 160 drivers/rpmsg/qcom_glink_native.c struct kref refcount; refcount 235 drivers/rpmsg/qcom_glink_native.c kref_init(&channel->refcount); refcount 243 drivers/rpmsg/qcom_glink_native.c refcount); refcount 417 drivers/rpmsg/qcom_glink_native.c kref_get(&channel->refcount); refcount 1088 drivers/rpmsg/qcom_glink_native.c kref_put(&channel->refcount, qcom_glink_channel_release); refcount 1090 drivers/rpmsg/qcom_glink_native.c kref_put(&channel->refcount, qcom_glink_channel_release); refcount 1453 drivers/rpmsg/qcom_glink_native.c kref_put(&channel->refcount, qcom_glink_channel_release); refcount 1488 drivers/rpmsg/qcom_glink_native.c kref_put(&channel->refcount, qcom_glink_channel_release); refcount 1507 drivers/rpmsg/qcom_glink_native.c kref_put(&channel->refcount, qcom_glink_channel_release); refcount 1662 drivers/rpmsg/qcom_glink_native.c kref_put(&channel->refcount, qcom_glink_channel_release); refcount 1666 drivers/rpmsg/qcom_glink_native.c kref_put(&channel->refcount, qcom_glink_channel_release); refcount 897 drivers/rpmsg/qcom_smd.c refcount); refcount 931 drivers/rpmsg/qcom_smd.c kref_init(&ept->refcount); refcount 949 drivers/rpmsg/qcom_smd.c kref_put(&ept->refcount, __ept_release); refcount 960 drivers/rpmsg/qcom_smd.c kref_put(&ept->refcount, __ept_release); refcount 223 drivers/rpmsg/virtio_rpmsg_bus.c refcount); refcount 245 drivers/rpmsg/virtio_rpmsg_bus.c kref_init(&ept->refcount); refcount 278 drivers/rpmsg/virtio_rpmsg_bus.c kref_put(&ept->refcount, __ept_release); refcount 315 drivers/rpmsg/virtio_rpmsg_bus.c kref_put(&ept->refcount, __ept_release); refcount 733 drivers/rpmsg/virtio_rpmsg_bus.c kref_get(&ept->refcount); refcount 748 drivers/rpmsg/virtio_rpmsg_bus.c kref_put(&ept->refcount, __ept_release); refcount 76 drivers/s390/crypto/zcrypt_api.h struct kref refcount; /* device refcounting */ refcount 93 drivers/s390/crypto/zcrypt_api.h struct kref refcount; /* device refcounting */ refcount 114 drivers/s390/crypto/zcrypt_card.c kref_init(&zc->refcount); refcount 128 drivers/s390/crypto/zcrypt_card.c container_of(kref, struct zcrypt_card, refcount); refcount 134 drivers/s390/crypto/zcrypt_card.c kref_get(&zc->refcount); refcount 140 drivers/s390/crypto/zcrypt_card.c return kref_put(&zc->refcount, zcrypt_card_release); refcount 115 drivers/s390/crypto/zcrypt_queue.c kref_init(&zq->refcount); refcount 134 drivers/s390/crypto/zcrypt_queue.c container_of(kref, struct zcrypt_queue, refcount); refcount 140 drivers/s390/crypto/zcrypt_queue.c kref_get(&zq->refcount); refcount 146 drivers/s390/crypto/zcrypt_queue.c return kref_put(&zq->refcount, zcrypt_queue_release); refcount 165 drivers/s390/scsi/zfcp_fc.c atomic_inc(&wka_port->refcount); refcount 178 drivers/s390/scsi/zfcp_fc.c if ((atomic_read(&wka_port->refcount) != 0) || refcount 193 drivers/s390/scsi/zfcp_fc.c if (atomic_dec_return(&wka_port->refcount) != 0) refcount 208 drivers/s390/scsi/zfcp_fc.c atomic_set(&wka_port->refcount, 0); refcount 200 drivers/s390/scsi/zfcp_fc.h atomic_t refcount; refcount 428 drivers/scsi/bnx2fc/bnx2fc.h struct kref refcount; refcount 41 drivers/scsi/bnx2fc/bnx2fc_els.c kref_put(&orig_io_req->refcount, bnx2fc_cmd_release); refcount 116 drivers/scsi/bnx2fc/bnx2fc_els.c kref_put(&aborted_io_req->refcount, bnx2fc_cmd_release); refcount 372 drivers/scsi/bnx2fc/bnx2fc_els.c kref_put(&orig_io_req->refcount, bnx2fc_cmd_release); refcount 578 drivers/scsi/bnx2fc/bnx2fc_els.c kref_put(&orig_io_req->refcount, bnx2fc_cmd_release); refcount 601 drivers/scsi/bnx2fc/bnx2fc_els.c kref_get(&orig_io_req->refcount); refcount 616 drivers/scsi/bnx2fc/bnx2fc_els.c kref_put(&orig_io_req->refcount, bnx2fc_cmd_release); refcount 642 drivers/scsi/bnx2fc/bnx2fc_els.c kref_get(&orig_io_req->refcount); refcount 660 drivers/scsi/bnx2fc/bnx2fc_els.c kref_put(&orig_io_req->refcount, bnx2fc_cmd_release); refcount 724 drivers/scsi/bnx2fc/bnx2fc_els.c kref_put(&els_req->refcount, bnx2fc_cmd_release); refcount 745 drivers/scsi/bnx2fc/bnx2fc_els.c kref_put(&els_req->refcount, bnx2fc_cmd_release); refcount 785 drivers/scsi/bnx2fc/bnx2fc_els.c kref_put(&els_req->refcount, bnx2fc_cmd_release); refcount 821 drivers/scsi/bnx2fc/bnx2fc_els.c kref_put(&els_req->refcount, bnx2fc_cmd_release); refcount 827 drivers/scsi/bnx2fc/bnx2fc_els.c kref_put(&els_req->refcount, refcount 854 drivers/scsi/bnx2fc/bnx2fc_els.c kref_put(&els_req->refcount, bnx2fc_cmd_release); refcount 789 drivers/scsi/bnx2fc/bnx2fc_hwi.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 942 drivers/scsi/bnx2fc/bnx2fc_hwi.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 960 drivers/scsi/bnx2fc/bnx2fc_hwi.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 967 drivers/scsi/bnx2fc/bnx2fc_hwi.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 37 drivers/scsi/bnx2fc/bnx2fc_io.c kref_get(&io_req->refcount); refcount 78 drivers/scsi/bnx2fc/bnx2fc_io.c kref_read(&io_req->refcount)); refcount 86 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 107 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 124 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 158 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 460 drivers/scsi/bnx2fc/bnx2fc_io.c kref_init(&io_req->refcount); refcount 515 drivers/scsi/bnx2fc/bnx2fc_io.c kref_init(&io_req->refcount); refcount 522 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_cmd, refcount); refcount 733 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 805 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 946 drivers/scsi/bnx2fc/bnx2fc_io.c kref_get(&orig_io_req->refcount); refcount 1108 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 1157 drivers/scsi/bnx2fc/bnx2fc_io.c kref_read(&io_req->refcount)); refcount 1160 drivers/scsi/bnx2fc/bnx2fc_io.c kref_get(&io_req->refcount); refcount 1173 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 1208 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, refcount 1227 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, refcount 1275 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 1279 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 1313 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&orig_io_req->refcount, bnx2fc_cmd_release); refcount 1325 drivers/scsi/bnx2fc/bnx2fc_io.c kref_read(&io_req->refcount), io_req->cmd_type); refcount 1346 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 1363 drivers/scsi/bnx2fc/bnx2fc_io.c kref_read(&io_req->refcount), io_req->cmd_type); refcount 1395 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, refcount 1447 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 1475 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, refcount 1508 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, refcount 1612 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 1939 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, refcount 2029 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 2075 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 2089 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 2095 drivers/scsi/bnx2fc/bnx2fc_io.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 192 drivers/scsi/bnx2fc/bnx2fc_tgt.c kref_put(&io_req->refcount, refcount 225 drivers/scsi/bnx2fc/bnx2fc_tgt.c kref_put(&io_req->refcount, refcount 257 drivers/scsi/bnx2fc/bnx2fc_tgt.c kref_put(&io_req->refcount, bnx2fc_cmd_release); refcount 1822 drivers/scsi/hpsa.c int refcount = atomic_inc_return(&c->refcount); refcount 1824 drivers/scsi/hpsa.c if (refcount > 1 && hpsa_cmd_dev_match(h, c, dev, refcount 5493 drivers/scsi/hpsa.c memset(c, 0, offsetof(struct CommandList, refcount)); refcount 5516 drivers/scsi/hpsa.c atomic_set(&c->refcount, 0); refcount 6104 drivers/scsi/hpsa.c atomic_inc(&c->refcount); refcount 6116 drivers/scsi/hpsa.c (void)atomic_dec(&c->refcount); refcount 6131 drivers/scsi/hpsa.c int refcount, i; refcount 6162 drivers/scsi/hpsa.c refcount = atomic_inc_return(&c->refcount); refcount 6163 drivers/scsi/hpsa.c if (unlikely(refcount > 1)) { refcount 6185 drivers/scsi/hpsa.c if (atomic_dec_and_test(&c->refcount)) { refcount 8188 drivers/scsi/hpsa.c int i, refcount; refcount 8195 drivers/scsi/hpsa.c refcount = atomic_inc_return(&c->refcount); refcount 8196 drivers/scsi/hpsa.c if (refcount > 1) { refcount 9497 drivers/scsi/hpsa.c int refcount; refcount 9503 drivers/scsi/hpsa.c refcount = atomic_inc_return(&c->refcount); refcount 9504 drivers/scsi/hpsa.c if (refcount > 1) /* Command is allocated */ refcount 452 drivers/scsi/hpsa_cmd.h atomic_t refcount; /* Must be last to avoid memset in hpsa_cmd_init() */ refcount 482 drivers/scsi/libiscsi.c refcount_inc(&task->refcount); refcount 488 drivers/scsi/libiscsi.c if (refcount_dec_and_test(&task->refcount)) refcount 709 drivers/scsi/libiscsi.c refcount_set(&task->refcount, 1); refcount 1610 drivers/scsi/libiscsi.c refcount_set(&task->refcount, 1); refcount 548 drivers/scsi/mpt3sas/mpt3sas_base.h struct kref refcount; refcount 553 drivers/scsi/mpt3sas/mpt3sas_base.h kref_get(&s->refcount); refcount 558 drivers/scsi/mpt3sas/mpt3sas_base.h kfree(container_of(r, struct _sas_device, refcount)); refcount 563 drivers/scsi/mpt3sas/mpt3sas_base.h kref_put(&s->refcount, sas_device_free); refcount 609 drivers/scsi/mpt3sas/mpt3sas_base.h struct kref refcount; refcount 622 drivers/scsi/mpt3sas/mpt3sas_base.h kref_get(&p->refcount); refcount 634 drivers/scsi/mpt3sas/mpt3sas_base.h kfree(container_of(r, struct _pcie_device, refcount)); refcount 650 drivers/scsi/mpt3sas/mpt3sas_base.h kref_put(&p->refcount, pcie_device_free); refcount 209 drivers/scsi/mpt3sas/mpt3sas_scsih.c struct kref refcount; refcount 215 drivers/scsi/mpt3sas/mpt3sas_scsih.c kfree(container_of(r, struct fw_event_work, refcount)); refcount 220 drivers/scsi/mpt3sas/mpt3sas_scsih.c kref_get(&fw_work->refcount); refcount 225 drivers/scsi/mpt3sas/mpt3sas_scsih.c kref_put(&fw_work->refcount, fw_event_work_free); refcount 236 drivers/scsi/mpt3sas/mpt3sas_scsih.c kref_init(&fw_event->refcount); refcount 6116 drivers/scsi/mpt3sas/mpt3sas_scsih.c kref_init(&sas_device->refcount); refcount 6896 drivers/scsi/mpt3sas/mpt3sas_scsih.c kref_init(&pcie_device->refcount); refcount 140 drivers/scsi/qedf/qedf.h struct kref refcount; refcount 291 drivers/scsi/qedf/qedf.h int refcount; /* Reference count for task id */ refcount 267 drivers/scsi/qedf/qedf_debugfs.c seq_printf(s, "%d:", io_log->refcount); refcount 84 drivers/scsi/qedf/qedf_els.c kref_put(&els_req->refcount, qedf_release_cmd); refcount 97 drivers/scsi/qedf/qedf_els.c kref_put(&els_req->refcount, qedf_release_cmd); refcount 165 drivers/scsi/qedf/qedf_els.c kref_put(&els_req->refcount, qedf_release_cmd); refcount 173 drivers/scsi/qedf/qedf_els.c int refcount; refcount 192 drivers/scsi/qedf/qedf_els.c refcount = kref_read(&orig_io_req->refcount); refcount 195 drivers/scsi/qedf/qedf_els.c orig_io_req, orig_io_req->xid, rrq_req->xid, refcount); refcount 202 drivers/scsi/qedf/qedf_els.c if (orig_io_req && refcount > 0) refcount 203 drivers/scsi/qedf/qedf_els.c kref_put(&orig_io_req->refcount, qedf_release_cmd); refcount 213 drivers/scsi/qedf/qedf_els.c kref_put(&rrq_req->refcount, qedf_release_cmd); refcount 229 drivers/scsi/qedf/qedf_els.c int refcount; refcount 239 drivers/scsi/qedf/qedf_els.c refcount = kref_read(&aborted_io_req->refcount); refcount 242 drivers/scsi/qedf/qedf_els.c aborted_io_req->xid, refcount); refcount 243 drivers/scsi/qedf/qedf_els.c kref_put(&aborted_io_req->refcount, qedf_release_cmd); refcount 264 drivers/scsi/qedf/qedf_els.c refcount = kref_read(&aborted_io_req->refcount); refcount 265 drivers/scsi/qedf/qedf_els.c if (refcount != 1) { refcount 268 drivers/scsi/qedf/qedf_els.c aborted_io_req->xid, aborted_io_req, refcount); refcount 305 drivers/scsi/qedf/qedf_els.c kref_put(&aborted_io_req->refcount, qedf_release_cmd); refcount 534 drivers/scsi/qedf/qedf_els.c int refcount; refcount 554 drivers/scsi/qedf/qedf_els.c refcount = kref_read(&orig_io_req->refcount); refcount 557 drivers/scsi/qedf/qedf_els.c orig_io_req, orig_io_req->xid, srr_req->xid, refcount); refcount 603 drivers/scsi/qedf/qedf_els.c kref_put(&orig_io_req->refcount, qedf_release_cmd); refcount 637 drivers/scsi/qedf/qedf_els.c kref_get(&orig_io_req->refcount); refcount 673 drivers/scsi/qedf/qedf_els.c kref_put(&orig_io_req->refcount, qedf_release_cmd); refcount 704 drivers/scsi/qedf/qedf_els.c kref_get(&orig_io_req->refcount); refcount 752 drivers/scsi/qedf/qedf_els.c kref_put(&io_req->refcount, qedf_release_cmd); refcount 790 drivers/scsi/qedf/qedf_els.c kref_put(&orig_io_req->refcount, qedf_release_cmd); refcount 829 drivers/scsi/qedf/qedf_els.c int refcount; refcount 853 drivers/scsi/qedf/qedf_els.c refcount = kref_read(&orig_io_req->refcount); refcount 856 drivers/scsi/qedf/qedf_els.c orig_io_req, orig_io_req->xid, rec_req->xid, refcount); refcount 970 drivers/scsi/qedf/qedf_els.c kref_put(&orig_io_req->refcount, qedf_release_cmd); refcount 1007 drivers/scsi/qedf/qedf_els.c kref_get(&orig_io_req->refcount); refcount 1043 drivers/scsi/qedf/qedf_els.c kref_put(&orig_io_req->refcount, qedf_release_cmd); refcount 60 drivers/scsi/qedf/qedf_io.c kref_put(&io_req->refcount, qedf_release_cmd); refcount 81 drivers/scsi/qedf/qedf_io.c kref_get(&io_req->refcount); refcount 97 drivers/scsi/qedf/qedf_io.c kref_put(&io_req->refcount, qedf_release_cmd); refcount 382 drivers/scsi/qedf/qedf_io.c kref_init(&io_req->refcount); /* ID: 001 */ refcount 390 drivers/scsi/qedf/qedf_io.c kref_put(&io_req->refcount, qedf_release_cmd); refcount 442 drivers/scsi/qedf/qedf_io.c container_of(ref, struct qedf_ioreq, refcount); refcount 833 drivers/scsi/qedf/qedf_io.c io_log->refcount = kref_read(&io_req->refcount); refcount 895 drivers/scsi/qedf/qedf_io.c kref_put(&io_req->refcount, qedf_release_cmd); refcount 904 drivers/scsi/qedf/qedf_io.c kref_put(&io_req->refcount, qedf_release_cmd); refcount 923 drivers/scsi/qedf/qedf_io.c kref_put(&io_req->refcount, qedf_release_cmd); refcount 1134 drivers/scsi/qedf/qedf_io.c int refcount; refcount 1244 drivers/scsi/qedf/qedf_io.c refcount = kref_read(&io_req->refcount); refcount 1254 drivers/scsi/qedf/qedf_io.c refcount); refcount 1310 drivers/scsi/qedf/qedf_io.c kref_put(&io_req->refcount, qedf_release_cmd); refcount 1319 drivers/scsi/qedf/qedf_io.c int refcount; refcount 1394 drivers/scsi/qedf/qedf_io.c refcount = kref_read(&io_req->refcount); refcount 1402 drivers/scsi/qedf/qedf_io.c refcount); refcount 1416 drivers/scsi/qedf/qedf_io.c kref_put(&io_req->refcount, qedf_release_cmd); refcount 1425 drivers/scsi/qedf/qedf_io.c kref_put(&io_req->refcount, qedf_release_cmd); /* ID: 001 */ refcount 1541 drivers/scsi/qedf/qedf_io.c kref_read(&els_req->refcount)); refcount 1559 drivers/scsi/qedf/qedf_io.c kref_put(&els_req->refcount, qedf_release_cmd); refcount 1574 drivers/scsi/qedf/qedf_io.c int refcount = 0; refcount 1659 drivers/scsi/qedf/qedf_io.c refcount = kref_read(&io_req->refcount); refcount 1662 drivers/scsi/qedf/qedf_io.c io_req->xid, io_req->cmd_type, refcount); refcount 1674 drivers/scsi/qedf/qedf_io.c kref_put(&io_req->refcount, refcount 1684 drivers/scsi/qedf/qedf_io.c rc = kref_get_unless_zero(&io_req->refcount); refcount 1702 drivers/scsi/qedf/qedf_io.c rc = kref_get_unless_zero(&io_req->refcount); refcount 1719 drivers/scsi/qedf/qedf_io.c kref_put(&io_req->refcount, qedf_release_cmd); refcount 1733 drivers/scsi/qedf/qedf_io.c kref_put(&io_req->refcount, qedf_release_cmd); refcount 1748 drivers/scsi/qedf/qedf_io.c kref_put(&io_req->refcount, qedf_release_cmd); refcount 1760 drivers/scsi/qedf/qedf_io.c rc = kref_get_unless_zero(&io_req->refcount); refcount 1775 drivers/scsi/qedf/qedf_io.c kref_put(&io_req->refcount, qedf_release_cmd); /* ID: 004 */ refcount 1800 drivers/scsi/qedf/qedf_io.c refcount = refcount 1801 drivers/scsi/qedf/qedf_io.c kref_read(&io_req->refcount); refcount 1809 drivers/scsi/qedf/qedf_io.c refcount, refcount 1843 drivers/scsi/qedf/qedf_io.c int refcount = 0; refcount 1899 drivers/scsi/qedf/qedf_io.c kref_get(&io_req->refcount); refcount 1910 drivers/scsi/qedf/qedf_io.c refcount = kref_read(&io_req->refcount); refcount 1913 drivers/scsi/qedf/qedf_io.c xid, refcount); refcount 1982 drivers/scsi/qedf/qedf_io.c rc = kref_get_unless_zero(&io_req->refcount); /* ID: 003 */ refcount 2022 drivers/scsi/qedf/qedf_io.c kref_put(&io_req->refcount, qedf_release_cmd); refcount 2141 drivers/scsi/qedf/qedf_io.c int refcount = 0; refcount 2187 drivers/scsi/qedf/qedf_io.c refcount = kref_read(&io_req->refcount); refcount 2192 drivers/scsi/qedf/qedf_io.c refcount, fcport, fcport->rdata->ids.port_id); refcount 2372 drivers/scsi/qedf/qedf_io.c kref_put(&io_req->refcount, qedf_release_cmd); refcount 2420 drivers/scsi/qedf/qedf_io.c ref_cnt = kref_read(&io_req->refcount); refcount 659 drivers/scsi/qedf/qedf_main.c int refcount = 0; refcount 686 drivers/scsi/qedf/qedf_main.c rval = kref_get_unless_zero(&io_req->refcount); /* ID: 005 */ refcount 700 drivers/scsi/qedf/qedf_main.c refcount = kref_read(&io_req->refcount); refcount 704 drivers/scsi/qedf/qedf_main.c refcount, rdata->ids.port_id); refcount 787 drivers/scsi/qedf/qedf_main.c kref_put(&io_req->refcount, qedf_release_cmd); refcount 236 drivers/scsi/qedi/qedi.h int refcount; /* Reference count for task id */ refcount 1370 drivers/scsi/qedi/qedi_iscsi.c refcount_read(&task->refcount)); refcount 1041 drivers/scsi/smartpqi/smartpqi.h atomic_t refcount; refcount 570 drivers/scsi/smartpqi/smartpqi_init.c if (atomic_inc_return(&io_request->refcount) == 1) refcount 572 drivers/scsi/smartpqi/smartpqi_init.c atomic_dec(&io_request->refcount); refcount 586 drivers/scsi/smartpqi/smartpqi_init.c atomic_dec(&io_request->refcount); refcount 2932 drivers/scsi/smartpqi/smartpqi_init.c WARN_ON(atomic_read(&io_request->refcount) == 0); refcount 7793 drivers/scsi/smartpqi/smartpqi_init.c if (atomic_read(&io_request->refcount) == 0) refcount 7934 drivers/scsi/smartpqi/smartpqi_init.c if (atomic_read(&io_request->refcount) == 0) refcount 26 drivers/soc/qcom/smem_state.c struct kref refcount; refcount 67 drivers/soc/qcom/smem_state.c kref_get(&state->refcount); refcount 136 drivers/soc/qcom/smem_state.c struct qcom_smem_state *state = container_of(ref, struct qcom_smem_state, refcount); refcount 149 drivers/soc/qcom/smem_state.c kref_put(&state->refcount, qcom_smem_state_release); refcount 170 drivers/soc/qcom/smem_state.c kref_init(&state->refcount); refcount 25 drivers/staging/comedi/comedi_buf.c container_of(kref, struct comedi_buf_map, refcount); refcount 86 drivers/staging/comedi/comedi_buf.c kref_init(&bm->refcount); refcount 193 drivers/staging/comedi/comedi_buf.c kref_get(&bm->refcount); refcount 199 drivers/staging/comedi/comedi_buf.c return kref_put(&bm->refcount, comedi_buf_map_kref_release); refcount 254 drivers/staging/comedi/comedi_buf.c return bm && (kref_read(&bm->refcount) > 1); refcount 103 drivers/staging/comedi/comedi_fops.c kref_init(&dev->refcount); refcount 113 drivers/staging/comedi/comedi_fops.c container_of(kref, struct comedi_device, refcount); refcount 135 drivers/staging/comedi/comedi_fops.c return kref_put(&dev->refcount, comedi_dev_kref_release); refcount 143 drivers/staging/comedi/comedi_fops.c kref_get(&dev->refcount); refcount 254 drivers/staging/comedi/comedidev.h struct kref refcount; refcount 559 drivers/staging/comedi/comedidev.h struct kref refcount; refcount 268 drivers/staging/fieldbus/anybuss/host.c struct kref refcount; refcount 289 drivers/staging/fieldbus/anybuss/host.c kref_init(&t->refcount); refcount 297 drivers/staging/fieldbus/anybuss/host.c static void __ab_task_destroy(struct kref *refcount) refcount 299 drivers/staging/fieldbus/anybuss/host.c struct ab_task *t = container_of(refcount, struct ab_task, refcount); refcount 307 drivers/staging/fieldbus/anybuss/host.c kref_put(&t->refcount, __ab_task_destroy); refcount 312 drivers/staging/fieldbus/anybuss/host.c kref_get(&t->refcount); refcount 35 drivers/staging/gasket/gasket_sysfs.c struct kref refcount; refcount 64 drivers/staging/gasket/gasket_sysfs.c kref_get(&dev_mappings[i].refcount); refcount 90 drivers/staging/gasket/gasket_sysfs.c if (kref_put(&mapping->refcount, release_entry)) { refcount 206 drivers/staging/gasket/gasket_sysfs.c kref_init(&mapping->refcount); refcount 1231 drivers/staging/greybus/camera.c container_of(ref, struct gb_camera_module, refcount); refcount 114 drivers/staging/greybus/gb-camera.h struct kref refcount; refcount 45 drivers/tee/tee_core.c kref_init(&ctx->refcount); refcount 65 drivers/tee/tee_core.c kref_get(&ctx->refcount); refcount 71 drivers/tee/tee_core.c refcount); refcount 82 drivers/tee/tee_core.c kref_put(&ctx->refcount, teedev_ctx_release); refcount 48 drivers/tty/amiserial.c tty->name, (info->tport.flags), serial_driver->refcount,info->count,tty->count,s) refcount 2497 drivers/tty/n_tty.c ops->refcount = ops->flags = 0; refcount 58 drivers/tty/serial/serial_core.c if (atomic_add_unless(&state->refcount, 1, 0)) refcount 65 drivers/tty/serial/serial_core.c if (atomic_dec_and_test(&uport->state->refcount)) refcount 2811 drivers/tty/serial/serial_core.c atomic_set(&state->refcount, 1); refcount 2951 drivers/tty/serial/serial_core.c WARN_ON(atomic_dec_return(&state->refcount) < 0); refcount 2952 drivers/tty/serial/serial_core.c wait_event(state->remove_wait, !atomic_read(&state->refcount)); refcount 3378 drivers/tty/tty_io.c if (driver->refcount) refcount 72 drivers/tty/tty_ldisc.c new_ldisc->refcount = 0; refcount 100 drivers/tty/tty_ldisc.c if (tty_ldiscs[disc]->refcount) refcount 121 drivers/tty/tty_ldisc.c ldops->refcount++; refcount 134 drivers/tty/tty_ldisc.c ldops->refcount--; refcount 191 drivers/tty/vt/consolemap.c unsigned long refcount; refcount 428 drivers/tty/vt/consolemap.c if (--p->refcount) refcount 464 drivers/tty/vt/consolemap.c q->refcount++; refcount 509 drivers/tty/vt/consolemap.c if (!p || --p->refcount) { refcount 513 drivers/tty/vt/consolemap.c p->refcount++; refcount 516 drivers/tty/vt/consolemap.c q->refcount=1; refcount 520 drivers/tty/vt/consolemap.c p->refcount++; refcount 560 drivers/tty/vt/consolemap.c if (p->refcount > 1) { refcount 597 drivers/tty/vt/consolemap.c p->refcount++; refcount 670 drivers/tty/vt/consolemap.c dflt->refcount++; refcount 672 drivers/tty/vt/consolemap.c if (p && !--p->refcount) { refcount 725 drivers/tty/vt/consolemap.c q->refcount++; refcount 694 drivers/usb/atm/usbatm.c struct usbatm_data *instance = container_of(kref, struct usbatm_data, refcount); refcount 704 drivers/usb/atm/usbatm.c kref_get(&instance->refcount); refcount 709 drivers/usb/atm/usbatm.c kref_put(&instance->refcount, usbatm_destroy_instance); refcount 1060 drivers/usb/atm/usbatm.c kref_init(&instance->refcount); /* dropped in usbatm_usb_disconnect */ refcount 142 drivers/usb/atm/usbatm.h struct kref refcount; refcount 4023 drivers/usb/dwc2/hcd.c dwc_tt->refcount++; refcount 4046 drivers/usb/dwc2/hcd.c WARN_ON(dwc_tt->refcount < 1); refcount 4048 drivers/usb/dwc2/hcd.c dwc_tt->refcount--; refcount 4049 drivers/usb/dwc2/hcd.c if (!dwc_tt->refcount) { refcount 236 drivers/usb/dwc2/hcd.h int refcount; refcount 95 drivers/vhost/net.c atomic_t refcount; refcount 243 drivers/vhost/net.c atomic_set(&ubufs->refcount, 1); refcount 251 drivers/vhost/net.c int r = atomic_sub_return(1, &ubufs->refcount); refcount 260 drivers/vhost/net.c wait_event(ubufs->wait, !atomic_read(&ubufs->refcount)); refcount 909 drivers/vhost/net.c atomic_inc(&ubufs->refcount); refcount 1381 drivers/vhost/net.c atomic_set(&n->vqs[VHOST_NET_VQ_TX].ubufs->refcount, 1); refcount 371 drivers/video/fbdev/vermilion/vermilion.c if (atomic_dec_and_test(&par->refcount)) { refcount 459 drivers/video/fbdev/vermilion/vermilion.c atomic_set(&par->refcount, 1); refcount 188 drivers/video/fbdev/vermilion/vermilion.h atomic_t refcount; refcount 42 drivers/xen/gntdev-dmabuf.c struct kref refcount; refcount 113 drivers/xen/gntdev-dmabuf.c kref_put(&gntdev_dmabuf->u.exp.refcount, dmabuf_exp_release); refcount 159 drivers/xen/gntdev-dmabuf.c kref_get(&gntdev_dmabuf->u.exp.refcount); refcount 316 drivers/xen/gntdev-dmabuf.c container_of(kref, struct gntdev_dmabuf, u.exp.refcount); refcount 341 drivers/xen/gntdev-dmabuf.c kref_put(&gntdev_dmabuf->u.exp.refcount, dmabuf_exp_release); refcount 396 drivers/xen/gntdev-dmabuf.c kref_init(&gntdev_dmabuf->u.exp.refcount); refcount 60 drivers/xen/pvcalls-front.c atomic_t refcount; refcount 112 drivers/xen/pvcalls-front.c atomic_inc(&map->refcount); refcount 121 drivers/xen/pvcalls-front.c atomic_dec(&map->refcount); refcount 1054 drivers/xen/pvcalls-front.c while (atomic_read(&map->refcount) > 1) refcount 1062 drivers/xen/pvcalls-front.c while (atomic_read(&map->refcount) > 1) refcount 1017 fs/cifs/cifsglob.h struct kref refcount; refcount 1283 fs/cifs/cifsglob.h struct kref refcount; refcount 1308 fs/cifs/cifsglob.h struct kref refcount; refcount 1342 fs/cifs/cifsglob.h struct kref refcount; refcount 1526 fs/cifs/cifsglob.h struct kref refcount; refcount 552 fs/cifs/cifsproto.h void cifs_readdata_release(struct kref *refcount); refcount 563 fs/cifs/cifsproto.h void cifs_writedata_release(struct kref *refcount); refcount 578 fs/cifs/cifsproto.h void cifs_aio_ctx_release(struct kref *refcount); refcount 1800 fs/cifs/cifssmb.c kref_get(&rdata->refcount); refcount 1807 fs/cifs/cifssmb.c kref_put(&rdata->refcount, cifs_readdata_release); refcount 2045 fs/cifs/cifssmb.c cifs_writedata_release(struct kref *refcount) refcount 2047 fs/cifs/cifssmb.c struct cifs_writedata *wdata = container_of(refcount, refcount 2048 fs/cifs/cifssmb.c struct cifs_writedata, refcount); refcount 2138 fs/cifs/cifssmb.c kref_put(&wdata2->refcount, cifs_writedata_release); refcount 2159 fs/cifs/cifssmb.c kref_put(&wdata->refcount, cifs_writedata_release); refcount 2190 fs/cifs/cifssmb.c kref_put(&wdata->refcount, cifs_writedata_release); refcount 2212 fs/cifs/cifssmb.c kref_init(&wdata->refcount); refcount 2343 fs/cifs/cifssmb.c kref_get(&wdata->refcount); refcount 2350 fs/cifs/cifssmb.c kref_put(&wdata->refcount, release); refcount 590 fs/cifs/connect.c kref_get(&mid_entry->refcount); refcount 1015 fs/cifs/connect.c kref_get(&mid_entry->refcount); refcount 2347 fs/cifs/file.c kref_put(&wdata->refcount, cifs_writedata_release); refcount 2357 fs/cifs/file.c kref_put(&wdata->refcount, cifs_writedata_release); refcount 2394 fs/cifs/file.c kref_put(&wdata->refcount, cifs_writedata_release); refcount 2679 fs/cifs/file.c cifs_uncached_writedata_release(struct kref *refcount) refcount 2682 fs/cifs/file.c struct cifs_writedata *wdata = container_of(refcount, refcount 2683 fs/cifs/file.c struct cifs_writedata, refcount); refcount 2685 fs/cifs/file.c kref_put(&wdata->ctx->refcount, cifs_aio_ctx_release); refcount 2688 fs/cifs/file.c cifs_writedata_release(refcount); refcount 2710 fs/cifs/file.c kref_put(&wdata->refcount, cifs_uncached_writedata_release); refcount 2814 fs/cifs/file.c kref_put(&wdata->refcount, cifs_uncached_writedata_release); refcount 2952 fs/cifs/file.c kref_get(&ctx->refcount); refcount 2966 fs/cifs/file.c kref_put(&wdata->refcount, refcount 3042 fs/cifs/file.c kref_put(&wdata->refcount, refcount 3051 fs/cifs/file.c kref_put(&wdata->refcount, cifs_uncached_writedata_release); refcount 3119 fs/cifs/file.c kref_put(&ctx->refcount, cifs_aio_ctx_release); refcount 3142 fs/cifs/file.c kref_put(&ctx->refcount, cifs_aio_ctx_release); refcount 3147 fs/cifs/file.c kref_put(&ctx->refcount, cifs_aio_ctx_release); refcount 3162 fs/cifs/file.c kref_put(&ctx->refcount, cifs_aio_ctx_release); refcount 3275 fs/cifs/file.c kref_init(&rdata->refcount); refcount 3301 fs/cifs/file.c cifs_readdata_release(struct kref *refcount) refcount 3303 fs/cifs/file.c struct cifs_readdata *rdata = container_of(refcount, refcount 3304 fs/cifs/file.c struct cifs_readdata, refcount); refcount 3346 fs/cifs/file.c cifs_uncached_readdata_release(struct kref *refcount) refcount 3348 fs/cifs/file.c struct cifs_readdata *rdata = container_of(refcount, refcount 3349 fs/cifs/file.c struct cifs_readdata, refcount); refcount 3352 fs/cifs/file.c kref_put(&rdata->ctx->refcount, cifs_aio_ctx_release); refcount 3356 fs/cifs/file.c cifs_readdata_release(refcount); refcount 3404 fs/cifs/file.c kref_put(&rdata->refcount, cifs_uncached_readdata_release); refcount 3539 fs/cifs/file.c kref_put(&rdata->refcount, cifs_uncached_readdata_release); refcount 3656 fs/cifs/file.c kref_get(&ctx->refcount); refcount 3669 fs/cifs/file.c kref_put(&rdata->refcount, refcount 3731 fs/cifs/file.c kref_put(&rdata->refcount, refcount 3752 fs/cifs/file.c kref_put(&rdata->refcount, refcount 3771 fs/cifs/file.c kref_put(&rdata->refcount, cifs_uncached_readdata_release); refcount 3847 fs/cifs/file.c kref_put(&ctx->refcount, cifs_aio_ctx_release); refcount 3865 fs/cifs/file.c kref_put(&ctx->refcount, cifs_aio_ctx_release); refcount 3870 fs/cifs/file.c kref_put(&ctx->refcount, cifs_aio_ctx_release); refcount 3885 fs/cifs/file.c kref_put(&ctx->refcount, cifs_aio_ctx_release); refcount 4121 fs/cifs/file.c kref_put(&rdata->refcount, cifs_readdata_release); refcount 4420 fs/cifs/file.c kref_put(&rdata->refcount, cifs_readdata_release); refcount 4424 fs/cifs/file.c kref_put(&rdata->refcount, cifs_readdata_release); refcount 805 fs/cifs/misc.c kref_init(&ctx->refcount); refcount 810 fs/cifs/misc.c cifs_aio_ctx_release(struct kref *refcount) refcount 812 fs/cifs/misc.c struct cifs_aio_ctx *ctx = container_of(refcount, refcount 813 fs/cifs/misc.c struct cifs_aio_ctx, refcount); refcount 98 fs/cifs/smb1ops.c kref_get(&mid->refcount); refcount 278 fs/cifs/smb2ops.c kref_get(&mid->refcount); refcount 600 fs/cifs/smb2ops.c refcount); refcount 614 fs/cifs/smb2ops.c kref_put(&cfid->refcount, smb2_close_cached_fid); refcount 650 fs/cifs/smb2ops.c kref_get(&tcon->crfid.refcount); refcount 731 fs/cifs/smb2ops.c kref_get(&tcon->crfid.refcount); refcount 765 fs/cifs/smb2ops.c kref_init(&tcon->crfid.refcount); refcount 769 fs/cifs/smb2ops.c kref_get(&tcon->crfid.refcount); refcount 3760 fs/cifs/smb2pdu.c kref_get(&rdata->refcount); refcount 3766 fs/cifs/smb2pdu.c kref_put(&rdata->refcount, cifs_readdata_release); refcount 4055 fs/cifs/smb2pdu.c kref_get(&wdata->refcount); refcount 4063 fs/cifs/smb2pdu.c kref_put(&wdata->refcount, release); refcount 590 fs/cifs/smb2transport.c kref_init(&temp->refcount); refcount 65 fs/cifs/transport.c kref_init(&temp->refcount); refcount 89 fs/cifs/transport.c static void _cifs_mid_q_entry_release(struct kref *refcount) refcount 92 fs/cifs/transport.c container_of(refcount, struct mid_q_entry, refcount); refcount 171 fs/cifs/transport.c kref_put(&midEntry->refcount, _cifs_mid_q_entry_release); refcount 135 fs/direct-io.c unsigned long refcount; /* direct_io_worker() and bios */ refcount 360 fs/direct-io.c remaining = --dio->refcount; refcount 403 fs/direct-io.c if (--dio->refcount == 1 && dio->waiter) refcount 469 fs/direct-io.c dio->refcount++; refcount 516 fs/direct-io.c while (dio->refcount > 1 && dio->bio_list == NULL) { refcount 1133 fs/direct-io.c ret2 = --dio->refcount; refcount 1309 fs/direct-io.c dio->refcount = 1; refcount 119 fs/erofs/internal.h atomic_t refcount; refcount 127 fs/erofs/internal.h if (val != atomic_cmpxchg(&grp->refcount, val, EROFS_LOCKED_MAGIC)) { refcount 142 fs/erofs/internal.h atomic_set(&grp->refcount, orig_val); refcount 148 fs/erofs/internal.h return atomic_cond_read_relaxed(&grp->refcount, refcount 157 fs/erofs/internal.h if (val != atomic_read(&grp->refcount)) { refcount 172 fs/erofs/internal.h int v = atomic_read(&grp->refcount); refcount 40 fs/erofs/utils.c #define __erofs_workgroup_get(grp) atomic_inc(&(grp)->refcount) refcount 41 fs/erofs/utils.c #define __erofs_workgroup_put(grp) atomic_dec(&(grp)->refcount) refcount 52 fs/erofs/utils.c if (atomic_cmpxchg(&grp->refcount, o, o + 1) != o) refcount 94 fs/erofs/utils.c if (atomic_read(&grp->refcount) != 1) { refcount 136 fs/erofs/utils.c int count = atomic_dec_return(&grp->refcount); refcount 74 fs/erofs/zdata.c atomic_set(&pcl->obj.refcount, 1); refcount 43 fs/fuse/virtio_fs.c struct kref refcount; refcount 88 fs/fuse/virtio_fs.c struct virtio_fs *vfs = container_of(ref, struct virtio_fs, refcount); refcount 97 fs/fuse/virtio_fs.c kref_put(&fs->refcount, release_virtio_fs_obj); refcount 185 fs/fuse/virtio_fs.c kref_get(&fs->refcount); refcount 607 fs/fuse/virtio_fs.c kref_init(&fs->refcount); refcount 49 fs/nfs/write.c struct kref refcount; refcount 129 fs/nfs/write.c kref_init(&ioc->refcount); refcount 135 fs/nfs/write.c struct nfs_io_completion, refcount); refcount 143 fs/nfs/write.c kref_get(&ioc->refcount); refcount 149 fs/nfs/write.c kref_put(&ioc->refcount, nfs_io_completion_release); refcount 1091 fs/nfsd/nfs4proc.c if (!refcount_dec_and_test(©->refcount)) refcount 1125 fs/nfsd/nfs4proc.c refcount_inc(©->refcount); refcount 1282 fs/nfsd/nfs4proc.c refcount_set(&async_copy->refcount, 1); refcount 1315 fs/nfsd/nfs4proc.c refcount_inc(©->refcount); refcount 547 fs/nfsd/xdr4.h refcount_t refcount; refcount 905 fs/ocfs2/ocfs2_trace.h unsigned int clusters, unsigned int refcount), refcount 906 fs/ocfs2/ocfs2_trace.h TP_ARGS(blkno, index, cpos, clusters, refcount), refcount 912 fs/ocfs2/ocfs2_trace.h __field(unsigned int, refcount) refcount 919 fs/ocfs2/ocfs2_trace.h __entry->refcount = refcount; refcount 922 fs/ocfs2/ocfs2_trace.h __entry->cpos, __entry->clusters, __entry->refcount) refcount 929 fs/ocfs2/ocfs2_trace.h unsigned int count, unsigned int refcount), \ refcount 930 fs/ocfs2/ocfs2_trace.h TP_ARGS(blkno, index, cpos, count, refcount)) refcount 936 fs/ocfs2/ocfs2_trace.h unsigned int clusters, unsigned int refcount, refcount 939 fs/ocfs2/ocfs2_trace.h TP_ARGS(cpos, clusters, refcount, refcount 944 fs/ocfs2/ocfs2_trace.h __field(unsigned int, refcount) refcount 952 fs/ocfs2/ocfs2_trace.h __entry->refcount = refcount; refcount 958 fs/ocfs2/ocfs2_trace.h __entry->cpos, __entry->clusters, __entry->refcount, refcount 1007 fs/ocfs2/ocfs2_trace.h unsigned int r_clusters, unsigned int refcount, int index), refcount 1008 fs/ocfs2/ocfs2_trace.h TP_ARGS(recs_add, cpos, clusters, r_cpos, r_clusters, refcount, index), refcount 1015 fs/ocfs2/ocfs2_trace.h __field(unsigned int, refcount) refcount 1024 fs/ocfs2/ocfs2_trace.h __entry->refcount = refcount; refcount 1030 fs/ocfs2/ocfs2_trace.h __entry->refcount, __entry->index) refcount 5778 fs/ocfs2/xattr.c struct ocfs2_post_refcount refcount; refcount 5813 fs/ocfs2/xattr.c refcount.credits = bucket->bu_blocks; refcount 5814 fs/ocfs2/xattr.c refcount.para = bucket; refcount 5815 fs/ocfs2/xattr.c refcount.func = refcount 5817 fs/ocfs2/xattr.c p = &refcount; refcount 5895 fs/ocfs2/xattr.c struct ocfs2_post_refcount *refcount) refcount 5922 fs/ocfs2/xattr.c dealloc, refcount); refcount 6050 fs/ocfs2/xattr.c struct ocfs2_post_refcount refcount = { refcount 6059 fs/ocfs2/xattr.c p = &refcount; refcount 32 fs/overlayfs/readdir.c long refcount; refcount 242 fs/overlayfs/readdir.c WARN_ON(cache->refcount <= 0); refcount 243 fs/overlayfs/readdir.c cache->refcount--; refcount 244 fs/overlayfs/readdir.c if (!cache->refcount) { refcount 412 fs/overlayfs/readdir.c WARN_ON(!cache->refcount); refcount 413 fs/overlayfs/readdir.c cache->refcount++; refcount 422 fs/overlayfs/readdir.c cache->refcount = 1; refcount 90 fs/squashfs/cache.c if (cache->entry[i].refcount == 0) refcount 104 fs/squashfs/cache.c entry->refcount = 1; refcount 141 fs/squashfs/cache.c if (entry->refcount == 0) refcount 143 fs/squashfs/cache.c entry->refcount++; refcount 161 fs/squashfs/cache.c cache->name, i, entry->block, entry->refcount, entry->error); refcount 178 fs/squashfs/cache.c entry->refcount--; refcount 179 fs/squashfs/cache.c if (entry->refcount == 0) { refcount 32 fs/squashfs/squashfs_fs_sb.h int refcount; refcount 66 fs/userfaultfd.c refcount_t refcount; refcount 153 fs/userfaultfd.c refcount_inc(&ctx->refcount); refcount 166 fs/userfaultfd.c if (refcount_dec_and_test(&ctx->refcount)) { refcount 700 fs/userfaultfd.c refcount_set(&ctx->refcount, 1); refcount 1966 fs/userfaultfd.c refcount_set(&ctx->refcount, 1); refcount 78 fs/xfs/scrub/refcount.c xfs_nlink_t refcount; refcount 110 fs/xfs/scrub/refcount.c if (refchk->refcount == 1 && rec->rm_owner != XFS_RMAP_OWN_COW) { refcount 159 fs/xfs/scrub/refcount.c target_nr = refchk->refcount - refchk->seen; refcount 255 fs/xfs/scrub/refcount.c refchk->seen = refchk->refcount; refcount 274 fs/xfs/scrub/refcount.c xfs_nlink_t refcount) refcount 280 fs/xfs/scrub/refcount.c .refcount = refcount, refcount 305 fs/xfs/scrub/refcount.c if (refcount != refchk.seen) refcount 321 fs/xfs/scrub/refcount.c xfs_nlink_t refcount) refcount 328 fs/xfs/scrub/refcount.c xchk_refcountbt_xref_rmap(sc, agbno, len, refcount); refcount 342 fs/xfs/scrub/refcount.c xfs_nlink_t refcount; refcount 347 fs/xfs/scrub/refcount.c refcount = be32_to_cpu(rec->refc.rc_refcount); refcount 351 fs/xfs/scrub/refcount.c if ((refcount == 1 && !has_cowflag) || (refcount != 1 && has_cowflag)) refcount 363 fs/xfs/scrub/refcount.c if (refcount == 0) refcount 366 fs/xfs/scrub/refcount.c xchk_refcountbt_xref(bs->sc, bno, len, refcount); refcount 739 fs/xfs/scrub/trace.h __field(xfs_nlink_t, refcount) refcount 746 fs/xfs/scrub/trace.h __entry->refcount = irec->rc_refcount; refcount 753 fs/xfs/scrub/trace.h __entry->refcount) refcount 100 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, int refcount, refcount 102 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, refcount, caller_ip), refcount 106 fs/xfs/xfs_trace.h __field(int, refcount) refcount 112 fs/xfs/xfs_trace.h __entry->refcount = refcount; refcount 118 fs/xfs/xfs_trace.h __entry->refcount, refcount 124 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, int refcount, \ refcount 126 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, refcount, caller_ip)) refcount 2679 fs/xfs/xfs_trace.h __field(xfs_nlink_t, refcount) refcount 2686 fs/xfs/xfs_trace.h __entry->refcount = irec->rc_refcount; refcount 2693 fs/xfs/xfs_trace.h __entry->refcount) refcount 2712 fs/xfs/xfs_trace.h __field(xfs_nlink_t, refcount) refcount 2720 fs/xfs/xfs_trace.h __entry->refcount = irec->rc_refcount; refcount 2728 fs/xfs/xfs_trace.h __entry->refcount, refcount 522 include/asm-generic/vmlinux.lds.h *(.text..refcount) \ refcount 72 include/drm/drm_auth.h struct kref refcount; refcount 1558 include/drm/drm_connector.h struct kref refcount; refcount 259 include/drm/drm_framebuffer.h return kref_read(&fb->base.refcount); refcount 181 include/drm/drm_gem.h struct kref refcount; refcount 349 include/drm/drm_gem.h kref_get(&obj->refcount); refcount 370 include/drm/drm_gem.h kref_put(&obj->refcount, drm_gem_object_free); refcount 59 include/drm/drm_mode_object.h struct kref refcount; refcount 43 include/drm/drm_syncobj.h struct kref refcount; refcount 78 include/drm/drm_syncobj.h kref_get(&obj->refcount); refcount 88 include/drm/drm_syncobj.h kref_put(&obj->refcount, drm_syncobj_free); refcount 125 include/drm/drm_vblank.h atomic_t refcount; refcount 115 include/kvm/arm_vgic.h struct kref refcount; /* Used for LPIs */ refcount 199 include/linux/cgroup-defs.h refcount_t refcount; refcount 25 include/linux/cpu_rmap.h struct kref refcount; refcount 94 include/linux/dma-fence.h struct kref refcount; refcount 279 include/linux/dma-fence.h kref_put(&fence->refcount, dma_fence_release); refcount 291 include/linux/dma-fence.h kref_get(&fence->refcount); refcount 304 include/linux/dma-fence.h if (kref_get_unless_zero(&fence->refcount)) refcount 100 include/linux/iocontext.h atomic_long_t refcount; refcount 132 include/linux/iocontext.h WARN_ON_ONCE(atomic_long_read(&ioc->refcount) <= 0); refcount 134 include/linux/iocontext.h atomic_long_inc(&ioc->refcount); refcount 28 include/linux/ipc.h refcount_t refcount; refcount 20 include/linux/kref.h refcount_t refcount; refcount 23 include/linux/kref.h #define KREF_INIT(n) { .refcount = REFCOUNT_INIT(n), } refcount 31 include/linux/kref.h refcount_set(&kref->refcount, 1); refcount 36 include/linux/kref.h return refcount_read(&kref->refcount); refcount 45 include/linux/kref.h refcount_inc(&kref->refcount); refcount 64 include/linux/kref.h if (refcount_dec_and_test(&kref->refcount)) { refcount 75 include/linux/kref.h if (refcount_dec_and_mutex_lock(&kref->refcount, lock)) { refcount 86 include/linux/kref.h if (refcount_dec_and_lock(&kref->refcount, lock)) { refcount 111 include/linux/kref.h return refcount_inc_not_zero(&kref->refcount); refcount 753 include/linux/mlx4/device.h refcount_t refcount; refcount 770 include/linux/mlx4/device.h refcount_t refcount; refcount 783 include/linux/mlx4/device.h refcount_t refcount; refcount 46 include/linux/mlx5/cq.h refcount_t refcount; refcount 178 include/linux/mlx5/cq.h refcount_inc(&cq->refcount); refcount 183 include/linux/mlx5/cq.h if (refcount_dec_and_test(&cq->refcount)) refcount 394 include/linux/mlx5/driver.h refcount_t refcount; refcount 516 include/linux/mlx5/driver.h u16 refcount; refcount 150 include/linux/mroute_base.h refcount_t refcount; refcount 160 include/linux/mroute_base.h if (refcount_dec_and_test(&c->mfc_un.res.refcount)) refcount 166 include/linux/mroute_base.h refcount_inc(&c->mfc_un.res.refcount); refcount 214 include/linux/netdevice.h int refcount; refcount 646 include/linux/perf_event.h atomic_long_t refcount; refcount 772 include/linux/perf_event.h refcount_t refcount; refcount 532 include/linux/pm.h unsigned int refcount; refcount 125 include/linux/psi_types.h struct kref refcount; refcount 574 include/linux/remoteproc.h struct kref refcount; refcount 39 include/linux/rmap.h atomic_t refcount; refcount 107 include/linux/rmap.h atomic_inc(&anon_vma->refcount); refcount 114 include/linux/rmap.h if (atomic_dec_and_test(&anon_vma->refcount)) refcount 89 include/linux/rpmsg.h struct kref refcount; refcount 289 include/linux/serial_core.h atomic_t refcount; refcount 44 include/linux/slab_def.h int refcount; refcount 100 include/linux/slub_def.h int refcount; /* Refcount for slab cache destroy */ refcount 54 include/linux/tee_drv.h struct kref refcount; refcount 212 include/linux/tty_ldisc.h int refcount; refcount 86 include/linux/zpool.h atomic_t refcount; refcount 687 include/media/dvb_frontend.h struct kref refcount; refcount 29 include/media/videobuf2-memops.h refcount_t *refcount; refcount 82 include/net/9p/client.h struct kref refcount; refcount 225 include/net/9p/client.h kref_get(&r->refcount); refcount 230 include/net/9p/client.h return kref_get_unless_zero(&r->refcount); refcount 163 include/net/ax25.h refcount_t refcount; refcount 172 include/net/ax25.h refcount_inc(&((ax25)->refcount)) refcount 176 include/net/ax25.h if (refcount_dec_and_test(&assoc->refcount)) { refcount 190 include/net/ax25.h refcount_t refcount; refcount 199 include/net/ax25.h refcount_inc(&ax25_rt->refcount); refcount 218 include/net/ax25.h if (refcount_dec_and_test(&ax25_rt->refcount)) refcount 261 include/net/ax25.h refcount_t refcount; refcount 283 include/net/ax25.h refcount_inc(&((__ax25)->refcount)) refcount 287 include/net/ax25.h if (refcount_dec_and_test(&ax25->refcount)) { refcount 46 include/net/calipso.h refcount_t refcount; refcount 75 include/net/cipso_ipv4.h refcount_t refcount; refcount 114 include/net/dsa.h struct kref refcount; refcount 125 include/net/netlabel.h refcount_t refcount; refcount 284 include/net/netlabel.h refcount_set(&cache->refcount, 1); refcount 298 include/net/netlabel.h if (!refcount_dec_and_test(&cache->refcount)) refcount 99 include/net/netrom.h refcount_t refcount; refcount 115 include/net/netrom.h refcount_t refcount; refcount 124 include/net/netrom.h refcount_inc(&((__nr_node)->refcount)) refcount 128 include/net/netrom.h if (refcount_dec_and_test(&nr_node->refcount)) { refcount 134 include/net/netrom.h refcount_inc(&((__nr_neigh)->refcount)) refcount 138 include/net/netrom.h if (refcount_dec_and_test(&nr_neigh->refcount)) { refcount 12 include/net/psample.h u32 refcount; refcount 291 include/net/tls.h refcount_t refcount; refcount 2651 include/rdma/ib_verbs.h refcount_t refcount; refcount 4308 include/rdma/ib_verbs.h return refcount_inc_not_zero(&dev->refcount); refcount 86 include/rdma/rdmavt_mr.h struct percpu_ref refcount; refcount 127 include/rdma/rdmavt_mr.h percpu_ref_put(&mr->refcount); refcount 132 include/rdma/rdmavt_mr.h percpu_ref_get(&mr->refcount); refcount 367 include/rdma/rdmavt_qp.h atomic_t refcount ____cacheline_aligned_in_smp; refcount 519 include/rdma/rdmavt_qp.h atomic_t refcount; refcount 563 include/rdma/rdmavt_qp.h atomic_inc(&qp->refcount); refcount 572 include/rdma/rdmavt_qp.h if (qp && atomic_dec_and_test(&qp->refcount)) refcount 130 include/scsi/libiscsi.h refcount_t refcount; refcount 88 include/trace/events/objagg.h unsigned int refcount), refcount 90 include/trace/events/objagg.h TP_ARGS(objagg, obj, refcount), refcount 95 include/trace/events/objagg.h __field(unsigned int, refcount) refcount 101 include/trace/events/objagg.h __entry->refcount = refcount; refcount 105 include/trace/events/objagg.h __entry->objagg, __entry->obj, __entry->refcount) refcount 111 include/trace/events/objagg.h unsigned int refcount), refcount 113 include/trace/events/objagg.h TP_ARGS(objagg, obj, refcount), refcount 118 include/trace/events/objagg.h __field(unsigned int, refcount) refcount 124 include/trace/events/objagg.h __entry->refcount = refcount; refcount 128 include/trace/events/objagg.h __entry->objagg, __entry->obj, __entry->refcount) refcount 284 ipc/util.c refcount_set(&new->refcount, 1); refcount 496 ipc/util.c return refcount_inc_not_zero(&ptr->refcount); refcount 502 ipc/util.c if (!refcount_dec_and_test(&ptr->refcount)) refcount 189 kernel/cgroup/cgroup-internal.h if (refcount_dec_not_one(&cset->refcount)) refcount 202 kernel/cgroup/cgroup-internal.h refcount_inc(&cset->refcount); refcount 738 kernel/cgroup/cgroup.c .refcount = REFCOUNT_INIT(1), refcount 942 kernel/cgroup/cgroup.c if (!refcount_dec_and_test(&cset->refcount)) refcount 1213 kernel/cgroup/cgroup.c refcount_set(&cset->refcount, 1); refcount 54 kernel/cgroup/debug.c refcnt = refcount_read(&cset->refcount); refcount 82 kernel/cgroup/debug.c count = refcount_read(&task_css_set(current)->refcount); refcount 126 kernel/cgroup/debug.c int refcnt = refcount_read(&cset->refcount); refcount 1180 kernel/events/core.c refcount_inc(&ctx->refcount); refcount 1194 kernel/events/core.c if (refcount_dec_and_test(&ctx->refcount)) { refcount 1277 kernel/events/core.c if (!refcount_inc_not_zero(&ctx->refcount)) { refcount 1410 kernel/events/core.c !refcount_inc_not_zero(&ctx->refcount)) { refcount 1964 kernel/events/core.c if (!atomic_long_inc_not_zero(&group_leader->refcount)) refcount 4181 kernel/events/core.c refcount_set(&ctx->refcount, 1); refcount 4600 kernel/events/core.c if (WARN(atomic_long_cmpxchg(&event->refcount, 1, 0) != 1, refcount 4602 kernel/events/core.c atomic_long_read(&event->refcount), event)) { refcount 4663 kernel/events/core.c if (!atomic_long_dec_and_test(&event->refcount)) refcount 4767 kernel/events/core.c void *var = &child->ctx->refcount; refcount 5545 kernel/events/core.c if (!refcount_inc_not_zero(&rb->refcount)) refcount 5555 kernel/events/core.c if (!refcount_dec_and_test(&rb->refcount)) refcount 5645 kernel/events/core.c if (!atomic_long_inc_not_zero(&event->refcount)) { refcount 10468 kernel/events/core.c atomic_long_set(&event->refcount, 1); refcount 10873 kernel/events/core.c if (!refcount_inc_not_zero(&gctx->refcount)) { refcount 11739 kernel/events/core.c wait_var_event(&ctx->refcount, refcount_read(&ctx->refcount) == 1); refcount 11840 kernel/events/core.c !atomic_long_inc_not_zero(&parent_event->refcount)) { refcount 14 kernel/events/internal.h refcount_t refcount; refcount 319 kernel/events/ring_buffer.c refcount_set(&rb->refcount, 1); refcount 203 kernel/futex.c refcount_t refcount; refcount 842 kernel/futex.c refcount_set(&pi_state->refcount, 1); refcount 862 kernel/futex.c WARN_ON_ONCE(!refcount_inc_not_zero(&pi_state->refcount)); refcount 874 kernel/futex.c if (!refcount_dec_and_test(&pi_state->refcount)) refcount 904 kernel/futex.c refcount_set(&pi_state->refcount, 1); refcount 947 kernel/futex.c if (!refcount_inc_not_zero(&pi_state->refcount)) { refcount 1104 kernel/futex.c WARN_ON(!refcount_read(&pi_state->refcount)); refcount 48 kernel/kcov.c refcount_t refcount; refcount 232 kernel/kcov.c refcount_inc(&kcov->refcount); refcount 237 kernel/kcov.c if (refcount_dec_and_test(&kcov->refcount)) { refcount 316 kernel/kcov.c refcount_set(&kcov->refcount, 1); refcount 1069 kernel/sched/fair.c refcount_t refcount; refcount 1155 kernel/sched/fair.c period *= refcount_read(&ng->refcount); refcount 1180 kernel/sched/fair.c period *= refcount_read(&ng->refcount); refcount 2235 kernel/sched/fair.c return refcount_inc_not_zero(&grp->refcount); refcount 2240 kernel/sched/fair.c if (refcount_dec_and_test(&grp->refcount)) refcount 2261 kernel/sched/fair.c refcount_set(&grp->refcount, 1); refcount 1049 kernel/sched/psi.c kref_init(&t->refcount); refcount 1084 kernel/sched/psi.c struct psi_trigger *t = container_of(ref, struct psi_trigger, refcount); refcount 1158 kernel/sched/psi.c kref_put(&old->refcount, psi_trigger_destroy); refcount 1177 kernel/sched/psi.c kref_get(&t->refcount); refcount 1186 kernel/sched/psi.c kref_put(&t->refcount, psi_trigger_destroy); refcount 739 kernel/sched/sched.h atomic_t refcount; refcount 460 kernel/sched/topology.c if (!atomic_dec_and_test(&old_rd->refcount)) refcount 464 kernel/sched/topology.c atomic_inc(&rd->refcount); refcount 479 kernel/sched/topology.c atomic_inc(&rd->refcount); refcount 484 kernel/sched/topology.c if (!atomic_dec_and_test(&rd->refcount)) refcount 539 kernel/sched/topology.c atomic_set(&def_root_domain.refcount, 1); refcount 1225 kernel/sched/topology.c if (!atomic_read(&d->rd->refcount)) refcount 7352 kernel/trace/trace.c refcount_t refcount; refcount 7357 kernel/trace/trace.c if (!refcount_dec_and_test(&ref->refcount)) refcount 7377 kernel/trace/trace.c if (refcount_read(&ref->refcount) > INT_MAX/2) refcount 7380 kernel/trace/trace.c refcount_inc(&ref->refcount); refcount 7456 kernel/trace/trace.c refcount_set(&ref->refcount, 1); refcount 43 lib/cpu_rmap.c kref_init(&rmap->refcount); refcount 68 lib/cpu_rmap.c struct cpu_rmap *rmap = container_of(ref, struct cpu_rmap, refcount); refcount 78 lib/cpu_rmap.c kref_get(&rmap->refcount); refcount 87 lib/cpu_rmap.c return kref_put(&rmap->refcount, cpu_rmap_release); refcount 21 lib/objagg.c unsigned int refcount; refcount 65 lib/objagg.c unsigned int refcount; /* counts number of users of this object refcount 74 lib/objagg.c return ++objagg_obj->refcount; refcount 79 lib/objagg.c return --objagg_obj->refcount; refcount 184 lib/objagg.c parent->refcount); refcount 216 lib/objagg.c objagg_obj->parent->refcount); refcount 445 lib/objagg.c trace_objagg_obj_get(objagg, objagg_obj, objagg_obj->refcount); refcount 480 lib/objagg.c trace_objagg_obj_put(objagg, objagg_obj, objagg_obj->refcount); refcount 531 lib/objagg.c objagg_hints->refcount++; refcount 952 lib/objagg.c objagg_hints->refcount = 1; refcount 996 lib/objagg.c if (--objagg_hints->refcount) refcount 85 mm/rmap.c atomic_set(&anon_vma->refcount, 1); refcount 100 mm/rmap.c VM_BUG_ON(atomic_read(&anon_vma->refcount)); refcount 429 mm/rmap.c atomic_set(&anon_vma->refcount, 0); refcount 478 mm/rmap.c if (!atomic_inc_not_zero(&anon_vma->refcount)) { refcount 537 mm/rmap.c if (!atomic_inc_not_zero(&anon_vma->refcount)) { refcount 552 mm/rmap.c if (atomic_dec_and_test(&anon_vma->refcount)) { refcount 1772 mm/rmap.c if (root != anon_vma && atomic_dec_and_test(&root->refcount)) refcount 1796 mm/slab.c cachep->refcount++; refcount 28 mm/slab.h int refcount; /* Use counter */ refcount 326 mm/slab_common.c if (s->refcount < 0) refcount 411 mm/slab_common.c s->refcount = 1; refcount 954 mm/slab_common.c s->refcount--; refcount 955 mm/slab_common.c if (s->refcount) refcount 1071 mm/slab_common.c s->refcount = -1; /* Exempt from merging for now */ refcount 1086 mm/slab_common.c s->refcount = 1; refcount 4297 mm/slub.c s->refcount++; refcount 4312 mm/slub.c s->refcount--; refcount 5043 mm/slub.c return sprintf(buf, "%d\n", s->refcount < 0 ? 0 : s->refcount - 1); refcount 5190 mm/slub.c if (s->refcount > 1) refcount 5308 mm/slub.c if (s->refcount > 1) refcount 905 mm/vmscan.c int refcount; refcount 936 mm/vmscan.c refcount = 1 + compound_nr(page); refcount 937 mm/vmscan.c if (!page_ref_freeze(page, refcount)) refcount 941 mm/vmscan.c page_ref_unfreeze(page, refcount); refcount 116 mm/z3fold.c struct kref refcount; refcount 318 mm/z3fold.c kref_init(&zhdr->refcount); refcount 465 mm/z3fold.c refcount); refcount 472 mm/z3fold.c refcount); refcount 480 mm/z3fold.c refcount); refcount 629 mm/z3fold.c if (kref_put(&zhdr->refcount, release_z3fold_page_locked)) { refcount 708 mm/z3fold.c kref_get(&zhdr->refcount); refcount 744 mm/z3fold.c kref_get(&zhdr->refcount); refcount 896 mm/z3fold.c if (kref_put(&zhdr->refcount, refcount 1045 mm/z3fold.c if (kref_put(&zhdr->refcount, release_z3fold_page_locked_list)) { refcount 1065 mm/z3fold.c kref_get(&zhdr->refcount); refcount 1070 mm/z3fold.c kref_get(&zhdr->refcount); refcount 1156 mm/z3fold.c kref_get(&zhdr->refcount); refcount 1226 mm/z3fold.c if (kref_put(&zhdr->refcount, refcount 1358 mm/z3fold.c kref_get(&zhdr->refcount); refcount 1449 mm/z3fold.c if (kref_put(&zhdr->refcount, release_z3fold_page_locked)) { refcount 43 mm/zpool.c atomic_set(&driver->refcount, 0); refcount 61 mm/zpool.c int ret = 0, refcount; refcount 64 mm/zpool.c refcount = atomic_read(&driver->refcount); refcount 65 mm/zpool.c WARN_ON(refcount < 0); refcount 66 mm/zpool.c if (refcount > 0) refcount 87 mm/zpool.c atomic_inc(&driver->refcount); refcount 99 mm/zpool.c atomic_dec(&driver->refcount); refcount 154 mm/zswap.c int refcount; refcount 254 mm/zswap.c entry->refcount = 1; refcount 339 mm/zswap.c entry->refcount++; refcount 348 mm/zswap.c int refcount = --entry->refcount; refcount 350 mm/zswap.c BUG_ON(refcount < 0); refcount 351 mm/zswap.c if (refcount == 0) { refcount 165 net/8021q/vlan_core.c int refcount; refcount 339 net/8021q/vlan_core.c vid_info->refcount++; refcount 385 net/8021q/vlan_core.c vid_info->refcount--; refcount 386 net/8021q/vlan_core.c if (vid_info->refcount == 0) { refcount 312 net/9p/client.c refcount_set(&req->refcount.refcount, 2); refcount 379 net/9p/client.c struct p9_req_t *r = container_of(ref, struct p9_req_t, refcount); refcount 387 net/9p/client.c return kref_put(&r->refcount, p9_req_free); refcount 509 net/ax25/af_ax25.c refcount_set(&ax25->refcount, 1); refcount 114 net/ax25/ax25_route.c refcount_set(&ax25_rt->refcount, 1); refcount 107 net/ax25/ax25_uid.c refcount_set(&ax25_uid->refcount, 1); refcount 155 net/batman-adv/bat_iv_ogm.c kref_get(&orig_node->refcount); refcount 846 net/batman-adv/bat_iv_ogm.c if (!kref_get_unless_zero(&tmp_hard_iface->refcount)) refcount 943 net/batman-adv/bat_iv_ogm.c kref_get_unless_zero(&tmp_neigh_node->refcount)) { refcount 1095 net/batman-adv/bat_iv_ogm.c if (!kref_get_unless_zero(&tmp_neigh_node->refcount)) refcount 1680 net/batman-adv/bat_iv_ogm.c if (!kref_get_unless_zero(&hard_iface->refcount)) refcount 2433 net/batman-adv/bat_iv_ogm.c if (!kref_get_unless_zero(&gw_node->refcount)) refcount 2451 net/batman-adv/bat_iv_ogm.c kref_get(&curr_gw->refcount); refcount 2466 net/batman-adv/bat_iv_ogm.c kref_get(&curr_gw->refcount); refcount 752 net/batman-adv/bat_v.c if (!kref_get_unless_zero(&gw_node->refcount)) refcount 765 net/batman-adv/bat_v.c kref_get(&curr_gw->refcount); refcount 319 net/batman-adv/bat_v_elp.c if (!kref_get_unless_zero(&hardif_neigh->refcount)) refcount 68 net/batman-adv/bat_v_ogm.c kref_get(&orig_node->refcount); refcount 309 net/batman-adv/bat_v_ogm.c if (!kref_get_unless_zero(&hard_iface->refcount)) refcount 930 net/batman-adv/bat_v_ogm.c if (!kref_get_unless_zero(&hard_iface->refcount)) refcount 153 net/batman-adv/bridge_loop_avoidance.c refcount); refcount 165 net/batman-adv/bridge_loop_avoidance.c kref_put(&backbone_gw->refcount, batadv_backbone_gw_release); refcount 178 net/batman-adv/bridge_loop_avoidance.c claim = container_of(ref, struct batadv_bla_claim, refcount); refcount 200 net/batman-adv/bridge_loop_avoidance.c kref_put(&claim->refcount, batadv_claim_release); refcount 231 net/batman-adv/bridge_loop_avoidance.c if (!kref_get_unless_zero(&claim->refcount)) refcount 275 net/batman-adv/bridge_loop_avoidance.c if (!kref_get_unless_zero(&backbone_gw->refcount)) refcount 515 net/batman-adv/bridge_loop_avoidance.c kref_init(&entry->refcount); refcount 517 net/batman-adv/bridge_loop_avoidance.c kref_get(&entry->refcount); refcount 704 net/batman-adv/bridge_loop_avoidance.c kref_get(&backbone_gw->refcount); refcount 706 net/batman-adv/bridge_loop_avoidance.c kref_init(&claim->refcount); refcount 712 net/batman-adv/bridge_loop_avoidance.c kref_get(&claim->refcount); refcount 740 net/batman-adv/bridge_loop_avoidance.c kref_get(&backbone_gw->refcount); refcount 777 net/batman-adv/bridge_loop_avoidance.c kref_get(&backbone_gw->refcount); refcount 119 net/batman-adv/distributed-arp-table.c dat_entry = container_of(ref, struct batadv_dat_entry, refcount); refcount 131 net/batman-adv/distributed-arp-table.c kref_put(&dat_entry->refcount, batadv_dat_entry_release); refcount 345 net/batman-adv/distributed-arp-table.c if (!kref_get_unless_zero(&dat_entry->refcount)) refcount 390 net/batman-adv/distributed-arp-table.c kref_init(&dat_entry->refcount); refcount 392 net/batman-adv/distributed-arp-table.c kref_get(&dat_entry->refcount); refcount 592 net/batman-adv/distributed-arp-table.c if (!kref_get_unless_zero(&orig_node->refcount)) refcount 67 net/batman-adv/gateway_client.c gw_node = container_of(ref, struct batadv_gw_node, refcount); refcount 80 net/batman-adv/gateway_client.c kref_put(&gw_node->refcount, batadv_gw_node_release); refcount 99 net/batman-adv/gateway_client.c if (!kref_get_unless_zero(&gw_node->refcount)) refcount 128 net/batman-adv/gateway_client.c if (!kref_get_unless_zero(&orig_node->refcount)) refcount 147 net/batman-adv/gateway_client.c kref_get(&new_gw_node->refcount); refcount 357 net/batman-adv/gateway_client.c kref_init(&gw_node->refcount); refcount 359 net/batman-adv/gateway_client.c kref_get(&orig_node->refcount); refcount 364 net/batman-adv/gateway_client.c kref_get(&gw_node->refcount); refcount 398 net/batman-adv/gateway_client.c if (!kref_get_unless_zero(&gw_node_tmp->refcount)) refcount 53 net/batman-adv/hard-interface.c hard_iface = container_of(ref, struct batadv_hard_iface, refcount); refcount 73 net/batman-adv/hard-interface.c kref_get_unless_zero(&hard_iface->refcount)) refcount 439 net/batman-adv/hard-interface.c kref_get_unless_zero(&hard_iface->refcount)) refcount 474 net/batman-adv/hard-interface.c kref_get(&new_hard_iface->refcount); refcount 723 net/batman-adv/hard-interface.c kref_get(&hard_iface->refcount); refcount 768 net/batman-adv/hard-interface.c kref_get(&hard_iface->refcount); refcount 935 net/batman-adv/hard-interface.c kref_init(&hard_iface->refcount); refcount 945 net/batman-adv/hard-interface.c kref_get(&hard_iface->refcount); refcount 117 net/batman-adv/hard-interface.h kref_put(&hard_iface->refcount, batadv_hardif_release); refcount 136 net/batman-adv/hard-interface.h if (!kref_get_unless_zero(&hard_iface->refcount)) refcount 463 net/batman-adv/main.c if (!kref_get_unless_zero(&hard_iface->refcount)) refcount 1203 net/batman-adv/multicast.c if (!kref_get_unless_zero(&tmp_orig_node->refcount)) refcount 1230 net/batman-adv/multicast.c if (!kref_get_unless_zero(&tmp_orig_node->refcount)) refcount 1281 net/batman-adv/multicast.c if (!kref_get_unless_zero(&tmp_orig_node->refcount)) refcount 1308 net/batman-adv/multicast.c if (!kref_get_unless_zero(&tmp_orig_node->refcount)) refcount 1335 net/batman-adv/multicast.c if (!kref_get_unless_zero(&tmp_orig_node->refcount)) refcount 210 net/batman-adv/network-coding.c nc_node = container_of(ref, struct batadv_nc_node, refcount); refcount 223 net/batman-adv/network-coding.c kref_put(&nc_node->refcount, batadv_nc_node_release); refcount 235 net/batman-adv/network-coding.c nc_path = container_of(ref, struct batadv_nc_path, refcount); refcount 247 net/batman-adv/network-coding.c kref_put(&nc_path->refcount, batadv_nc_path_release); refcount 557 net/batman-adv/network-coding.c if (!kref_get_unless_zero(&nc_path->refcount)) refcount 812 net/batman-adv/network-coding.c if (!kref_get_unless_zero(&nc_node->refcount)) refcount 869 net/batman-adv/network-coding.c kref_init(&nc_node->refcount); refcount 871 net/batman-adv/network-coding.c kref_get(&orig_neigh_node->refcount); refcount 878 net/batman-adv/network-coding.c kref_get(&nc_node->refcount); refcount 980 net/batman-adv/network-coding.c kref_init(&nc_path->refcount); refcount 990 net/batman-adv/network-coding.c kref_get(&nc_path->refcount); refcount 76 net/batman-adv/originator.c if (!kref_get_unless_zero(&orig_node->refcount)) refcount 123 net/batman-adv/originator.c if (!kref_get_unless_zero(&tmp->refcount)) refcount 164 net/batman-adv/originator.c kref_init(&vlan->refcount); refcount 167 net/batman-adv/originator.c kref_get(&vlan->refcount); refcount 185 net/batman-adv/originator.c orig_vlan = container_of(ref, struct batadv_orig_node_vlan, refcount); refcount 197 net/batman-adv/originator.c kref_put(&orig_vlan->refcount, batadv_orig_node_vlan_release); refcount 239 net/batman-adv/originator.c neigh_ifinfo = container_of(ref, struct batadv_neigh_ifinfo, refcount); refcount 254 net/batman-adv/originator.c kref_put(&neigh_ifinfo->refcount, batadv_neigh_ifinfo_release); refcount 267 net/batman-adv/originator.c refcount); refcount 284 net/batman-adv/originator.c kref_put(&hardif_neigh->refcount, batadv_hardif_neigh_release); refcount 298 net/batman-adv/originator.c neigh_node = container_of(ref, struct batadv_neigh_node, refcount); refcount 319 net/batman-adv/originator.c kref_put(&neigh_node->refcount, batadv_neigh_node_release); refcount 348 net/batman-adv/originator.c if (router && !kref_get_unless_zero(&router->refcount)) refcount 376 net/batman-adv/originator.c if (!kref_get_unless_zero(&tmp->refcount)) refcount 416 net/batman-adv/originator.c kref_get(&if_outgoing->refcount); refcount 423 net/batman-adv/originator.c kref_init(&orig_ifinfo->refcount); refcount 425 net/batman-adv/originator.c kref_get(&orig_ifinfo->refcount); refcount 455 net/batman-adv/originator.c if (!kref_get_unless_zero(&tmp_neigh_ifinfo->refcount)) refcount 494 net/batman-adv/originator.c kref_get(&if_outgoing->refcount); refcount 497 net/batman-adv/originator.c kref_init(&neigh_ifinfo->refcount); refcount 500 net/batman-adv/originator.c kref_get(&neigh_ifinfo->refcount); refcount 535 net/batman-adv/originator.c if (!kref_get_unless_zero(&tmp_neigh_node->refcount)) refcount 573 net/batman-adv/originator.c kref_get(&hard_iface->refcount); refcount 580 net/batman-adv/originator.c kref_init(&hardif_neigh->refcount); refcount 637 net/batman-adv/originator.c if (!kref_get_unless_zero(&tmp_hardif_neigh->refcount)) refcount 685 net/batman-adv/originator.c kref_get(&hard_iface->refcount); refcount 692 net/batman-adv/originator.c kref_get(&hardif_neigh->refcount); refcount 696 net/batman-adv/originator.c kref_init(&neigh_node->refcount); refcount 698 net/batman-adv/originator.c kref_get(&neigh_node->refcount); refcount 859 net/batman-adv/originator.c orig_ifinfo = container_of(ref, struct batadv_orig_ifinfo, refcount); refcount 879 net/batman-adv/originator.c kref_put(&orig_ifinfo->refcount, batadv_orig_ifinfo_release); refcount 914 net/batman-adv/originator.c orig_node = container_of(ref, struct batadv_orig_node, refcount); refcount 958 net/batman-adv/originator.c kref_put(&orig_node->refcount, batadv_orig_node_release); refcount 1034 net/batman-adv/originator.c kref_init(&orig_node->refcount); refcount 1250 net/batman-adv/originator.c if (!kref_get_unless_zero(&neigh->refcount)) refcount 1311 net/batman-adv/originator.c if (!kref_get_unless_zero(&hard_iface->refcount)) refcount 78 net/batman-adv/routing.c kref_get(&neigh_node->refcount); refcount 501 net/batman-adv/routing.c kref_get(&last_bonding_candidate->refcount); refcount 522 net/batman-adv/routing.c kref_get(&new_candidate->refcount); refcount 583 net/batman-adv/routing.c if (!kref_get_unless_zero(&cand->refcount)) refcount 590 net/batman-adv/routing.c if (!kref_get_unless_zero(&cand_router->refcount)) { refcount 609 net/batman-adv/routing.c kref_get(&cand_router->refcount); refcount 610 net/batman-adv/routing.c kref_get(&cand->refcount); refcount 645 net/batman-adv/routing.c kref_get(&next_candidate_router->refcount); refcount 651 net/batman-adv/routing.c kref_get(&first_candidate_router->refcount); refcount 530 net/batman-adv/send.c kref_get(&if_incoming->refcount); refcount 533 net/batman-adv/send.c kref_get(&if_outgoing->refcount); refcount 935 net/batman-adv/send.c if (!kref_get_unless_zero(&hard_iface->refcount)) refcount 517 net/batman-adv/soft-interface.c vlan = container_of(ref, struct batadv_softif_vlan, refcount); refcount 536 net/batman-adv/soft-interface.c kref_put(&vlan->refcount, batadv_softif_vlan_release); refcount 557 net/batman-adv/soft-interface.c if (!kref_get_unless_zero(&vlan_tmp->refcount)) refcount 597 net/batman-adv/soft-interface.c kref_init(&vlan->refcount); refcount 601 net/batman-adv/soft-interface.c kref_get(&vlan->refcount); refcount 107 net/batman-adv/sysfs.c if (!kref_get_unless_zero(&vlan_tmp->refcount)) refcount 275 net/batman-adv/tp_meter.c if (unlikely(!kref_get_unless_zero(&pos->refcount))) refcount 317 net/batman-adv/tp_meter.c if (unlikely(!kref_get_unless_zero(&pos->refcount))) refcount 338 net/batman-adv/tp_meter.c tp_vars = container_of(ref, struct batadv_tp_vars, refcount); refcount 360 net/batman-adv/tp_meter.c kref_put(&tp_vars->refcount, batadv_tp_vars_release); refcount 908 net/batman-adv/tp_meter.c kref_get(&tp_vars->refcount); refcount 984 net/batman-adv/tp_meter.c kref_init(&tp_vars->refcount); refcount 1014 net/batman-adv/tp_meter.c kref_get(&tp_vars->refcount); refcount 1030 net/batman-adv/tp_meter.c kref_get(&tp_vars->refcount); refcount 1358 net/batman-adv/tp_meter.c kref_init(&tp_vars->refcount); refcount 1363 net/batman-adv/tp_meter.c kref_get(&tp_vars->refcount); refcount 1366 net/batman-adv/tp_meter.c kref_get(&tp_vars->refcount); refcount 151 net/batman-adv/translation-table.c if (!kref_get_unless_zero(&tt->refcount)) refcount 236 net/batman-adv/translation-table.c common.refcount); refcount 251 net/batman-adv/translation-table.c kref_put(&tt_local_entry->common.refcount, refcount 279 net/batman-adv/translation-table.c common.refcount); refcount 293 net/batman-adv/translation-table.c kref_put(&tt_global_entry->common.refcount, refcount 442 net/batman-adv/translation-table.c refcount); refcount 456 net/batman-adv/translation-table.c kref_put(&orig_entry->refcount, batadv_tt_orig_list_entry_release); refcount 740 net/batman-adv/translation-table.c kref_init(&tt_local->common.refcount); refcount 752 net/batman-adv/translation-table.c kref_get(&tt_local->common.refcount); refcount 1542 net/batman-adv/translation-table.c if (!kref_get_unless_zero(&tmp_orig_entry->refcount)) refcount 1641 net/batman-adv/translation-table.c kref_get(&orig_node->refcount); refcount 1646 net/batman-adv/translation-table.c kref_init(&orig_entry->refcount); refcount 1648 net/batman-adv/translation-table.c kref_get(&orig_entry->refcount); refcount 1728 net/batman-adv/translation-table.c kref_init(&common->refcount); refcount 1735 net/batman-adv/translation-table.c kref_get(&common->refcount); refcount 2634 net/batman-adv/translation-table.c if (orig_node && !kref_get_unless_zero(&orig_node->refcount)) refcount 2807 net/batman-adv/translation-table.c tt_req_node = container_of(ref, struct batadv_tt_req_node, refcount); refcount 2819 net/batman-adv/translation-table.c kref_put(&tt_req_node->refcount, batadv_tt_req_node_release); refcount 2900 net/batman-adv/translation-table.c kref_init(&tt_req_node->refcount); refcount 2904 net/batman-adv/translation-table.c kref_get(&tt_req_node->refcount); refcount 42 net/batman-adv/tvlv.c tvlv_handler = container_of(ref, struct batadv_tvlv_handler, refcount); refcount 53 net/batman-adv/tvlv.c kref_put(&tvlv_handler->refcount, batadv_tvlv_handler_release); refcount 79 net/batman-adv/tvlv.c if (!kref_get_unless_zero(&tvlv_handler_tmp->refcount)) refcount 98 net/batman-adv/tvlv.c tvlv = container_of(ref, struct batadv_tvlv_container, refcount); refcount 109 net/batman-adv/tvlv.c kref_put(&tvlv->refcount, batadv_tvlv_container_release); refcount 138 net/batman-adv/tvlv.c kref_get(&tvlv_tmp->refcount); refcount 244 net/batman-adv/tvlv.c kref_init(&tvlv_new->refcount); refcount 250 net/batman-adv/tvlv.c kref_get(&tvlv_new->refcount); refcount 540 net/batman-adv/tvlv.c kref_init(&tvlv_handler->refcount); refcount 543 net/batman-adv/tvlv.c kref_get(&tvlv_handler->refcount); refcount 197 net/batman-adv/types.h struct kref refcount; refcount 281 net/batman-adv/types.h struct kref refcount; refcount 351 net/batman-adv/types.h struct kref refcount; refcount 504 net/batman-adv/types.h struct kref refcount; refcount 579 net/batman-adv/types.h struct kref refcount; refcount 638 net/batman-adv/types.h struct kref refcount; refcount 673 net/batman-adv/types.h struct kref refcount; refcount 742 net/batman-adv/types.h struct kref refcount; refcount 1496 net/batman-adv/types.h struct kref refcount; refcount 1527 net/batman-adv/types.h struct kref refcount; refcount 1855 net/batman-adv/types.h struct kref refcount; refcount 1887 net/batman-adv/types.h struct kref refcount; refcount 1914 net/batman-adv/types.h struct kref refcount; refcount 1974 net/batman-adv/types.h struct kref refcount; refcount 2004 net/batman-adv/types.h struct kref refcount; refcount 2043 net/batman-adv/types.h struct kref refcount; refcount 2066 net/batman-adv/types.h struct kref refcount; refcount 2349 net/batman-adv/types.h struct kref refcount; refcount 2396 net/batman-adv/types.h struct kref refcount; refcount 2432 net/batman-adv/types.h struct kref refcount; refcount 35 net/core/dev_addr_lists.c ha->refcount = 1; refcount 71 net/core/dev_addr_lists.c ha->refcount++; refcount 104 net/core/dev_addr_lists.c if (--ha->refcount) refcount 146 net/core/dev_addr_lists.c ha->refcount++; refcount 176 net/core/dev_addr_lists.c if (ha->sync_cnt == ha->refcount) { refcount 204 net/core/dev_addr_lists.c } else if (ha->refcount == 1) refcount 248 net/core/dev_addr_lists.c if (!ha->sync_cnt || ha->refcount != 1) refcount 269 net/core/dev_addr_lists.c ha->refcount++; refcount 305 net/core/dev_addr_lists.c if ((ha->sync_cnt << 1) <= ha->refcount) refcount 309 net/core/dev_addr_lists.c ref_cnt = ha->refcount - ha->sync_cnt; refcount 313 net/core/dev_addr_lists.c ha->refcount = (ref_cnt << 1) + 1; refcount 321 net/core/dev_addr_lists.c if ((ha->sync_cnt << 1) >= ha->refcount) refcount 324 net/core/dev_addr_lists.c ref_cnt = ha->refcount - ha->sync_cnt; refcount 329 net/core/dev_addr_lists.c ha->refcount = ref_cnt << 1; refcount 366 net/core/dev_addr_lists.c ha->refcount -= ha->sync_cnt - 1; refcount 533 net/core/dev_addr_lists.c ha->type == addr_type && ha->refcount == 1) refcount 4643 net/core/devlink.c refcount_t refcount; refcount 4707 net/core/devlink.c refcount_set(&reporter->refcount, 1); refcount 4726 net/core/devlink.c while (refcount_read(&reporter->refcount) > 1) refcount 4875 net/core/devlink.c refcount_inc(&reporter->refcount); refcount 4925 net/core/devlink.c refcount_dec(&reporter->refcount); refcount 5240 net/core/devlink.c refcount_t refcount; refcount 7694 net/core/devlink.c refcount_set(&group_item->refcount, 1); refcount 7734 net/core/devlink.c refcount_inc(&group_item->refcount); refcount 7745 net/core/devlink.c if (!refcount_dec_and_test(&group_item->refcount)) refcount 329 net/core/net-procfs.c ha->refcount, ha->global_use, refcount 51 net/dsa/dsa2.c kref_init(&dst->refcount); refcount 65 net/dsa/dsa2.c kref_get(&dst->refcount); refcount 85 net/dsa/dsa2.c dst = container_of(ref, struct dsa_switch_tree, refcount); refcount 93 net/dsa/dsa2.c kref_put(&dst->refcount, dsa_tree_release); refcount 254 net/ipv4/cipso_ipv4.c refcount_inc(&entry->lsm_data->refcount); refcount 321 net/ipv4/cipso_ipv4.c refcount_inc(&secattr->cache->refcount); refcount 364 net/ipv4/cipso_ipv4.c if (iter->doi == doi && refcount_read(&iter->refcount)) refcount 418 net/ipv4/cipso_ipv4.c refcount_set(&doi_def->refcount, 1); refcount 522 net/ipv4/cipso_ipv4.c if (!refcount_dec_and_test(&doi_def->refcount)) { refcount 565 net/ipv4/cipso_ipv4.c if (!refcount_inc_not_zero(&doi_def->refcount)) refcount 586 net/ipv4/cipso_ipv4.c if (!refcount_dec_and_test(&doi_def->refcount)) refcount 619 net/ipv4/cipso_ipv4.c if (refcount_read(&iter_doi->refcount) > 0) { refcount 986 net/ipv4/ipmr.c refcount_set(&c->_c.mfc_un.res.refcount, 1); refcount 40 net/ipv4/netfilter/ipt_CLUSTERIP.c refcount_t refcount; /* reference count */ refcount 85 net/ipv4/netfilter/ipt_CLUSTERIP.c refcount_inc(&c->refcount); refcount 105 net/ipv4/netfilter/ipt_CLUSTERIP.c if (refcount_dec_and_test(&c->refcount)) refcount 163 net/ipv4/netfilter/ipt_CLUSTERIP.c if (unlikely(!refcount_inc_not_zero(&c->refcount))) refcount 263 net/ipv4/netfilter/ipt_CLUSTERIP.c refcount_set(&c->refcount, 1); refcount 216 net/ipv6/calipso.c refcount_inc(&entry->lsm_data->refcount); refcount 285 net/ipv6/calipso.c refcount_inc(&secattr->cache->refcount); refcount 327 net/ipv6/calipso.c if (iter->doi == doi && refcount_read(&iter->refcount)) refcount 359 net/ipv6/calipso.c refcount_set(&doi_def->refcount, 1); refcount 447 net/ipv6/calipso.c if (!refcount_dec_and_test(&doi_def->refcount)) { refcount 488 net/ipv6/calipso.c if (!refcount_inc_not_zero(&doi_def->refcount)) refcount 509 net/ipv6/calipso.c if (!refcount_dec_and_test(&doi_def->refcount)) refcount 542 net/ipv6/calipso.c if (refcount_read(&iter_doi->refcount) > 0) { refcount 982 net/ipv6/ip6mr.c refcount_set(&c->_c.mfc_un.res.refcount, 1); refcount 161 net/netrom/nr_route.c refcount_set(&nr_neigh->refcount, 1); refcount 196 net/netrom/nr_route.c refcount_set(&nr_node->refcount, 1); refcount 407 net/netrom/nr_route.c refcount_set(&nr_neigh->refcount, 1); refcount 52 net/psample/psample.c ret = nla_put_u32(msg, PSAMPLE_ATTR_GROUP_REFCOUNT, group->refcount); refcount 183 net/psample/psample.c group->refcount++; refcount 194 net/psample/psample.c group->refcount++; refcount 203 net/psample/psample.c if (--group->refcount == 0) refcount 123 net/rds/ib.c BUG_ON(refcount_read(&rds_ibdev->refcount) == 0); refcount 124 net/rds/ib.c if (refcount_dec_and_test(&rds_ibdev->refcount)) refcount 143 net/rds/ib.c refcount_set(&rds_ibdev->refcount, 1); refcount 212 net/rds/ib.c refcount_inc(&rds_ibdev->refcount); refcount 215 net/rds/ib.c refcount_inc(&rds_ibdev->refcount); refcount 246 net/rds/ib.c refcount_inc(&rds_ibdev->refcount); refcount 262 net/rds/ib.h refcount_t refcount; refcount 52 net/rds/ib_rdma.c refcount_inc(&rds_ibdev->refcount); refcount 135 net/rds/ib_rdma.c refcount_inc(&rds_ibdev->refcount); refcount 194 net/tls/tls_device.c if (refcount_dec_and_test(&tls_ctx->refcount)) refcount 892 net/tls/tls_device.c refcount_set(&ctx->refcount, 1); refcount 1182 net/tls/tls_device.c !refcount_inc_not_zero(&ctx->refcount)) refcount 1203 net/tls/tls_device.c if (refcount_dec_and_test(&ctx->refcount)) refcount 158 net/wireless/core.h unsigned long refcount; refcount 106 net/wireless/scan.c bss->refcount++; refcount 111 net/wireless/scan.c bss->refcount++; refcount 117 net/wireless/scan.c bss->refcount++; refcount 131 net/wireless/scan.c hbss->refcount--; refcount 132 net/wireless/scan.c if (hbss->refcount == 0) refcount 142 net/wireless/scan.c tbss->refcount--; refcount 143 net/wireless/scan.c if (tbss->refcount == 0) refcount 147 net/wireless/scan.c bss->refcount--; refcount 148 net/wireless/scan.c if (bss->refcount == 0) refcount 1076 net/wireless/scan.c new->refcount += bss->refcount; refcount 1228 net/wireless/scan.c new->refcount = 1; refcount 1241 net/wireless/scan.c hidden->refcount++; refcount 50 sound/soc/qcom/qdsp6/q6adm.c struct kref refcount; refcount 101 sound/soc/qcom/qdsp6/q6adm.c kref_get(&c->refcount); refcount 114 sound/soc/qcom/qdsp6/q6adm.c struct q6copp *c = container_of(ref, struct q6copp, refcount); refcount 164 sound/soc/qcom/qdsp6/q6adm.c kref_put(&copp->refcount, q6adm_free_copp); refcount 194 sound/soc/qcom/qdsp6/q6adm.c kref_put(&copp->refcount, q6adm_free_copp); refcount 200 sound/soc/qcom/qdsp6/q6adm.c kref_put(&copp->refcount, q6adm_free_copp); refcount 313 sound/soc/qcom/qdsp6/q6adm.c kref_get(&c->refcount); refcount 414 sound/soc/qcom/qdsp6/q6adm.c kref_init(&copp->refcount); refcount 426 sound/soc/qcom/qdsp6/q6adm.c kref_put(&copp->refcount, q6adm_free_copp); refcount 526 sound/soc/qcom/qdsp6/q6adm.c kref_put(&copp->refcount, q6adm_free_copp); refcount 580 sound/soc/qcom/qdsp6/q6adm.c kref_put(&copp->refcount, q6adm_free_copp); refcount 485 sound/soc/qcom/qdsp6/q6afe.c struct kref refcount; refcount 718 sound/soc/qcom/qdsp6/q6afe.c port = container_of(ref, struct q6afe_port, refcount); refcount 737 sound/soc/qcom/qdsp6/q6afe.c kref_get(&p->refcount); refcount 771 sound/soc/qcom/qdsp6/q6afe.c kref_put(&port->refcount, q6afe_port_free); refcount 1439 sound/soc/qcom/qdsp6/q6afe.c kref_init(&port->refcount); refcount 1457 sound/soc/qcom/qdsp6/q6afe.c kref_put(&port->refcount, q6afe_port_free); refcount 190 sound/soc/qcom/qdsp6/q6asm.c struct kref refcount; refcount 476 sound/soc/qcom/qdsp6/q6asm.c ac = container_of(ref, struct audio_client, refcount); refcount 493 sound/soc/qcom/qdsp6/q6asm.c kref_put(&ac->refcount, q6asm_audio_client_release); refcount 516 sound/soc/qcom/qdsp6/q6asm.c kref_get(&ac->refcount); refcount 661 sound/soc/qcom/qdsp6/q6asm.c kref_put(&ac->refcount, q6asm_audio_client_release); refcount 730 sound/soc/qcom/qdsp6/q6asm.c kref_put(&ac->refcount, q6asm_audio_client_release); refcount 791 sound/soc/qcom/qdsp6/q6asm.c kref_init(&ac->refcount); refcount 239 sound/soc/stm/stm32_i2s.c int refcount; refcount 631 sound/soc/stm/stm32_i2s.c i2s->refcount++; refcount 637 sound/soc/stm/stm32_i2s.c if (STM32_I2S_IS_MASTER(i2s) && i2s->refcount == 1) refcount 665 sound/soc/stm/stm32_i2s.c i2s->refcount--; refcount 666 sound/soc/stm/stm32_i2s.c if (i2s->refcount) { refcount 247 sound/soc/stm/stm32_spdifrx.c int refcount; refcount 334 sound/soc/stm/stm32_spdifrx.c spdifrx->refcount++; refcount 377 sound/soc/stm/stm32_spdifrx.c if (--spdifrx->refcount) { refcount 53 tools/lib/bpf/xsk.c int refcount; refcount 572 tools/lib/bpf/xsk.c if (umem->refcount) { refcount 581 tools/lib/bpf/xsk.c if (umem->refcount++ > 0) { refcount 701 tools/lib/bpf/xsk.c if (--umem->refcount) refcount 716 tools/lib/bpf/xsk.c if (umem->refcount) refcount 760 tools/lib/bpf/xsk.c xsk->umem->refcount--; refcount 168 virt/kvm/arm/vgic/vgic-init.c kref_init(&irq->refcount); refcount 219 virt/kvm/arm/vgic/vgic-init.c kref_init(&irq->refcount); refcount 60 virt/kvm/arm/vgic/vgic-its.c kref_init(&irq->refcount); refcount 129 virt/kvm/arm/vgic/vgic.c if (!kref_put(&irq->refcount, vgic_irq_release)) refcount 207 virt/kvm/arm/vgic/vgic.h kref_get(&irq->refcount);